[arch-commits] Commit in unbound/repos (18 files)

Gaetan Bisson bisson at archlinux.org
Thu Dec 11 18:29:00 UTC 2014


    Date: Thursday, December 11, 2014 @ 19:29:00
  Author: bisson
Revision: 123785

archrelease: copy trunk to community-i686, community-x86_64

Added:
  unbound/repos/community-i686/PKGBUILD
    (from rev 123784, unbound/trunk/PKGBUILD)
  unbound/repos/community-i686/conf
    (from rev 123784, unbound/trunk/conf)
  unbound/repos/community-i686/install
    (from rev 123784, unbound/trunk/install)
  unbound/repos/community-i686/lts.patch
    (from rev 123784, unbound/trunk/lts.patch)
  unbound/repos/community-i686/service
    (from rev 123784, unbound/trunk/service)
  unbound/repos/community-x86_64/PKGBUILD
    (from rev 123784, unbound/trunk/PKGBUILD)
  unbound/repos/community-x86_64/conf
    (from rev 123784, unbound/trunk/conf)
  unbound/repos/community-x86_64/install
    (from rev 123784, unbound/trunk/install)
  unbound/repos/community-x86_64/lts.patch
    (from rev 123784, unbound/trunk/lts.patch)
  unbound/repos/community-x86_64/service
    (from rev 123784, unbound/trunk/service)
Deleted:
  unbound/repos/community-i686/PKGBUILD
  unbound/repos/community-i686/conf
  unbound/repos/community-i686/install
  unbound/repos/community-i686/service
  unbound/repos/community-x86_64/PKGBUILD
  unbound/repos/community-x86_64/conf
  unbound/repos/community-x86_64/install
  unbound/repos/community-x86_64/service

----------------------------+
 /PKGBUILD                  |  110 +++++++++++++++++++++++++++++++++++++++++++
 /conf                      |    8 +++
 /install                   |   20 +++++++
 /service                   |   24 +++++++++
 community-i686/PKGBUILD    |   48 ------------------
 community-i686/conf        |    4 -
 community-i686/install     |   10 ---
 community-i686/lts.patch   |   67 ++++++++++++++++++++++++++
 community-i686/service     |   12 ----
 community-x86_64/PKGBUILD  |   48 ------------------
 community-x86_64/conf      |    4 -
 community-x86_64/install   |   10 ---
 community-x86_64/lts.patch |   67 ++++++++++++++++++++++++++
 community-x86_64/service   |   12 ----
 14 files changed, 296 insertions(+), 148 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-12-11 18:28:09 UTC (rev 123784)
+++ community-i686/PKGBUILD	2014-12-11 18:29:00 UTC (rev 123785)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Hisato Tatekura <hisato_tatekura at excentrics.net>
-# Contributor: Massimiliano Torromeo <massimiliano DOT torromeo AT google mail service>
-
-pkgname=unbound
-pkgver=1.5.1
-pkgrel=1
-pkgdesc='Validating, recursive, and caching DNS resolver'
-url='http://unbound.net/'
-license=('custom:BSD')
-arch=('i686' 'x86_64')
-makedepends=('expat')
-optdepends=('expat: unbound-anchor')
-depends=('openssl' 'ldns' 'libevent' 'dnssec-anchors')
-backup=('etc/unbound/unbound.conf')
-source=("http://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz"
-        'service'
-        'conf')
-sha1sums=('5606c2246e7394bce88cc4f16edbd6b964237ea2'
-          'b543ae6f8b87423bec095fca6b335a9ee43739a8'
-          '5d473ec2943fd85367cdb653fcd58e186f07383f')
-
-install=install
-
-build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	./configure \
-		--prefix=/usr \
-		--sysconfdir=/etc \
-		--localstatedir=/var \
-		--sbindir=/usr/bin \
-		--disable-rpath \
-		--with-libevent \
-		--with-rootkey-file=/etc/trusted-key.key \
-		--with-conf-file=/etc/unbound/unbound.conf \
-		--with-pidfile=/run/unbound.pid
-	make
-}
-
-package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}" install
-	install -Dm644 doc/example.conf.in "${pkgdir}/etc/unbound/unbound.conf.example"
-	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-	install -Dm644 ../service "${pkgdir}/usr/lib/systemd/system/unbound.service"
-	install -Dm644 ../conf "${pkgdir}/etc/unbound/unbound.conf"
-}

Copied: unbound/repos/community-i686/PKGBUILD (from rev 123784, unbound/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-12-11 18:29:00 UTC (rev 123785)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Hisato Tatekura <hisato_tatekura at excentrics.net>
+# Contributor: Massimiliano Torromeo <massimiliano DOT torromeo AT google mail service>
+
+pkgname=unbound
+pkgver=1.5.1
+pkgrel=2
+pkgdesc='Validating, recursive, and caching DNS resolver'
+url='http://unbound.net/'
+license=('custom:BSD')
+arch=('i686' 'x86_64')
+makedepends=('expat')
+optdepends=('expat: unbound-anchor')
+depends=('openssl' 'ldns' 'libevent' 'dnssec-anchors')
+backup=('etc/unbound/unbound.conf')
+source=("http://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz"
+        'lts.patch'
+        'service'
+        'conf')
+sha1sums=('5606c2246e7394bce88cc4f16edbd6b964237ea2'
+          '456c91a253f9102e00e4a46a2f1b936aa2e3ed7c'
+          'b543ae6f8b87423bec095fca6b335a9ee43739a8'
+          '5d473ec2943fd85367cdb653fcd58e186f07383f')
+
+install=install
+
+preare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p1 -i ../lts.patch
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--localstatedir=/var \
+		--sbindir=/usr/bin \
+		--disable-rpath \
+		--with-libevent \
+		--with-rootkey-file=/etc/trusted-key.key \
+		--with-conf-file=/etc/unbound/unbound.conf \
+		--with-pidfile=/run/unbound.pid
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 doc/example.conf.in "${pkgdir}/etc/unbound/unbound.conf.example"
+	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+	install -Dm644 ../service "${pkgdir}/usr/lib/systemd/system/unbound.service"
+	install -Dm644 ../conf "${pkgdir}/etc/unbound/unbound.conf"
+}

Deleted: community-i686/conf
===================================================================
--- community-i686/conf	2014-12-11 18:28:09 UTC (rev 123784)
+++ community-i686/conf	2014-12-11 18:29:00 UTC (rev 123785)
@@ -1,4 +0,0 @@
-server:
-  username: "unbound"
-  directory: "/etc/unbound"
-  use-syslog: yes

Copied: unbound/repos/community-i686/conf (from rev 123784, unbound/trunk/conf)
===================================================================
--- community-i686/conf	                        (rev 0)
+++ community-i686/conf	2014-12-11 18:29:00 UTC (rev 123785)
@@ -0,0 +1,4 @@
+server:
+  username: "unbound"
+  directory: "/etc/unbound"
+  use-syslog: yes

Deleted: community-i686/install
===================================================================
--- community-i686/install	2014-12-11 18:28:09 UTC (rev 123784)
+++ community-i686/install	2014-12-11 18:29:00 UTC (rev 123785)
@@ -1,10 +0,0 @@
-post_install() {
-	getent group unbound &>/dev/null || groupadd -r unbound >/dev/null
-	getent passwd unbound &>/dev/null || useradd -r -g unbound -d /etc/unbound -s /bin/false -c unbound unbound >/dev/null
-}
-
-post_remove() {
-	getent passwd unbound &>/dev/null && userdel unbound >/dev/null
-	getent group unbound &>/dev/null && groupdel unbound >/dev/null
-	return 0
-}

Copied: unbound/repos/community-i686/install (from rev 123784, unbound/trunk/install)
===================================================================
--- community-i686/install	                        (rev 0)
+++ community-i686/install	2014-12-11 18:29:00 UTC (rev 123785)
@@ -0,0 +1,10 @@
+post_install() {
+	getent group unbound &>/dev/null || groupadd -r unbound >/dev/null
+	getent passwd unbound &>/dev/null || useradd -r -g unbound -d /etc/unbound -s /bin/false -c unbound unbound >/dev/null
+}
+
+post_remove() {
+	getent passwd unbound &>/dev/null && userdel unbound >/dev/null
+	getent group unbound &>/dev/null && groupdel unbound >/dev/null
+	return 0
+}

Copied: unbound/repos/community-i686/lts.patch (from rev 123784, unbound/trunk/lts.patch)
===================================================================
--- community-i686/lts.patch	                        (rev 0)
+++ community-i686/lts.patch	2014-12-11 18:29:00 UTC (rev 123785)
@@ -0,0 +1,67 @@
+diff -ru unbound-1.5.1/services/listen_dnsport.c unbound-1.5.1-rga/services/listen_dnsport.c
+--- unbound-1.5.1/services/listen_dnsport.c	2014-12-10 10:59:31.726514857 +0100
++++ unbound-1.5.1-rga/services/listen_dnsport.c	2014-12-10 11:08:45.009071300 +0100
+@@ -368,30 +368,47 @@
+  * (and also uses the interface mtu to determine the size of the packets).
+  * So there won't be any EMSGSIZE error.  Against DNS fragmentation attacks.
+  * FreeBSD already has same semantics without setting the option. */
+-#    if defined(IP_PMTUDISC_OMIT)
++                int omit_set = 0;
++#   if defined(IP_PMTUDISC_OMIT)
+ 		int action = IP_PMTUDISC_OMIT;
+-#    else
+-		int action = IP_PMTUDISC_DONT;
+-#    endif
+ 		if (setsockopt(s, IPPROTO_IP, IP_MTU_DISCOVER,
+ 			&action, (socklen_t)sizeof(action)) < 0) {
+-			log_err("setsockopt(..., IP_MTU_DISCOVER, "
+-#    if defined(IP_PMTUDISC_OMIT)
+-				"IP_PMTUDISC_OMIT"
++
++                        if (errno != EINVAL) {
++                                log_err("setsockopt(..., IP_MTU_DISCOVER, IP_PMTUDISC_OMIT...) failed: %s",
++				        strerror(errno));
++
++#    ifndef USE_WINSOCK
++			        close(s);
+ #    else
+-				"IP_PMTUDISC_DONT"
++                                closesocket(s);
+ #    endif
+-				"...) failed: %s",
+-				strerror(errno));
++                                *noproto = 0;
++                                *inuse = 0;
++                                return -1;
++                        }
++		}
++                else
++                {
++                    omit_set = 1;
++                }
++#   endif
++                if (omit_set == 0) {
++   		        int action = IP_PMTUDISC_DONT;
++                        if (setsockopt(s, IPPROTO_IP, IP_MTU_DISCOVER,
++                                &action, (socklen_t)sizeof(action)) < 0) {
++                                log_err("setsockopt(..., IP_MTU_DISCOVER, IP_PMTUDISC_DONT...) failed: %s",
++                                        strerror(errno));
+ #    ifndef USE_WINSOCK
+-			close(s);
++			        close(s);
+ #    else
+-			closesocket(s);
++			        closesocket(s);
+ #    endif
+-			*noproto = 0;
+-			*inuse = 0;
+-			return -1;
+-		}
++			        *noproto = 0;
++			        *inuse = 0;
++			        return -1;
++		        }
++                }
+ #  elif defined(IP_DONTFRAG)
+ 		int off = 0;
+ 		if (setsockopt(s, IPPROTO_IP, IP_DONTFRAG,

Deleted: community-i686/service
===================================================================
--- community-i686/service	2014-12-11 18:28:09 UTC (rev 123784)
+++ community-i686/service	2014-12-11 18:29:00 UTC (rev 123785)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Unbound DNS Resolver
-After=network.target
-
-[Service]
-PIDFile=/run/unbound.pid
-ExecStart=/usr/bin/unbound -d
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=always
-
-[Install]
-WantedBy=multi-user.target

Copied: unbound/repos/community-i686/service (from rev 123784, unbound/trunk/service)
===================================================================
--- community-i686/service	                        (rev 0)
+++ community-i686/service	2014-12-11 18:29:00 UTC (rev 123785)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Unbound DNS Resolver
+After=network.target
+
+[Service]
+PIDFile=/run/unbound.pid
+ExecStart=/usr/bin/unbound -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=always
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-12-11 18:28:09 UTC (rev 123784)
+++ community-x86_64/PKGBUILD	2014-12-11 18:29:00 UTC (rev 123785)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Hisato Tatekura <hisato_tatekura at excentrics.net>
-# Contributor: Massimiliano Torromeo <massimiliano DOT torromeo AT google mail service>
-
-pkgname=unbound
-pkgver=1.5.1
-pkgrel=1
-pkgdesc='Validating, recursive, and caching DNS resolver'
-url='http://unbound.net/'
-license=('custom:BSD')
-arch=('i686' 'x86_64')
-makedepends=('expat')
-optdepends=('expat: unbound-anchor')
-depends=('openssl' 'ldns' 'libevent' 'dnssec-anchors')
-backup=('etc/unbound/unbound.conf')
-source=("http://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz"
-        'service'
-        'conf')
-sha1sums=('5606c2246e7394bce88cc4f16edbd6b964237ea2'
-          'b543ae6f8b87423bec095fca6b335a9ee43739a8'
-          '5d473ec2943fd85367cdb653fcd58e186f07383f')
-
-install=install
-
-build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	./configure \
-		--prefix=/usr \
-		--sysconfdir=/etc \
-		--localstatedir=/var \
-		--sbindir=/usr/bin \
-		--disable-rpath \
-		--with-libevent \
-		--with-rootkey-file=/etc/trusted-key.key \
-		--with-conf-file=/etc/unbound/unbound.conf \
-		--with-pidfile=/run/unbound.pid
-	make
-}
-
-package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}" install
-	install -Dm644 doc/example.conf.in "${pkgdir}/etc/unbound/unbound.conf.example"
-	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-	install -Dm644 ../service "${pkgdir}/usr/lib/systemd/system/unbound.service"
-	install -Dm644 ../conf "${pkgdir}/etc/unbound/unbound.conf"
-}

Copied: unbound/repos/community-x86_64/PKGBUILD (from rev 123784, unbound/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-12-11 18:29:00 UTC (rev 123785)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Hisato Tatekura <hisato_tatekura at excentrics.net>
+# Contributor: Massimiliano Torromeo <massimiliano DOT torromeo AT google mail service>
+
+pkgname=unbound
+pkgver=1.5.1
+pkgrel=2
+pkgdesc='Validating, recursive, and caching DNS resolver'
+url='http://unbound.net/'
+license=('custom:BSD')
+arch=('i686' 'x86_64')
+makedepends=('expat')
+optdepends=('expat: unbound-anchor')
+depends=('openssl' 'ldns' 'libevent' 'dnssec-anchors')
+backup=('etc/unbound/unbound.conf')
+source=("http://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz"
+        'lts.patch'
+        'service'
+        'conf')
+sha1sums=('5606c2246e7394bce88cc4f16edbd6b964237ea2'
+          '456c91a253f9102e00e4a46a2f1b936aa2e3ed7c'
+          'b543ae6f8b87423bec095fca6b335a9ee43739a8'
+          '5d473ec2943fd85367cdb653fcd58e186f07383f')
+
+install=install
+
+preare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p1 -i ../lts.patch
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--localstatedir=/var \
+		--sbindir=/usr/bin \
+		--disable-rpath \
+		--with-libevent \
+		--with-rootkey-file=/etc/trusted-key.key \
+		--with-conf-file=/etc/unbound/unbound.conf \
+		--with-pidfile=/run/unbound.pid
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 doc/example.conf.in "${pkgdir}/etc/unbound/unbound.conf.example"
+	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+	install -Dm644 ../service "${pkgdir}/usr/lib/systemd/system/unbound.service"
+	install -Dm644 ../conf "${pkgdir}/etc/unbound/unbound.conf"
+}

Deleted: community-x86_64/conf
===================================================================
--- community-x86_64/conf	2014-12-11 18:28:09 UTC (rev 123784)
+++ community-x86_64/conf	2014-12-11 18:29:00 UTC (rev 123785)
@@ -1,4 +0,0 @@
-server:
-  username: "unbound"
-  directory: "/etc/unbound"
-  use-syslog: yes

Copied: unbound/repos/community-x86_64/conf (from rev 123784, unbound/trunk/conf)
===================================================================
--- community-x86_64/conf	                        (rev 0)
+++ community-x86_64/conf	2014-12-11 18:29:00 UTC (rev 123785)
@@ -0,0 +1,4 @@
+server:
+  username: "unbound"
+  directory: "/etc/unbound"
+  use-syslog: yes

Deleted: community-x86_64/install
===================================================================
--- community-x86_64/install	2014-12-11 18:28:09 UTC (rev 123784)
+++ community-x86_64/install	2014-12-11 18:29:00 UTC (rev 123785)
@@ -1,10 +0,0 @@
-post_install() {
-	getent group unbound &>/dev/null || groupadd -r unbound >/dev/null
-	getent passwd unbound &>/dev/null || useradd -r -g unbound -d /etc/unbound -s /bin/false -c unbound unbound >/dev/null
-}
-
-post_remove() {
-	getent passwd unbound &>/dev/null && userdel unbound >/dev/null
-	getent group unbound &>/dev/null && groupdel unbound >/dev/null
-	return 0
-}

Copied: unbound/repos/community-x86_64/install (from rev 123784, unbound/trunk/install)
===================================================================
--- community-x86_64/install	                        (rev 0)
+++ community-x86_64/install	2014-12-11 18:29:00 UTC (rev 123785)
@@ -0,0 +1,10 @@
+post_install() {
+	getent group unbound &>/dev/null || groupadd -r unbound >/dev/null
+	getent passwd unbound &>/dev/null || useradd -r -g unbound -d /etc/unbound -s /bin/false -c unbound unbound >/dev/null
+}
+
+post_remove() {
+	getent passwd unbound &>/dev/null && userdel unbound >/dev/null
+	getent group unbound &>/dev/null && groupdel unbound >/dev/null
+	return 0
+}

Copied: unbound/repos/community-x86_64/lts.patch (from rev 123784, unbound/trunk/lts.patch)
===================================================================
--- community-x86_64/lts.patch	                        (rev 0)
+++ community-x86_64/lts.patch	2014-12-11 18:29:00 UTC (rev 123785)
@@ -0,0 +1,67 @@
+diff -ru unbound-1.5.1/services/listen_dnsport.c unbound-1.5.1-rga/services/listen_dnsport.c
+--- unbound-1.5.1/services/listen_dnsport.c	2014-12-10 10:59:31.726514857 +0100
++++ unbound-1.5.1-rga/services/listen_dnsport.c	2014-12-10 11:08:45.009071300 +0100
+@@ -368,30 +368,47 @@
+  * (and also uses the interface mtu to determine the size of the packets).
+  * So there won't be any EMSGSIZE error.  Against DNS fragmentation attacks.
+  * FreeBSD already has same semantics without setting the option. */
+-#    if defined(IP_PMTUDISC_OMIT)
++                int omit_set = 0;
++#   if defined(IP_PMTUDISC_OMIT)
+ 		int action = IP_PMTUDISC_OMIT;
+-#    else
+-		int action = IP_PMTUDISC_DONT;
+-#    endif
+ 		if (setsockopt(s, IPPROTO_IP, IP_MTU_DISCOVER,
+ 			&action, (socklen_t)sizeof(action)) < 0) {
+-			log_err("setsockopt(..., IP_MTU_DISCOVER, "
+-#    if defined(IP_PMTUDISC_OMIT)
+-				"IP_PMTUDISC_OMIT"
++
++                        if (errno != EINVAL) {
++                                log_err("setsockopt(..., IP_MTU_DISCOVER, IP_PMTUDISC_OMIT...) failed: %s",
++				        strerror(errno));
++
++#    ifndef USE_WINSOCK
++			        close(s);
+ #    else
+-				"IP_PMTUDISC_DONT"
++                                closesocket(s);
+ #    endif
+-				"...) failed: %s",
+-				strerror(errno));
++                                *noproto = 0;
++                                *inuse = 0;
++                                return -1;
++                        }
++		}
++                else
++                {
++                    omit_set = 1;
++                }
++#   endif
++                if (omit_set == 0) {
++   		        int action = IP_PMTUDISC_DONT;
++                        if (setsockopt(s, IPPROTO_IP, IP_MTU_DISCOVER,
++                                &action, (socklen_t)sizeof(action)) < 0) {
++                                log_err("setsockopt(..., IP_MTU_DISCOVER, IP_PMTUDISC_DONT...) failed: %s",
++                                        strerror(errno));
+ #    ifndef USE_WINSOCK
+-			close(s);
++			        close(s);
+ #    else
+-			closesocket(s);
++			        closesocket(s);
+ #    endif
+-			*noproto = 0;
+-			*inuse = 0;
+-			return -1;
+-		}
++			        *noproto = 0;
++			        *inuse = 0;
++			        return -1;
++		        }
++                }
+ #  elif defined(IP_DONTFRAG)
+ 		int off = 0;
+ 		if (setsockopt(s, IPPROTO_IP, IP_DONTFRAG,

Deleted: community-x86_64/service
===================================================================
--- community-x86_64/service	2014-12-11 18:28:09 UTC (rev 123784)
+++ community-x86_64/service	2014-12-11 18:29:00 UTC (rev 123785)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Unbound DNS Resolver
-After=network.target
-
-[Service]
-PIDFile=/run/unbound.pid
-ExecStart=/usr/bin/unbound -d
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=always
-
-[Install]
-WantedBy=multi-user.target

Copied: unbound/repos/community-x86_64/service (from rev 123784, unbound/trunk/service)
===================================================================
--- community-x86_64/service	                        (rev 0)
+++ community-x86_64/service	2014-12-11 18:29:00 UTC (rev 123785)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Unbound DNS Resolver
+After=network.target
+
+[Service]
+PIDFile=/run/unbound.pid
+ExecStart=/usr/bin/unbound -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=always
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list