[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2019-10-07 Thread Lars Wendler
commit: 753a9b1932a3418047724df7276c245c0c10d15d
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Oct  7 08:03:32 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Oct  7 08:03:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=753a9b19

net-dns/nsd: Security cleanup

Bug: https://bugs.gentoo.org/695534
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest|   2 -
 net-dns/nsd/nsd-4.1.27.ebuild   | 116 
 net-dns/nsd/nsd-4.2.1-r1.ebuild | 115 ---
 3 files changed, 233 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 32a6ddbe981..6b39f120d96 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1 @@
-DIST nsd-4.1.27.tar.gz 1131881 BLAKE2B 
94a7f7efe23d130b04258faca0f73690712919e14268e6efabf4029bc30273d8ef3155259b072190776b6cde32050b61ade0584175f00eef0129e4621d5896a3
 SHA512 
9c75041f5a6213cdba7238c2e51fc73031f6f073e06587659f93992fed49418ee789642b25b5522d48642507050ac15021f385927eed81ce5ea649f974e66402
-DIST nsd-4.2.1.tar.gz 1145713 BLAKE2B 
2cb265dbe274b68e2b038b98b37cf44b4dda4eb576f0fdae1c57686a3b99b0e2cdfd7f893ce196316ea02d1d872371cb36c00a35a5ddf8f83d66a981bf5b2560
 SHA512 
8f40baf7cc72b72a84f3c4eb45847f03b2f91e47dd7f3dfc89270c774565a8cc692363cee3547b0a2a124e9c43b23eed8887f95ae55b2e63af96c65467b85796
 DIST nsd-4.2.2.tar.gz 1149182 BLAKE2B 
1cbac527063f7d14da589bd5060117da10fdd6a9e34b04eb763dbb94fe6c9cf09dc351985de3d099aea3377a4c945622871566c06e7f78aede885aa0c2bc5937
 SHA512 
43e2ee980a11ed0ad521cc9d8be1e2d29fa8ab552bdda043ffa7e5bc71cf07ad49319629f71e93dcf1dabd315f93bcfb9fd8b5847f27b125cf151fb4f63779b2

diff --git a/net-dns/nsd/nsd-4.1.27.ebuild b/net-dns/nsd/nsd-4.1.27.ebuild
deleted file mode 100644
index a191a60d41c..000
--- a/net-dns/nsd/nsd-4.1.27.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools user systemd
-
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
-MY_PV="${PV/_beta/b}"
-MY_PV="${MY_PV/_rc/rc}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd libressl"
-
-S="${WORKDIR}/${MY_P}"
-
-RDEPEND="
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c
-   )
-   libevent? ( dev-libs/libevent )
-   munin? ( net-analyzer/munin )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
-   )
-   systemd? ( sys-apps/systemd )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   sys-devel/flex
-   virtual/yacc
-   systemd? ( virtual/pkgconfig )
-"
-
-PATCHES=(
-   # Fix the paths in the munin plugin to match our install
-   "${FILESDIR}"/nsd_munin_.patch
-)
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   local myeconfargs=(
-   --enable-largefile
-   --enable-pie
-   --enable-relro-now
-   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
-   --with-logfile="${EPREFIX}"/var/log/nsd.log
-   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
-   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
-   --with-xfrdir="${EPREFIX}"/var/db/nsd
-   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
-   --with-zonesdir="${EPREFIX}"/var/lib/nsd
-   $(use_enable bind8-stats)
-   $(use_enable bind8-stats zone-stats)
-   $(use_enable dnstap)
-   $(use_enable ipv6)
-   $(use_enable minimal-responses)
-   $(use_enable mmap)
-   $(use_enable nsec3)
-   $(use_enable ratelimit)
-   $(use_enable root-server)
-   $(use_enable runtime-checks checking)
-   $(use_enable systemd)
-   $(use_with libevent)
-   $(use_with ssl)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
-   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
-
-   # install munin plugin and config
-   if use munin ; then
-   exeinto /usr/libexec/munin/plugins
-   doexe contrib/nsd_munin_
-   insinto /etc/munin/plugin-conf.d
-   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
-   fi
-
-   

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2019-08-23 Thread Lars Wendler
commit: 61748721dbd0136b7598a0648b6e0f8d10753430
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Aug 23 21:04:20 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Aug 23 21:21:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61748721

net-dns/nsd: Bump to version 4.2.2

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest |   1 +
 net-dns/nsd/nsd-4.2.2.ebuild | 115 +++
 2 files changed, 116 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 7b09077..3e7686fa6e6 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,4 @@
 DIST nsd-4.1.27.tar.gz 1131881 BLAKE2B 
94a7f7efe23d130b04258faca0f73690712919e14268e6efabf4029bc30273d8ef3155259b072190776b6cde32050b61ade0584175f00eef0129e4621d5896a3
 SHA512 
9c75041f5a6213cdba7238c2e51fc73031f6f073e06587659f93992fed49418ee789642b25b5522d48642507050ac15021f385927eed81ce5ea649f974e66402
 DIST nsd-4.2.0.tar.gz 1141796 BLAKE2B 
3e3df373e2ff00c170b9c104e1a4ca7038f98ad613104f045c594b7df17d4d66be1473a07e545deb9096c6a3945570530c5639c7b2f4c76234f643bce8c4fb40
 SHA512 
caa14fcd599ddc631cb74c3a56e571044dae1deb2fa9bd6b062f143954f9207b64b42ab5eab917360161f96bae8711df932f3e18b58be98b3f7b640071e7e807
 DIST nsd-4.2.1.tar.gz 1145713 BLAKE2B 
2cb265dbe274b68e2b038b98b37cf44b4dda4eb576f0fdae1c57686a3b99b0e2cdfd7f893ce196316ea02d1d872371cb36c00a35a5ddf8f83d66a981bf5b2560
 SHA512 
8f40baf7cc72b72a84f3c4eb45847f03b2f91e47dd7f3dfc89270c774565a8cc692363cee3547b0a2a124e9c43b23eed8887f95ae55b2e63af96c65467b85796
+DIST nsd-4.2.2.tar.gz 1149182 BLAKE2B 
1cbac527063f7d14da589bd5060117da10fdd6a9e34b04eb763dbb94fe6c9cf09dc351985de3d099aea3377a4c945622871566c06e7f78aede885aa0c2bc5937
 SHA512 
43e2ee980a11ed0ad521cc9d8be1e2d29fa8ab552bdda043ffa7e5bc71cf07ad49319629f71e93dcf1dabd315f93bcfb9fd8b5847f27b125cf151fb4f63779b2

diff --git a/net-dns/nsd/nsd-4.2.2.ebuild b/net-dns/nsd/nsd-4.2.2.ebuild
new file mode 100644
index 000..0eba80ae8a8
--- /dev/null
+++ b/net-dns/nsd/nsd-4.2.2.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd
+
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV="${PV/_beta/b}"
+MY_PV="${MY_PV/_rc/rc}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd libressl"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   acct-group/nsd
+   acct-user/nsd
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   libevent? ( dev-libs/libevent )
+   munin? ( net-analyzer/munin )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   sys-devel/flex
+   virtual/yacc
+   systemd? ( virtual/pkgconfig )
+"
+
+PATCHES=(
+   # Fix the paths in the munin plugin to match our install
+   "${FILESDIR}"/nsd_munin_.patch
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-largefile
+   --enable-pie
+   --enable-relro-now
+   --enable-tcp-fastopen
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable dnstap)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_enable systemd)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2019-08-23 Thread Lars Wendler
commit: caca87d9ea911cc87afee931ae22c7b586ee4914
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Aug 23 21:05:48 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Aug 23 21:21:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caca87d9

net-dns/nsd: Removed old

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest |   1 -
 net-dns/nsd/nsd-4.2.0.ebuild | 117 ---
 net-dns/nsd/nsd-4.2.1.ebuild | 117 ---
 3 files changed, 235 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 3e7686fa6e6..32a6ddbe981 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,4 +1,3 @@
 DIST nsd-4.1.27.tar.gz 1131881 BLAKE2B 
94a7f7efe23d130b04258faca0f73690712919e14268e6efabf4029bc30273d8ef3155259b072190776b6cde32050b61ade0584175f00eef0129e4621d5896a3
 SHA512 
9c75041f5a6213cdba7238c2e51fc73031f6f073e06587659f93992fed49418ee789642b25b5522d48642507050ac15021f385927eed81ce5ea649f974e66402
-DIST nsd-4.2.0.tar.gz 1141796 BLAKE2B 
3e3df373e2ff00c170b9c104e1a4ca7038f98ad613104f045c594b7df17d4d66be1473a07e545deb9096c6a3945570530c5639c7b2f4c76234f643bce8c4fb40
 SHA512 
caa14fcd599ddc631cb74c3a56e571044dae1deb2fa9bd6b062f143954f9207b64b42ab5eab917360161f96bae8711df932f3e18b58be98b3f7b640071e7e807
 DIST nsd-4.2.1.tar.gz 1145713 BLAKE2B 
2cb265dbe274b68e2b038b98b37cf44b4dda4eb576f0fdae1c57686a3b99b0e2cdfd7f893ce196316ea02d1d872371cb36c00a35a5ddf8f83d66a981bf5b2560
 SHA512 
8f40baf7cc72b72a84f3c4eb45847f03b2f91e47dd7f3dfc89270c774565a8cc692363cee3547b0a2a124e9c43b23eed8887f95ae55b2e63af96c65467b85796
 DIST nsd-4.2.2.tar.gz 1149182 BLAKE2B 
1cbac527063f7d14da589bd5060117da10fdd6a9e34b04eb763dbb94fe6c9cf09dc351985de3d099aea3377a4c945622871566c06e7f78aede885aa0c2bc5937
 SHA512 
43e2ee980a11ed0ad521cc9d8be1e2d29fa8ab552bdda043ffa7e5bc71cf07ad49319629f71e93dcf1dabd315f93bcfb9fd8b5847f27b125cf151fb4f63779b2

diff --git a/net-dns/nsd/nsd-4.2.0.ebuild b/net-dns/nsd/nsd-4.2.0.ebuild
deleted file mode 100644
index e8a9dc23802..000
--- a/net-dns/nsd/nsd-4.2.0.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools user systemd
-
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
-MY_PV="${PV/_beta/b}"
-MY_PV="${MY_PV/_rc/rc}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd libressl"
-
-S="${WORKDIR}/${MY_P}"
-
-RDEPEND="
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c
-   )
-   libevent? ( dev-libs/libevent )
-   munin? ( net-analyzer/munin )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
-   )
-   systemd? ( sys-apps/systemd )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   sys-devel/flex
-   virtual/yacc
-   systemd? ( virtual/pkgconfig )
-"
-
-PATCHES=(
-   # Fix the paths in the munin plugin to match our install
-   "${FILESDIR}"/nsd_munin_.patch
-)
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   local myeconfargs=(
-   --enable-largefile
-   --enable-pie
-   --enable-relro-now
-   --enable-tcp-fastopen
-   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
-   --with-logfile="${EPREFIX}"/var/log/nsd.log
-   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
-   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
-   --with-xfrdir="${EPREFIX}"/var/db/nsd
-   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
-   --with-zonesdir="${EPREFIX}"/var/lib/nsd
-   $(use_enable bind8-stats)
-   $(use_enable bind8-stats zone-stats)
-   $(use_enable dnstap)
-   $(use_enable ipv6)
-   $(use_enable minimal-responses)
-   $(use_enable mmap)
-   $(use_enable nsec3)
-   $(use_enable ratelimit)
-   $(use_enable root-server)
-   $(use_enable runtime-checks checking)
-   $(use_enable systemd)
-   $(use_with libevent)
-   $(use_with ssl)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
-   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
-
-

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2019-08-13 Thread Lars Wendler
commit: 340b4d62b66f14dbed3193f983c28804ac49c893
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Aug  6 22:54:54 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Aug 13 16:40:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=340b4d62

net-dns/nsd: Revbump replacing user eclass

with nsd group/user packages

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/nsd-4.2.1-r1.ebuild | 115 
 1 file changed, 115 insertions(+)

diff --git a/net-dns/nsd/nsd-4.2.1-r1.ebuild b/net-dns/nsd/nsd-4.2.1-r1.ebuild
new file mode 100644
index 000..0eba80ae8a8
--- /dev/null
+++ b/net-dns/nsd/nsd-4.2.1-r1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd
+
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV="${PV/_beta/b}"
+MY_PV="${MY_PV/_rc/rc}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd libressl"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   acct-group/nsd
+   acct-user/nsd
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   libevent? ( dev-libs/libevent )
+   munin? ( net-analyzer/munin )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   sys-devel/flex
+   virtual/yacc
+   systemd? ( virtual/pkgconfig )
+"
+
+PATCHES=(
+   # Fix the paths in the munin plugin to match our install
+   "${FILESDIR}"/nsd_munin_.patch
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-largefile
+   --enable-pie
+   --enable-relro-now
+   --enable-tcp-fastopen
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable dnstap)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_enable systemd)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe contrib/nsd_munin_
+   insinto /etc/munin/plugin-conf.d
+   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
+   fi
+
+   systemd_dounit "${FILESDIR}"/nsd.service
+
+   # remove the /run directory that usually resides on tmpfs and is
+   # being taken care of by the nsd init script anyway (checkpath)
+   rm -r "${ED}"/run || die "Failed to remove /run"
+
+   keepdir /var/db/${PN}
+}
+
+pkg_postinst() {
+   # database directory, writable by nsd for database updates and zone 
transfers
+   install -d -m 750 -o nsd -g nsd "${EROOT}"/var/db/nsd
+
+   # zones directory, writable by nsd for zone file updates (nsd-control 
write)
+   install -d -m 750 -o nsd -g nsd "${EROOT}"/var/lib/nsd
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/files/

2019-07-25 Thread Lars Wendler
commit: 83d737ae1513123fcd89d114d39eebce2296f205
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul 25 14:50:51 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 25 14:50:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83d737ae

net-dns/nsd: Removed executable bit from files/nsd.initd-r1

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/files/nsd.initd-r1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/nsd/files/nsd.initd-r1 b/net-dns/nsd/files/nsd.initd-r1
old mode 100755
new mode 100644
index a032cb226fd..2a97c6dea70
--- a/net-dns/nsd/files/nsd.initd-r1
+++ b/net-dns/nsd/files/nsd.initd-r1
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 description="NSD is an authoritative-only, high performance, open source name 
server"



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2019-07-10 Thread Lars Wendler
commit: 7f50ff9daf1b6504c2b5bfb7690b088c4316d689
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jul 10 07:59:21 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jul 10 07:59:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f50ff9d

net-dns/nsd: Bump to version 4.2.1

Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest |   1 +
 net-dns/nsd/nsd-4.2.1.ebuild | 117 +++
 2 files changed, 118 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index cda57f5af0f..7b09077 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.1.27.tar.gz 1131881 BLAKE2B 
94a7f7efe23d130b04258faca0f73690712919e14268e6efabf4029bc30273d8ef3155259b072190776b6cde32050b61ade0584175f00eef0129e4621d5896a3
 SHA512 
9c75041f5a6213cdba7238c2e51fc73031f6f073e06587659f93992fed49418ee789642b25b5522d48642507050ac15021f385927eed81ce5ea649f974e66402
 DIST nsd-4.2.0.tar.gz 1141796 BLAKE2B 
3e3df373e2ff00c170b9c104e1a4ca7038f98ad613104f045c594b7df17d4d66be1473a07e545deb9096c6a3945570530c5639c7b2f4c76234f643bce8c4fb40
 SHA512 
caa14fcd599ddc631cb74c3a56e571044dae1deb2fa9bd6b062f143954f9207b64b42ab5eab917360161f96bae8711df932f3e18b58be98b3f7b640071e7e807
+DIST nsd-4.2.1.tar.gz 1145713 BLAKE2B 
2cb265dbe274b68e2b038b98b37cf44b4dda4eb576f0fdae1c57686a3b99b0e2cdfd7f893ce196316ea02d1d872371cb36c00a35a5ddf8f83d66a981bf5b2560
 SHA512 
8f40baf7cc72b72a84f3c4eb45847f03b2f91e47dd7f3dfc89270c774565a8cc692363cee3547b0a2a124e9c43b23eed8887f95ae55b2e63af96c65467b85796

diff --git a/net-dns/nsd/nsd-4.2.1.ebuild b/net-dns/nsd/nsd-4.2.1.ebuild
new file mode 100644
index 000..e8a9dc23802
--- /dev/null
+++ b/net-dns/nsd/nsd-4.2.1.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools user systemd
+
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV="${PV/_beta/b}"
+MY_PV="${MY_PV/_rc/rc}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd libressl"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   libevent? ( dev-libs/libevent )
+   munin? ( net-analyzer/munin )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   sys-devel/flex
+   virtual/yacc
+   systemd? ( virtual/pkgconfig )
+"
+
+PATCHES=(
+   # Fix the paths in the munin plugin to match our install
+   "${FILESDIR}"/nsd_munin_.patch
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-largefile
+   --enable-pie
+   --enable-relro-now
+   --enable-tcp-fastopen
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable dnstap)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_enable systemd)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe contrib/nsd_munin_
+   insinto /etc/munin/plugin-conf.d
+   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
+   fi
+
+   systemd_dounit "${FILESDIR}"/nsd.service
+
+   # remove the /run directory that 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/, net-dns/nsd/files/

2019-06-12 Thread Lars Wendler
commit: fd9e407e6e7ea1e06fd3b9c692e3dec7291f1b7f
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jun 12 10:44:14 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jun 12 10:45:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd9e407e

net-dns/nsd: Removed old.

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest   |   1 -
 .../nsd/files/nsd-4.1.26-dnstap_noipv6_fix.patch   |  13 ---
 net-dns/nsd/nsd-4.1.26.ebuild  | 119 -
 3 files changed, 133 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 62a12c1cd63..cda57f5af0f 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,2 @@
-DIST nsd-4.1.26.tar.gz 1127895 BLAKE2B 
b132022b846ca0ca34fff189f95c26dc7646648773d455ad7835c42718b1a00645b3b686e5c211432ef4bb83a3618ae6b675b9b53fd40ecf7a9f6d9ec5ba
 SHA512 
49c07ad79e4e056bd519dad157a44d5cc55cd9a28723fd910159dc761d4ba56ef86cb7bf289dc5d1b363a49b999232bb7ec1afa737ca5c2659c4c9893e93494b
 DIST nsd-4.1.27.tar.gz 1131881 BLAKE2B 
94a7f7efe23d130b04258faca0f73690712919e14268e6efabf4029bc30273d8ef3155259b072190776b6cde32050b61ade0584175f00eef0129e4621d5896a3
 SHA512 
9c75041f5a6213cdba7238c2e51fc73031f6f073e06587659f93992fed49418ee789642b25b5522d48642507050ac15021f385927eed81ce5ea649f974e66402
 DIST nsd-4.2.0.tar.gz 1141796 BLAKE2B 
3e3df373e2ff00c170b9c104e1a4ca7038f98ad613104f045c594b7df17d4d66be1473a07e545deb9096c6a3945570530c5639c7b2f4c76234f643bce8c4fb40
 SHA512 
caa14fcd599ddc631cb74c3a56e571044dae1deb2fa9bd6b062f143954f9207b64b42ab5eab917360161f96bae8711df932f3e18b58be98b3f7b640071e7e807

diff --git a/net-dns/nsd/files/nsd-4.1.26-dnstap_noipv6_fix.patch 
b/net-dns/nsd/files/nsd-4.1.26-dnstap_noipv6_fix.patch
deleted file mode 100644
index be19e337f3d..000
--- a/net-dns/nsd/files/nsd-4.1.26-dnstap_noipv6_fix.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4213
-
 nsd-4.1.26/dnstap/dnstap.c
-+++ nsd-4.1.26/dnstap/dnstap.c
-@@ -319,7 +319,7 @@
-   *has_port = 1;
-   } else if (ss->ss_family == AF_INET) {
- #else
--  if (ss->ss_family == AF_INET) {
-+  if (ss->sin_family == AF_INET) {
- #endif /* INET6 */
-   struct sockaddr_in *s = (struct sockaddr_in *) ss;
- 

diff --git a/net-dns/nsd/nsd-4.1.26.ebuild b/net-dns/nsd/nsd-4.1.26.ebuild
deleted file mode 100644
index 87248c93455..000
--- a/net-dns/nsd/nsd-4.1.26.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools user systemd
-
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
-MY_PV="${PV/_beta/b}"
-MY_PV="${MY_PV/_rc/rc}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd libressl"
-
-S="${WORKDIR}/${MY_P}"
-
-RDEPEND="
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c
-   )
-   libevent? ( dev-libs/libevent )
-   munin? ( net-analyzer/munin )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
-   )
-   systemd? ( sys-apps/systemd )
-"
-DEPEND="
-   ${RDEPEND}
-   sys-devel/flex
-   virtual/yacc
-   systemd? ( virtual/pkgconfig )
-"
-
-PATCHES=(
-   # Fix the paths in the munin plugin to match our install
-   "${FILESDIR}"/nsd_munin_.patch
-
-   # https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4213
-   "${FILESDIR}"/${P}-dnstap_noipv6_fix.patch
-)
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   local myeconfargs=(
-   --enable-largefile
-   --enable-pie
-   --enable-relro-now
-   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
-   --with-logfile="${EPREFIX}"/var/log/nsd.log
-   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
-   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
-   --with-xfrdir="${EPREFIX}"/var/db/nsd
-   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
-   --with-zonesdir="${EPREFIX}"/var/lib/nsd
-   $(use_enable bind8-stats)
-   $(use_enable bind8-stats zone-stats)
-   $(use_enable dnstap)
-   $(use_enable ipv6)
-   $(use_enable minimal-responses)
-   $(use_enable mmap)
-   $(use_enable nsec3)
-   $(use_enable ratelimit)
- 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2019-06-12 Thread Lars Wendler
commit: 8c9e0ee93b538cba0648792dac57f9852e1f615c
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jun 12 10:43:46 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jun 12 10:45:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c9e0ee9

net-dns/nsd: version 4.1.27 stable for amd64 and x86

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/nsd-4.1.27.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/nsd/nsd-4.1.27.ebuild b/net-dns/nsd/nsd-4.1.27.ebuild
index bd3f7272f6a..a191a60d41c 100644
--- a/net-dns/nsd/nsd-4.1.27.ebuild
+++ b/net-dns/nsd/nsd-4.1.27.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
 SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd libressl"
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2019-06-12 Thread Lars Wendler
commit: 262150e00eaac381800a9d71d173933e67cd0e3f
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jun 12 10:43:08 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jun 12 10:45:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=262150e0

net-dns/nsd: Bump to version 4.2.0

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest |   1 +
 net-dns/nsd/nsd-4.2.0.ebuild | 117 +++
 2 files changed, 118 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 92215a6d3eb..62a12c1cd63 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.1.26.tar.gz 1127895 BLAKE2B 
b132022b846ca0ca34fff189f95c26dc7646648773d455ad7835c42718b1a00645b3b686e5c211432ef4bb83a3618ae6b675b9b53fd40ecf7a9f6d9ec5ba
 SHA512 
49c07ad79e4e056bd519dad157a44d5cc55cd9a28723fd910159dc761d4ba56ef86cb7bf289dc5d1b363a49b999232bb7ec1afa737ca5c2659c4c9893e93494b
 DIST nsd-4.1.27.tar.gz 1131881 BLAKE2B 
94a7f7efe23d130b04258faca0f73690712919e14268e6efabf4029bc30273d8ef3155259b072190776b6cde32050b61ade0584175f00eef0129e4621d5896a3
 SHA512 
9c75041f5a6213cdba7238c2e51fc73031f6f073e06587659f93992fed49418ee789642b25b5522d48642507050ac15021f385927eed81ce5ea649f974e66402
+DIST nsd-4.2.0.tar.gz 1141796 BLAKE2B 
3e3df373e2ff00c170b9c104e1a4ca7038f98ad613104f045c594b7df17d4d66be1473a07e545deb9096c6a3945570530c5639c7b2f4c76234f643bce8c4fb40
 SHA512 
caa14fcd599ddc631cb74c3a56e571044dae1deb2fa9bd6b062f143954f9207b64b42ab5eab917360161f96bae8711df932f3e18b58be98b3f7b640071e7e807

diff --git a/net-dns/nsd/nsd-4.2.0.ebuild b/net-dns/nsd/nsd-4.2.0.ebuild
new file mode 100644
index 000..e8a9dc23802
--- /dev/null
+++ b/net-dns/nsd/nsd-4.2.0.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools user systemd
+
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV="${PV/_beta/b}"
+MY_PV="${MY_PV/_rc/rc}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd libressl"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   libevent? ( dev-libs/libevent )
+   munin? ( net-analyzer/munin )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   sys-devel/flex
+   virtual/yacc
+   systemd? ( virtual/pkgconfig )
+"
+
+PATCHES=(
+   # Fix the paths in the munin plugin to match our install
+   "${FILESDIR}"/nsd_munin_.patch
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-largefile
+   --enable-pie
+   --enable-relro-now
+   --enable-tcp-fastopen
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable dnstap)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_enable systemd)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe contrib/nsd_munin_
+   insinto /etc/munin/plugin-conf.d
+   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
+   fi
+
+   systemd_dounit "${FILESDIR}"/nsd.service
+
+   # remove the /run directory that 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2019-03-25 Thread Lars Wendler
commit: ab27de57a822bd0468a273406d356f5499278f09
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Mar 25 19:07:41 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Mar 25 19:08:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab27de57

net-dns/nsd: Version 4.1.26 stable for amd64 and x86

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/nsd-4.1.26.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dns/nsd/nsd-4.1.26.ebuild b/net-dns/nsd/nsd-4.1.26.ebuild
index 2d738583621..87248c93455 100644
--- a/net-dns/nsd/nsd-4.1.26.ebuild
+++ b/net-dns/nsd/nsd-4.1.26.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
 SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd libressl"
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2019-03-25 Thread Lars Wendler
commit: 41a6873aec11b84bd6a3cd3e6fc3ba321311cd82
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Mar 25 19:08:04 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Mar 25 19:08:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a6873a

net-dns/nsd: Removed old.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest  |   1 -
 net-dns/nsd/nsd-4.1.25.ebuild | 111 --
 2 files changed, 112 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index ec30f7232a6..92215a6d3eb 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,2 @@
-DIST nsd-4.1.25.tar.gz 1108285 BLAKE2B 
29428e59c0913e9eb6936b577c02b03136ae51e47d58f5d476368b4e6614e240a735a29ec5f224dbca6f76068fa81f0eed32fad75bf647673f35641ac414e3a6
 SHA512 
3a1de59d799a94aeb236139bf52f1d2e2139002ec8a033948a2324680df513e6c333e3564f526ca4fa106b42e50ae2bc67edadaeee72f608dabed962aacb5423
 DIST nsd-4.1.26.tar.gz 1127895 BLAKE2B 
b132022b846ca0ca34fff189f95c26dc7646648773d455ad7835c42718b1a00645b3b686e5c211432ef4bb83a3618ae6b675b9b53fd40ecf7a9f6d9ec5ba
 SHA512 
49c07ad79e4e056bd519dad157a44d5cc55cd9a28723fd910159dc761d4ba56ef86cb7bf289dc5d1b363a49b999232bb7ec1afa737ca5c2659c4c9893e93494b
 DIST nsd-4.1.27.tar.gz 1131881 BLAKE2B 
94a7f7efe23d130b04258faca0f73690712919e14268e6efabf4029bc30273d8ef3155259b072190776b6cde32050b61ade0584175f00eef0129e4621d5896a3
 SHA512 
9c75041f5a6213cdba7238c2e51fc73031f6f073e06587659f93992fed49418ee789642b25b5522d48642507050ac15021f385927eed81ce5ea649f974e66402

diff --git a/net-dns/nsd/nsd-4.1.25.ebuild b/net-dns/nsd/nsd-4.1.25.ebuild
deleted file mode 100644
index bef653ea457..000
--- a/net-dns/nsd/nsd-4.1.25.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools user systemd
-
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
-MY_PV="${PV/_beta/b}"
-MY_PV="${MY_PV/_rc/rc}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl systemd libressl"
-
-S="${WORKDIR}/${MY_P}"
-
-RDEPEND="
-   libevent? ( dev-libs/libevent )
-   munin? ( net-analyzer/munin )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
-   )
-   systemd? ( sys-apps/systemd )
-"
-DEPEND="
-   ${RDEPEND}
-   sys-devel/flex
-   virtual/yacc
-   systemd? ( virtual/pkgconfig )
-"
-
-PATCHES=(
-   # Fix the paths in the munin plugin to match our install
-   "${FILESDIR}"/nsd_munin_.patch
-)
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   local myeconfargs=(
-   --enable-largefile
-   --enable-pie
-   --enable-relro-now
-   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
-   --with-logfile="${EPREFIX}"/var/log/nsd.log
-   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
-   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
-   --with-xfrdir="${EPREFIX}"/var/db/nsd
-   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
-   --with-zonesdir="${EPREFIX}"/var/lib/nsd
-   $(use_enable bind8-stats)
-   $(use_enable bind8-stats zone-stats)
-   $(use_enable ipv6)
-   $(use_enable minimal-responses)
-   $(use_enable mmap)
-   $(use_enable nsec3)
-   $(use_enable ratelimit)
-   $(use_enable root-server)
-   $(use_enable runtime-checks checking)
-   $(use_enable systemd)
-   $(use_with libevent)
-   $(use_with ssl)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
-   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
-
-   # install munin plugin and config
-   if use munin ; then
-   exeinto /usr/libexec/munin/plugins
-   doexe contrib/nsd_munin_
-   insinto /etc/munin/plugin-conf.d
-   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
-   fi
-
-   systemd_dounit "${FILESDIR}"/nsd.service
-
-   # remove the /run directory that usually resides on tmpfs and is
-   # being taken care of by the nsd init script anyway (checkpath)
-   rm -r "${ED}"/run || die "Failed to remove /run"
-
-   keepdir 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2019-03-25 Thread Lars Wendler
commit: b9246c89b93a22b9292c95d0a9480ca8523a5f10
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Mar 25 19:07:02 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Mar 25 19:08:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9246c89

net-dns/nsd: Bump to version 4.1.27

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest  |   1 +
 net-dns/nsd/nsd-4.1.27.ebuild | 116 ++
 2 files changed, 117 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index f5a19980ab3..ec30f7232a6 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.1.25.tar.gz 1108285 BLAKE2B 
29428e59c0913e9eb6936b577c02b03136ae51e47d58f5d476368b4e6614e240a735a29ec5f224dbca6f76068fa81f0eed32fad75bf647673f35641ac414e3a6
 SHA512 
3a1de59d799a94aeb236139bf52f1d2e2139002ec8a033948a2324680df513e6c333e3564f526ca4fa106b42e50ae2bc67edadaeee72f608dabed962aacb5423
 DIST nsd-4.1.26.tar.gz 1127895 BLAKE2B 
b132022b846ca0ca34fff189f95c26dc7646648773d455ad7835c42718b1a00645b3b686e5c211432ef4bb83a3618ae6b675b9b53fd40ecf7a9f6d9ec5ba
 SHA512 
49c07ad79e4e056bd519dad157a44d5cc55cd9a28723fd910159dc761d4ba56ef86cb7bf289dc5d1b363a49b999232bb7ec1afa737ca5c2659c4c9893e93494b
+DIST nsd-4.1.27.tar.gz 1131881 BLAKE2B 
94a7f7efe23d130b04258faca0f73690712919e14268e6efabf4029bc30273d8ef3155259b072190776b6cde32050b61ade0584175f00eef0129e4621d5896a3
 SHA512 
9c75041f5a6213cdba7238c2e51fc73031f6f073e06587659f93992fed49418ee789642b25b5522d48642507050ac15021f385927eed81ce5ea649f974e66402

diff --git a/net-dns/nsd/nsd-4.1.27.ebuild b/net-dns/nsd/nsd-4.1.27.ebuild
new file mode 100644
index 000..bd3f7272f6a
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.27.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools user systemd
+
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV="${PV/_beta/b}"
+MY_PV="${MY_PV/_rc/rc}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd libressl"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   libevent? ( dev-libs/libevent )
+   munin? ( net-analyzer/munin )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   sys-devel/flex
+   virtual/yacc
+   systemd? ( virtual/pkgconfig )
+"
+
+PATCHES=(
+   # Fix the paths in the munin plugin to match our install
+   "${FILESDIR}"/nsd_munin_.patch
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-largefile
+   --enable-pie
+   --enable-relro-now
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable dnstap)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_enable systemd)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe contrib/nsd_munin_
+   insinto /etc/munin/plugin-conf.d
+   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
+   fi
+
+   systemd_dounit "${FILESDIR}"/nsd.service
+
+   # remove the /run directory that usually resides on tmpfs and is
+ 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/files/, net-dns/nsd/

2018-12-05 Thread Lars Wendler
commit: bf7c8daa7389acb3e77f1539ebe45f295af76544
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Dec  5 10:24:20 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Dec  5 10:24:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf7c8daa

net-dns/nsd: Added upstream fix for USE="dnstap -ipv6" failure

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/files/nsd-4.1.26-dnstap_noipv6_fix.patch | 13 +
 net-dns/nsd/nsd-4.1.26.ebuild|  9 +++--
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/net-dns/nsd/files/nsd-4.1.26-dnstap_noipv6_fix.patch 
b/net-dns/nsd/files/nsd-4.1.26-dnstap_noipv6_fix.patch
new file mode 100644
index 000..be19e337f3d
--- /dev/null
+++ b/net-dns/nsd/files/nsd-4.1.26-dnstap_noipv6_fix.patch
@@ -0,0 +1,13 @@
+https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4213
+
+--- nsd-4.1.26/dnstap/dnstap.c
 nsd-4.1.26/dnstap/dnstap.c
+@@ -319,7 +319,7 @@
+   *has_port = 1;
+   } else if (ss->ss_family == AF_INET) {
+ #else
+-  if (ss->ss_family == AF_INET) {
++  if (ss->sin_family == AF_INET) {
+ #endif /* INET6 */
+   struct sockaddr_in *s = (struct sockaddr_in *) ss;
+ 

diff --git a/net-dns/nsd/nsd-4.1.26.ebuild b/net-dns/nsd/nsd-4.1.26.ebuild
index 5fe276b04a9..2d738583621 100644
--- a/net-dns/nsd/nsd-4.1.26.ebuild
+++ b/net-dns/nsd/nsd-4.1.26.ebuild
@@ -40,15 +40,12 @@ DEPEND="
systemd? ( virtual/pkgconfig )
 "
 
-# dnstap fails to build without ipv6
-# See https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4213
-REQUIRED_USE="
-   dnstap? ( ipv6 )
-"
-
 PATCHES=(
# Fix the paths in the munin plugin to match our install
"${FILESDIR}"/nsd_munin_.patch
+
+   # https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4213
+   "${FILESDIR}"/${P}-dnstap_noipv6_fix.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-12-05 Thread Lars Wendler
commit: 76051c996be0f9fe3db9986b4d0cfabe50a34688
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Dec  5 10:14:38 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Dec  5 10:15:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76051c99

net-dns/nsd: Removed old.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest  |   1 -
 net-dns/nsd/nsd-4.1.24.ebuild | 111 --
 2 files changed, 112 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index bcaac15bc81..f5a19980ab3 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,2 @@
-DIST nsd-4.1.24.tar.gz 1107574 BLAKE2B 
9e22d6a07bc7c63efb41b0b4e1a0e1e36d94db9bf79f31a704bd1ec7ba371b059669feebca4b6ed9427ba41017f661ebd8a30a26ee433b45374df75d2c182cb2
 SHA512 
68f7f62c740e5a73d1b9da4b6d593ff1b728bc398ad126a75febaa523a2117c80315bf90ca6a60aabf38539181e00524cedb106a32b4883aa8ed021462d47762
 DIST nsd-4.1.25.tar.gz 1108285 BLAKE2B 
29428e59c0913e9eb6936b577c02b03136ae51e47d58f5d476368b4e6614e240a735a29ec5f224dbca6f76068fa81f0eed32fad75bf647673f35641ac414e3a6
 SHA512 
3a1de59d799a94aeb236139bf52f1d2e2139002ec8a033948a2324680df513e6c333e3564f526ca4fa106b42e50ae2bc67edadaeee72f608dabed962aacb5423
 DIST nsd-4.1.26.tar.gz 1127895 BLAKE2B 
b132022b846ca0ca34fff189f95c26dc7646648773d455ad7835c42718b1a00645b3b686e5c211432ef4bb83a3618ae6b675b9b53fd40ecf7a9f6d9ec5ba
 SHA512 
49c07ad79e4e056bd519dad157a44d5cc55cd9a28723fd910159dc761d4ba56ef86cb7bf289dc5d1b363a49b999232bb7ec1afa737ca5c2659c4c9893e93494b

diff --git a/net-dns/nsd/nsd-4.1.24.ebuild b/net-dns/nsd/nsd-4.1.24.ebuild
deleted file mode 100644
index bce39add917..000
--- a/net-dns/nsd/nsd-4.1.24.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools user systemd
-
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
-MY_PV="${PV/_beta/b}"
-MY_PV="${MY_PV/_rc/rc}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl systemd libressl"
-
-S="${WORKDIR}/${MY_P}"
-
-RDEPEND="
-   libevent? ( dev-libs/libevent )
-   munin? ( net-analyzer/munin )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
-   )
-   systemd? ( sys-apps/systemd )
-"
-DEPEND="
-   ${RDEPEND}
-   sys-devel/flex
-   virtual/yacc
-   systemd? ( virtual/pkgconfig )
-"
-
-PATCHES=(
-   # Fix the paths in the munin plugin to match our install
-   "${FILESDIR}"/nsd_munin_.patch
-)
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   local myeconfargs=(
-   --enable-largefile
-   --enable-pie
-   --enable-relro-now
-   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
-   --with-logfile="${EPREFIX}"/var/log/nsd.log
-   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
-   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
-   --with-xfrdir="${EPREFIX}"/var/db/nsd
-   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
-   --with-zonesdir="${EPREFIX}"/var/lib/nsd
-   $(use_enable bind8-stats)
-   $(use_enable bind8-stats zone-stats)
-   $(use_enable ipv6)
-   $(use_enable minimal-responses)
-   $(use_enable mmap)
-   $(use_enable nsec3)
-   $(use_enable ratelimit)
-   $(use_enable root-server)
-   $(use_enable runtime-checks checking)
-   $(use_enable systemd)
-   $(use_with libevent)
-   $(use_with ssl)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
-   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
-
-   # install munin plugin and config
-   if use munin ; then
-   exeinto /usr/libexec/munin/plugins
-   doexe contrib/nsd_munin_
-   insinto /etc/munin/plugin-conf.d
-   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
-   fi
-
-   systemd_dounit "${FILESDIR}"/nsd.service
-
-   # remove the /run directory that usually resides on tmpfs and is
-   # being taken care of by the nsd init script anyway (checkpath)
-   rm -r "${ED%/}"/run || die "Failed to remove /run"
-
-   keepdir 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-12-05 Thread Lars Wendler
commit: 159c618d4383d24739152273ede234b3fe96703f
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Dec  5 10:13:12 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Dec  5 10:15:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=159c618d

net-dns/nsd: Minor ebuild improvements.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/nsd-4.1.25.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-dns/nsd/nsd-4.1.25.ebuild b/net-dns/nsd/nsd-4.1.25.ebuild
index 9a5fc16aa9b..c5b30a4d01a 100644
--- a/net-dns/nsd/nsd-4.1.25.ebuild
+++ b/net-dns/nsd/nsd-4.1.25.ebuild
@@ -93,7 +93,7 @@ src_install() {
 
# remove the /run directory that usually resides on tmpfs and is
# being taken care of by the nsd init script anyway (checkpath)
-   rm -r "${ED%/}"/run || die "Failed to remove /run"
+   rm -r "${ED}"/run || die "Failed to remove /run"
 
keepdir /var/db/${PN}
 }
@@ -104,8 +104,8 @@ pkg_postinst() {
enewuser nsd -1 -1 -1 nsd
 
# database directory, writable by nsd for database updates and zone 
transfers
-   install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/db/nsd
+   install -d -m 750 -o nsd -g nsd "${EROOT}"/var/db/nsd
 
# zones directory, writable by nsd for zone file updates (nsd-control 
write)
-   install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/lib/nsd
+   install -d -m 750 -o nsd -g nsd "${EROOT}"/var/lib/nsd
 }



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-12-05 Thread Lars Wendler
commit: 2c556ba996e43fa32f00a4cf35fd38eea9f48ebf
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Dec  5 10:14:03 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Dec  5 10:15:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c556ba9

net-dns/nsd: Version 4.1.25 stable for amd64 and x86.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/nsd-4.1.25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/nsd/nsd-4.1.25.ebuild b/net-dns/nsd/nsd-4.1.25.ebuild
index c5b30a4d01a..bef653ea457 100644
--- a/net-dns/nsd/nsd-4.1.25.ebuild
+++ b/net-dns/nsd/nsd-4.1.25.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
 SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl systemd libressl"
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-12-05 Thread Lars Wendler
commit: 1d4ab30d7d6fad22e21fada3ea3100ce45873740
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Dec  5 10:12:21 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Dec  5 10:15:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d4ab30d

net-dns/nsd: Bump to version 4.1.26

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest  |   1 +
 net-dns/nsd/metadata.xml  |   1 +
 net-dns/nsd/nsd-4.1.26.ebuild | 122 ++
 3 files changed, 124 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 85f90d98ecb..bcaac15bc81 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.1.24.tar.gz 1107574 BLAKE2B 
9e22d6a07bc7c63efb41b0b4e1a0e1e36d94db9bf79f31a704bd1ec7ba371b059669feebca4b6ed9427ba41017f661ebd8a30a26ee433b45374df75d2c182cb2
 SHA512 
68f7f62c740e5a73d1b9da4b6d593ff1b728bc398ad126a75febaa523a2117c80315bf90ca6a60aabf38539181e00524cedb106a32b4883aa8ed021462d47762
 DIST nsd-4.1.25.tar.gz 1108285 BLAKE2B 
29428e59c0913e9eb6936b577c02b03136ae51e47d58f5d476368b4e6614e240a735a29ec5f224dbca6f76068fa81f0eed32fad75bf647673f35641ac414e3a6
 SHA512 
3a1de59d799a94aeb236139bf52f1d2e2139002ec8a033948a2324680df513e6c333e3564f526ca4fa106b42e50ae2bc67edadaeee72f608dabed962aacb5423
+DIST nsd-4.1.26.tar.gz 1127895 BLAKE2B 
b132022b846ca0ca34fff189f95c26dc7646648773d455ad7835c42718b1a00645b3b686e5c211432ef4bb83a3618ae6b675b9b53fd40ecf7a9f6d9ec5ba
 SHA512 
49c07ad79e4e056bd519dad157a44d5cc55cd9a28723fd910159dc761d4ba56ef86cb7bf289dc5d1b363a49b999232bb7ec1afa737ca5c2659c4c9893e93494b

diff --git a/net-dns/nsd/metadata.xml b/net-dns/nsd/metadata.xml
index 0d66874728b..80941c35662 100644
--- a/net-dns/nsd/metadata.xml
+++ b/net-dns/nsd/metadata.xml
@@ -7,6 +7,7 @@


Enables BIND8 like NSTATS and 
XSTATS
+   Enable the structured binary log 
format
Use libevent or libev, useful when zone
count is high
If minimal responses are 
disabled,

diff --git a/net-dns/nsd/nsd-4.1.26.ebuild b/net-dns/nsd/nsd-4.1.26.ebuild
new file mode 100644
index 000..5fe276b04a9
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.26.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools user systemd
+
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV="${PV/_beta/b}"
+MY_PV="${MY_PV/_rc/rc}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd libressl"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   libevent? ( dev-libs/libevent )
+   munin? ( net-analyzer/munin )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+   virtual/yacc
+   systemd? ( virtual/pkgconfig )
+"
+
+# dnstap fails to build without ipv6
+# See https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4213
+REQUIRED_USE="
+   dnstap? ( ipv6 )
+"
+
+PATCHES=(
+   # Fix the paths in the munin plugin to match our install
+   "${FILESDIR}"/nsd_munin_.patch
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-largefile
+   --enable-pie
+   --enable-relro-now
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable dnstap)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_enable systemd)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-09-26 Thread Lars Wendler
commit: dd01800fbfa34f2874b0457f6f00d5b2f712b210
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Sep 26 07:55:11 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Sep 26 07:55:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd01800f

net-dns/nsd: Version 4.1.24 stable for amd64 and x86.

Package-Manager: Portage-2.3.50, Repoman-2.3.11

 net-dns/nsd/nsd-4.1.24.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dns/nsd/nsd-4.1.24.ebuild b/net-dns/nsd/nsd-4.1.24.ebuild
index 4ba2bdca091..bce39add917 100644
--- a/net-dns/nsd/nsd-4.1.24.ebuild
+++ b/net-dns/nsd/nsd-4.1.24.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -15,7 +15,7 @@ HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
 SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl systemd libressl"
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-09-26 Thread Lars Wendler
commit: 75f77c551d9d1180ae815245842f062b9ffb
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Sep 26 07:54:35 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Sep 26 07:54:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75f77c55

net-dns/nsd: Bump to version 4.1.25

Package-Manager: Portage-2.3.50, Repoman-2.3.11

 net-dns/nsd/Manifest  |   1 +
 net-dns/nsd/nsd-4.1.25.ebuild | 111 ++
 2 files changed, 112 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 7593b6fdcb2..9a5655bd11d 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.1.23.tar.gz 1102038 BLAKE2B 
673146931421ba7be5e90b6f60db23f9e61f42687e4f0aac2d6624125f09067dab535a3badfd00d795a3948319467f3924ca24cc0697b0c203591c2d6efb1834
 SHA512 
7eb44658be6a3b94855d1a84201e5f20a02c8d85786ac0b1f82a3a67e6bc3c22602d03a8976c2bcb68ea68f0bcf72f1d9fe688e1fd1f9fbe6a774c97bdcf7939
 DIST nsd-4.1.24.tar.gz 1107574 BLAKE2B 
9e22d6a07bc7c63efb41b0b4e1a0e1e36d94db9bf79f31a704bd1ec7ba371b059669feebca4b6ed9427ba41017f661ebd8a30a26ee433b45374df75d2c182cb2
 SHA512 
68f7f62c740e5a73d1b9da4b6d593ff1b728bc398ad126a75febaa523a2117c80315bf90ca6a60aabf38539181e00524cedb106a32b4883aa8ed021462d47762
+DIST nsd-4.1.25.tar.gz 1108285 BLAKE2B 
29428e59c0913e9eb6936b577c02b03136ae51e47d58f5d476368b4e6614e240a735a29ec5f224dbca6f76068fa81f0eed32fad75bf647673f35641ac414e3a6
 SHA512 
3a1de59d799a94aeb236139bf52f1d2e2139002ec8a033948a2324680df513e6c333e3564f526ca4fa106b42e50ae2bc67edadaeee72f608dabed962aacb5423

diff --git a/net-dns/nsd/nsd-4.1.25.ebuild b/net-dns/nsd/nsd-4.1.25.ebuild
new file mode 100644
index 000..9a5fc16aa9b
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.25.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools user systemd
+
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV="${PV/_beta/b}"
+MY_PV="${MY_PV/_rc/rc}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl systemd libressl"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   libevent? ( dev-libs/libevent )
+   munin? ( net-analyzer/munin )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+   virtual/yacc
+   systemd? ( virtual/pkgconfig )
+"
+
+PATCHES=(
+   # Fix the paths in the munin plugin to match our install
+   "${FILESDIR}"/nsd_munin_.patch
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-largefile
+   --enable-pie
+   --enable-relro-now
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_enable systemd)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe contrib/nsd_munin_
+   insinto /etc/munin/plugin-conf.d
+   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
+   fi
+
+   systemd_dounit "${FILESDIR}"/nsd.service
+
+   # remove the /run directory that usually resides on tmpfs and is
+   # being taken care of by the nsd init script anyway (checkpath)
+   rm -r "${ED%/}"/run || die "Failed to remove /run"
+
+   keepdir /var/db/${PN}
+}
+
+pkg_postinst() {
+  

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-09-26 Thread Lars Wendler
commit: 8e8cc8d0d4f85f5bab6cff28335c1e416bc6c48a
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Sep 26 07:55:32 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Sep 26 07:55:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e8cc8d0

net-dns/nsd: Removed old.

Package-Manager: Portage-2.3.50, Repoman-2.3.11

 net-dns/nsd/Manifest  |   1 -
 net-dns/nsd/nsd-4.1.23.ebuild | 103 --
 2 files changed, 104 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 9a5655bd11d..85f90d98ecb 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,2 @@
-DIST nsd-4.1.23.tar.gz 1102038 BLAKE2B 
673146931421ba7be5e90b6f60db23f9e61f42687e4f0aac2d6624125f09067dab535a3badfd00d795a3948319467f3924ca24cc0697b0c203591c2d6efb1834
 SHA512 
7eb44658be6a3b94855d1a84201e5f20a02c8d85786ac0b1f82a3a67e6bc3c22602d03a8976c2bcb68ea68f0bcf72f1d9fe688e1fd1f9fbe6a774c97bdcf7939
 DIST nsd-4.1.24.tar.gz 1107574 BLAKE2B 
9e22d6a07bc7c63efb41b0b4e1a0e1e36d94db9bf79f31a704bd1ec7ba371b059669feebca4b6ed9427ba41017f661ebd8a30a26ee433b45374df75d2c182cb2
 SHA512 
68f7f62c740e5a73d1b9da4b6d593ff1b728bc398ad126a75febaa523a2117c80315bf90ca6a60aabf38539181e00524cedb106a32b4883aa8ed021462d47762
 DIST nsd-4.1.25.tar.gz 1108285 BLAKE2B 
29428e59c0913e9eb6936b577c02b03136ae51e47d58f5d476368b4e6614e240a735a29ec5f224dbca6f76068fa81f0eed32fad75bf647673f35641ac414e3a6
 SHA512 
3a1de59d799a94aeb236139bf52f1d2e2139002ec8a033948a2324680df513e6c333e3564f526ca4fa106b42e50ae2bc67edadaeee72f608dabed962aacb5423

diff --git a/net-dns/nsd/nsd-4.1.23.ebuild b/net-dns/nsd/nsd-4.1.23.ebuild
deleted file mode 100644
index 85ea02fc2f0..000
--- a/net-dns/nsd/nsd-4.1.23.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit user systemd
-
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
-MY_PV="${PV/_beta/b}"
-MY_PV="${MY_PV/_rc/rc}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
-
-S="${WORKDIR}/${MY_P}"
-
-RDEPEND="
-   libevent? ( dev-libs/libevent )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
-   )
-   munin? ( net-analyzer/munin )
-"
-DEPEND="
-   ${RDEPEND}
-   sys-devel/flex
-   virtual/yacc
-"
-
-PATCHES=(
-   # Fix the paths in the munin plugin to match our install
-   "${FILESDIR}"/nsd_munin_.patch
-)
-
-src_configure() {
-   local myeconfargs=(
-   --enable-largefile
-   --enable-pie
-   --enable-relro-now
-   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
-   --with-logfile="${EPREFIX}"/var/log/nsd.log
-   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
-   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
-   --with-xfrdir="${EPREFIX}"/var/db/nsd
-   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
-   --with-zonesdir="${EPREFIX}"/var/lib/nsd
-   $(use_enable bind8-stats)
-   $(use_enable bind8-stats zone-stats)
-   $(use_enable ipv6)
-   $(use_enable minimal-responses)
-   $(use_enable mmap)
-   $(use_enable nsec3)
-   $(use_enable ratelimit)
-   $(use_enable root-server)
-   $(use_enable runtime-checks checking)
-   $(use_with libevent)
-   $(use_with ssl)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
-   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
-
-   # install munin plugin and config
-   if use munin ; then
-   exeinto /usr/libexec/munin/plugins
-   doexe contrib/nsd_munin_
-   insinto /etc/munin/plugin-conf.d
-   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
-   fi
-
-   systemd_dounit "${FILESDIR}"/nsd.service
-
-   # remove the /run directory that usually resides on tmpfs and is
-   # being taken care of by the nsd init script anyway (checkpath)
-   rm -r "${ED%/}"/run || die "Failed to remove /run"
-
-   keepdir /var/db/${PN}
-}
-
-pkg_postinst() {
-   # Do this in postinst to ensure the uid/gid is consistent for binpkgs
-   enewgroup nsd
-   enewuser nsd -1 -1 -1 nsd
-
-   # database directory, writable by nsd for database 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-08-16 Thread Lars Wendler
commit: 16368735abd754bfe34489f916b4b43a5252fcc2
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Aug 16 19:55:09 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Aug 16 19:55:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16368735

net-dns/nsd: Fixed configure run with USE="systemd"

Closes: https://bugs.gentoo.org/663618
Package-Manager: Portage-2.3.46, Repoman-2.3.10

 net-dns/nsd/nsd-4.1.24.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/net-dns/nsd/nsd-4.1.24.ebuild b/net-dns/nsd/nsd-4.1.24.ebuild
index 39c2613bc07..4ba2bdca091 100644
--- a/net-dns/nsd/nsd-4.1.24.ebuild
+++ b/net-dns/nsd/nsd-4.1.24.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit user systemd
+inherit autotools user systemd
 
 # version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
 MY_PV="${PV/_beta/b}"
@@ -41,6 +41,11 @@ PATCHES=(
"${FILESDIR}"/nsd_munin_.patch
 )
 
+src_prepare() {
+   default
+   eautoreconf
+}
+
 src_configure() {
local myeconfargs=(
--enable-largefile



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-08-14 Thread Lars Wendler
commit: c92d83e755d924a8c99186b339b68cab6cc25f7e
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Aug 14 12:44:25 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Aug 14 12:44:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c92d83e7

net-dns/nsd: Bump to version 4.1.24

Package-Manager: Portage-2.3.46, Repoman-2.3.10

 net-dns/nsd/Manifest  |   1 +
 net-dns/nsd/nsd-4.1.24.ebuild | 106 ++
 2 files changed, 107 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 677a2624be5..7593b6fdcb2 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1 +1,2 @@
 DIST nsd-4.1.23.tar.gz 1102038 BLAKE2B 
673146931421ba7be5e90b6f60db23f9e61f42687e4f0aac2d6624125f09067dab535a3badfd00d795a3948319467f3924ca24cc0697b0c203591c2d6efb1834
 SHA512 
7eb44658be6a3b94855d1a84201e5f20a02c8d85786ac0b1f82a3a67e6bc3c22602d03a8976c2bcb68ea68f0bcf72f1d9fe688e1fd1f9fbe6a774c97bdcf7939
+DIST nsd-4.1.24.tar.gz 1107574 BLAKE2B 
9e22d6a07bc7c63efb41b0b4e1a0e1e36d94db9bf79f31a704bd1ec7ba371b059669feebca4b6ed9427ba41017f661ebd8a30a26ee433b45374df75d2c182cb2
 SHA512 
68f7f62c740e5a73d1b9da4b6d593ff1b728bc398ad126a75febaa523a2117c80315bf90ca6a60aabf38539181e00524cedb106a32b4883aa8ed021462d47762

diff --git a/net-dns/nsd/nsd-4.1.24.ebuild b/net-dns/nsd/nsd-4.1.24.ebuild
new file mode 100644
index 000..39c2613bc07
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.24.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd
+
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV="${PV/_beta/b}"
+MY_PV="${MY_PV/_rc/rc}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl systemd libressl"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   libevent? ( dev-libs/libevent )
+   munin? ( net-analyzer/munin )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+   virtual/yacc
+   systemd? ( virtual/pkgconfig )
+"
+
+PATCHES=(
+   # Fix the paths in the munin plugin to match our install
+   "${FILESDIR}"/nsd_munin_.patch
+)
+
+src_configure() {
+   local myeconfargs=(
+   --enable-largefile
+   --enable-pie
+   --enable-relro-now
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_enable systemd)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe contrib/nsd_munin_
+   insinto /etc/munin/plugin-conf.d
+   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
+   fi
+
+   systemd_dounit "${FILESDIR}"/nsd.service
+
+   # remove the /run directory that usually resides on tmpfs and is
+   # being taken care of by the nsd init script anyway (checkpath)
+   rm -r "${ED%/}"/run || die "Failed to remove /run"
+
+   keepdir /var/db/${PN}
+}
+
+pkg_postinst() {
+   # Do this in postinst to ensure the uid/gid is consistent for binpkgs
+   enewgroup nsd
+   enewuser nsd -1 -1 -1 nsd
+
+   # database directory, writable by nsd for database updates and zone 
transfers
+   install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/db/nsd
+
+   # zones directory, writable by nsd for zone file updates (nsd-control 
write)
+  

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-07-31 Thread Lars Wendler
commit: 97c7434f63ce603ca88cbb50cc42ff343ef03960
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jul 31 08:42:43 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jul 31 08:44:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97c7434f

net-dns/nsd: Security bump to version 4.1.23

Bumped straight to stable.

Package-Manager: Portage-2.3.44, Repoman-2.3.10

 net-dns/nsd/Manifest  |   1 +
 net-dns/nsd/nsd-4.1.23.ebuild | 103 ++
 2 files changed, 104 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 451a9425538..5cbf0856149 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.1.21.tar.gz 1099021 BLAKE2B 
129fd3145308c108ef2bd06b854aaf7cdb7ae7cce7a635c2028d210f87bc9591c89d8724b4d7a23d72e06e2ed73287c1379573f8cb3571cc63a47987db4f6b65
 SHA512 
1e37f433ff5cd4869145a575a89d6eaca6b17c0e029302e233277b400c5f0f0b76ea018d48178d6b8a75b72328f0ded9e885be836c0bb32367d6861ff11c7150
 DIST nsd-4.1.22.tar.gz 1099463 BLAKE2B 
955973e9ee01c1a5ed0a7cff38f881c775785b17452538db468f874d032b426a197b3709693c2df148de4a0f87259754b64c7ea02e53d9d96974f8c723267e19
 SHA512 
cab025b80955a15d174592ba5f0955c59333a988bf11b094c166a80206b51b6fcef65e2e976cd77009bf3fded257719efa4674a3a3a9d859ebc14e35fca2ecfb
+DIST nsd-4.1.23.tar.gz 1102038 BLAKE2B 
673146931421ba7be5e90b6f60db23f9e61f42687e4f0aac2d6624125f09067dab535a3badfd00d795a3948319467f3924ca24cc0697b0c203591c2d6efb1834
 SHA512 
7eb44658be6a3b94855d1a84201e5f20a02c8d85786ac0b1f82a3a67e6bc3c22602d03a8976c2bcb68ea68f0bcf72f1d9fe688e1fd1f9fbe6a774c97bdcf7939

diff --git a/net-dns/nsd/nsd-4.1.23.ebuild b/net-dns/nsd/nsd-4.1.23.ebuild
new file mode 100644
index 000..85ea02fc2f0
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.23.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd
+
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV="${PV/_beta/b}"
+MY_PV="${MY_PV/_rc/rc}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   libevent? ( dev-libs/libevent )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   munin? ( net-analyzer/munin )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+   virtual/yacc
+"
+
+PATCHES=(
+   # Fix the paths in the munin plugin to match our install
+   "${FILESDIR}"/nsd_munin_.patch
+)
+
+src_configure() {
+   local myeconfargs=(
+   --enable-largefile
+   --enable-pie
+   --enable-relro-now
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe contrib/nsd_munin_
+   insinto /etc/munin/plugin-conf.d
+   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
+   fi
+
+   systemd_dounit "${FILESDIR}"/nsd.service
+
+   # remove the /run directory that usually resides on tmpfs and is
+   # being taken care of by the nsd init script anyway (checkpath)
+   rm -r "${ED%/}"/run || die "Failed to remove /run"
+
+   keepdir /var/db/${PN}
+}
+
+pkg_postinst() {
+   # Do this in postinst to ensure the uid/gid is consistent for binpkgs
+   enewgroup nsd
+   enewuser nsd -1 -1 -1 nsd
+
+   # database 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-07-31 Thread Lars Wendler
commit: 530e588edb98e126902dd3209eb2a1efa3b24079
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jul 31 08:44:09 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jul 31 08:44:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=530e588e

net-dns/nsd: Removed old.

Package-Manager: Portage-2.3.44, Repoman-2.3.10

 net-dns/nsd/Manifest  |   2 -
 net-dns/nsd/nsd-4.1.21.ebuild | 104 --
 net-dns/nsd/nsd-4.1.22.ebuild | 104 --
 3 files changed, 210 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 5cbf0856149..677a2624be5 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1 @@
-DIST nsd-4.1.21.tar.gz 1099021 BLAKE2B 
129fd3145308c108ef2bd06b854aaf7cdb7ae7cce7a635c2028d210f87bc9591c89d8724b4d7a23d72e06e2ed73287c1379573f8cb3571cc63a47987db4f6b65
 SHA512 
1e37f433ff5cd4869145a575a89d6eaca6b17c0e029302e233277b400c5f0f0b76ea018d48178d6b8a75b72328f0ded9e885be836c0bb32367d6861ff11c7150
-DIST nsd-4.1.22.tar.gz 1099463 BLAKE2B 
955973e9ee01c1a5ed0a7cff38f881c775785b17452538db468f874d032b426a197b3709693c2df148de4a0f87259754b64c7ea02e53d9d96974f8c723267e19
 SHA512 
cab025b80955a15d174592ba5f0955c59333a988bf11b094c166a80206b51b6fcef65e2e976cd77009bf3fded257719efa4674a3a3a9d859ebc14e35fca2ecfb
 DIST nsd-4.1.23.tar.gz 1102038 BLAKE2B 
673146931421ba7be5e90b6f60db23f9e61f42687e4f0aac2d6624125f09067dab535a3badfd00d795a3948319467f3924ca24cc0697b0c203591c2d6efb1834
 SHA512 
7eb44658be6a3b94855d1a84201e5f20a02c8d85786ac0b1f82a3a67e6bc3c22602d03a8976c2bcb68ea68f0bcf72f1d9fe688e1fd1f9fbe6a774c97bdcf7939

diff --git a/net-dns/nsd/nsd-4.1.21.ebuild b/net-dns/nsd/nsd-4.1.21.ebuild
deleted file mode 100644
index 021f321a5af..000
--- a/net-dns/nsd/nsd-4.1.21.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit user systemd
-
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
-MY_PV="${PV/_rc/rc}"
-MY_PV="${MY_PV/_beta/b}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
-
-S="${WORKDIR}/${MY_P}"
-
-RDEPEND="
-   virtual/yacc
-   libevent? ( dev-libs/libevent )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
-   )
-   munin? ( net-analyzer/munin )
-"
-DEPEND="
-   ${RDEPEND}
-   sys-devel/flex
-"
-
-src_prepare() {
-   # Fix the paths in the munin plugin to match our install
-   eapply "${FILESDIR}"/nsd_munin_.patch
-   eapply_user
-}
-
-src_configure() {
-   local myeconfargs=(
-   --enable-pie
-   --enable-relro-now
-   --enable-largefile
-   --with-logfile="${EPREFIX}"/var/log/nsd.log
-   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
-   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
-   --with-xfrdir="${EPREFIX}"/var/db/nsd
-   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
-   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
-   --with-zonesdir="${EPREFIX}"/var/lib/nsd
-   $(use_enable bind8-stats)
-   $(use_enable bind8-stats zone-stats)
-   $(use_enable ipv6)
-   $(use_enable minimal-responses)
-   $(use_enable mmap)
-   $(use_enable nsec3)
-   $(use_enable ratelimit)
-   $(use_enable root-server)
-   $(use_enable runtime-checks checking)
-   $(use_with libevent)
-   $(use_with ssl)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
-   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
-
-   # install munin plugin and config
-   if use munin ; then
-   exeinto /usr/libexec/munin/plugins
-   doexe contrib/nsd_munin_
-   insinto /etc/munin/plugin-conf.d
-   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
-   fi
-
-   systemd_dounit "${FILESDIR}"/nsd.service
-
-   # remove the /run directory that usually resides on tmpfs and is
-   # being taken care of by the nsd init script anyway (checkpath)
-   rm -r "${ED%/}"/run || die "Failed to remove /run"
-
-   keepdir /var/db/${PN}
-}
-
-pkg_postinst() {
-   # Do this in postinst to ensure the uid/gid is consistent for binpkgs
-   

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-06-12 Thread Lars Wendler
commit: 8eaa8adc7fc18101f2dba719d23221a4c938a647
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jun 12 08:03:10 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jun 12 08:03:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eaa8adc

net-dns/nsd: Removed old.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-dns/nsd/Manifest  |   1 -
 net-dns/nsd/nsd-4.1.20.ebuild | 102 --
 2 files changed, 103 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 478c1c6fc01..451a9425538 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,2 @@
-DIST nsd-4.1.20.tar.gz 1096797 BLAKE2B 
aa1415933f8d1d1415349407c54cfdec581304ca27733110b45bc109288506ad2a92c110565695ac7cb4afae3b955fe09fe740196f268c810e0be992e4f55353
 SHA512 
4e646303d9da920a9ad567ea3e04a06d8b66bc0d84117908ae69126c131321d660548f32e7bb54e248dae4f48d5152c0a204bf8bf9262ac4394371c05305b21e
 DIST nsd-4.1.21.tar.gz 1099021 BLAKE2B 
129fd3145308c108ef2bd06b854aaf7cdb7ae7cce7a635c2028d210f87bc9591c89d8724b4d7a23d72e06e2ed73287c1379573f8cb3571cc63a47987db4f6b65
 SHA512 
1e37f433ff5cd4869145a575a89d6eaca6b17c0e029302e233277b400c5f0f0b76ea018d48178d6b8a75b72328f0ded9e885be836c0bb32367d6861ff11c7150
 DIST nsd-4.1.22.tar.gz 1099463 BLAKE2B 
955973e9ee01c1a5ed0a7cff38f881c775785b17452538db468f874d032b426a197b3709693c2df148de4a0f87259754b64c7ea02e53d9d96974f8c723267e19
 SHA512 
cab025b80955a15d174592ba5f0955c59333a988bf11b094c166a80206b51b6fcef65e2e976cd77009bf3fded257719efa4674a3a3a9d859ebc14e35fca2ecfb

diff --git a/net-dns/nsd/nsd-4.1.20.ebuild b/net-dns/nsd/nsd-4.1.20.ebuild
deleted file mode 100644
index 537cf030813..000
--- a/net-dns/nsd/nsd-4.1.20.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit user systemd
-
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
-MY_PV="${PV/_rc/rc}"
-MY_PV="${MY_PV/_beta/b}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
-
-S="${WORKDIR}/${MY_P}"
-
-RDEPEND="
-   virtual/yacc
-   libevent? ( dev-libs/libevent )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
-   )
-   munin? ( net-analyzer/munin )
-"
-DEPEND="
-   ${RDEPEND}
-   sys-devel/flex
-"
-
-src_prepare() {
-   # Fix the paths in the munin plugin to match our install
-   eapply "${FILESDIR}"/nsd_munin_.patch
-   eapply_user
-}
-
-src_configure() {
-   local myeconfargs=(
-   --enable-pie
-   --enable-relro-now
-   --enable-largefile
-   --with-logfile="${EPREFIX}"/var/log/nsd.log
-   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
-   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
-   --with-xfrdir="${EPREFIX}"/var/db/nsd
-   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
-   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
-   --with-zonesdir="${EPREFIX}"/var/lib/nsd
-   $(use_enable bind8-stats)
-   $(use_enable bind8-stats zone-stats)
-   $(use_enable ipv6)
-   $(use_enable minimal-responses)
-   $(use_enable mmap)
-   $(use_enable nsec3)
-   $(use_enable ratelimit)
-   $(use_enable root-server)
-   $(use_enable runtime-checks checking)
-   $(use_with libevent)
-   $(use_with ssl)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
-   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
-
-   # install munin plugin and config
-   if use munin ; then
-   exeinto /usr/libexec/munin/plugins
-   doexe contrib/nsd_munin_
-   insinto /etc/munin/plugin-conf.d
-   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
-   fi
-
-   systemd_dounit "${FILESDIR}"/nsd.service
-
-   # remove the /run directory that usually resides on tmpfs and is
-   # being taken care of by the nsd init script anyway (checkpath)
-   rm -r "${ED%/}"/run || die "Failed to remove /run"
-}
-
-pkg_postinst() {
-   # Do this in postinst to ensure the uid/gid is consistent for binpkgs
-   enewgroup nsd
-   enewuser nsd -1 -1 -1 nsd
-
-   # database directory, writable by nsd for database 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-06-12 Thread Lars Wendler
commit: a160c3f1281ca62a2f0e164966497b97e04e9637
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jun 12 08:02:46 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jun 12 08:03:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a160c3f1

net-dns/nsd: Version 4.1.21 stable for amd64 and x86.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-dns/nsd/nsd-4.1.21.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/nsd/nsd-4.1.21.ebuild b/net-dns/nsd/nsd-4.1.21.ebuild
index 6e71f765df8..021f321a5af 100644
--- a/net-dns/nsd/nsd-4.1.21.ebuild
+++ b/net-dns/nsd/nsd-4.1.21.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
 SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-06-12 Thread Lars Wendler
commit: e038812013482aa04e9bf2666416e7716f71ceb1
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jun 12 08:02:05 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jun 12 08:03:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0388120

net-dns/nsd: Bump to version 4.1.22

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-dns/nsd/Manifest  |   1 +
 net-dns/nsd/nsd-4.1.22.ebuild | 104 ++
 2 files changed, 105 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 8d96cd35f71..478c1c6fc01 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.1.20.tar.gz 1096797 BLAKE2B 
aa1415933f8d1d1415349407c54cfdec581304ca27733110b45bc109288506ad2a92c110565695ac7cb4afae3b955fe09fe740196f268c810e0be992e4f55353
 SHA512 
4e646303d9da920a9ad567ea3e04a06d8b66bc0d84117908ae69126c131321d660548f32e7bb54e248dae4f48d5152c0a204bf8bf9262ac4394371c05305b21e
 DIST nsd-4.1.21.tar.gz 1099021 BLAKE2B 
129fd3145308c108ef2bd06b854aaf7cdb7ae7cce7a635c2028d210f87bc9591c89d8724b4d7a23d72e06e2ed73287c1379573f8cb3571cc63a47987db4f6b65
 SHA512 
1e37f433ff5cd4869145a575a89d6eaca6b17c0e029302e233277b400c5f0f0b76ea018d48178d6b8a75b72328f0ded9e885be836c0bb32367d6861ff11c7150
+DIST nsd-4.1.22.tar.gz 1099463 BLAKE2B 
955973e9ee01c1a5ed0a7cff38f881c775785b17452538db468f874d032b426a197b3709693c2df148de4a0f87259754b64c7ea02e53d9d96974f8c723267e19
 SHA512 
cab025b80955a15d174592ba5f0955c59333a988bf11b094c166a80206b51b6fcef65e2e976cd77009bf3fded257719efa4674a3a3a9d859ebc14e35fca2ecfb

diff --git a/net-dns/nsd/nsd-4.1.22.ebuild b/net-dns/nsd/nsd-4.1.22.ebuild
new file mode 100644
index 000..6e71f765df8
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.22.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd
+
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV="${PV/_rc/rc}"
+MY_PV="${MY_PV/_beta/b}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   virtual/yacc
+   libevent? ( dev-libs/libevent )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   munin? ( net-analyzer/munin )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+"
+
+src_prepare() {
+   # Fix the paths in the munin plugin to match our install
+   eapply "${FILESDIR}"/nsd_munin_.patch
+   eapply_user
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-pie
+   --enable-relro-now
+   --enable-largefile
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe contrib/nsd_munin_
+   insinto /etc/munin/plugin-conf.d
+   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
+   fi
+
+   systemd_dounit "${FILESDIR}"/nsd.service
+
+   # remove the /run directory that usually resides on tmpfs and is
+   # being taken care of by the nsd init script anyway (checkpath)
+   rm -r "${ED%/}"/run || die "Failed to remove /run"
+
+   keepdir /var/db/${PN}
+}
+
+pkg_postinst() {
+   # Do this in postinst to ensure the uid/gid is consistent for binpkgs
+   enewgroup nsd
+   enewuser nsd -1 -1 -1 nsd
+
+   # database 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-05-14 Thread Lars Wendler
commit: 89350d2d9b48085c8de3ee42fabc960c59873231
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue May 15 05:22:04 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue May 15 05:23:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89350d2d

net-dns/nsd: Bump to version 4.1.21

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 net-dns/nsd/Manifest  |   1 +
 net-dns/nsd/nsd-4.1.21.ebuild | 104 ++
 2 files changed, 105 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index a9648c6caa4..8d96cd35f71 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1 +1,2 @@
 DIST nsd-4.1.20.tar.gz 1096797 BLAKE2B 
aa1415933f8d1d1415349407c54cfdec581304ca27733110b45bc109288506ad2a92c110565695ac7cb4afae3b955fe09fe740196f268c810e0be992e4f55353
 SHA512 
4e646303d9da920a9ad567ea3e04a06d8b66bc0d84117908ae69126c131321d660548f32e7bb54e248dae4f48d5152c0a204bf8bf9262ac4394371c05305b21e
+DIST nsd-4.1.21.tar.gz 1099021 BLAKE2B 
129fd3145308c108ef2bd06b854aaf7cdb7ae7cce7a635c2028d210f87bc9591c89d8724b4d7a23d72e06e2ed73287c1379573f8cb3571cc63a47987db4f6b65
 SHA512 
1e37f433ff5cd4869145a575a89d6eaca6b17c0e029302e233277b400c5f0f0b76ea018d48178d6b8a75b72328f0ded9e885be836c0bb32367d6861ff11c7150

diff --git a/net-dns/nsd/nsd-4.1.21.ebuild b/net-dns/nsd/nsd-4.1.21.ebuild
new file mode 100644
index 000..6e71f765df8
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.21.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd
+
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV="${PV/_rc/rc}"
+MY_PV="${MY_PV/_beta/b}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   virtual/yacc
+   libevent? ( dev-libs/libevent )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   munin? ( net-analyzer/munin )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+"
+
+src_prepare() {
+   # Fix the paths in the munin plugin to match our install
+   eapply "${FILESDIR}"/nsd_munin_.patch
+   eapply_user
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-pie
+   --enable-relro-now
+   --enable-largefile
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe contrib/nsd_munin_
+   insinto /etc/munin/plugin-conf.d
+   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
+   fi
+
+   systemd_dounit "${FILESDIR}"/nsd.service
+
+   # remove the /run directory that usually resides on tmpfs and is
+   # being taken care of by the nsd init script anyway (checkpath)
+   rm -r "${ED%/}"/run || die "Failed to remove /run"
+
+   keepdir /var/db/${PN}
+}
+
+pkg_postinst() {
+   # Do this in postinst to ensure the uid/gid is consistent for binpkgs
+   enewgroup nsd
+   enewuser nsd -1 -1 -1 nsd
+
+   # database directory, writable by nsd for database updates and zone 
transfers
+   install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/db/nsd
+
+   # zones directory, writable by nsd for zone file updates (nsd-control 
write)
+   install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/lib/nsd
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-02-21 Thread Lars Wendler
commit: 62a662416cb4ad5da3420501baacf02237c2d41f
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Feb 21 08:44:33 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Feb 21 08:44:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62a66241

net-dns/nsd: Version 4.1.20 stable for amd64 and x86.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-dns/nsd/nsd-4.1.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/nsd/nsd-4.1.20.ebuild b/net-dns/nsd/nsd-4.1.20.ebuild
index ff775dc5489..537cf030813 100644
--- a/net-dns/nsd/nsd-4.1.20.ebuild
+++ b/net-dns/nsd/nsd-4.1.20.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
 SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-02-21 Thread Lars Wendler
commit: e9d2d8efed6e7ffa526b92ccfc92eab3c26476f4
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Feb 21 08:45:05 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Feb 21 08:45:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9d2d8ef

net-dns/nsd: Removed old.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-dns/nsd/Manifest  |   2 -
 net-dns/nsd/nsd-4.1.18.ebuild | 102 --
 net-dns/nsd/nsd-4.1.19.ebuild | 102 --
 3 files changed, 206 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 480035b8072..a9648c6caa4 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1 @@
-DIST nsd-4.1.18.tar.gz 1095673 BLAKE2B 
e3dc86e64614323dbefb334769a8095dc674f422f8e62c91e2918f4622ceac0ebef7dec42d5a714b15ad2f3af368ba817239a0027d3a685abf603cf00e9fa9d1
 SHA512 
d9939b8813677127ccd3e87e709b27a8a4f96cc0221ab77563d9349cb6dd56ae39bb7349ede9aed9aaa07de9310bcaeb8be8b17f608e9c4714b4fb084f2e756f
-DIST nsd-4.1.19.tar.gz 1096567 BLAKE2B 
f6e700d0c6f539caa0f1ff94fb43091eb15b32421f4b952566ca5ae31b94922248cc5ffd28a97abd6870d6bdd8acd76e80b06717584c626634f0a01eed76ae51
 SHA512 
fc99590f84658311cf33428d87c84c73b231ac0c90f8ca47daedeb264642e291eb2e79f8dee304dd4dc3a73bd9c7fbe65f2bd164b120bd7b13429ad483882d82
 DIST nsd-4.1.20.tar.gz 1096797 BLAKE2B 
aa1415933f8d1d1415349407c54cfdec581304ca27733110b45bc109288506ad2a92c110565695ac7cb4afae3b955fe09fe740196f268c810e0be992e4f55353
 SHA512 
4e646303d9da920a9ad567ea3e04a06d8b66bc0d84117908ae69126c131321d660548f32e7bb54e248dae4f48d5152c0a204bf8bf9262ac4394371c05305b21e

diff --git a/net-dns/nsd/nsd-4.1.18.ebuild b/net-dns/nsd/nsd-4.1.18.ebuild
deleted file mode 100644
index 537cf030813..000
--- a/net-dns/nsd/nsd-4.1.18.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit user systemd
-
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
-MY_PV="${PV/_rc/rc}"
-MY_PV="${MY_PV/_beta/b}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
-
-S="${WORKDIR}/${MY_P}"
-
-RDEPEND="
-   virtual/yacc
-   libevent? ( dev-libs/libevent )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
-   )
-   munin? ( net-analyzer/munin )
-"
-DEPEND="
-   ${RDEPEND}
-   sys-devel/flex
-"
-
-src_prepare() {
-   # Fix the paths in the munin plugin to match our install
-   eapply "${FILESDIR}"/nsd_munin_.patch
-   eapply_user
-}
-
-src_configure() {
-   local myeconfargs=(
-   --enable-pie
-   --enable-relro-now
-   --enable-largefile
-   --with-logfile="${EPREFIX}"/var/log/nsd.log
-   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
-   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
-   --with-xfrdir="${EPREFIX}"/var/db/nsd
-   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
-   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
-   --with-zonesdir="${EPREFIX}"/var/lib/nsd
-   $(use_enable bind8-stats)
-   $(use_enable bind8-stats zone-stats)
-   $(use_enable ipv6)
-   $(use_enable minimal-responses)
-   $(use_enable mmap)
-   $(use_enable nsec3)
-   $(use_enable ratelimit)
-   $(use_enable root-server)
-   $(use_enable runtime-checks checking)
-   $(use_with libevent)
-   $(use_with ssl)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
-   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
-
-   # install munin plugin and config
-   if use munin ; then
-   exeinto /usr/libexec/munin/plugins
-   doexe contrib/nsd_munin_
-   insinto /etc/munin/plugin-conf.d
-   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
-   fi
-
-   systemd_dounit "${FILESDIR}"/nsd.service
-
-   # remove the /run directory that usually resides on tmpfs and is
-   # being taken care of by the nsd init script anyway (checkpath)
-   rm -r "${ED%/}"/run || die "Failed to remove /run"
-}
-
-pkg_postinst() {
-   # Do this in postinst to ensure the uid/gid is consistent for binpkgs
-   enewgroup nsd
-   enewuser nsd 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-02-21 Thread Lars Wendler
commit: 533c1a5cfd64abcaa4a41e0302335fdbe328e08f
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Feb 21 08:38:13 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Feb 21 08:43:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=533c1a5c

net-dns/nsd: Bump to version 4.1.20

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-dns/nsd/Manifest  |   1 +
 net-dns/nsd/nsd-4.1.20.ebuild | 102 ++
 2 files changed, 103 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index d12bc305caa..480035b8072 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.1.18.tar.gz 1095673 BLAKE2B 
e3dc86e64614323dbefb334769a8095dc674f422f8e62c91e2918f4622ceac0ebef7dec42d5a714b15ad2f3af368ba817239a0027d3a685abf603cf00e9fa9d1
 SHA512 
d9939b8813677127ccd3e87e709b27a8a4f96cc0221ab77563d9349cb6dd56ae39bb7349ede9aed9aaa07de9310bcaeb8be8b17f608e9c4714b4fb084f2e756f
 DIST nsd-4.1.19.tar.gz 1096567 BLAKE2B 
f6e700d0c6f539caa0f1ff94fb43091eb15b32421f4b952566ca5ae31b94922248cc5ffd28a97abd6870d6bdd8acd76e80b06717584c626634f0a01eed76ae51
 SHA512 
fc99590f84658311cf33428d87c84c73b231ac0c90f8ca47daedeb264642e291eb2e79f8dee304dd4dc3a73bd9c7fbe65f2bd164b120bd7b13429ad483882d82
+DIST nsd-4.1.20.tar.gz 1096797 BLAKE2B 
aa1415933f8d1d1415349407c54cfdec581304ca27733110b45bc109288506ad2a92c110565695ac7cb4afae3b955fe09fe740196f268c810e0be992e4f55353
 SHA512 
4e646303d9da920a9ad567ea3e04a06d8b66bc0d84117908ae69126c131321d660548f32e7bb54e248dae4f48d5152c0a204bf8bf9262ac4394371c05305b21e

diff --git a/net-dns/nsd/nsd-4.1.20.ebuild b/net-dns/nsd/nsd-4.1.20.ebuild
new file mode 100644
index 000..ff775dc5489
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.20.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd
+
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV="${PV/_rc/rc}"
+MY_PV="${MY_PV/_beta/b}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   virtual/yacc
+   libevent? ( dev-libs/libevent )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   munin? ( net-analyzer/munin )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+"
+
+src_prepare() {
+   # Fix the paths in the munin plugin to match our install
+   eapply "${FILESDIR}"/nsd_munin_.patch
+   eapply_user
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-pie
+   --enable-relro-now
+   --enable-largefile
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe contrib/nsd_munin_
+   insinto /etc/munin/plugin-conf.d
+   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
+   fi
+
+   systemd_dounit "${FILESDIR}"/nsd.service
+
+   # remove the /run directory that usually resides on tmpfs and is
+   # being taken care of by the nsd init script anyway (checkpath)
+   rm -r "${ED%/}"/run || die "Failed to remove /run"
+}
+
+pkg_postinst() {
+   # Do this in postinst to ensure the uid/gid is consistent for binpkgs
+   enewgroup nsd
+   enewuser nsd -1 -1 -1 nsd
+
+   # database directory, writable by nsd for 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-01-09 Thread Lars Wendler
commit: a6efc32268a969d6539897b23af9a6d0265cd0f5
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jan  9 11:54:57 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jan  9 11:54:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6efc322

net-dns/nsd: Removed old.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-dns/nsd/Manifest  |   1 -
 net-dns/nsd/nsd-4.1.16.ebuild | 101 --
 2 files changed, 102 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 2e394297680..d12bc305caa 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,2 @@
-DIST nsd-4.1.16.tar.gz 1088633 BLAKE2B 
c170ca8c4008d8db383a072c40bbf262487979bff659b3d0d76cb0203e1b7ff9f9c2bc4bc46912628c246d2cd12e55486a526fbdaa4f23eaa177fb2dcc4769e9
 SHA512 
51135bbf412cdc5d6d9be02af9fef16513f0529155c102debfd6bd68b025d289c684777a8fca57de86b25f68bc94aef89d2cfefb871b8d63048d262f6c8eb8e3
 DIST nsd-4.1.18.tar.gz 1095673 BLAKE2B 
e3dc86e64614323dbefb334769a8095dc674f422f8e62c91e2918f4622ceac0ebef7dec42d5a714b15ad2f3af368ba817239a0027d3a685abf603cf00e9fa9d1
 SHA512 
d9939b8813677127ccd3e87e709b27a8a4f96cc0221ab77563d9349cb6dd56ae39bb7349ede9aed9aaa07de9310bcaeb8be8b17f608e9c4714b4fb084f2e756f
 DIST nsd-4.1.19.tar.gz 1096567 BLAKE2B 
f6e700d0c6f539caa0f1ff94fb43091eb15b32421f4b952566ca5ae31b94922248cc5ffd28a97abd6870d6bdd8acd76e80b06717584c626634f0a01eed76ae51
 SHA512 
fc99590f84658311cf33428d87c84c73b231ac0c90f8ca47daedeb264642e291eb2e79f8dee304dd4dc3a73bd9c7fbe65f2bd164b120bd7b13429ad483882d82

diff --git a/net-dns/nsd/nsd-4.1.16.ebuild b/net-dns/nsd/nsd-4.1.16.ebuild
deleted file mode 100644
index 1b7f7b998e3..000
--- a/net-dns/nsd/nsd-4.1.16.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit user systemd
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
-MY_PV=${PV/_rc/rc}
-MY_PV=${MY_PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-S="${WORKDIR}/${MY_P}"
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
-
-RDEPEND="
-   virtual/yacc
-   libevent? ( dev-libs/libevent )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
-   )
-   munin? ( net-analyzer/munin )
-"
-DEPEND="
-   ${RDEPEND}
-   sys-devel/flex
-"
-
-src_prepare() {
-   # Fix the paths in the munin plugin to match our install
-   eapply "${FILESDIR}"/nsd_munin_.patch
-   eapply_user
-}
-
-src_configure() {
-   local myeconfargs=(
-   --enable-pie
-   --enable-relro-now
-   --enable-largefile
-   --with-logfile="${EPREFIX}"/var/log/nsd.log
-   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
-   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
-   --with-xfrdir="${EPREFIX}"/var/db/nsd
-   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
-   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
-   --with-zonesdir="${EPREFIX}"/var/lib/nsd
-   $(use_enable bind8-stats)
-   $(use_enable bind8-stats zone-stats)
-   $(use_enable ipv6)
-   $(use_enable minimal-responses)
-   $(use_enable mmap)
-   $(use_enable nsec3)
-   $(use_enable ratelimit)
-   $(use_enable root-server)
-   $(use_enable runtime-checks checking)
-   $(use_with libevent)
-   $(use_with ssl)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
-   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
-
-   # install munin plugin and config
-   if use munin ; then
-   exeinto /usr/libexec/munin/plugins
-   doexe contrib/nsd_munin_
-   insinto /etc/munin/plugin-conf.d
-   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
-   fi
-
-   systemd_dounit "${FILESDIR}"/nsd.service
-
-   # remove the /run directory that usually resides on tmpfs and is
-   # being taken care of by the nsd init script anyway (checkpath)
-   rm -r "${ED}"/run || die "Failed to remove /run"
-}
-
-pkg_postinst() {
-   # Do this in postinst to ensure the uid/gid is consistent for binpkgs
-   enewgroup nsd
-   enewuser nsd -1 -1 -1 nsd
-
-   # database directory, writable by nsd for database updates and 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2018-01-09 Thread Lars Wendler
commit: fe88a2577badcc237057614bc1777f7082ea8792
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jan  9 11:54:12 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jan  9 11:54:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe88a257

net-dns/nsd: Version 4.1.18 stable for amd64 and x86.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-dns/nsd/nsd-4.1.18.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dns/nsd/nsd-4.1.18.ebuild b/net-dns/nsd/nsd-4.1.18.ebuild
index 4a7e4dbabe2..537cf030813 100644
--- a/net-dns/nsd/nsd-4.1.18.ebuild
+++ b/net-dns/nsd/nsd-4.1.18.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -15,7 +15,7 @@ HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
 SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2017-12-12 Thread Lars Wendler
commit: 238ec2f6234ba941cf9c6b95740c744ae8c687dc
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Dec 12 14:34:29 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Dec 12 14:46:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=238ec2f6

net-dns/nsd: Removed old.

Package-Manager: Portage-2.3.18, Repoman-2.3.6

 net-dns/nsd/Manifest  |   1 -
 net-dns/nsd/nsd-4.1.17.ebuild | 101 --
 2 files changed, 102 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index c519b974396..2e394297680 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,4 +1,3 @@
 DIST nsd-4.1.16.tar.gz 1088633 BLAKE2B 
c170ca8c4008d8db383a072c40bbf262487979bff659b3d0d76cb0203e1b7ff9f9c2bc4bc46912628c246d2cd12e55486a526fbdaa4f23eaa177fb2dcc4769e9
 SHA512 
51135bbf412cdc5d6d9be02af9fef16513f0529155c102debfd6bd68b025d289c684777a8fca57de86b25f68bc94aef89d2cfefb871b8d63048d262f6c8eb8e3
-DIST nsd-4.1.17.tar.gz 1089526 BLAKE2B 
97eb78377af0887633c32cf65b81b71f5cf8593f8979e41a9465c0a00ba84a6fb40ff534f96c768f8ec92a339b9e86632f9590724bf16a8360b22f7e7721fec5
 SHA512 
4cffa261b1832d0daac095e92542359ffd725918f07ec605c78a9346b1cf4a4bc21bdc59ab388eb7324a170bbd8b122cfa75e7448015b38572b47d18add24a8f
 DIST nsd-4.1.18.tar.gz 1095673 BLAKE2B 
e3dc86e64614323dbefb334769a8095dc674f422f8e62c91e2918f4622ceac0ebef7dec42d5a714b15ad2f3af368ba817239a0027d3a685abf603cf00e9fa9d1
 SHA512 
d9939b8813677127ccd3e87e709b27a8a4f96cc0221ab77563d9349cb6dd56ae39bb7349ede9aed9aaa07de9310bcaeb8be8b17f608e9c4714b4fb084f2e756f
 DIST nsd-4.1.19.tar.gz 1096567 BLAKE2B 
f6e700d0c6f539caa0f1ff94fb43091eb15b32421f4b952566ca5ae31b94922248cc5ffd28a97abd6870d6bdd8acd76e80b06717584c626634f0a01eed76ae51
 SHA512 
fc99590f84658311cf33428d87c84c73b231ac0c90f8ca47daedeb264642e291eb2e79f8dee304dd4dc3a73bd9c7fbe65f2bd164b120bd7b13429ad483882d82

diff --git a/net-dns/nsd/nsd-4.1.17.ebuild b/net-dns/nsd/nsd-4.1.17.ebuild
deleted file mode 100644
index 23775fc7584..000
--- a/net-dns/nsd/nsd-4.1.17.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit user systemd
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
-MY_PV=${PV/_rc/rc}
-MY_PV=${MY_PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-S="${WORKDIR}/${MY_P}"
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
-
-RDEPEND="
-   virtual/yacc
-   libevent? ( dev-libs/libevent )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
-   )
-   munin? ( net-analyzer/munin )
-"
-DEPEND="
-   ${RDEPEND}
-   sys-devel/flex
-"
-
-src_prepare() {
-   # Fix the paths in the munin plugin to match our install
-   eapply "${FILESDIR}"/nsd_munin_.patch
-   eapply_user
-}
-
-src_configure() {
-   local myeconfargs=(
-   --enable-pie
-   --enable-relro-now
-   --enable-largefile
-   --with-logfile="${EPREFIX}"/var/log/nsd.log
-   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
-   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
-   --with-xfrdir="${EPREFIX}"/var/db/nsd
-   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
-   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
-   --with-zonesdir="${EPREFIX}"/var/lib/nsd
-   $(use_enable bind8-stats)
-   $(use_enable bind8-stats zone-stats)
-   $(use_enable ipv6)
-   $(use_enable minimal-responses)
-   $(use_enable mmap)
-   $(use_enable nsec3)
-   $(use_enable ratelimit)
-   $(use_enable root-server)
-   $(use_enable runtime-checks checking)
-   $(use_with libevent)
-   $(use_with ssl)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
-   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
-
-   # install munin plugin and config
-   if use munin ; then
-   exeinto /usr/libexec/munin/plugins
-   doexe contrib/nsd_munin_
-   insinto /etc/munin/plugin-conf.d
-   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
-   fi
-
-   systemd_dounit "${FILESDIR}"/nsd.service
-
-   # remove the /run directory that usually resides on tmpfs and is
-   # being taken care of by the nsd init 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2017-12-12 Thread Lars Wendler
commit: 531329efa39a689483650cdcb6ec2d9faac4512d
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Dec 12 14:33:59 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Dec 12 14:45:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=531329ef

net-dns/nsd: Bump to version 4.1.19

Package-Manager: Portage-2.3.18, Repoman-2.3.6

 net-dns/nsd/Manifest  |   1 +
 net-dns/nsd/nsd-4.1.19.ebuild | 102 ++
 2 files changed, 103 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index d1ea3604880..c519b974396 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,4 @@
 DIST nsd-4.1.16.tar.gz 1088633 BLAKE2B 
c170ca8c4008d8db383a072c40bbf262487979bff659b3d0d76cb0203e1b7ff9f9c2bc4bc46912628c246d2cd12e55486a526fbdaa4f23eaa177fb2dcc4769e9
 SHA512 
51135bbf412cdc5d6d9be02af9fef16513f0529155c102debfd6bd68b025d289c684777a8fca57de86b25f68bc94aef89d2cfefb871b8d63048d262f6c8eb8e3
 DIST nsd-4.1.17.tar.gz 1089526 BLAKE2B 
97eb78377af0887633c32cf65b81b71f5cf8593f8979e41a9465c0a00ba84a6fb40ff534f96c768f8ec92a339b9e86632f9590724bf16a8360b22f7e7721fec5
 SHA512 
4cffa261b1832d0daac095e92542359ffd725918f07ec605c78a9346b1cf4a4bc21bdc59ab388eb7324a170bbd8b122cfa75e7448015b38572b47d18add24a8f
 DIST nsd-4.1.18.tar.gz 1095673 BLAKE2B 
e3dc86e64614323dbefb334769a8095dc674f422f8e62c91e2918f4622ceac0ebef7dec42d5a714b15ad2f3af368ba817239a0027d3a685abf603cf00e9fa9d1
 SHA512 
d9939b8813677127ccd3e87e709b27a8a4f96cc0221ab77563d9349cb6dd56ae39bb7349ede9aed9aaa07de9310bcaeb8be8b17f608e9c4714b4fb084f2e756f
+DIST nsd-4.1.19.tar.gz 1096567 BLAKE2B 
f6e700d0c6f539caa0f1ff94fb43091eb15b32421f4b952566ca5ae31b94922248cc5ffd28a97abd6870d6bdd8acd76e80b06717584c626634f0a01eed76ae51
 SHA512 
fc99590f84658311cf33428d87c84c73b231ac0c90f8ca47daedeb264642e291eb2e79f8dee304dd4dc3a73bd9c7fbe65f2bd164b120bd7b13429ad483882d82

diff --git a/net-dns/nsd/nsd-4.1.19.ebuild b/net-dns/nsd/nsd-4.1.19.ebuild
new file mode 100644
index 000..4a7e4dbabe2
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.19.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd
+
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV="${PV/_rc/rc}"
+MY_PV="${MY_PV/_beta/b}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   virtual/yacc
+   libevent? ( dev-libs/libevent )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   munin? ( net-analyzer/munin )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+"
+
+src_prepare() {
+   # Fix the paths in the munin plugin to match our install
+   eapply "${FILESDIR}"/nsd_munin_.patch
+   eapply_user
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-pie
+   --enable-relro-now
+   --enable-largefile
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe contrib/nsd_munin_
+   insinto /etc/munin/plugin-conf.d
+   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
+   fi
+
+   systemd_dounit "${FILESDIR}"/nsd.service
+
+   # remove the /run directory that usually resides on tmpfs and is
+   # being taken care of by the 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2017-11-30 Thread Lars Wendler
commit: 44eaa7f81365ae42635ca3fa6b82681d211b2cf7
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Nov 30 19:04:51 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Nov 30 19:05:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44eaa7f8

net-dns/nsd: Bump to version 4.1.18

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 net-dns/nsd/Manifest  |   1 +
 net-dns/nsd/nsd-4.1.18.ebuild | 102 ++
 2 files changed, 103 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index b72cf6904af..1dc776ef4be 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.1.16.tar.gz 1088633 SHA256 
7f8367ad23cc5cddffa885e7e2f549123c8b4123db9726df41d99f255d6baab2 SHA512 
51135bbf412cdc5d6d9be02af9fef16513f0529155c102debfd6bd68b025d289c684777a8fca57de86b25f68bc94aef89d2cfefb871b8d63048d262f6c8eb8e3
 WHIRLPOOL 
030da2551abef8cb29e16574155605eb9377836f1a43422e200ba5bc6ede319893d4293018cf0be242d1ac0cfad4c3b40f566c7ad587792186c64102d8c9785f
 DIST nsd-4.1.17.tar.gz 1089526 SHA256 
107fa506d18ed6fd0a922d1b96774afd9270ec38ec6b17cd7c46fb9433a03a6c SHA512 
4cffa261b1832d0daac095e92542359ffd725918f07ec605c78a9346b1cf4a4bc21bdc59ab388eb7324a170bbd8b122cfa75e7448015b38572b47d18add24a8f
 WHIRLPOOL 
c8892dca5f5c625d435cfde3f556ccc7518f3e37b7242892f9c101f4ffa5da1a2ea09083a30942bb1dad91ab70b40b2647339b2a4988f08478db9b6dd2b1c3df
+DIST nsd-4.1.18.tar.gz 1095673 BLAKE2B 
e3dc86e64614323dbefb334769a8095dc674f422f8e62c91e2918f4622ceac0ebef7dec42d5a714b15ad2f3af368ba817239a0027d3a685abf603cf00e9fa9d1
 SHA512 
d9939b8813677127ccd3e87e709b27a8a4f96cc0221ab77563d9349cb6dd56ae39bb7349ede9aed9aaa07de9310bcaeb8be8b17f608e9c4714b4fb084f2e756f

diff --git a/net-dns/nsd/nsd-4.1.18.ebuild b/net-dns/nsd/nsd-4.1.18.ebuild
new file mode 100644
index 000..4a7e4dbabe2
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.18.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd
+
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV="${PV/_rc/rc}"
+MY_PV="${MY_PV/_beta/b}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   virtual/yacc
+   libevent? ( dev-libs/libevent )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   munin? ( net-analyzer/munin )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+"
+
+src_prepare() {
+   # Fix the paths in the munin plugin to match our install
+   eapply "${FILESDIR}"/nsd_munin_.patch
+   eapply_user
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-pie
+   --enable-relro-now
+   --enable-largefile
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe contrib/nsd_munin_
+   insinto /etc/munin/plugin-conf.d
+   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
+   fi
+
+   systemd_dounit "${FILESDIR}"/nsd.service
+
+   # remove the /run directory that usually resides on tmpfs and is
+   # being taken care of by the nsd init script anyway (checkpath)
+   rm -r "${ED%/}"/run || die "Failed to remove /run"
+}
+
+pkg_postinst() {
+   # Do this in postinst to ensure 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2017-07-21 Thread Lars Wendler
commit: ad1cda6e162fe7398650ff5fb57b44f376c8e47b
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Jul 21 21:58:58 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Jul 21 21:59:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad1cda6e

net-dns/nsd: Removed old.

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 net-dns/nsd/Manifest  |   2 -
 net-dns/nsd/nsd-4.1.14.ebuild | 101 --
 net-dns/nsd/nsd-4.1.15.ebuild | 101 --
 3 files changed, 204 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index a66586b9678..b72cf6904af 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,4 +1,2 @@
-DIST nsd-4.1.14.tar.gz 1086818 SHA256 
bdfc61c5f3bf11febd8f4776eef1d4f2d95ed70f12f11d4943c186ffd802 SHA512 
25d16a6c3e4515129f0ad4f9ab0bf6ebe12bd817cd6107d66cb99aff6b6984f5153d9b502013492cfdd907d5fad9a284583c8436b559ef4c0cce5a1176a4aff3
 WHIRLPOOL 
64b14e53a13ff379b665c3d76298f4616b05777694b51aa3a6541be7b2c0d6b283fe6f069dec752241393b3e8795ce048ee935f614db39d221962a2d86a693f2
-DIST nsd-4.1.15.tar.gz 1087383 SHA256 
494a862cfcd26a525a4bf06306eb7ab0387b34678ac6d37767507438e3a23a4b SHA512 
1011e4805d43931dd1a7fed230dadd9eb9bdf7a6728cb5bbde2def462d3bdc2ed79529ef0c60a6530e6fb78ae88a03a50d8b75b27d9130966ca20a62d8a6615e
 WHIRLPOOL 
85a01ecb7c25e557d73e40dfbc881453020fbc20eabb50ffb47d94128e86de3861053425635b438ef86ed261dacf03a040f90d4e143726b765abc790a1c5944c
 DIST nsd-4.1.16.tar.gz 1088633 SHA256 
7f8367ad23cc5cddffa885e7e2f549123c8b4123db9726df41d99f255d6baab2 SHA512 
51135bbf412cdc5d6d9be02af9fef16513f0529155c102debfd6bd68b025d289c684777a8fca57de86b25f68bc94aef89d2cfefb871b8d63048d262f6c8eb8e3
 WHIRLPOOL 
030da2551abef8cb29e16574155605eb9377836f1a43422e200ba5bc6ede319893d4293018cf0be242d1ac0cfad4c3b40f566c7ad587792186c64102d8c9785f
 DIST nsd-4.1.17.tar.gz 1089526 SHA256 
107fa506d18ed6fd0a922d1b96774afd9270ec38ec6b17cd7c46fb9433a03a6c SHA512 
4cffa261b1832d0daac095e92542359ffd725918f07ec605c78a9346b1cf4a4bc21bdc59ab388eb7324a170bbd8b122cfa75e7448015b38572b47d18add24a8f
 WHIRLPOOL 
c8892dca5f5c625d435cfde3f556ccc7518f3e37b7242892f9c101f4ffa5da1a2ea09083a30942bb1dad91ab70b40b2647339b2a4988f08478db9b6dd2b1c3df

diff --git a/net-dns/nsd/nsd-4.1.14.ebuild b/net-dns/nsd/nsd-4.1.14.ebuild
deleted file mode 100644
index 1b7f7b998e3..000
--- a/net-dns/nsd/nsd-4.1.14.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit user systemd
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
-MY_PV=${PV/_rc/rc}
-MY_PV=${MY_PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-S="${WORKDIR}/${MY_P}"
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
-
-RDEPEND="
-   virtual/yacc
-   libevent? ( dev-libs/libevent )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
-   )
-   munin? ( net-analyzer/munin )
-"
-DEPEND="
-   ${RDEPEND}
-   sys-devel/flex
-"
-
-src_prepare() {
-   # Fix the paths in the munin plugin to match our install
-   eapply "${FILESDIR}"/nsd_munin_.patch
-   eapply_user
-}
-
-src_configure() {
-   local myeconfargs=(
-   --enable-pie
-   --enable-relro-now
-   --enable-largefile
-   --with-logfile="${EPREFIX}"/var/log/nsd.log
-   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
-   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
-   --with-xfrdir="${EPREFIX}"/var/db/nsd
-   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
-   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
-   --with-zonesdir="${EPREFIX}"/var/lib/nsd
-   $(use_enable bind8-stats)
-   $(use_enable bind8-stats zone-stats)
-   $(use_enable ipv6)
-   $(use_enable minimal-responses)
-   $(use_enable mmap)
-   $(use_enable nsec3)
-   $(use_enable ratelimit)
-   $(use_enable root-server)
-   $(use_enable runtime-checks checking)
-   $(use_with libevent)
-   $(use_with ssl)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
-   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
-
-   # install munin plugin and config
-   if use munin ; then
-  

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2017-07-21 Thread Lars Wendler
commit: c355ba84e970a6353003cc4f67010ed622afb454
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Jul 21 21:57:47 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Jul 21 21:59:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c355ba84

net-dns/nsd: Version 4.1.16 stable for amd64 and x86.

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 net-dns/nsd/nsd-4.1.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/nsd/nsd-4.1.16.ebuild b/net-dns/nsd/nsd-4.1.16.ebuild
index 23775fc7584..1b7f7b998e3 100644
--- a/net-dns/nsd/nsd-4.1.16.ebuild
+++ b/net-dns/nsd/nsd-4.1.16.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2017-07-21 Thread Lars Wendler
commit: f120083ff0642fc8e1d40e95652fb99b74e0482e
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Jul 21 21:57:20 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Jul 21 21:59:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f120083f

net-dns/nsd: Bump to version 4.1.17

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 net-dns/nsd/Manifest  |   1 +
 net-dns/nsd/nsd-4.1.17.ebuild | 101 ++
 2 files changed, 102 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 194036079f8..a66586b9678 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,4 @@
 DIST nsd-4.1.14.tar.gz 1086818 SHA256 
bdfc61c5f3bf11febd8f4776eef1d4f2d95ed70f12f11d4943c186ffd802 SHA512 
25d16a6c3e4515129f0ad4f9ab0bf6ebe12bd817cd6107d66cb99aff6b6984f5153d9b502013492cfdd907d5fad9a284583c8436b559ef4c0cce5a1176a4aff3
 WHIRLPOOL 
64b14e53a13ff379b665c3d76298f4616b05777694b51aa3a6541be7b2c0d6b283fe6f069dec752241393b3e8795ce048ee935f614db39d221962a2d86a693f2
 DIST nsd-4.1.15.tar.gz 1087383 SHA256 
494a862cfcd26a525a4bf06306eb7ab0387b34678ac6d37767507438e3a23a4b SHA512 
1011e4805d43931dd1a7fed230dadd9eb9bdf7a6728cb5bbde2def462d3bdc2ed79529ef0c60a6530e6fb78ae88a03a50d8b75b27d9130966ca20a62d8a6615e
 WHIRLPOOL 
85a01ecb7c25e557d73e40dfbc881453020fbc20eabb50ffb47d94128e86de3861053425635b438ef86ed261dacf03a040f90d4e143726b765abc790a1c5944c
 DIST nsd-4.1.16.tar.gz 1088633 SHA256 
7f8367ad23cc5cddffa885e7e2f549123c8b4123db9726df41d99f255d6baab2 SHA512 
51135bbf412cdc5d6d9be02af9fef16513f0529155c102debfd6bd68b025d289c684777a8fca57de86b25f68bc94aef89d2cfefb871b8d63048d262f6c8eb8e3
 WHIRLPOOL 
030da2551abef8cb29e16574155605eb9377836f1a43422e200ba5bc6ede319893d4293018cf0be242d1ac0cfad4c3b40f566c7ad587792186c64102d8c9785f
+DIST nsd-4.1.17.tar.gz 1089526 SHA256 
107fa506d18ed6fd0a922d1b96774afd9270ec38ec6b17cd7c46fb9433a03a6c SHA512 
4cffa261b1832d0daac095e92542359ffd725918f07ec605c78a9346b1cf4a4bc21bdc59ab388eb7324a170bbd8b122cfa75e7448015b38572b47d18add24a8f
 WHIRLPOOL 
c8892dca5f5c625d435cfde3f556ccc7518f3e37b7242892f9c101f4ffa5da1a2ea09083a30942bb1dad91ab70b40b2647339b2a4988f08478db9b6dd2b1c3df

diff --git a/net-dns/nsd/nsd-4.1.17.ebuild b/net-dns/nsd/nsd-4.1.17.ebuild
new file mode 100644
index 000..23775fc7584
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.17.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV=${PV/_rc/rc}
+MY_PV=${MY_PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+S="${WORKDIR}/${MY_P}"
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
+
+RDEPEND="
+   virtual/yacc
+   libevent? ( dev-libs/libevent )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   munin? ( net-analyzer/munin )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+"
+
+src_prepare() {
+   # Fix the paths in the munin plugin to match our install
+   eapply "${FILESDIR}"/nsd_munin_.patch
+   eapply_user
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-pie
+   --enable-relro-now
+   --enable-largefile
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2017-04-26 Thread Lars Wendler
commit: 903a70062f00b43dcbada1541ed9d8b9578bbb33
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Apr 26 17:27:25 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Apr 26 17:27:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=903a7006

net-dns/nsd: Bump to version 4.1.16

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-dns/nsd/Manifest  |   1 +
 net-dns/nsd/nsd-4.1.16.ebuild | 101 ++
 2 files changed, 102 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index c60cfac6745..194036079f8 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.1.14.tar.gz 1086818 SHA256 
bdfc61c5f3bf11febd8f4776eef1d4f2d95ed70f12f11d4943c186ffd802 SHA512 
25d16a6c3e4515129f0ad4f9ab0bf6ebe12bd817cd6107d66cb99aff6b6984f5153d9b502013492cfdd907d5fad9a284583c8436b559ef4c0cce5a1176a4aff3
 WHIRLPOOL 
64b14e53a13ff379b665c3d76298f4616b05777694b51aa3a6541be7b2c0d6b283fe6f069dec752241393b3e8795ce048ee935f614db39d221962a2d86a693f2
 DIST nsd-4.1.15.tar.gz 1087383 SHA256 
494a862cfcd26a525a4bf06306eb7ab0387b34678ac6d37767507438e3a23a4b SHA512 
1011e4805d43931dd1a7fed230dadd9eb9bdf7a6728cb5bbde2def462d3bdc2ed79529ef0c60a6530e6fb78ae88a03a50d8b75b27d9130966ca20a62d8a6615e
 WHIRLPOOL 
85a01ecb7c25e557d73e40dfbc881453020fbc20eabb50ffb47d94128e86de3861053425635b438ef86ed261dacf03a040f90d4e143726b765abc790a1c5944c
+DIST nsd-4.1.16.tar.gz 1088633 SHA256 
7f8367ad23cc5cddffa885e7e2f549123c8b4123db9726df41d99f255d6baab2 SHA512 
51135bbf412cdc5d6d9be02af9fef16513f0529155c102debfd6bd68b025d289c684777a8fca57de86b25f68bc94aef89d2cfefb871b8d63048d262f6c8eb8e3
 WHIRLPOOL 
030da2551abef8cb29e16574155605eb9377836f1a43422e200ba5bc6ede319893d4293018cf0be242d1ac0cfad4c3b40f566c7ad587792186c64102d8c9785f

diff --git a/net-dns/nsd/nsd-4.1.16.ebuild b/net-dns/nsd/nsd-4.1.16.ebuild
new file mode 100644
index 000..23775fc7584
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.16.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV=${PV/_rc/rc}
+MY_PV=${MY_PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+S="${WORKDIR}/${MY_P}"
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
+
+RDEPEND="
+   virtual/yacc
+   libevent? ( dev-libs/libevent )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   munin? ( net-analyzer/munin )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+"
+
+src_prepare() {
+   # Fix the paths in the munin plugin to match our install
+   eapply "${FILESDIR}"/nsd_munin_.patch
+   eapply_user
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-pie
+   --enable-relro-now
+   --enable-largefile
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe contrib/nsd_munin_
+   insinto /etc/munin/plugin-conf.d
+   newins "${FILESDIR}"/nsd.munin-conf nsd_munin
+   fi
+
+   systemd_dounit "${FILESDIR}"/nsd.service
+
+   # remove the /run directory that usually resides on tmpfs and is
+   # being taken care of by the nsd init script anyway (checkpath)
+   rm -r "${ED}"/run || die "Failed to remove /run"

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/files/, net-dns/nsd/

2017-02-16 Thread Lars Wendler
commit: 6b00ee80fe0fa7c5ec2bc008235bb0b1b4631112
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Feb 16 23:47:39 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Feb 16 23:49:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b00ee80

net-dns/nsd: Removed old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-dns/nsd/Manifest  |  2 -
 net-dns/nsd/files/nsd3-patch.cron |  9 
 net-dns/nsd/files/nsd3.initd-r1   | 66 --
 net-dns/nsd/metadata.xml  |  2 -
 net-dns/nsd/nsd-3.2.22.ebuild | 87 ---
 net-dns/nsd/nsd-4.1.13.ebuild | 97 ---
 6 files changed, 263 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 27cea0e900..c60cfac674 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,4 +1,2 @@
-DIST nsd-3.2.22.tar.gz 924627 SHA256 
47c2b424c719a1535f709f4e82d796bca43cad86731f5f275c9367040a474a03 SHA512 
2c0cbc97eaa376dcf496ed4323d9f7afb0dbf1852fa5fc9d8c7ecbcf8aaa1b025d56b5e439d19bc36b50deaf5f753fb08109d7e25dc1f8223fe85b7d017f81c3
 WHIRLPOOL 
271b47a331f2a63dd51bf642fed7083f27660f618fe0418c6b3a361d7b0a7ebda1a300d12d92c1c03e21cd17560ba4f2f2cdac76f7c6793d4befc71b66646f7d
-DIST nsd-4.1.13.tar.gz 1085701 SHA256 
c45cd4ba2101a027e133b2be44db9378e27602e05f09a5ef25019e1ae45291af SHA512 
f355402273480b2befe914ab2e933c37ec35e5c8e747f85ba03bf8928e42ab809bb6b21cf2b8bf11e8d422a795254e1d916b154156243bc94752a01fb540525e
 WHIRLPOOL 
f5d7d3386649b82bf2f7eb6ab2f0c50b2f11e4e545931d99352a63317cda127278e5d9219763dc51a5e3a73daa0ab04e45b037eea738cad20cabf284068e9c7c
 DIST nsd-4.1.14.tar.gz 1086818 SHA256 
bdfc61c5f3bf11febd8f4776eef1d4f2d95ed70f12f11d4943c186ffd802 SHA512 
25d16a6c3e4515129f0ad4f9ab0bf6ebe12bd817cd6107d66cb99aff6b6984f5153d9b502013492cfdd907d5fad9a284583c8436b559ef4c0cce5a1176a4aff3
 WHIRLPOOL 
64b14e53a13ff379b665c3d76298f4616b05777694b51aa3a6541be7b2c0d6b283fe6f069dec752241393b3e8795ce048ee935f614db39d221962a2d86a693f2
 DIST nsd-4.1.15.tar.gz 1087383 SHA256 
494a862cfcd26a525a4bf06306eb7ab0387b34678ac6d37767507438e3a23a4b SHA512 
1011e4805d43931dd1a7fed230dadd9eb9bdf7a6728cb5bbde2def462d3bdc2ed79529ef0c60a6530e6fb78ae88a03a50d8b75b27d9130966ca20a62d8a6615e
 WHIRLPOOL 
85a01ecb7c25e557d73e40dfbc881453020fbc20eabb50ffb47d94128e86de3861053425635b438ef86ed261dacf03a040f90d4e143726b765abc790a1c5944c

diff --git a/net-dns/nsd/files/nsd3-patch.cron 
b/net-dns/nsd/files/nsd3-patch.cron
deleted file mode 100644
index ec27e4e95d..00
--- a/net-dns/nsd/files/nsd3-patch.cron
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-# Cron job: merge zone transfer changes back to zone files
-# Needed for nsd3 only
-
-/etc/init.d/nsd --quiet status && /etc/init.d/nsd patch >/dev/null

diff --git a/net-dns/nsd/files/nsd3.initd-r1 b/net-dns/nsd/files/nsd3.initd-r1
deleted file mode 100644
index 76db09d63a..00
--- a/net-dns/nsd/files/nsd3.initd-r1
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-description="NSD is an authoritative-only, high performance, open source name 
server"
-extra_commands="configtest patch"
-
-# these can be overridden in /etc/conf.d/nsd if necessary
-NSD_CONFIG="${NSD_CONFIG:-/etc/nsd/nsd.conf}"
-NSD_BINARY="${NSD_BINARY:-/usr/sbin/nsd}"
-NSD_CHECKCONF="${NSD_CHECKCONF:-/usr/sbin/nsd-checkconf}"
-NSDC_BINARY="${NSDC_BINARY:-/usr/sbin/nsdc}"
-
-depend() {
-   need net
-   use logger
-}
-
-configtest() {
-   ebegin "Checking ${SVCNAME} configuration"
-   checkconfig
-   eend $?
-}
-
-checkconfig() {
-   if ! test -e "${NSD_CONFIG}"; then
-   eerror "You need to create an appropriate config file."
-   eerror "An example can be found in /etc/nsd/nsd.conf.sample"
-   return 1
-   elif ! "${NSD_CHECKCONF}" "${NSD_CONFIG}"; then
-   eerror "You have errors in your configfile (${NSD_CONFIG})"
-   return $?
-   fi
-   return 0
-}
-
-patch() {
-   local difffile=$(${NSD_CHECKCONF} -o difffile "${NSD_CONFIG}")
-   if ! test -s "${difffile}"; then
-   # no difffile found or difffile empty, so no patching required
-   return 0
-   fi
-   ebegin "Patching NSD zone files"
-   "${NSDC_BINARY}" patch >/dev/null
-   eend $?
-}
-
-start() {
-   ebegin "Starting NSD"
-   checkconfig || return $?
-   local pidfile=$("${NSD_CHECKCONF}" -o pidfile "${NSD_CONFIG}")
-   checkpath --directory --owner nsd:nsd $(dirname "${pidfile}")
-   start-stop-daemon --start --pidfile "${pidfile}" \
-   --exec "${NSD_BINARY}" -- -c "${NSD_CONFIG}"
-   eend $?
-}
-
-stop() {
-   ebegin "Stopping NSD"
-   

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2017-02-16 Thread Lars Wendler
commit: 29b381e1ce773ee916dbb10b2d8c14116e58ecca
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Feb 16 23:46:13 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Feb 16 23:49:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29b381e1

net-dns/nsd: Bump to version 4.1.15

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-dns/nsd/Manifest  |   1 +
 net-dns/nsd/nsd-4.1.15.ebuild | 102 ++
 2 files changed, 103 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index b4d7633891..27cea0e900 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,4 @@
 DIST nsd-3.2.22.tar.gz 924627 SHA256 
47c2b424c719a1535f709f4e82d796bca43cad86731f5f275c9367040a474a03 SHA512 
2c0cbc97eaa376dcf496ed4323d9f7afb0dbf1852fa5fc9d8c7ecbcf8aaa1b025d56b5e439d19bc36b50deaf5f753fb08109d7e25dc1f8223fe85b7d017f81c3
 WHIRLPOOL 
271b47a331f2a63dd51bf642fed7083f27660f618fe0418c6b3a361d7b0a7ebda1a300d12d92c1c03e21cd17560ba4f2f2cdac76f7c6793d4befc71b66646f7d
 DIST nsd-4.1.13.tar.gz 1085701 SHA256 
c45cd4ba2101a027e133b2be44db9378e27602e05f09a5ef25019e1ae45291af SHA512 
f355402273480b2befe914ab2e933c37ec35e5c8e747f85ba03bf8928e42ab809bb6b21cf2b8bf11e8d422a795254e1d916b154156243bc94752a01fb540525e
 WHIRLPOOL 
f5d7d3386649b82bf2f7eb6ab2f0c50b2f11e4e545931d99352a63317cda127278e5d9219763dc51a5e3a73daa0ab04e45b037eea738cad20cabf284068e9c7c
 DIST nsd-4.1.14.tar.gz 1086818 SHA256 
bdfc61c5f3bf11febd8f4776eef1d4f2d95ed70f12f11d4943c186ffd802 SHA512 
25d16a6c3e4515129f0ad4f9ab0bf6ebe12bd817cd6107d66cb99aff6b6984f5153d9b502013492cfdd907d5fad9a284583c8436b559ef4c0cce5a1176a4aff3
 WHIRLPOOL 
64b14e53a13ff379b665c3d76298f4616b05777694b51aa3a6541be7b2c0d6b283fe6f069dec752241393b3e8795ce048ee935f614db39d221962a2d86a693f2
+DIST nsd-4.1.15.tar.gz 1087383 SHA256 
494a862cfcd26a525a4bf06306eb7ab0387b34678ac6d37767507438e3a23a4b SHA512 
1011e4805d43931dd1a7fed230dadd9eb9bdf7a6728cb5bbde2def462d3bdc2ed79529ef0c60a6530e6fb78ae88a03a50d8b75b27d9130966ca20a62d8a6615e
 WHIRLPOOL 
85a01ecb7c25e557d73e40dfbc881453020fbc20eabb50ffb47d94128e86de3861053425635b438ef86ed261dacf03a040f90d4e143726b765abc790a1c5944c

diff --git a/net-dns/nsd/nsd-4.1.15.ebuild b/net-dns/nsd/nsd-4.1.15.ebuild
new file mode 100644
index 00..5c3f1296bb
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.15.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit user systemd
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV=${PV/_rc/rc}
+MY_PV=${MY_PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+S="${WORKDIR}/${MY_P}"
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
+
+RDEPEND="
+   virtual/yacc
+   libevent? ( dev-libs/libevent )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+   munin? ( net-analyzer/munin )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+"
+
+src_prepare() {
+   # Fix the paths in the munin plugin to match our install
+   eapply "${FILESDIR}"/nsd_munin_.patch
+   eapply_user
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-pie
+   --enable-relro-now
+   --enable-largefile
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2017-01-02 Thread Agostino Sarubbo
commit: 682f4f7f809dd2c47bc29808f9a6180c917b2353
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jan  2 15:14:57 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jan  2 15:14:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=682f4f7f

net-dns/nsd: amd64 stable wrt bug #604374

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/nsd/nsd-4.1.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/nsd/nsd-4.1.14.ebuild b/net-dns/nsd/nsd-4.1.14.ebuild
index 5c3f129..e42c13a 100644
--- a/net-dns/nsd/nsd-4.1.14.ebuild
+++ b/net-dns/nsd/nsd-4.1.14.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2017-01-02 Thread Lars Wendler
commit: cc1f08d029803f303bf5ed6cfff55a768fe49630
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jan  2 11:27:57 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jan  2 11:36:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc1f08d0

net-dns/nsd: Fixed maintainer entry in metadata.xml

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-dns/nsd/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net-dns/nsd/metadata.xml b/net-dns/nsd/metadata.xml
index 3e19905..bbcd6ae 100644
--- a/net-dns/nsd/metadata.xml
+++ b/net-dns/nsd/metadata.xml
@@ -4,7 +4,6 @@

polynomia...@gentoo.org
Lars Wendler
-   proxy-maintainer, please CC on bugs


Enables BIND8 like NSTATS and 
XSTATS



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2017-01-02 Thread Lars Wendler
commit: c6a0a2318cf9867e60ff995968d4095fdf5313f8
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jan  2 08:56:14 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jan  2 08:56:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6a0a231

net-dns/nsd: Forgot to make one variable local.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-dns/nsd/nsd-4.1.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/nsd/nsd-4.1.14.ebuild b/net-dns/nsd/nsd-4.1.14.ebuild
index aa80470..5c3f129 100644
--- a/net-dns/nsd/nsd-4.1.14.ebuild
+++ b/net-dns/nsd/nsd-4.1.14.ebuild
@@ -41,7 +41,7 @@ src_prepare() {
 }
 
 src_configure() {
-   myeconfargs=(
+   local myeconfargs=(
--enable-pie
--enable-relro-now
--enable-largefile



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2017-01-02 Thread Lars Wendler
commit: 1f80400cb6fa7db95c34495a165c820e13182669
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jan  2 08:54:58 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jan  2 08:54:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f80400c

net-dns/nsd: ebuild code refactoring.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-dns/nsd/nsd-4.1.14.ebuild | 51 ---
 1 file changed, 28 insertions(+), 23 deletions(-)

diff --git a/net-dns/nsd/nsd-4.1.14.ebuild b/net-dns/nsd/nsd-4.1.14.ebuild
index 3719d0f..aa80470 100644
--- a/net-dns/nsd/nsd-4.1.14.ebuild
+++ b/net-dns/nsd/nsd-4.1.14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -23,7 +23,10 @@ IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin 
+nsec3 ratelimit ro
 RDEPEND="
virtual/yacc
libevent? ( dev-libs/libevent )
-   ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( 
dev-libs/libressl:= ) )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
munin? ( net-analyzer/munin )
 "
 DEPEND="
@@ -38,28 +41,30 @@ src_prepare() {
 }
 
 src_configure() {
-   econf \
-   --enable-pie \
-   --enable-relro-now \
-   --enable-largefile \
-   --with-logfile="${EPREFIX}"/var/log/nsd.log \
-   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid \
-   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db \
-   --with-xfrdir="${EPREFIX}"/var/db/nsd \
-   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state \
-   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list \
-   --with-zonesdir="${EPREFIX}"/var/lib/nsd \
-   $(use_enable bind8-stats) \
-   $(use_enable bind8-stats zone-stats) \
-   $(use_enable ipv6) \
-   $(use_enable minimal-responses) \
-   $(use_enable mmap) \
-   $(use_enable nsec3) \
-   $(use_enable ratelimit) \
-   $(use_enable root-server) \
-   $(use_enable runtime-checks checking) \
-   $(use_with libevent) \
+   myeconfargs=(
+   --enable-pie
+   --enable-relro-now
+   --enable-largefile
+   --with-logfile="${EPREFIX}"/var/log/nsd.log
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
+   --with-xfrdir="${EPREFIX}"/var/db/nsd
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd
+   $(use_enable bind8-stats)
+   $(use_enable bind8-stats zone-stats)
+   $(use_enable ipv6)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable runtime-checks checking)
+   $(use_with libevent)
$(use_with ssl)
+   )
+   econf "${myeconfargs[@]}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2016-12-08 Thread Lars Wendler
commit: 1e2656ac3467c037018e30c06c4439ed420b7369
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Dec  8 20:42:18 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Dec  8 20:51:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e2656ac

net-dns/nsd: Bump to version 4.1.14

Package-Manager: portage-2.3.3

 net-dns/nsd/Manifest  |  1 +
 net-dns/nsd/nsd-4.1.14.ebuild | 97 +++
 2 files changed, 98 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index a06b0fb..562bbb3 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,4 @@
 DIST nsd-3.2.22.tar.gz 924627 SHA256 
47c2b424c719a1535f709f4e82d796bca43cad86731f5f275c9367040a474a03 SHA512 
2c0cbc97eaa376dcf496ed4323d9f7afb0dbf1852fa5fc9d8c7ecbcf8aaa1b025d56b5e439d19bc36b50deaf5f753fb08109d7e25dc1f8223fe85b7d017f81c3
 WHIRLPOOL 
271b47a331f2a63dd51bf642fed7083f27660f618fe0418c6b3a361d7b0a7ebda1a300d12d92c1c03e21cd17560ba4f2f2cdac76f7c6793d4befc71b66646f7d
 DIST nsd-4.1.12.tar.gz 1080273 SHA256 
fd1979dff1fba55310fd4f439dc9f3f4701d435c0ec4fb9af533e12c7f27d5de SHA512 
f78c0a24669ce8a0cf5640d90f5dfc8756009a840545feddd9c466a5f0b7441d470efb267f7ad38ed45321a6f8b75ad7db9b13bdaefab55b7614ebb3e9bd183b
 WHIRLPOOL 
6304ff6b25a315cf3e340d9cf3cffee141abfdceaeb71ac94c97fe78d14698fe2164042db7785a254feeecd4170c4ad7a8fccdf165cfb5bbefbe1244fdbd4bea
 DIST nsd-4.1.13.tar.gz 1085701 SHA256 
c45cd4ba2101a027e133b2be44db9378e27602e05f09a5ef25019e1ae45291af SHA512 
f355402273480b2befe914ab2e933c37ec35e5c8e747f85ba03bf8928e42ab809bb6b21cf2b8bf11e8d422a795254e1d916b154156243bc94752a01fb540525e
 WHIRLPOOL 
f5d7d3386649b82bf2f7eb6ab2f0c50b2f11e4e545931d99352a63317cda127278e5d9219763dc51a5e3a73daa0ab04e45b037eea738cad20cabf284068e9c7c
+DIST nsd-4.1.14.tar.gz 1086818 SHA256 
bdfc61c5f3bf11febd8f4776eef1d4f2d95ed70f12f11d4943c186ffd802 SHA512 
25d16a6c3e4515129f0ad4f9ab0bf6ebe12bd817cd6107d66cb99aff6b6984f5153d9b502013492cfdd907d5fad9a284583c8436b559ef4c0cce5a1176a4aff3
 WHIRLPOOL 
64b14e53a13ff379b665c3d76298f4616b05777694b51aa3a6541be7b2c0d6b283fe6f069dec752241393b3e8795ce048ee935f614db39d221962a2d86a693f2

diff --git a/net-dns/nsd/nsd-4.1.14.ebuild b/net-dns/nsd/nsd-4.1.14.ebuild
new file mode 100644
index ..3719d0f
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.14.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit user systemd
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV=${PV/_rc/rc}
+MY_PV=${MY_PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+S="${WORKDIR}/${MY_P}"
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
+
+RDEPEND="
+   virtual/yacc
+   libevent? ( dev-libs/libevent )
+   ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( 
dev-libs/libressl:= ) )
+   munin? ( net-analyzer/munin )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+"
+
+src_prepare() {
+   # Fix the paths in the munin plugin to match our install
+   eapply "${FILESDIR}"/nsd_munin_.patch
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --enable-pie \
+   --enable-relro-now \
+   --enable-largefile \
+   --with-logfile="${EPREFIX}"/var/log/nsd.log \
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid \
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db \
+   --with-xfrdir="${EPREFIX}"/var/db/nsd \
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state \
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list \
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd \
+   $(use_enable bind8-stats) \
+   $(use_enable bind8-stats zone-stats) \
+   $(use_enable ipv6) \
+   $(use_enable minimal-responses) \
+   $(use_enable mmap) \
+   $(use_enable nsec3) \
+   $(use_enable ratelimit) \
+   $(use_enable root-server) \
+   $(use_enable runtime-checks checking) \
+   $(use_with libevent) \
+   $(use_with ssl)
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto /usr/libexec/munin/plugins
+   doexe contrib/nsd_munin_
+   insinto /etc/munin/plugin-conf.d
+   newins 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2016-12-08 Thread Lars Wendler
commit: 48f79f1e784f6197291122892854b13c8b629eb0
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Dec  8 20:43:05 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Dec  8 20:52:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48f79f1e

net-dns/nsd: Removed old.

Package-Manager: portage-2.3.3

 net-dns/nsd/Manifest  |  1 -
 net-dns/nsd/nsd-4.1.12.ebuild | 97 ---
 2 files changed, 98 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 562bbb3..b4d7633 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,4 +1,3 @@
 DIST nsd-3.2.22.tar.gz 924627 SHA256 
47c2b424c719a1535f709f4e82d796bca43cad86731f5f275c9367040a474a03 SHA512 
2c0cbc97eaa376dcf496ed4323d9f7afb0dbf1852fa5fc9d8c7ecbcf8aaa1b025d56b5e439d19bc36b50deaf5f753fb08109d7e25dc1f8223fe85b7d017f81c3
 WHIRLPOOL 
271b47a331f2a63dd51bf642fed7083f27660f618fe0418c6b3a361d7b0a7ebda1a300d12d92c1c03e21cd17560ba4f2f2cdac76f7c6793d4befc71b66646f7d
-DIST nsd-4.1.12.tar.gz 1080273 SHA256 
fd1979dff1fba55310fd4f439dc9f3f4701d435c0ec4fb9af533e12c7f27d5de SHA512 
f78c0a24669ce8a0cf5640d90f5dfc8756009a840545feddd9c466a5f0b7441d470efb267f7ad38ed45321a6f8b75ad7db9b13bdaefab55b7614ebb3e9bd183b
 WHIRLPOOL 
6304ff6b25a315cf3e340d9cf3cffee141abfdceaeb71ac94c97fe78d14698fe2164042db7785a254feeecd4170c4ad7a8fccdf165cfb5bbefbe1244fdbd4bea
 DIST nsd-4.1.13.tar.gz 1085701 SHA256 
c45cd4ba2101a027e133b2be44db9378e27602e05f09a5ef25019e1ae45291af SHA512 
f355402273480b2befe914ab2e933c37ec35e5c8e747f85ba03bf8928e42ab809bb6b21cf2b8bf11e8d422a795254e1d916b154156243bc94752a01fb540525e
 WHIRLPOOL 
f5d7d3386649b82bf2f7eb6ab2f0c50b2f11e4e545931d99352a63317cda127278e5d9219763dc51a5e3a73daa0ab04e45b037eea738cad20cabf284068e9c7c
 DIST nsd-4.1.14.tar.gz 1086818 SHA256 
bdfc61c5f3bf11febd8f4776eef1d4f2d95ed70f12f11d4943c186ffd802 SHA512 
25d16a6c3e4515129f0ad4f9ab0bf6ebe12bd817cd6107d66cb99aff6b6984f5153d9b502013492cfdd907d5fad9a284583c8436b559ef4c0cce5a1176a4aff3
 WHIRLPOOL 
64b14e53a13ff379b665c3d76298f4616b05777694b51aa3a6541be7b2c0d6b283fe6f069dec752241393b3e8795ce048ee935f614db39d221962a2d86a693f2

diff --git a/net-dns/nsd/nsd-4.1.12.ebuild b/net-dns/nsd/nsd-4.1.12.ebuild
deleted file mode 100644
index 3719d0f..
--- a/net-dns/nsd/nsd-4.1.12.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit user systemd
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
-MY_PV=${PV/_rc/rc}
-MY_PV=${MY_PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-S="${WORKDIR}/${MY_P}"
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
-
-RDEPEND="
-   virtual/yacc
-   libevent? ( dev-libs/libevent )
-   ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( 
dev-libs/libressl:= ) )
-   munin? ( net-analyzer/munin )
-"
-DEPEND="
-   ${RDEPEND}
-   sys-devel/flex
-"
-
-src_prepare() {
-   # Fix the paths in the munin plugin to match our install
-   eapply "${FILESDIR}"/nsd_munin_.patch
-   eapply_user
-}
-
-src_configure() {
-   econf \
-   --enable-pie \
-   --enable-relro-now \
-   --enable-largefile \
-   --with-logfile="${EPREFIX}"/var/log/nsd.log \
-   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid \
-   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db \
-   --with-xfrdir="${EPREFIX}"/var/db/nsd \
-   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state \
-   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list \
-   --with-zonesdir="${EPREFIX}"/var/lib/nsd \
-   $(use_enable bind8-stats) \
-   $(use_enable bind8-stats zone-stats) \
-   $(use_enable ipv6) \
-   $(use_enable minimal-responses) \
-   $(use_enable mmap) \
-   $(use_enable nsec3) \
-   $(use_enable ratelimit) \
-   $(use_enable root-server) \
-   $(use_enable runtime-checks checking) \
-   $(use_with libevent) \
-   $(use_with ssl)
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
-   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
-
-   # install munin plugin and config
-   if use munin ; then
-   exeinto /usr/libexec/munin/plugins
-   doexe contrib/nsd_munin_
-   insinto /etc/munin/plugin-conf.d
-   newins 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/files/, net-dns/nsd/

2016-09-27 Thread Lars Wendler
commit: 9ba90733adba1e11baa9d58396e0d6e566021000
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Sep 27 22:33:59 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Sep 27 22:34:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba90733

net-dns/nsd: Removed old.

Package-Manager: portage-2.3.1
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest   |   2 -
 .../nsd-4.1.10-r4644-build-without-ipv6.patch  |  23 -
 net-dns/nsd/files/nsd.initd|  53 ---
 net-dns/nsd/nsd-4.1.10.ebuild  | 100 -
 net-dns/nsd/nsd-4.1.11-r2.ebuild   |  97 
 5 files changed, 275 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 62bfb39..a06b0fb 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,5 +1,3 @@
 DIST nsd-3.2.22.tar.gz 924627 SHA256 
47c2b424c719a1535f709f4e82d796bca43cad86731f5f275c9367040a474a03 SHA512 
2c0cbc97eaa376dcf496ed4323d9f7afb0dbf1852fa5fc9d8c7ecbcf8aaa1b025d56b5e439d19bc36b50deaf5f753fb08109d7e25dc1f8223fe85b7d017f81c3
 WHIRLPOOL 
271b47a331f2a63dd51bf642fed7083f27660f618fe0418c6b3a361d7b0a7ebda1a300d12d92c1c03e21cd17560ba4f2f2cdac76f7c6793d4befc71b66646f7d
-DIST nsd-4.1.10.tar.gz 1075892 SHA256 
3a757014046752a0b0b11c1a2e22a36bb796f89f6939147ed3226556b4298727 SHA512 
e77c858d34002e54085f3a39eda7c6229f21f980339beb9a9d5719245d6010e5435a13dba978ac1aed9b712ed49e5a8ca75cb216cb50dd590556077d32b97a96
 WHIRLPOOL 
8d04b8661e821ec49c93a00a088bec83b3ca3faf7c07d9d720cba1c5c71fc2db3aafc95b5d0d3a8e848c38f11bd9daeb1a53da752bcf8314722aefbd1d55c4d5
-DIST nsd-4.1.11.tar.gz 1080220 SHA256 
c7712fd05eb0ab97040738e01d9369d02b89c0a7fa0943fd5bfc43b2111a92df SHA512 
e5f4ad1d39bd75b086f3fc3281fa6ac31f4b6ba9c4a9e23bba527d1a1374dfaf0acaac24168bb5a3ad5a041829d1864331928f18ba49562a25e3f8651609a1f7
 WHIRLPOOL 
187088f8b1c4c92a7e67535b9f2d1520ff3d056c209535afa74079f4b680bf2afe7766e5a102b1481cfe11beb2169b4e1dedcec6d137ab3044e04cf5715fc579
 DIST nsd-4.1.12.tar.gz 1080273 SHA256 
fd1979dff1fba55310fd4f439dc9f3f4701d435c0ec4fb9af533e12c7f27d5de SHA512 
f78c0a24669ce8a0cf5640d90f5dfc8756009a840545feddd9c466a5f0b7441d470efb267f7ad38ed45321a6f8b75ad7db9b13bdaefab55b7614ebb3e9bd183b
 WHIRLPOOL 
6304ff6b25a315cf3e340d9cf3cffee141abfdceaeb71ac94c97fe78d14698fe2164042db7785a254feeecd4170c4ad7a8fccdf165cfb5bbefbe1244fdbd4bea
 DIST nsd-4.1.13.tar.gz 1085701 SHA256 
c45cd4ba2101a027e133b2be44db9378e27602e05f09a5ef25019e1ae45291af SHA512 
f355402273480b2befe914ab2e933c37ec35e5c8e747f85ba03bf8928e42ab809bb6b21cf2b8bf11e8d422a795254e1d916b154156243bc94752a01fb540525e
 WHIRLPOOL 
f5d7d3386649b82bf2f7eb6ab2f0c50b2f11e4e545931d99352a63317cda127278e5d9219763dc51a5e3a73daa0ab04e45b037eea738cad20cabf284068e9c7c

diff --git a/net-dns/nsd/files/nsd-4.1.10-r4644-build-without-ipv6.patch 
b/net-dns/nsd/files/nsd-4.1.10-r4644-build-without-ipv6.patch
deleted file mode 100644
index cb59ca9..
--- a/net-dns/nsd/files/nsd-4.1.10-r4644-build-without-ipv6.patch
+++ /dev/null
@@ -1,23 +0,0 @@
- 4.1.10
-Index: query.c
-===
-diff --git a/query.c b/query.c
 a/query.c  (revision 4643)
-+++ b/query.c  (revision 4644)
-@@ -704,11 +704,16 @@
-   result = answer_add_rrset(answer, section, owner, rrset);
-   switch (rrset_rrtype(rrset)) {
-   case TYPE_NS:
-+#if defined(INET6)
-   /* if query over IPv6, swap A and ; put  first */
-   add_additional_rrsets(query, answer, rrset, 0, 1,
-   (query->addr.ss_family == AF_INET6)?
-   swap__additional_rr_types:
-   default_additional_rr_types);
-+#else
-+  add_additional_rrsets(query, answer, rrset, 0, 1,
-+default_additional_rr_types);
-+#endif
-   break;
-   case TYPE_MB:
-   add_additional_rrsets(query, answer, rrset, 0, 0,

diff --git a/net-dns/nsd/files/nsd.initd b/net-dns/nsd/files/nsd.initd
deleted file mode 100644
index bbab4a6..
--- a/net-dns/nsd/files/nsd.initd
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-description="NSD is an authoritative-only, high performance, open source name 
server"
-extra_commands="configtest"
-
-# these can be overridden in /etc/conf.d/nsd if necessary
-NSD_CONFIG="${NSD_CONFIG:-/etc/nsd/nsd.conf}"
-NSD_BINARY="${NSD_BINARY:-/usr/sbin/nsd}"
-NSD_CHECKCONF="${NSD_CHECKCONF:-/usr/sbin/nsd-checkconf}"
-
-depend() {
-   need net
-   use logger
-}
-
-configtest() {
-   ebegin "Checking ${SVCNAME} configuration"
-   checkconfig
-   eend $?
-}
-
-checkconfig() {
-   if ! test -e "${NSD_CONFIG}"; then
-   eerror "You need to create an 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2016-09-27 Thread Lars Wendler
commit: 53951248874a1f427c8ccd4e06706469dec9ffcd
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Sep 27 22:32:42 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Sep 27 22:34:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53951248

net-dns/nsd: Bump to version 4.1.13

Package-Manager: portage-2.3.1
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest  |  1 +
 net-dns/nsd/nsd-4.1.13.ebuild | 97 +++
 2 files changed, 98 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 7457ed8..62bfb39 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -2,3 +2,4 @@ DIST nsd-3.2.22.tar.gz 924627 SHA256 
47c2b424c719a1535f709f4e82d796bca43cad86731
 DIST nsd-4.1.10.tar.gz 1075892 SHA256 
3a757014046752a0b0b11c1a2e22a36bb796f89f6939147ed3226556b4298727 SHA512 
e77c858d34002e54085f3a39eda7c6229f21f980339beb9a9d5719245d6010e5435a13dba978ac1aed9b712ed49e5a8ca75cb216cb50dd590556077d32b97a96
 WHIRLPOOL 
8d04b8661e821ec49c93a00a088bec83b3ca3faf7c07d9d720cba1c5c71fc2db3aafc95b5d0d3a8e848c38f11bd9daeb1a53da752bcf8314722aefbd1d55c4d5
 DIST nsd-4.1.11.tar.gz 1080220 SHA256 
c7712fd05eb0ab97040738e01d9369d02b89c0a7fa0943fd5bfc43b2111a92df SHA512 
e5f4ad1d39bd75b086f3fc3281fa6ac31f4b6ba9c4a9e23bba527d1a1374dfaf0acaac24168bb5a3ad5a041829d1864331928f18ba49562a25e3f8651609a1f7
 WHIRLPOOL 
187088f8b1c4c92a7e67535b9f2d1520ff3d056c209535afa74079f4b680bf2afe7766e5a102b1481cfe11beb2169b4e1dedcec6d137ab3044e04cf5715fc579
 DIST nsd-4.1.12.tar.gz 1080273 SHA256 
fd1979dff1fba55310fd4f439dc9f3f4701d435c0ec4fb9af533e12c7f27d5de SHA512 
f78c0a24669ce8a0cf5640d90f5dfc8756009a840545feddd9c466a5f0b7441d470efb267f7ad38ed45321a6f8b75ad7db9b13bdaefab55b7614ebb3e9bd183b
 WHIRLPOOL 
6304ff6b25a315cf3e340d9cf3cffee141abfdceaeb71ac94c97fe78d14698fe2164042db7785a254feeecd4170c4ad7a8fccdf165cfb5bbefbe1244fdbd4bea
+DIST nsd-4.1.13.tar.gz 1085701 SHA256 
c45cd4ba2101a027e133b2be44db9378e27602e05f09a5ef25019e1ae45291af SHA512 
f355402273480b2befe914ab2e933c37ec35e5c8e747f85ba03bf8928e42ab809bb6b21cf2b8bf11e8d422a795254e1d916b154156243bc94752a01fb540525e
 WHIRLPOOL 
f5d7d3386649b82bf2f7eb6ab2f0c50b2f11e4e545931d99352a63317cda127278e5d9219763dc51a5e3a73daa0ab04e45b037eea738cad20cabf284068e9c7c

diff --git a/net-dns/nsd/nsd-4.1.13.ebuild b/net-dns/nsd/nsd-4.1.13.ebuild
new file mode 100644
index ..3719d0f
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.13.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit user systemd
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV=${PV/_rc/rc}
+MY_PV=${MY_PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+S="${WORKDIR}/${MY_P}"
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
+
+RDEPEND="
+   virtual/yacc
+   libevent? ( dev-libs/libevent )
+   ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( 
dev-libs/libressl:= ) )
+   munin? ( net-analyzer/munin )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+"
+
+src_prepare() {
+   # Fix the paths in the munin plugin to match our install
+   eapply "${FILESDIR}"/nsd_munin_.patch
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --enable-pie \
+   --enable-relro-now \
+   --enable-largefile \
+   --with-logfile="${EPREFIX}"/var/log/nsd.log \
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid \
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db \
+   --with-xfrdir="${EPREFIX}"/var/db/nsd \
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state \
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list \
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd \
+   $(use_enable bind8-stats) \
+   $(use_enable bind8-stats zone-stats) \
+   $(use_enable ipv6) \
+   $(use_enable minimal-responses) \
+   $(use_enable mmap) \
+   $(use_enable nsec3) \
+   $(use_enable ratelimit) \
+   $(use_enable root-server) \
+   $(use_enable runtime-checks checking) \
+   $(use_with libevent) \
+   $(use_with ssl)
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
+
+   # install munin plugin and config
+   if use munin ; then
+   exeinto 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2016-09-07 Thread Lars Wendler
commit: fa5f11ebb690b8df39fdac8966bcdaf13e7d8648
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Sep  7 09:35:36 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Sep  7 09:36:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa5f11eb

net-dns/nsd: Removed proxy maintainer by his own request.

Request was sent to me by e-mail.

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/metadata.xml | 14 --
 1 file changed, 14 deletions(-)

diff --git a/net-dns/nsd/metadata.xml b/net-dns/nsd/metadata.xml
index d63afb1..3e19905 100644
--- a/net-dns/nsd/metadata.xml
+++ b/net-dns/nsd/metadata.xml
@@ -2,24 +2,10 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   t...@whyscream.net
-   Tom Hendrikx
-   Please assign bugs
-   
-   
-   wschl...@gentoo.org
-   Wolfram Schlich
-   proxy-maintainer, please CC on bugs
-   
-   
polynomia...@gentoo.org
Lars Wendler
proxy-maintainer, please CC on bugs

-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   

Enables BIND8 like NSTATS and 
XSTATS
Use libevent or libev, useful when zone



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2016-09-06 Thread Lars Wendler
commit: f9466a3edc5ce3c70da94925c7587093b4b7a6d0
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Sep  6 15:00:13 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Sep  6 18:19:44 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9466a3e

net-dns/nsd: Removed old.

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest |  1 -
 net-dns/nsd/nsd-4.1.7.ebuild | 96 
 2 files changed, 97 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 44265ba..7457ed8 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -2,4 +2,3 @@ DIST nsd-3.2.22.tar.gz 924627 SHA256 
47c2b424c719a1535f709f4e82d796bca43cad86731
 DIST nsd-4.1.10.tar.gz 1075892 SHA256 
3a757014046752a0b0b11c1a2e22a36bb796f89f6939147ed3226556b4298727 SHA512 
e77c858d34002e54085f3a39eda7c6229f21f980339beb9a9d5719245d6010e5435a13dba978ac1aed9b712ed49e5a8ca75cb216cb50dd590556077d32b97a96
 WHIRLPOOL 
8d04b8661e821ec49c93a00a088bec83b3ca3faf7c07d9d720cba1c5c71fc2db3aafc95b5d0d3a8e848c38f11bd9daeb1a53da752bcf8314722aefbd1d55c4d5
 DIST nsd-4.1.11.tar.gz 1080220 SHA256 
c7712fd05eb0ab97040738e01d9369d02b89c0a7fa0943fd5bfc43b2111a92df SHA512 
e5f4ad1d39bd75b086f3fc3281fa6ac31f4b6ba9c4a9e23bba527d1a1374dfaf0acaac24168bb5a3ad5a041829d1864331928f18ba49562a25e3f8651609a1f7
 WHIRLPOOL 
187088f8b1c4c92a7e67535b9f2d1520ff3d056c209535afa74079f4b680bf2afe7766e5a102b1481cfe11beb2169b4e1dedcec6d137ab3044e04cf5715fc579
 DIST nsd-4.1.12.tar.gz 1080273 SHA256 
fd1979dff1fba55310fd4f439dc9f3f4701d435c0ec4fb9af533e12c7f27d5de SHA512 
f78c0a24669ce8a0cf5640d90f5dfc8756009a840545feddd9c466a5f0b7441d470efb267f7ad38ed45321a6f8b75ad7db9b13bdaefab55b7614ebb3e9bd183b
 WHIRLPOOL 
6304ff6b25a315cf3e340d9cf3cffee141abfdceaeb71ac94c97fe78d14698fe2164042db7785a254feeecd4170c4ad7a8fccdf165cfb5bbefbe1244fdbd4bea
-DIST nsd-4.1.7.tar.gz 1072576 SHA256 
7ba8beb29b495ab795e927d9aa82a5bb1b66296a78f61ed47d6ccfe59e9b1a8a SHA512 
c2bdb03a09ac06d70feef2183e2d77ba7830777bac67ab974016f52791ad7ed9227a37a31325f5e4ab4baeacc4cb562d5af4cd85e5b6ddc83422ae5d0df8
 WHIRLPOOL 
4ba203a4f5e365f8f850436b9d721fa1d50dd180bfec14d6ab7ab3b89d2ff5a7fd5bc93c1f8b304a2fe5a070d4f3ae4f5786eeb8d9fbb159c53f12346d0342ba

diff --git a/net-dns/nsd/nsd-4.1.7.ebuild b/net-dns/nsd/nsd-4.1.7.ebuild
deleted file mode 100644
index b8dab32..
--- a/net-dns/nsd/nsd-4.1.7.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit user eutils systemd
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
-MY_PV=${PV/_rc/rc}
-MY_PV=${MY_PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-S="${WORKDIR}/${MY_P}"
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
-
-RDEPEND="
-   virtual/yacc
-   libevent? ( dev-libs/libevent )
-   ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( 
dev-libs/libressl:= ) )
-   munin? ( net-analyzer/munin )
-"
-DEPEND="
-   ${RDEPEND}
-   sys-devel/flex
-"
-
-src_prepare() {
-   # Fix the paths in the munin plugin to match our install
-   epatch "${FILESDIR}"/nsd_munin_.patch
-}
-
-src_configure() {
-   econf \
-   --enable-pie \
-   --enable-relro-now \
-   --enable-largefile \
-   --with-logfile="${EPREFIX}"/var/log/nsd.log \
-   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid \
-   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db \
-   --with-xfrdir="${EPREFIX}"/var/db/nsd \
-   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state \
-   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list \
-   --with-zonesdir="${EPREFIX}"/var/lib/nsd \
-   $(use_enable bind8-stats) \
-   $(use_enable bind8-stats zone-stats) \
-   $(use_enable ipv6) \
-   $(use_enable minimal-responses) \
-   $(use_enable mmap) \
-   $(use_enable nsec3) \
-   $(use_enable ratelimit) \
-   $(use_enable root-server) \
-   $(use_enable runtime-checks checking) \
-   $(use_with libevent) \
-   $(use_with ssl)
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
-   newinitd "${FILESDIR}"/nsd.initd nsd
-
-   # install munin plugin and config
-   if use munin; then
-   exeinto /usr/libexec/munin/plugins
-   

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2016-09-06 Thread Lars Wendler
commit: be928c1b6f243b8f337fd40c6d71cca0b09e9df7
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Sep  6 14:59:14 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Sep  6 18:19:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be928c1b

net-dns/nsd: Bump to version 4.1.12

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest  |  1 +
 net-dns/nsd/nsd-4.1.12.ebuild | 97 +++
 2 files changed, 98 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index c0a459e..44265ba 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,4 +1,5 @@
 DIST nsd-3.2.22.tar.gz 924627 SHA256 
47c2b424c719a1535f709f4e82d796bca43cad86731f5f275c9367040a474a03 SHA512 
2c0cbc97eaa376dcf496ed4323d9f7afb0dbf1852fa5fc9d8c7ecbcf8aaa1b025d56b5e439d19bc36b50deaf5f753fb08109d7e25dc1f8223fe85b7d017f81c3
 WHIRLPOOL 
271b47a331f2a63dd51bf642fed7083f27660f618fe0418c6b3a361d7b0a7ebda1a300d12d92c1c03e21cd17560ba4f2f2cdac76f7c6793d4befc71b66646f7d
 DIST nsd-4.1.10.tar.gz 1075892 SHA256 
3a757014046752a0b0b11c1a2e22a36bb796f89f6939147ed3226556b4298727 SHA512 
e77c858d34002e54085f3a39eda7c6229f21f980339beb9a9d5719245d6010e5435a13dba978ac1aed9b712ed49e5a8ca75cb216cb50dd590556077d32b97a96
 WHIRLPOOL 
8d04b8661e821ec49c93a00a088bec83b3ca3faf7c07d9d720cba1c5c71fc2db3aafc95b5d0d3a8e848c38f11bd9daeb1a53da752bcf8314722aefbd1d55c4d5
 DIST nsd-4.1.11.tar.gz 1080220 SHA256 
c7712fd05eb0ab97040738e01d9369d02b89c0a7fa0943fd5bfc43b2111a92df SHA512 
e5f4ad1d39bd75b086f3fc3281fa6ac31f4b6ba9c4a9e23bba527d1a1374dfaf0acaac24168bb5a3ad5a041829d1864331928f18ba49562a25e3f8651609a1f7
 WHIRLPOOL 
187088f8b1c4c92a7e67535b9f2d1520ff3d056c209535afa74079f4b680bf2afe7766e5a102b1481cfe11beb2169b4e1dedcec6d137ab3044e04cf5715fc579
+DIST nsd-4.1.12.tar.gz 1080273 SHA256 
fd1979dff1fba55310fd4f439dc9f3f4701d435c0ec4fb9af533e12c7f27d5de SHA512 
f78c0a24669ce8a0cf5640d90f5dfc8756009a840545feddd9c466a5f0b7441d470efb267f7ad38ed45321a6f8b75ad7db9b13bdaefab55b7614ebb3e9bd183b
 WHIRLPOOL 
6304ff6b25a315cf3e340d9cf3cffee141abfdceaeb71ac94c97fe78d14698fe2164042db7785a254feeecd4170c4ad7a8fccdf165cfb5bbefbe1244fdbd4bea
 DIST nsd-4.1.7.tar.gz 1072576 SHA256 
7ba8beb29b495ab795e927d9aa82a5bb1b66296a78f61ed47d6ccfe59e9b1a8a SHA512 
c2bdb03a09ac06d70feef2183e2d77ba7830777bac67ab974016f52791ad7ed9227a37a31325f5e4ab4baeacc4cb562d5af4cd85e5b6ddc83422ae5d0df8
 WHIRLPOOL 
4ba203a4f5e365f8f850436b9d721fa1d50dd180bfec14d6ab7ab3b89d2ff5a7fd5bc93c1f8b304a2fe5a070d4f3ae4f5786eeb8d9fbb159c53f12346d0342ba

diff --git a/net-dns/nsd/nsd-4.1.12.ebuild b/net-dns/nsd/nsd-4.1.12.ebuild
new file mode 100644
index ..3719d0f
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.12.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit user systemd
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV=${PV/_rc/rc}
+MY_PV=${MY_PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+S="${WORKDIR}/${MY_P}"
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
+
+RDEPEND="
+   virtual/yacc
+   libevent? ( dev-libs/libevent )
+   ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( 
dev-libs/libressl:= ) )
+   munin? ( net-analyzer/munin )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+"
+
+src_prepare() {
+   # Fix the paths in the munin plugin to match our install
+   eapply "${FILESDIR}"/nsd_munin_.patch
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --enable-pie \
+   --enable-relro-now \
+   --enable-largefile \
+   --with-logfile="${EPREFIX}"/var/log/nsd.log \
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid \
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db \
+   --with-xfrdir="${EPREFIX}"/var/db/nsd \
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state \
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list \
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd \
+   $(use_enable bind8-stats) \
+   $(use_enable bind8-stats zone-stats) \
+   $(use_enable ipv6) \
+   $(use_enable minimal-responses) \
+   $(use_enable mmap) \
+   $(use_enable nsec3) \
+   $(use_enable ratelimit) \
+   $(use_enable root-server) \
+   $(use_enable runtime-checks checking) \
+   $(use_with libevent) \
+   $(use_with ssl)
+}
+
+src_install() {
+  

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/, net-dns/nsd/files/

2016-08-26 Thread Lars Wendler
commit: eacfcb7d6472e421d231023cd49c4449dc88bc74
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Aug 26 07:32:36 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Aug 26 07:32:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eacfcb7d

net-dns/nsd: Another bugfix in new init script.

Revbump so users get the fix.

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/files/nsd.initd-r1 | 2 ++
 net-dns/nsd/{nsd-4.1.11-r1.ebuild => nsd-4.1.11-r2.ebuild} | 0
 2 files changed, 2 insertions(+)

diff --git a/net-dns/nsd/files/nsd.initd-r1 b/net-dns/nsd/files/nsd.initd-r1
index ef81f9e..a503b84 100755
--- a/net-dns/nsd/files/nsd.initd-r1
+++ b/net-dns/nsd/files/nsd.initd-r1
@@ -52,6 +52,8 @@ stop_pre() {
 }
 
 reload() {
+   checkconfig || return $?
+   pidfile="$(get_pidfile)"
ebegin "Reloading config and zone files"
kill -s HUP $(cat ${pidfile})
eend $?

diff --git a/net-dns/nsd/nsd-4.1.11-r1.ebuild b/net-dns/nsd/nsd-4.1.11-r2.ebuild
similarity index 100%
rename from net-dns/nsd/nsd-4.1.11-r1.ebuild
rename to net-dns/nsd/nsd-4.1.11-r2.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/, net-dns/nsd/files/

2016-08-25 Thread Lars Wendler
commit: 5dc98070b4ff04e3d47bad475d6032a4bdb41e72
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Aug 25 08:39:37 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Aug 25 08:39:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dc98070

net-dns/nsd: Minor bugfix in new init script. Revbump so users get the fix.

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/files/nsd.initd-r1  | 2 +-
 net-dns/nsd/{nsd-4.1.11.ebuild => nsd-4.1.11-r1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/nsd/files/nsd.initd-r1 b/net-dns/nsd/files/nsd.initd-r1
index 3f71e76..ef81f9e 100755
--- a/net-dns/nsd/files/nsd.initd-r1
+++ b/net-dns/nsd/files/nsd.initd-r1
@@ -42,8 +42,8 @@ configtest() {
 
 start_pre() {
checkconfig || return $?
-   checkpath --directory --owner nsd:nsd $(dirname "${pidfile}")
pidfile="$(get_pidfile)"
+   checkpath --directory --owner nsd:nsd "${pidfile%/*}" || return 1
 }
 
 stop_pre() {

diff --git a/net-dns/nsd/nsd-4.1.11.ebuild b/net-dns/nsd/nsd-4.1.11-r1.ebuild
similarity index 100%
rename from net-dns/nsd/nsd-4.1.11.ebuild
rename to net-dns/nsd/nsd-4.1.11-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2016-08-24 Thread Lars Wendler
commit: 6d9247dcf2d1b227fd00f308128bc7d5a7ce1803
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Aug 24 16:00:41 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Aug 24 16:00:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d9247dc

net-dns/nsd: Added myself as maintainer.

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/metadata.xml | 5 +
 1 file changed, 5 insertions(+)

diff --git a/net-dns/nsd/metadata.xml b/net-dns/nsd/metadata.xml
index 3f6ce15..d63afb1 100644
--- a/net-dns/nsd/metadata.xml
+++ b/net-dns/nsd/metadata.xml
@@ -11,6 +11,11 @@
Wolfram Schlich
proxy-maintainer, please CC on bugs

+   
+   polynomia...@gentoo.org
+   Lars Wendler
+   proxy-maintainer, please CC on bugs
+   

proxy-ma...@gentoo.org
Proxy Maintainers



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/, net-dns/nsd/files/

2016-08-24 Thread Lars Wendler
commit: b4926dc5f401a6ff15fc6e4facfffd90bdc25cc9
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Aug 24 15:59:18 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Aug 24 15:59:30 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4926dc5

net-dns/nsd: Added partially rewritten init scrip with "reload" target.

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/files/nsd.initd-r1 | 58 ++
 net-dns/nsd/nsd-4.1.11.ebuild  |  2 +-
 2 files changed, 59 insertions(+), 1 deletion(-)

diff --git a/net-dns/nsd/files/nsd.initd-r1 b/net-dns/nsd/files/nsd.initd-r1
new file mode 100755
index ..3f71e76
--- /dev/null
+++ b/net-dns/nsd/files/nsd.initd-r1
@@ -0,0 +1,58 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+description="NSD is an authoritative-only, high performance, open source name 
server"
+extra_commands="configtest"
+extra_started_commands="reload"
+
+# these can be overridden in /etc/conf.d/nsd if necessary
+NSD_CONFIG="${NSD_CONFIG:-/etc/nsd/nsd.conf}"
+NSD_CHECKCONF="${NSD_CHECKCONF:-/usr/sbin/nsd-checkconf}"
+command="${NSD_BINARY:-/usr/sbin/nsd}"
+command_args="-c ${NSD_CONFIG}"
+
+depend() {
+   need net
+   use logger
+}
+
+get_pidfile() {
+   printf '%s' "$("${NSD_CHECKCONF}" -o pidfile "${NSD_CONFIG}")"
+}
+
+checkconfig() {
+   if ! test -e "${NSD_CONFIG}"; then
+   eerror "You need to create an appropriate config file."
+   eerror "An example can be found in /etc/nsd/nsd.conf.sample"
+   return 1
+   elif ! "${NSD_CHECKCONF}" "${NSD_CONFIG}"; then
+   eerror "You have errors in your configfile (${NSD_CONFIG})"
+   return $?
+   fi
+   return 0
+}
+
+configtest() {
+   ebegin "Checking ${SVCNAME} configuration"
+   checkconfig
+   eend $?
+}
+
+start_pre() {
+   checkconfig || return $?
+   checkpath --directory --owner nsd:nsd $(dirname "${pidfile}")
+   pidfile="$(get_pidfile)"
+}
+
+stop_pre() {
+   checkconfig || return $?
+   pidfile="$(get_pidfile)"
+}
+
+reload() {
+   ebegin "Reloading config and zone files"
+   kill -s HUP $(cat ${pidfile})
+   eend $?
+}

diff --git a/net-dns/nsd/nsd-4.1.11.ebuild b/net-dns/nsd/nsd-4.1.11.ebuild
index 59948d2..3719d0f 100644
--- a/net-dns/nsd/nsd-4.1.11.ebuild
+++ b/net-dns/nsd/nsd-4.1.11.ebuild
@@ -67,7 +67,7 @@ src_install() {
 
dodoc 
doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
 
-   newinitd "${FILESDIR}"/nsd.initd nsd
+   newinitd "${FILESDIR}"/nsd.initd-r1 nsd
 
# install munin plugin and config
if use munin ; then



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2016-08-23 Thread Lars Wendler
commit: 9ea8412f3efb4c44a68929e9f0d7f2bed6cbc568
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Aug 23 13:15:02 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Aug 23 13:17:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ea8412f

net-dns/nsd: Bump to version 4.1.11

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest  |  1 +
 net-dns/nsd/nsd-4.1.11.ebuild | 97 +++
 2 files changed, 98 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 69cb376..89d377c 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -2,5 +2,6 @@ DIST nsd-3.2.20.tar.gz 925600 SHA256 
cc3f04291a043d5350e67e1590003429ebf64975367
 DIST nsd-3.2.21.tar.gz 923043 SHA256 
1a3a1ceebff7277e9632160575543e0648dc0d1dfb2ffe42ed23fabec7503501 SHA512 
5bd37aff0fcb08b2ef3bf3c18281534be29941203483d9056c4fc733825879f9964a46d62ffd9b8fc5b9be2a2063e481810b4d169bfeee314be6ce217fce6798
 WHIRLPOOL 
eb8788a3288f4cc66fd7f58ca3438bf0420baeb892e8960b8533bd6caebd5bef4596bb4d71d577434a0a14e5e9c595b2a9a2642144531e77d7e7e564441e9337
 DIST nsd-3.2.22.tar.gz 924627 SHA256 
47c2b424c719a1535f709f4e82d796bca43cad86731f5f275c9367040a474a03 SHA512 
2c0cbc97eaa376dcf496ed4323d9f7afb0dbf1852fa5fc9d8c7ecbcf8aaa1b025d56b5e439d19bc36b50deaf5f753fb08109d7e25dc1f8223fe85b7d017f81c3
 WHIRLPOOL 
271b47a331f2a63dd51bf642fed7083f27660f618fe0418c6b3a361d7b0a7ebda1a300d12d92c1c03e21cd17560ba4f2f2cdac76f7c6793d4befc71b66646f7d
 DIST nsd-4.1.10.tar.gz 1075892 SHA256 
3a757014046752a0b0b11c1a2e22a36bb796f89f6939147ed3226556b4298727 SHA512 
e77c858d34002e54085f3a39eda7c6229f21f980339beb9a9d5719245d6010e5435a13dba978ac1aed9b712ed49e5a8ca75cb216cb50dd590556077d32b97a96
 WHIRLPOOL 
8d04b8661e821ec49c93a00a088bec83b3ca3faf7c07d9d720cba1c5c71fc2db3aafc95b5d0d3a8e848c38f11bd9daeb1a53da752bcf8314722aefbd1d55c4d5
+DIST nsd-4.1.11.tar.gz 1080220 SHA256 
c7712fd05eb0ab97040738e01d9369d02b89c0a7fa0943fd5bfc43b2111a92df SHA512 
e5f4ad1d39bd75b086f3fc3281fa6ac31f4b6ba9c4a9e23bba527d1a1374dfaf0acaac24168bb5a3ad5a041829d1864331928f18ba49562a25e3f8651609a1f7
 WHIRLPOOL 
187088f8b1c4c92a7e67535b9f2d1520ff3d056c209535afa74079f4b680bf2afe7766e5a102b1481cfe11beb2169b4e1dedcec6d137ab3044e04cf5715fc579
 DIST nsd-4.1.7.tar.gz 1072576 SHA256 
7ba8beb29b495ab795e927d9aa82a5bb1b66296a78f61ed47d6ccfe59e9b1a8a SHA512 
c2bdb03a09ac06d70feef2183e2d77ba7830777bac67ab974016f52791ad7ed9227a37a31325f5e4ab4baeacc4cb562d5af4cd85e5b6ddc83422ae5d0df8
 WHIRLPOOL 
4ba203a4f5e365f8f850436b9d721fa1d50dd180bfec14d6ab7ab3b89d2ff5a7fd5bc93c1f8b304a2fe5a070d4f3ae4f5786eeb8d9fbb159c53f12346d0342ba
 DIST nsd-4.1.9.tar.gz 1073120 SHA256 
b811224d635331de741f1723aefc41adda0a0a3a499ec310aa01dd3b4b95c8f2 SHA512 
4602dfd07f41dca80fb3b2af471305ad2baba45f7aa294bd3e50d673ec6cc3b1170b410a425796cef52b3af6eea6282dcb00c1f21d5642b0962b3d111dade940
 WHIRLPOOL 
b747afb74e26f10b6170768dd46297356e7280021a33e94a0722963a60407d91eed63465c487d61db1cbe03de70f526a9a1657e6ede03eddf8d975ce81106beb

diff --git a/net-dns/nsd/nsd-4.1.11.ebuild b/net-dns/nsd/nsd-4.1.11.ebuild
new file mode 100644
index 000..59948d2
--- /dev/null
+++ b/net-dns/nsd/nsd-4.1.11.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit user systemd
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
+MY_PV=${PV/_rc/rc}
+MY_PV=${MY_PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+S="${WORKDIR}/${MY_P}"
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit 
root-server runtime-checks ssl libressl"
+
+RDEPEND="
+   virtual/yacc
+   libevent? ( dev-libs/libevent )
+   ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( 
dev-libs/libressl:= ) )
+   munin? ( net-analyzer/munin )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+"
+
+src_prepare() {
+   # Fix the paths in the munin plugin to match our install
+   eapply "${FILESDIR}"/nsd_munin_.patch
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --enable-pie \
+   --enable-relro-now \
+   --enable-largefile \
+   --with-logfile="${EPREFIX}"/var/log/nsd.log \
+   --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid \
+   --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db \
+   --with-xfrdir="${EPREFIX}"/var/db/nsd \
+   --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state \
+   --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list \
+   --with-zonesdir="${EPREFIX}"/var/lib/nsd \
+   $(use_enable 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2016-08-23 Thread Lars Wendler
commit: 66e077396155ff576487abbaf2101c975df34a9f
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Aug 23 13:17:39 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Aug 23 13:17:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66e07739

net-dns/nsd: Removed old.

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest  |  3 --
 net-dns/nsd/nsd-3.2.20.ebuild | 80 ---
 net-dns/nsd/nsd-3.2.21.ebuild | 81 
 net-dns/nsd/nsd-4.1.9.ebuild  | 97 ---
 4 files changed, 261 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 89d377c..c0a459e 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,7 +1,4 @@
-DIST nsd-3.2.20.tar.gz 925600 SHA256 
cc3f04291a043d5350e67e1590003429ebf64975367858f70b3bf623ce609e16 SHA512 
9decbdde984ec6b8d491f57a2a38441415721f108898f552a19740ed51c56e049cb01059952937841a2f8ea9574e3ee6a03177a4c23e827295c1fd6afbcd3d99
 WHIRLPOOL 
713d1d596c1176983e40a658f1033ba1275d23abcde9f3902c76823a2071ee3230baa21b9dc5af65c8abe270fbb242fb521b4246caee3d12818fe530c69c
-DIST nsd-3.2.21.tar.gz 923043 SHA256 
1a3a1ceebff7277e9632160575543e0648dc0d1dfb2ffe42ed23fabec7503501 SHA512 
5bd37aff0fcb08b2ef3bf3c18281534be29941203483d9056c4fc733825879f9964a46d62ffd9b8fc5b9be2a2063e481810b4d169bfeee314be6ce217fce6798
 WHIRLPOOL 
eb8788a3288f4cc66fd7f58ca3438bf0420baeb892e8960b8533bd6caebd5bef4596bb4d71d577434a0a14e5e9c595b2a9a2642144531e77d7e7e564441e9337
 DIST nsd-3.2.22.tar.gz 924627 SHA256 
47c2b424c719a1535f709f4e82d796bca43cad86731f5f275c9367040a474a03 SHA512 
2c0cbc97eaa376dcf496ed4323d9f7afb0dbf1852fa5fc9d8c7ecbcf8aaa1b025d56b5e439d19bc36b50deaf5f753fb08109d7e25dc1f8223fe85b7d017f81c3
 WHIRLPOOL 
271b47a331f2a63dd51bf642fed7083f27660f618fe0418c6b3a361d7b0a7ebda1a300d12d92c1c03e21cd17560ba4f2f2cdac76f7c6793d4befc71b66646f7d
 DIST nsd-4.1.10.tar.gz 1075892 SHA256 
3a757014046752a0b0b11c1a2e22a36bb796f89f6939147ed3226556b4298727 SHA512 
e77c858d34002e54085f3a39eda7c6229f21f980339beb9a9d5719245d6010e5435a13dba978ac1aed9b712ed49e5a8ca75cb216cb50dd590556077d32b97a96
 WHIRLPOOL 
8d04b8661e821ec49c93a00a088bec83b3ca3faf7c07d9d720cba1c5c71fc2db3aafc95b5d0d3a8e848c38f11bd9daeb1a53da752bcf8314722aefbd1d55c4d5
 DIST nsd-4.1.11.tar.gz 1080220 SHA256 
c7712fd05eb0ab97040738e01d9369d02b89c0a7fa0943fd5bfc43b2111a92df SHA512 
e5f4ad1d39bd75b086f3fc3281fa6ac31f4b6ba9c4a9e23bba527d1a1374dfaf0acaac24168bb5a3ad5a041829d1864331928f18ba49562a25e3f8651609a1f7
 WHIRLPOOL 
187088f8b1c4c92a7e67535b9f2d1520ff3d056c209535afa74079f4b680bf2afe7766e5a102b1481cfe11beb2169b4e1dedcec6d137ab3044e04cf5715fc579
 DIST nsd-4.1.7.tar.gz 1072576 SHA256 
7ba8beb29b495ab795e927d9aa82a5bb1b66296a78f61ed47d6ccfe59e9b1a8a SHA512 
c2bdb03a09ac06d70feef2183e2d77ba7830777bac67ab974016f52791ad7ed9227a37a31325f5e4ab4baeacc4cb562d5af4cd85e5b6ddc83422ae5d0df8
 WHIRLPOOL 
4ba203a4f5e365f8f850436b9d721fa1d50dd180bfec14d6ab7ab3b89d2ff5a7fd5bc93c1f8b304a2fe5a070d4f3ae4f5786eeb8d9fbb159c53f12346d0342ba
-DIST nsd-4.1.9.tar.gz 1073120 SHA256 
b811224d635331de741f1723aefc41adda0a0a3a499ec310aa01dd3b4b95c8f2 SHA512 
4602dfd07f41dca80fb3b2af471305ad2baba45f7aa294bd3e50d673ec6cc3b1170b410a425796cef52b3af6eea6282dcb00c1f21d5642b0962b3d111dade940
 WHIRLPOOL 
b747afb74e26f10b6170768dd46297356e7280021a33e94a0722963a60407d91eed63465c487d61db1cbe03de70f526a9a1657e6ede03eddf8d975ce81106beb

diff --git a/net-dns/nsd/nsd-3.2.20.ebuild b/net-dns/nsd/nsd-3.2.20.ebuild
deleted file mode 100644
index 4eb1005..000
--- a/net-dns/nsd/nsd-3.2.20.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit user
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-MY_PV=${PV/_rc/rc}
-MY_PV=${MY_PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-S="${WORKDIR}/${MY_P}"
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bind8-stats ipv6 minimal-responses mmap +nsec3 ratelimit root-server 
runtime-checks zone-stats"
-
-RDEPEND="
-   dev-libs/openssl:0=
-   virtual/yacc
-"
-DEPEND="
-   ${RDEPEND}
-   sys-devel/flex
-"
-
-pkg_setup() {
-   enewgroup nsd
-   enewuser nsd -1 -1 -1 nsd
-}
-
-src_configure() {
-   # ebuild.sh sets localstatedir to /var/lib, but nsd expects /var in 
several locations
-   # some of these cannot be changed by arguments to econf/configure, f.i. 
logfile
-   econf \
-   --localstatedir="${EPREFIX}/var" \
-   --with-pidfile="${EPREFIX}/var/run/nsd/nsd.pid" \
-   --with-zonesdir="${EPREFIX}/var/lib/nsd" \
-   --enable-largefile \
-   $(use_enable bind8-stats) \
-   

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2016-08-06 Thread Michał Górny
commit: 8b3daab1bee67f37dc81eff4ca0ddc2bbbacc254
Author: Felix Janda  posteo  de>
AuthorDate: Fri Aug  5 16:19:34 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug  6 16:46:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b3daab1

net-dns/nsd: whitespace

 net-dns/nsd/nsd-3.2.20.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/net-dns/nsd/nsd-3.2.20.ebuild b/net-dns/nsd/nsd-3.2.20.ebuild
index 94a89c9..4eb1005 100644
--- a/net-dns/nsd/nsd-3.2.20.ebuild
+++ b/net-dns/nsd/nsd-3.2.20.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -77,5 +77,4 @@ src_install() {
 
# remove /var/run data created by Makefile, handled by initd script
rm -r "${ED}"/var/run || die "could not remove /var/run/ directory"
-
-}
\ No newline at end of file
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/, net-dns/nsd/files/

2016-07-05 Thread Lars Wendler
commit: e55b16b51f8a9b19e1708b09194d2aaee2259ac3
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jul  6 01:30:34 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jul  6 01:30:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e55b16b5

net-dns/nsd: Bump to versions 3.2.22 and 4.1.10 (bug #588100).

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest   |   2 +
 .../nsd-4.1.10-r4644-build-without-ipv6.patch  |  23 +
 net-dns/nsd/nsd-3.2.22.ebuild  |  87 ++
 net-dns/nsd/nsd-4.1.10.ebuild  | 100 +
 4 files changed, 212 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 8fc4155..69cb376 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,4 +1,6 @@
 DIST nsd-3.2.20.tar.gz 925600 SHA256 
cc3f04291a043d5350e67e1590003429ebf64975367858f70b3bf623ce609e16 SHA512 
9decbdde984ec6b8d491f57a2a38441415721f108898f552a19740ed51c56e049cb01059952937841a2f8ea9574e3ee6a03177a4c23e827295c1fd6afbcd3d99
 WHIRLPOOL 
713d1d596c1176983e40a658f1033ba1275d23abcde9f3902c76823a2071ee3230baa21b9dc5af65c8abe270fbb242fb521b4246caee3d12818fe530c69c
 DIST nsd-3.2.21.tar.gz 923043 SHA256 
1a3a1ceebff7277e9632160575543e0648dc0d1dfb2ffe42ed23fabec7503501 SHA512 
5bd37aff0fcb08b2ef3bf3c18281534be29941203483d9056c4fc733825879f9964a46d62ffd9b8fc5b9be2a2063e481810b4d169bfeee314be6ce217fce6798
 WHIRLPOOL 
eb8788a3288f4cc66fd7f58ca3438bf0420baeb892e8960b8533bd6caebd5bef4596bb4d71d577434a0a14e5e9c595b2a9a2642144531e77d7e7e564441e9337
+DIST nsd-3.2.22.tar.gz 924627 SHA256 
47c2b424c719a1535f709f4e82d796bca43cad86731f5f275c9367040a474a03 SHA512 
2c0cbc97eaa376dcf496ed4323d9f7afb0dbf1852fa5fc9d8c7ecbcf8aaa1b025d56b5e439d19bc36b50deaf5f753fb08109d7e25dc1f8223fe85b7d017f81c3
 WHIRLPOOL 
271b47a331f2a63dd51bf642fed7083f27660f618fe0418c6b3a361d7b0a7ebda1a300d12d92c1c03e21cd17560ba4f2f2cdac76f7c6793d4befc71b66646f7d
+DIST nsd-4.1.10.tar.gz 1075892 SHA256 
3a757014046752a0b0b11c1a2e22a36bb796f89f6939147ed3226556b4298727 SHA512 
e77c858d34002e54085f3a39eda7c6229f21f980339beb9a9d5719245d6010e5435a13dba978ac1aed9b712ed49e5a8ca75cb216cb50dd590556077d32b97a96
 WHIRLPOOL 
8d04b8661e821ec49c93a00a088bec83b3ca3faf7c07d9d720cba1c5c71fc2db3aafc95b5d0d3a8e848c38f11bd9daeb1a53da752bcf8314722aefbd1d55c4d5
 DIST nsd-4.1.7.tar.gz 1072576 SHA256 
7ba8beb29b495ab795e927d9aa82a5bb1b66296a78f61ed47d6ccfe59e9b1a8a SHA512 
c2bdb03a09ac06d70feef2183e2d77ba7830777bac67ab974016f52791ad7ed9227a37a31325f5e4ab4baeacc4cb562d5af4cd85e5b6ddc83422ae5d0df8
 WHIRLPOOL 
4ba203a4f5e365f8f850436b9d721fa1d50dd180bfec14d6ab7ab3b89d2ff5a7fd5bc93c1f8b304a2fe5a070d4f3ae4f5786eeb8d9fbb159c53f12346d0342ba
 DIST nsd-4.1.9.tar.gz 1073120 SHA256 
b811224d635331de741f1723aefc41adda0a0a3a499ec310aa01dd3b4b95c8f2 SHA512 
4602dfd07f41dca80fb3b2af471305ad2baba45f7aa294bd3e50d673ec6cc3b1170b410a425796cef52b3af6eea6282dcb00c1f21d5642b0962b3d111dade940
 WHIRLPOOL 
b747afb74e26f10b6170768dd46297356e7280021a33e94a0722963a60407d91eed63465c487d61db1cbe03de70f526a9a1657e6ede03eddf8d975ce81106beb

diff --git a/net-dns/nsd/files/nsd-4.1.10-r4644-build-without-ipv6.patch 
b/net-dns/nsd/files/nsd-4.1.10-r4644-build-without-ipv6.patch
new file mode 100644
index 000..cb59ca9
--- /dev/null
+++ b/net-dns/nsd/files/nsd-4.1.10-r4644-build-without-ipv6.patch
@@ -0,0 +1,23 @@
+ 4.1.10
+Index: query.c
+===
+diff --git a/query.c b/query.c
+--- a/query.c  (revision 4643)
 b/query.c  (revision 4644)
+@@ -704,11 +704,16 @@
+   result = answer_add_rrset(answer, section, owner, rrset);
+   switch (rrset_rrtype(rrset)) {
+   case TYPE_NS:
++#if defined(INET6)
+   /* if query over IPv6, swap A and ; put  first */
+   add_additional_rrsets(query, answer, rrset, 0, 1,
+   (query->addr.ss_family == AF_INET6)?
+   swap__additional_rr_types:
+   default_additional_rr_types);
++#else
++  add_additional_rrsets(query, answer, rrset, 0, 1,
++default_additional_rr_types);
++#endif
+   break;
+   case TYPE_MB:
+   add_additional_rrsets(query, answer, rrset, 0, 0,

diff --git a/net-dns/nsd/nsd-3.2.22.ebuild b/net-dns/nsd/nsd-3.2.22.ebuild
new file mode 100644
index 000..314d1d7
--- /dev/null
+++ b/net-dns/nsd/nsd-3.2.22.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit user
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+MY_PV=${PV/_rc/rc}
+MY_PV=${MY_PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+S="${WORKDIR}/${MY_P}"

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/files/, net-dns/nsd/

2016-04-07 Thread Lars Wendler
commit: 8713a559300c445253ba86715b0f7d3d6c7ac7d4
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Apr  7 14:36:18 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Apr  7 14:37:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8713a559

net-dns/nsd: Bump to versions 3.2.21 and 4.1.9

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest   |  2 +
 net-dns/nsd/files/nsd.initd|  4 +-
 net-dns/nsd/files/nsd3.initd-r1|  4 +-
 net-dns/nsd/files/nsd_munin_.patch |  4 +-
 net-dns/nsd/nsd-3.2.21.ebuild  | 81 +++
 net-dns/nsd/nsd-4.1.9.ebuild   | 97 ++
 6 files changed, 186 insertions(+), 6 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index d339e70..477fbd3 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,4 +1,6 @@
 DIST nsd-3.2.18.tar.gz 924566 SHA256 
541047c2114466d6fa7d7b9f397f632e542750475f1fcef5339da86a1ebdfcdb SHA512 
888618b51f8ec85413a95a9733198a5affc420b1a8c3b00ed18c8f73f1a0d0654b334ff22076adab23bac56ccb3684cb551ebec426d3d0df939eee24ae66044f
 WHIRLPOOL 
0d4ea8d6e26fc517404e6ebc427774a9c1f4ec7c7c096f7adc5ba51f3fa218215f666dd848a48650bba502ceb4d2795ecb264014f5f31409290937b089b4f062
 DIST nsd-3.2.20.tar.gz 925600 SHA256 
cc3f04291a043d5350e67e1590003429ebf64975367858f70b3bf623ce609e16 SHA512 
9decbdde984ec6b8d491f57a2a38441415721f108898f552a19740ed51c56e049cb01059952937841a2f8ea9574e3ee6a03177a4c23e827295c1fd6afbcd3d99
 WHIRLPOOL 
713d1d596c1176983e40a658f1033ba1275d23abcde9f3902c76823a2071ee3230baa21b9dc5af65c8abe270fbb242fb521b4246caee3d12818fe530c69c
+DIST nsd-3.2.21.tar.gz 923043 SHA256 
1a3a1ceebff7277e9632160575543e0648dc0d1dfb2ffe42ed23fabec7503501 SHA512 
5bd37aff0fcb08b2ef3bf3c18281534be29941203483d9056c4fc733825879f9964a46d62ffd9b8fc5b9be2a2063e481810b4d169bfeee314be6ce217fce6798
 WHIRLPOOL 
eb8788a3288f4cc66fd7f58ca3438bf0420baeb892e8960b8533bd6caebd5bef4596bb4d71d577434a0a14e5e9c595b2a9a2642144531e77d7e7e564441e9337
 DIST nsd-4.1.0.tar.gz 1056649 SHA256 
ec3f6902f6f26a6b9248dcd7e9f42472fa52755740b4ba6b9d3bd08910b39b62 SHA512 
1e49c14108b201ff8f14f58a9aae8ee4a69fba2e9494bdffc20ac079bff437ce91b069852d0aac639ec860a258b0b222b72269e62ad7b433c3df8d06afea8f03
 WHIRLPOOL 
6041ed2292412c91d3a7828727b5cf5f85cc6a0088e51cb791d2f56cfab2b8358627e1af7517091c3f119ce83218763dbd54279c88137c509bcf9e48c3049f94
 DIST nsd-4.1.7.tar.gz 1072576 SHA256 
7ba8beb29b495ab795e927d9aa82a5bb1b66296a78f61ed47d6ccfe59e9b1a8a SHA512 
c2bdb03a09ac06d70feef2183e2d77ba7830777bac67ab974016f52791ad7ed9227a37a31325f5e4ab4baeacc4cb562d5af4cd85e5b6ddc83422ae5d0df8
 WHIRLPOOL 
4ba203a4f5e365f8f850436b9d721fa1d50dd180bfec14d6ab7ab3b89d2ff5a7fd5bc93c1f8b304a2fe5a070d4f3ae4f5786eeb8d9fbb159c53f12346d0342ba
+DIST nsd-4.1.9.tar.gz 1073120 SHA256 
b811224d635331de741f1723aefc41adda0a0a3a499ec310aa01dd3b4b95c8f2 SHA512 
4602dfd07f41dca80fb3b2af471305ad2baba45f7aa294bd3e50d673ec6cc3b1170b410a425796cef52b3af6eea6282dcb00c1f21d5642b0962b3d111dade940
 WHIRLPOOL 
b747afb74e26f10b6170768dd46297356e7280021a33e94a0722963a60407d91eed63465c487d61db1cbe03de70f526a9a1657e6ede03eddf8d975ce81106beb

diff --git a/net-dns/nsd/files/nsd.initd b/net-dns/nsd/files/nsd.initd
index b6eced7..bbab4a6 100644
--- a/net-dns/nsd/files/nsd.initd
+++ b/net-dns/nsd/files/nsd.initd
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/net-dns/nsd/files/nsd3.initd-r1 b/net-dns/nsd/files/nsd3.initd-r1
index 46a7148..76db09d 100644
--- a/net-dns/nsd/files/nsd3.initd-r1
+++ b/net-dns/nsd/files/nsd3.initd-r1
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/net-dns/nsd/files/nsd_munin_.patch 
b/net-dns/nsd/files/nsd_munin_.patch
index 96902f4..36162f9 100644
--- a/net-dns/nsd/files/nsd_munin_.patch
+++ b/net-dns/nsd/files/nsd_munin_.patch
@@ -1,5 +1,5 @@
 contrib/nsd_munin_.orig2013-08-08 23:14:27.0 +0200
-+++ contrib/nsd_munin_ 2013-08-08 23:41:24.0 +0200
+--- a/contrib/nsd_munin_
 b/contrib/nsd_munin_
 @@ -87,10 +87,10 @@
  
  =cut

diff --git a/net-dns/nsd/nsd-3.2.21.ebuild b/net-dns/nsd/nsd-3.2.21.ebuild
new file mode 100644
index 000..4733f0d
--- /dev/null
+++ b/net-dns/nsd/nsd-3.2.21.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit user
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+MY_PV=${PV/_rc/rc}
+MY_PV=${MY_PV/_beta/b}
+MY_P=${PN}-${MY_PV}

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2016-04-07 Thread Lars Wendler
commit: 31774bb915617f081aa900219984ecea122deda9
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Apr  7 14:37:24 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Apr  7 14:37:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31774bb9

net-dns/nsd: Removed old.

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest  |  2 -
 net-dns/nsd/nsd-3.2.18.ebuild | 77 ---
 net-dns/nsd/nsd-4.1.0.ebuild  | 94 ---
 3 files changed, 173 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 477fbd3..8fc4155 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,6 +1,4 @@
-DIST nsd-3.2.18.tar.gz 924566 SHA256 
541047c2114466d6fa7d7b9f397f632e542750475f1fcef5339da86a1ebdfcdb SHA512 
888618b51f8ec85413a95a9733198a5affc420b1a8c3b00ed18c8f73f1a0d0654b334ff22076adab23bac56ccb3684cb551ebec426d3d0df939eee24ae66044f
 WHIRLPOOL 
0d4ea8d6e26fc517404e6ebc427774a9c1f4ec7c7c096f7adc5ba51f3fa218215f666dd848a48650bba502ceb4d2795ecb264014f5f31409290937b089b4f062
 DIST nsd-3.2.20.tar.gz 925600 SHA256 
cc3f04291a043d5350e67e1590003429ebf64975367858f70b3bf623ce609e16 SHA512 
9decbdde984ec6b8d491f57a2a38441415721f108898f552a19740ed51c56e049cb01059952937841a2f8ea9574e3ee6a03177a4c23e827295c1fd6afbcd3d99
 WHIRLPOOL 
713d1d596c1176983e40a658f1033ba1275d23abcde9f3902c76823a2071ee3230baa21b9dc5af65c8abe270fbb242fb521b4246caee3d12818fe530c69c
 DIST nsd-3.2.21.tar.gz 923043 SHA256 
1a3a1ceebff7277e9632160575543e0648dc0d1dfb2ffe42ed23fabec7503501 SHA512 
5bd37aff0fcb08b2ef3bf3c18281534be29941203483d9056c4fc733825879f9964a46d62ffd9b8fc5b9be2a2063e481810b4d169bfeee314be6ce217fce6798
 WHIRLPOOL 
eb8788a3288f4cc66fd7f58ca3438bf0420baeb892e8960b8533bd6caebd5bef4596bb4d71d577434a0a14e5e9c595b2a9a2642144531e77d7e7e564441e9337
-DIST nsd-4.1.0.tar.gz 1056649 SHA256 
ec3f6902f6f26a6b9248dcd7e9f42472fa52755740b4ba6b9d3bd08910b39b62 SHA512 
1e49c14108b201ff8f14f58a9aae8ee4a69fba2e9494bdffc20ac079bff437ce91b069852d0aac639ec860a258b0b222b72269e62ad7b433c3df8d06afea8f03
 WHIRLPOOL 
6041ed2292412c91d3a7828727b5cf5f85cc6a0088e51cb791d2f56cfab2b8358627e1af7517091c3f119ce83218763dbd54279c88137c509bcf9e48c3049f94
 DIST nsd-4.1.7.tar.gz 1072576 SHA256 
7ba8beb29b495ab795e927d9aa82a5bb1b66296a78f61ed47d6ccfe59e9b1a8a SHA512 
c2bdb03a09ac06d70feef2183e2d77ba7830777bac67ab974016f52791ad7ed9227a37a31325f5e4ab4baeacc4cb562d5af4cd85e5b6ddc83422ae5d0df8
 WHIRLPOOL 
4ba203a4f5e365f8f850436b9d721fa1d50dd180bfec14d6ab7ab3b89d2ff5a7fd5bc93c1f8b304a2fe5a070d4f3ae4f5786eeb8d9fbb159c53f12346d0342ba
 DIST nsd-4.1.9.tar.gz 1073120 SHA256 
b811224d635331de741f1723aefc41adda0a0a3a499ec310aa01dd3b4b95c8f2 SHA512 
4602dfd07f41dca80fb3b2af471305ad2baba45f7aa294bd3e50d673ec6cc3b1170b410a425796cef52b3af6eea6282dcb00c1f21d5642b0962b3d111dade940
 WHIRLPOOL 
b747afb74e26f10b6170768dd46297356e7280021a33e94a0722963a60407d91eed63465c487d61db1cbe03de70f526a9a1657e6ede03eddf8d975ce81106beb

diff --git a/net-dns/nsd/nsd-3.2.18.ebuild b/net-dns/nsd/nsd-3.2.18.ebuild
deleted file mode 100644
index 5636fde..000
--- a/net-dns/nsd/nsd-3.2.18.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit user
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-MY_PV=${PV/_rc/rc}
-MY_PV=${MY_PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-S="${WORKDIR}/${MY_P}"
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bind8-stats ipv6 minimal-responses mmap +nsec3 ratelimit root-server 
runtime-checks zone-stats"
-
-RDEPEND="
-   dev-libs/openssl
-   virtual/yacc
-"
-DEPEND="
-   ${RDEPEND}
-   sys-devel/flex
-"
-
-src_configure() {
-   # ebuild.sh sets localstatedir to /var/lib, but nsd expects /var in 
several locations
-   # some of these cannot be changed by arguments to econf/configure, f.i. 
logfile
-   econf \
-   --localstatedir="${EPREFIX}/var" \
-   --with-pidfile="${EPREFIX}/var/run/nsd/nsd.pid" \
-   --with-zonesdir="${EPREFIX}/var/lib/nsd" \
-   --enable-largefile \
-   $(use_enable bind8-stats) \
-   $(use_enable ipv6) \
-   $(use_enable minimal-responses) \
-   $(use_enable mmap) \
-   $(use_enable nsec3) \
-   $(use_enable ratelimit) \
-   $(use_enable root-server) \
-   $(use_enable runtime-checks checking) \
-   $(use_enable zone-stats)
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   dodoc 
doc/{ChangeLog,CREDITS,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
-   insinto /usr/share/nsd
-   doins 

[gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/

2015-12-14 Thread Lars Wendler
commit: 53b13a92beb14c6356ed4fb8bc72161b0827dfca
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Dec 14 10:41:16 2015 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Dec 14 10:41:16 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53b13a92

net-dns/nsd: Bump to versions 3.2.20 and 4.1.7 (bug #541036).

Proxy commit for Tom Hendrikx.

Package-Manager: portage-2.2.26
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest  |  2 +
 net-dns/nsd/nsd-3.2.20.ebuild | 81 
 net-dns/nsd/nsd-4.1.7.ebuild  | 96 +++
 3 files changed, 179 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 806cd1e..d339e70 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,4 @@
 DIST nsd-3.2.18.tar.gz 924566 SHA256 
541047c2114466d6fa7d7b9f397f632e542750475f1fcef5339da86a1ebdfcdb SHA512 
888618b51f8ec85413a95a9733198a5affc420b1a8c3b00ed18c8f73f1a0d0654b334ff22076adab23bac56ccb3684cb551ebec426d3d0df939eee24ae66044f
 WHIRLPOOL 
0d4ea8d6e26fc517404e6ebc427774a9c1f4ec7c7c096f7adc5ba51f3fa218215f666dd848a48650bba502ceb4d2795ecb264014f5f31409290937b089b4f062
+DIST nsd-3.2.20.tar.gz 925600 SHA256 
cc3f04291a043d5350e67e1590003429ebf64975367858f70b3bf623ce609e16 SHA512 
9decbdde984ec6b8d491f57a2a38441415721f108898f552a19740ed51c56e049cb01059952937841a2f8ea9574e3ee6a03177a4c23e827295c1fd6afbcd3d99
 WHIRLPOOL 
713d1d596c1176983e40a658f1033ba1275d23abcde9f3902c76823a2071ee3230baa21b9dc5af65c8abe270fbb242fb521b4246caee3d12818fe530c69c
 DIST nsd-4.1.0.tar.gz 1056649 SHA256 
ec3f6902f6f26a6b9248dcd7e9f42472fa52755740b4ba6b9d3bd08910b39b62 SHA512 
1e49c14108b201ff8f14f58a9aae8ee4a69fba2e9494bdffc20ac079bff437ce91b069852d0aac639ec860a258b0b222b72269e62ad7b433c3df8d06afea8f03
 WHIRLPOOL 
6041ed2292412c91d3a7828727b5cf5f85cc6a0088e51cb791d2f56cfab2b8358627e1af7517091c3f119ce83218763dbd54279c88137c509bcf9e48c3049f94
+DIST nsd-4.1.7.tar.gz 1072576 SHA256 
7ba8beb29b495ab795e927d9aa82a5bb1b66296a78f61ed47d6ccfe59e9b1a8a SHA512 
c2bdb03a09ac06d70feef2183e2d77ba7830777bac67ab974016f52791ad7ed9227a37a31325f5e4ab4baeacc4cb562d5af4cd85e5b6ddc83422ae5d0df8
 WHIRLPOOL 
4ba203a4f5e365f8f850436b9d721fa1d50dd180bfec14d6ab7ab3b89d2ff5a7fd5bc93c1f8b304a2fe5a070d4f3ae4f5786eeb8d9fbb159c53f12346d0342ba

diff --git a/net-dns/nsd/nsd-3.2.20.ebuild b/net-dns/nsd/nsd-3.2.20.ebuild
new file mode 100644
index 000..94a89c9
--- /dev/null
+++ b/net-dns/nsd/nsd-3.2.20.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit user
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+MY_PV=${PV/_rc/rc}
+MY_PV=${MY_PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+S="${WORKDIR}/${MY_P}"
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats ipv6 minimal-responses mmap +nsec3 ratelimit root-server 
runtime-checks zone-stats"
+
+RDEPEND="
+   dev-libs/openssl:0=
+   virtual/yacc
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+"
+
+pkg_setup() {
+   enewgroup nsd
+   enewuser nsd -1 -1 -1 nsd
+}
+
+src_configure() {
+   # ebuild.sh sets localstatedir to /var/lib, but nsd expects /var in 
several locations
+   # some of these cannot be changed by arguments to econf/configure, f.i. 
logfile
+   econf \
+   --localstatedir="${EPREFIX}/var" \
+   --with-pidfile="${EPREFIX}/var/run/nsd/nsd.pid" \
+   --with-zonesdir="${EPREFIX}/var/lib/nsd" \
+   --enable-largefile \
+   $(use_enable bind8-stats) \
+   $(use_enable ipv6) \
+   $(use_enable minimal-responses) \
+   $(use_enable mmap) \
+   $(use_enable nsec3) \
+   $(use_enable ratelimit) \
+   $(use_enable root-server) \
+   $(use_enable runtime-checks checking) \
+   $(use_enable zone-stats)
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc 
doc/{ChangeLog,CREDITS,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
+
+   insinto /usr/share/nsd
+   doins contrib/nsd.zones2nsd.conf
+
+   exeinto /etc/cron.daily
+   newexe "${FILESDIR}"/nsd3-patch.cron nsd-patch.cron
+
+   newinitd "${FILESDIR}"/nsd3.initd-r1 nsd
+
+   # database directory, writable by nsd for database updates and zone 
transfers
+   dodir /var/db/nsd
+   fowners nsd:nsd /var/db/nsd
+   fperms 750 /var/db/nsd
+
+   # zones directory, writable by root for 'nsdc patch'
+   dodir /var/lib/nsd
+   fowners root:nsd /var/lib/nsd
+   fperms 750 /var/lib/nsd
+
+   # remove /var/run data created by Makefile, handled by initd script
+   rm -r "${ED}"/var/run || die "could not