aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2011-06-12 07:24:28 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2011-06-12 07:24:28 +0000
commit9c2bd2c52576c55f1fae74334bb97e0943e2b862 (patch)
treea7bd59c9cf4d2628f896f08265379eb5c5e6dade
parentf9d4f7b9a07963014636902c21baee0491f605e7 (diff)
downloadaports-9c2bd2c52576c55f1fae74334bb97e0943e2b862.tar.bz2
aports-9c2bd2c52576c55f1fae74334bb97e0943e2b862.tar.xz
testing/unbound: added pre-install
closes #683
-rw-r--r--testing/unbound/APKBUILD4
-rw-r--r--testing/unbound/unbound.pre-install4
2 files changed, 6 insertions, 2 deletions
diff --git a/testing/unbound/APKBUILD b/testing/unbound/APKBUILD
index dc6d585752..64cae06d73 100644
--- a/testing/unbound/APKBUILD
+++ b/testing/unbound/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=unbound
pkgver=1.4.10
-pkgrel=1
+pkgrel=2
pkgdesc="Unbound is a validating, recursive, and caching DNS resolver"
url="http://unbound.net/"
arch="all"
@@ -10,7 +10,7 @@ license="Custom"
depends=
depends_dev="openssl-dev expat-dev ldns-dev libevent-dev"
makedepends="$depends_dev"
-install=""
+install="$pkgname.pre-install"
subpackages="$pkgname-dev $pkgname-doc"
source="http://unbound.net/downloads/unbound-$pkgver.tar.gz
unbound.initd
diff --git a/testing/unbound/unbound.pre-install b/testing/unbound/unbound.pre-install
new file mode 100644
index 0000000000..10e5a7b8d4
--- /dev/null
+++ b/testing/unbound/unbound.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+adduser -H -s /bin/false -D unbound 2>/dev/null
+exit 0