aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/openxcap/APKBUILD25
-rw-r--r--testing/openxcap/openxcap.initd2
-rwxr-xr-xtesting/openxcap/openxcap.post-install5
3 files changed, 15 insertions, 17 deletions
diff --git a/testing/openxcap/APKBUILD b/testing/openxcap/APKBUILD
index ada34366e7..b82ffb1b0a 100644
--- a/testing/openxcap/APKBUILD
+++ b/testing/openxcap/APKBUILD
@@ -1,7 +1,7 @@
-# Contributor: Francesco Colista <francesco.colista@gmail.com>
-# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=openxcap
-pkgver=2.1.0
+pkgver=2.2.0
pkgrel=0
pkgdesc="Open source fully featured XCAP server "
url="http://openxcap.org"
@@ -9,10 +9,10 @@ pkgusers="openxcap"
pkggroups="openxcap"
arch="noarch"
license="GPL"
-depends="python py-application py-gnutls py-twisted py-twisted-web2 py-pillow
+depends="python py-application py-gnutls py-twisted py-pillow
py-lxml py-mysqldb"
makedepends="python-dev"
-install="$pkgname.pre-install $pkgname.post-install"
+install="$pkgname.pre-install"
source="http://download.ag-projects.com/XCAP/$pkgname-$pkgver.tar.gz
config.ini
openxcap.initd
@@ -27,14 +27,17 @@ package() {
install -m644 -D "$srcdir"/config.ini \
"$pkgdir"/etc/openxcap/config.ini
install -d -o openxcap "$pkgdir"/var/run/openxcap
+ chown -R $pkgusers:$pkggroups "$pkgdir"/var/run/openxcap
+
+ chgrp $pkggroups "$pkgdir"/etc/openxcap/config.ini
}
-md5sums="192f3862228bce08eca6ed5e0dca4650 openxcap-2.1.0.tar.gz
+md5sums="14eacc9b5daa9451b2a585a82e24eff1 openxcap-2.2.0.tar.gz
7a18872843586717eaf3879444cc13d2 config.ini
-0043d28e9e6e51e03661755d12080a28 openxcap.initd"
-sha256sums="4848d94061b2f2cb2c612b4566f2933acb7fcef52143fb8c4144f094848f12bb openxcap-2.1.0.tar.gz
+eb916ed5abe002493a2721f7769e8ee5 openxcap.initd"
+sha256sums="4b932cade046e4723f7339fa8270997501c52fb2c3eb6b33a684537386fcc007 openxcap-2.2.0.tar.gz
078f4a5787a6c6c07e3fe279e2767eb33bcd2d9ce6c624ecb11f6e5778c2495c config.ini
-29fbdbe9b2e27cfcbe7dc9f1385ff96654dfb58960b2778e2cb0a3726b505972 openxcap.initd"
-sha512sums="28be4b867288ada8c8c3aaa5e7915cd4fe15890bd7ead47b03b5cfe0a4132cbf21f583c873577bdec2f8aa3a8b6a8f746e6043c999dea05735548831187319ef openxcap-2.1.0.tar.gz
+59df4642575f778da2f3b8a730fa06c6a820498507c13a3c9ffd042828ab8c95 openxcap.initd"
+sha512sums="2e1b857d5083f34d42d621db7109fe1f0ba1f026220325ae9be54a9e5b7e4046798331ef2ebe56f5026d2c676da23dbde7b56317793ece173ac92e99274ff5cb openxcap-2.2.0.tar.gz
176399345d19dcfe6f8b5d341490c5d48dbbb8c00a3dc22e76287814988f26bf4aab7b5229e3ce049141d6861ff1bc1d7b973e74434377e619cb6eaa8715861c config.ini
-ea1cfc5e676809717615f8fc7da729985454d5555d4f8e890dc1609aeb057c9b07de7f2cc37dcaf5f4dd36f8837b027a34f4af12047cc58684ff9cf4109f39a1 openxcap.initd"
+df4874b0654ad89ab458a6b2924aa16be955e6d58ea28285c9dde48d7645361a57497b31e64197a0dfd5e740e158486a6330b3c0d65dcef940f5e20b0b319dde openxcap.initd"
diff --git a/testing/openxcap/openxcap.initd b/testing/openxcap/openxcap.initd
index 03286cce3d..7a2f667e1b 100644
--- a/testing/openxcap/openxcap.initd
+++ b/testing/openxcap/openxcap.initd
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
INSTALL_DIR="/usr/bin"
diff --git a/testing/openxcap/openxcap.post-install b/testing/openxcap/openxcap.post-install
deleted file mode 100755
index b3dff42032..0000000000
--- a/testing/openxcap/openxcap.post-install
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-chown -R openxcap:openxcap /var/run/openxcap
-chgrp openxcap /etc/openxcap/config.ini
-exit 0