aboutsummaryrefslogtreecommitdiffstats
path: root/testing/prosody/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-01-09 18:48:05 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-01-09 18:48:35 +0100
commit3be88a79d93fe6439494197e0d1bfd47b7d26ead (patch)
tree01191fecd80224a756ffd57652bbbde8d8d60d16 /testing/prosody/APKBUILD
parent164616508751638e4dc0a2940dd85cef9fc07e7a (diff)
downloadaports-3be88a79d93fe6439494197e0d1bfd47b7d26ead.tar.bz2
aports-3be88a79d93fe6439494197e0d1bfd47b7d26ead.tar.xz
testing/prosody: upgrade to 0.9.9
Diffstat (limited to 'testing/prosody/APKBUILD')
-rw-r--r--testing/prosody/APKBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/testing/prosody/APKBUILD b/testing/prosody/APKBUILD
index f353cfd4e9..66af7ee751 100644
--- a/testing/prosody/APKBUILD
+++ b/testing/prosody/APKBUILD
@@ -2,8 +2,8 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
_luaver=5.1
pkgname=prosody
-pkgver=0.9.8
-pkgrel=1
+pkgver=0.9.9
+pkgrel=0
pkgdesc="Lua based Jabber/XMPP server"
url="http://prosody.im/"
arch="all"
@@ -24,41 +24,41 @@ _builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --prefix=/usr \
--sysconfdir=/etc/prosody \
--with-lua=/usr/bin \
--with-lua-lib=/usr/lib \
--with-lua-include=/usr/include \
- --runwith=lua5.1 \
+ --runwith=lua${_luaver} \
--no-example-certs \
|| return 1
- #Don't generate cert
- rm "$_builddir"/certs/Makefile
+ # Don't generate certs
+ rm -f "$_builddir"/certs/Makefile
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
install -d -o prosody -g prosody "$pkgdir/var/log/prosody" || return 1
install -d -o prosody -g prosody "$pkgdir/var/run/prosody" || return 1
install -d -m750 -o prosody -g prosody "$pkgdir/var/lib/prosody" \
|| return 1
+
patch "$pkgdir/etc/prosody/prosody.cfg.lua" "$srcdir/prosody.cfg.lua.patch" || return 1
install -D -m755 "$srcdir"/"$pkgname".initd "$pkgdir"/etc/init.d/"$pkgname"
-
- install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums="5144cd832a1860443e21e336dc560ee7 prosody-0.9.8.tar.gz
+md5sums="8f7c529b072e78ab9e82ecbedfee7145 prosody-0.9.9.tar.gz
b839353efd51b724723f0f4293f76bfb prosody.cfg.lua.patch
9b68b81deb2148a3a6c3b5d2eb9c96b9 prosody.initd"
-sha256sums="9470415c56e0b847089b45fabd48bc1f8211cd525fba56967409d064f4257871 prosody-0.9.8.tar.gz
+sha256sums="5624fd80d1030c4d1e239172f7a0d58761a14ffad28713240e8f3165d5cacf2e prosody-0.9.9.tar.gz
8653ccb14a0a5e27fee95b5baf412158543f619f6ca54fd7630c8d333ddddadd prosody.cfg.lua.patch
0db9babd65354fe8693d1233945da61ebbea525915f881cf601211110ea50b08 prosody.initd"
-sha512sums="08ca8c8028a947a22d68ddc1d7eb93d3d205894102c900ece9e537ef9dd9332e8509e4b170069383e4f9717b52fd41aec2aa9d959e16ddebf0c3d54fe31aef3c prosody-0.9.8.tar.gz
+sha512sums="f1b40d312819ba9f7eef0656e3e009319179a6c931fae6886ce8ad0e57c79365431ab3d115c3a9b2c8742e6027e5370af9c4732e01116038f64e0a5af5d396f3 prosody-0.9.9.tar.gz
950d9b53887d859b7d64986ba3817f92fb45ed1b653998759458156197b9623f1cc240559da071e20992f7aa497ef37d422da2168aa5b3c4ea3946482d160f41 prosody.cfg.lua.patch
95f46dde7e066a93429c46a8ac42698af3754ebe0ed89c7dc86fad042d68264695f4270ecc5a9dabec2b5c2f989928e50b0556ccbcc513ff73ddbb5e01b47dfe prosody.initd"