summaryrefslogtreecommitdiff
path: root/community/unbound/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/unbound/PKGBUILD')
-rw-r--r--community/unbound/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/community/unbound/PKGBUILD b/community/unbound/PKGBUILD
index ec9fd8e13..a5c51c984 100644
--- a/community/unbound/PKGBUILD
+++ b/community/unbound/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 71115 2012-05-24 13:42:42Z bisson $
+# $Id: PKGBUILD 71901 2012-06-03 05:58:48Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Hisato Tatekura <hisato_tatekura@excentrics.net>
# Contributor: Massimiliano Torromeo <massimiliano DOT torromeo AT google mail service>
pkgname=unbound
pkgver=1.4.17
-pkgrel=1
+pkgrel=2
pkgdesc='Validating, recursive, and caching DNS resolver'
url='http://unbound.net/'
license=('custom:BSD')
@@ -16,9 +16,11 @@ makedepends=('expat')
optdepends=('expat: unbound-anchor')
backup=('etc/unbound/unbound.conf')
source=("http://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz"
+ 'unbound.service'
'unbound.conf'
'rc.d')
sha1sums=('fea4d812c03af4737ef671ac30b7b7400d346516'
+ '5bc313cd978e4d6efe8c13600e838c70629be477'
'5d473ec2943fd85367cdb653fcd58e186f07383f'
'dc96e772f467b32555df21d16fdb15e98194c228')
@@ -34,7 +36,7 @@ build() {
--enable-static=no \
--disable-rpath \
--with-conf-file=/etc/unbound/unbound.conf \
- --with-pidfile=/var/run/unbound.pid \
+ --with-pidfile=/run/unbound.pid \
make
}
@@ -48,4 +50,5 @@ package() {
install -D -m755 ../rc.d "${pkgdir}/etc/rc.d/${pkgname}"
install -D -m644 ../unbound.conf "${pkgdir}/etc/unbound/unbound.conf"
install -D -m644 doc/example.conf.in "${pkgdir}/etc/unbound/unbound.conf.example"
+ install -D -m644 ../unbound.service "${pkgdir}/usr/lib/systemd/system/unbound.service"
}