aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2011-05-11 13:59:59 +0000
committerLeonardo Arena <rnalrd@gmail.com>2011-05-11 13:59:59 +0000
commit2d682f0f163150865f6723e85095ef83d0497066 (patch)
tree16ebeac964672ec4b3cf577b65515ca9fecc9585 /testing
parentfbf00c59907b9aa4ac6092248d3abf94f6209cea (diff)
downloadaports-2d682f0f163150865f6723e85095ef83d0497066.tar.bz2
aports-2d682f0f163150865f6723e85095ef83d0497066.tar.xz
testing/perdition: create daemon user
Diffstat (limited to 'testing')
-rw-r--r--testing/perdition/APKBUILD4
-rw-r--r--testing/perdition/perdition.post-install4
2 files changed, 6 insertions, 2 deletions
diff --git a/testing/perdition/APKBUILD b/testing/perdition/APKBUILD
index 47628acbd9..ca7c4a62aa 100644
--- a/testing/perdition/APKBUILD
+++ b/testing/perdition/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perdition
pkgver=1.18
-pkgrel=1
+pkgrel=2
pkgdesc="A Mail retrieval proxy"
url="http://horms.net/projects/perdition/"
arch="all"
@@ -10,7 +10,7 @@ depends=
depends_dev="gdbm-dev openssl-dev popt-dev vanessa_adt-dev vanessa_logger-dev
vanessa_socket-dev"
makedepends="$depends_dev"
-install=
+install=$pkgname.post-install
subpackages="$pkgname-doc"
source="http://horms.net/projects/perdition/download/$pkgver/$pkgname-$pkgver.tar.bz2"
diff --git a/testing/perdition/perdition.post-install b/testing/perdition/perdition.post-install
new file mode 100644
index 0000000000..b2820345e5
--- /dev/null
+++ b/testing/perdition/perdition.post-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+adduser -h /var/run/perdition -s /bin/false -S -D perdition &>/dev/null
+chown perdition /var/run/perdition