aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-08 15:28:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-08 15:28:38 +0000
commit76635be167e07e35d1348aed8f9d11474b955731 (patch)
tree989ac00939f1f58d46108b2bf7a59fdd0cdb5e03
parent0ee5d208815058e05fad434dba7b22fce9bbac4a (diff)
downloadaports-76635be167e07e35d1348aed8f9d11474b955731.tar.bz2
aports-76635be167e07e35d1348aed8f9d11474b955731.tar.xz
testing/prosody: upgrade to 0.8.1
-rw-r--r--testing/prosody/APKBUILD17
-rw-r--r--testing/prosody/Makefile-0.4.2.patch13
2 files changed, 8 insertions, 22 deletions
diff --git a/testing/prosody/APKBUILD b/testing/prosody/APKBUILD
index 364e057790..0f7b02bc75 100644
--- a/testing/prosody/APKBUILD
+++ b/testing/prosody/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=prosody
-pkgver=0.4.2
-pkgrel=4
+pkgver=0.8.1
+pkgrel=0
pkgdesc="Lua based Jabber/XMPP server"
url="http://prosody.im/"
arch="all"
@@ -14,14 +14,10 @@ subpackages=""
source="http://prosody.im/downloads/source/$pkgname-$pkgver.tar.gz
$pkgname.cfg.lua
$pkgname.initd
- Makefile-0.4.2.patch
"
build() {
cd "$srcdir/$pkgname-$pkgver"
-
- patch Makefile "$startdir/Makefile-0.4.2.patch" || return 1
-
./configure --prefix=/usr \
--sysconfdir=/etc/prosody \
--with-lua=/usr/bin \
@@ -29,6 +25,10 @@ build() {
--with-lua-include=/usr/include
make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -d "$pkgdir/var/log/prosody" || return 1
@@ -38,7 +38,6 @@ build() {
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums="2669478311b3a67522669acdf03cf85c prosody-0.4.2.tar.gz
+md5sums="2be3e9deed0b96f109efc5707d7728ba prosody-0.8.1.tar.gz
f42039e5a342fe62cd7e491546338aaa prosody.cfg.lua
-c0e647e872e30f71fa03faab189ae287 prosody.initd
-684d033dac42399a245c061c9a374e1b Makefile-0.4.2.patch"
+c0e647e872e30f71fa03faab189ae287 prosody.initd"
diff --git a/testing/prosody/Makefile-0.4.2.patch b/testing/prosody/Makefile-0.4.2.patch
deleted file mode 100644
index facfa2f94a..0000000000
--- a/testing/prosody/Makefile-0.4.2.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/prosody-0.4.2/Makefile.org Thu Jun 4 13:44:20 2009
-+++ src/prosody-0.4.2/Makefile Thu Jun 4 13:44:11 2009
-@@ -19,8 +19,8 @@
- install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE) $(DATA)
- install -d $(CONFIG)/certs
- install -d $(SOURCE)/core $(SOURCE)/net $(SOURCE)/util
-- install ./prosody.install $(BIN)/prosody
-- install ./prosodyctl.install $(BIN)/prosodyctl
-+ install -m755 ./prosody.install $(BIN)/prosody
-+ install -m755 ./prosodyctl.install $(BIN)/prosodyctl
- install -m644 core/* $(SOURCE)/core
- install -m644 net/* $(SOURCE)/net
- install -m644 util/* $(SOURCE)/util