diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2011-05-11 13:59:59 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2011-05-11 13:59:59 +0000 |
commit | 2d682f0f163150865f6723e85095ef83d0497066 (patch) | |
tree | 16ebeac964672ec4b3cf577b65515ca9fecc9585 /testing | |
parent | fbf00c59907b9aa4ac6092248d3abf94f6209cea (diff) | |
download | aports-2d682f0f163150865f6723e85095ef83d0497066.tar.bz2 aports-2d682f0f163150865f6723e85095ef83d0497066.tar.xz |
testing/perdition: create daemon user
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perdition/APKBUILD | 4 | ||||
-rw-r--r-- | testing/perdition/perdition.post-install | 4 |
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 |