aboutsummaryrefslogtreecommitdiffstats
path: root/testing/prosody
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-09-08 08:52:10 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-09-08 08:54:51 +0200
commitd52b180e641e12256002faaad8dc9378c3926f93 (patch)
tree6c09fdd071e311268f8c994c5582d42af0343c94 /testing/prosody
parent9f5de3dda0e1b8f6619317c26f61969032203645 (diff)
downloadaports-d52b180e641e12256002faaad8dc9378c3926f93.tar.bz2
aports-d52b180e641e12256002faaad8dc9378c3926f93.tar.xz
testing/prosody: upgrade to 0.9.8
Diffstat (limited to 'testing/prosody')
-rw-r--r--testing/prosody/APKBUILD13
-rw-r--r--testing/prosody/prosody.pre-install8
2 files changed, 13 insertions, 8 deletions
diff --git a/testing/prosody/APKBUILD b/testing/prosody/APKBUILD
index 43128210b4..e285ab432b 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.6
-pkgrel=1
+pkgver=0.9.8
+pkgrel=0
pkgdesc="Lua based Jabber/XMPP server"
url="http://prosody.im/"
arch="all"
@@ -45,19 +45,20 @@ package() {
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 -o prosody -g prosody "$pkgdir/var/lib/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="08e6e419e01a411125fbdafae9a9d840 prosody-0.9.6.tar.gz
+md5sums="5144cd832a1860443e21e336dc560ee7 prosody-0.9.8.tar.gz
a21d6a6efef8a08ae21109c2aa9c2fc7 prosody.cfg.lua.patch
9b68b81deb2148a3a6c3b5d2eb9c96b9 prosody.initd"
-sha256sums="75218cf90789b98200931135e4aeec7bd152fb89f5d49bb07badcd1c2c5640e7 prosody-0.9.6.tar.gz
+sha256sums="9470415c56e0b847089b45fabd48bc1f8211cd525fba56967409d064f4257871 prosody-0.9.8.tar.gz
db37b1b6bcd648f264164c5db5e754fc077671c74df6079c101384e146f4d6da prosody.cfg.lua.patch
0db9babd65354fe8693d1233945da61ebbea525915f881cf601211110ea50b08 prosody.initd"
-sha512sums="95b0d1d56b19046a13cba0de54496af688ec747549062b1016ad01e2e0c3bd6ef9523df87800ab0efbfb1ab7d624b147232a6e76f44a798a4ad12ea830bd3fcb prosody-0.9.6.tar.gz
+sha512sums="08ca8c8028a947a22d68ddc1d7eb93d3d205894102c900ece9e537ef9dd9332e8509e4b170069383e4f9717b52fd41aec2aa9d959e16ddebf0c3d54fe31aef3c prosody-0.9.8.tar.gz
6de138346c10388e986e26b6caae75291c6c19bf168ccb9daef2ac08a9d4cd1d5cfa74438e89316303ba2956a25eec8b3db23ced9fa2763cf9d8387116677001 prosody.cfg.lua.patch
95f46dde7e066a93429c46a8ac42698af3754ebe0ed89c7dc86fad042d68264695f4270ecc5a9dabec2b5c2f989928e50b0556ccbcc513ff73ddbb5e01b47dfe prosody.initd"
diff --git a/testing/prosody/prosody.pre-install b/testing/prosody/prosody.pre-install
index 066b2c3c28..957fbd7a58 100644
--- a/testing/prosody/prosody.pre-install
+++ b/testing/prosody/prosody.pre-install
@@ -1,4 +1,8 @@
#!/bin/sh
-addgroup prosody
-adduser -h /var/lib/prosody -s /bin/false -D prosody 2>/dev/null
+addgroup prosody 2>/dev/null
+adduser -D \
+ -h /var/lib/prosody \
+ -s /sbin/nologin \
+ -g "Prosody XMPP Server" \
+ prosody 2>/dev/null
exit 0