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

2024-04-17 Thread Sam James
commit: b9693d92bba812a148f14e178fa0f259d23de576
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 17 21:59:18 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 17 21:59:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9693d92

net-dns/nsd: Stabilize 4.8.0-r1 amd64, #930033

Signed-off-by: Sam James  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.8.0-r1.ebuild b/net-dns/nsd/nsd-4.8.0-r1.ebuild
index 62663bcaf82e..fc6955f83a99 100644
--- a/net-dns/nsd/nsd-4.8.0-r1.ebuild
+++ b/net-dns/nsd/nsd-4.8.0-r1.ebuild
@@ -21,7 +21,7 @@ else

SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
S="${WORKDIR}"/${MY_P}
 
-   KEYWORDS="~amd64 x86"
+   KEYWORDS="amd64 x86"
fi
 fi
 



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

2024-04-17 Thread Sam James
commit: fdb1eee376780748f9f670c0a6e4ea5be5afb2a1
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 17 06:53:34 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 17 06:53:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdb1eee3

net-dns/nsd: Stabilize 4.8.0-r1 x86, #930033

Signed-off-by: Sam James  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.8.0-r1.ebuild b/net-dns/nsd/nsd-4.8.0-r1.ebuild
index 52ac334d942c..62663bcaf82e 100644
--- a/net-dns/nsd/nsd-4.8.0-r1.ebuild
+++ b/net-dns/nsd/nsd-4.8.0-r1.ebuild
@@ -21,7 +21,7 @@ else

SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
S="${WORKDIR}"/${MY_P}
 
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 x86"
fi
 fi
 



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

2024-02-24 Thread Jakov Smolić
commit: 2599ee239ec6ca8ddc0a0b5dec6877b5e0acf204
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Feb 25 02:52:45 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Feb 25 02:52:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2599ee23

net-dns/nsd: Stabilize 4.8.0 amd64, #925452

Signed-off-by: Jakov Smolić  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.8.0.ebuild b/net-dns/nsd/nsd-4.8.0.ebuild
index 299f877ca98b..ce4bcaba54e0 100644
--- a/net-dns/nsd/nsd-4.8.0.ebuild
+++ b/net-dns/nsd/nsd-4.8.0.ebuild
@@ -21,7 +21,7 @@ else

SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
S="${WORKDIR}"/${MY_P}
 
-   KEYWORDS="~amd64 x86"
+   KEYWORDS="amd64 x86"
fi
 fi
 



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

2024-02-24 Thread Jakov Smolić
commit: c6fe8c3a5544dd902d092f836facd166b5ffcd52
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Feb 25 02:52:44 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Feb 25 02:52:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6fe8c3a

net-dns/nsd: Stabilize 4.8.0 x86, #925452

Signed-off-by: Jakov Smolić  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.8.0.ebuild b/net-dns/nsd/nsd-4.8.0.ebuild
index abbd21ab799f..299f877ca98b 100644
--- a/net-dns/nsd/nsd-4.8.0.ebuild
+++ b/net-dns/nsd/nsd-4.8.0.ebuild
@@ -21,7 +21,7 @@ else

SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
S="${WORKDIR}"/${MY_P}
 
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 x86"
fi
 fi
 



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

2024-02-24 Thread Joshua Kinard
commit: 548388f74b57ce9db5fe3a34b9c1bf18a756d37a
Author: Joshua Kinard  gentoo  org>
AuthorDate: Sat Feb 24 23:40:40 2024 +
Commit: Joshua Kinard  gentoo  org>
CommitDate: Sat Feb 24 23:40:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=548388f7

net-dns/nsd: Take ownership

Signed-off-by: Joshua Kinard  gentoo.org>

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

diff --git a/net-dns/nsd/metadata.xml b/net-dns/nsd/metadata.xml
index 73010eb2f935..a1842bb7c035 100644
--- a/net-dns/nsd/metadata.xml
+++ b/net-dns/nsd/metadata.xml
@@ -1,7 +1,10 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   ku...@gentoo.org
+   Joshua Kinard
+   

Enables BIND8 like NSTATS and 
XSTATS
Enable the structured binary log 
format



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

2024-02-18 Thread Sam James
commit: d1a4e2715cabf9ac1230d296eab23d44132bf078
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 18 10:29:50 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 18 10:48:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1a4e271

net-dns/nsd: backport stats fix for 4.8.0

Signed-off-by: Sam James  gentoo.org>

 .../nsd/files/nsd-4.8.0-implausible-stats.patch|  22 
 net-dns/nsd/nsd-4.8.0-r1.ebuild| 128 +
 2 files changed, 150 insertions(+)

diff --git a/net-dns/nsd/files/nsd-4.8.0-implausible-stats.patch 
b/net-dns/nsd/files/nsd-4.8.0-implausible-stats.patch
new file mode 100644
index ..318f2a5e2f55
--- /dev/null
+++ b/net-dns/nsd/files/nsd-4.8.0-implausible-stats.patch
@@ -0,0 +1,22 @@
+https://github.com/NLnetLabs/nsd/issues/313
+https://github.com/NLnetLabs/nsd/commit/ccc1bbc28abd3a723c25cb8dcc735731926979d0
+
+From ccc1bbc28abd3a723c25cb8dcc735731926979d0 Mon Sep 17 00:00:00 2001
+From: "W.C.A. Wijngaards" 
+Date: Tue, 6 Feb 2024 11:44:24 +0100
+Subject: [PATCH] - Fix #313: nsd 4.8 stats with implausible spikes.
+
+--- a/remote.c
 b/remote.c
+@@ -2932,7 +2932,9 @@ process_stats(RES* ssl, xfrd_state_type* xfrd, int peek)
+   process_stats_manage_clear(xfrd, stats, peek);
+   process_stats_add_total(xfrd, , stats);
+   print_stats(ssl, xfrd, , !peek, , zonestats);
+-  xfrd->nsd->rc->stats_time = stattime;
++  if(!peek) {
++  xfrd->nsd->rc->stats_time = stattime;
++  }
+ 
+   free(stats);
+ #ifdef USE_ZONE_STATS
+

diff --git a/net-dns/nsd/nsd-4.8.0-r1.ebuild b/net-dns/nsd/nsd-4.8.0-r1.ebuild
new file mode 100644
index ..52ac334d942c
--- /dev/null
+++ b/net-dns/nsd/nsd-4.8.0-r1.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="https://www.nlnetlabs.nl/projects/nsd;
+
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git;
+else
+   # 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}"
+
+   if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then
+   
SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+   S="${WORKDIR}"/${MY_P}
+
+   KEYWORDS="~amd64 ~x86"
+   fi
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="bind8-stats debug dnstap libevent minimal-responses mmap munin +nsec3 
ratelimit root-server ssl systemd"
+
+RDEPEND="
+   acct-group/nsd
+   acct-user/nsd
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   libevent? ( dev-libs/libevent )
+   munin? ( net-analyzer/munin )
+   ssl? ( dev-libs/openssl:0= )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   app-alternatives/lex
+   app-alternatives/yacc
+   systemd? ( virtual/pkgconfig )
+"
+
+PATCHES=(
+   # Fix the paths in the munin plugin to match our install
+   "${FILESDIR}"/nsd_munin_.patch
+   "${FILESDIR}"/${P}-implausible-stats.patch
+)
+
+src_prepare() {
+   default
+
+   # Required to get correct pkg-config macros with USE="systemd"
+   # See bugs #663618 and #758050
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-ipv6
+   --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 debug checking)
+   $(use_enable dnstap)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(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 

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

2023-12-08 Thread Sam James
commit: ded6a8ffe0e800dc4eec9de69feb67b5434f0dd9
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec  8 08:30:38 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec  8 08:34:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ded6a8ff

net-dns/nsd: drop 4.6.1-r1

Signed-off-by: Sam James  gentoo.org>

 net-dns/nsd/Manifest   |   1 -
 .../files/nsd-4.6.1-incompatible-ptr-types.patch   |  24 
 net-dns/nsd/nsd-4.6.1-r1.ebuild| 128 -
 3 files changed, 153 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index eca0f072344b..5ba3d093bc34 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1 @@
-DIST nsd-4.6.1.tar.gz 1281583 BLAKE2B 
5eff5560ce16451a57905bb9d979c81918b6b55f72e1f1b89ab8d2e479ac36bf4f95152c77b1f1b3ce0af90bde8f25d2cad7226450c5cbc879f112adea2b3a69
 SHA512 
cab557a20cf8564cbf6e38405ca28b00baa6e14105527c3b16f49f57fed5e39cdb2bcd62999bad4aff2c69e0967bdba66a1eaa7b73a0d4d99d97535cc5860bfe
 DIST nsd-4.7.0.tar.gz 1289477 BLAKE2B 
d3949c8b65376ea78c700efaeb988acbfac5a5ba338f9bf29035176a7da6730ee8b7a2b6bfc5573ad178db80166ca74d71d313bf3d405acc666bf87f17dac63b
 SHA512 
387e66993517c015ea49fc7a985c1f746623ae30a82bd01f224efbdb7c58d1d2f3e5a5a3574203959047876c632ec464b6682d1644f0e0f157ec0e6fb3f0cdbb

diff --git a/net-dns/nsd/files/nsd-4.6.1-incompatible-ptr-types.patch 
b/net-dns/nsd/files/nsd-4.6.1-incompatible-ptr-types.patch
deleted file mode 100644
index 4b87be966eb0..
--- a/net-dns/nsd/files/nsd-4.6.1-incompatible-ptr-types.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-https://github.com/NLnetLabs/nsd/issues/239
-https://github.com/NLnetLabs/nsd/commit/7162600301205c3c62a1695c0b29e079694b65ae
-
-From 7162600301205c3c62a1695c0b29e079694b65ae Mon Sep 17 00:00:00 2001
-From: "W.C.A. Wijngaards" 
-Date: Thu, 10 Nov 2022 09:47:59 +0100
-Subject: [PATCH] - Fix #239: -Wincompatible-pointer-types warning in remote.c.
-
 a/remote.c
-+++ b/remote.c
-@@ -1212,8 +1212,11 @@ do_stats(struct daemon_remote* rc, int peek, struct 
rc_state* rs)
-   /* force a reload */
-   xfrd_set_reload_now(xfrd);
- #else
-+  RES res;
-+  res.ssl = rs->ssl;
-+  res.fd = rs->fd;
-   (void)rc; (void)peek;
--  (void)ssl_printf(rs->ssl, "error no stats enabled at compile time\n");
-+  (void)ssl_printf(, "error no stats enabled at compile time\n");
- #endif /* BIND8_STATS */
- }
- 
-

diff --git a/net-dns/nsd/nsd-4.6.1-r1.ebuild b/net-dns/nsd/nsd-4.6.1-r1.ebuild
deleted file mode 100644
index df0ec4a834af..
--- a/net-dns/nsd/nsd-4.6.1-r1.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools systemd
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="https://www.nlnetlabs.nl/projects/nsd;
-
-if [[ ${PV} == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git;
-else
-   # 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}"
-
-   if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
-   
SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-   S="${WORKDIR}"/${MY_P}
-
-   KEYWORDS="amd64 x86"
-   fi
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="bind8-stats debug dnstap libevent minimal-responses mmap munin +nsec3 
ratelimit root-server ssl systemd"
-
-RDEPEND="
-   acct-group/nsd
-   acct-user/nsd
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c
-   )
-   libevent? ( dev-libs/libevent )
-   munin? ( net-analyzer/munin )
-   ssl? ( dev-libs/openssl:0= )
-   systemd? ( sys-apps/systemd )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   sys-devel/flex
-   app-alternatives/yacc
-   systemd? ( virtual/pkgconfig )
-"
-
-PATCHES=(
-   # Fix the paths in the munin plugin to match our install
-   "${FILESDIR}"/nsd_munin_.patch
-   "${FILESDIR}"/${P}-incompatible-ptr-types.patch
-)
-
-src_prepare() {
-   default
-
-   # Required to get correct pkg-config macros with USE="systemd"
-   # See bugs #663618 and #758050
-   eautoreconf
-}
-
-src_configure() {
-   local myeconfargs=(
-   --enable-ipv6
-   --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
-   

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

2023-12-08 Thread Sam James
commit: 7953ad4407831eb441dad115aae0526f6a9d6af5
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec  8 08:33:56 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec  8 08:34:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7953ad44

net-dns/nsd: add 4.8.0

Signed-off-by: Sam James  gentoo.org>

 net-dns/nsd/Manifest |   1 +
 net-dns/nsd/nsd-4.8.0.ebuild | 127 +++
 2 files changed, 128 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 5ba3d093bc34..26d35df9b207 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1 +1,2 @@
 DIST nsd-4.7.0.tar.gz 1289477 BLAKE2B 
d3949c8b65376ea78c700efaeb988acbfac5a5ba338f9bf29035176a7da6730ee8b7a2b6bfc5573ad178db80166ca74d71d313bf3d405acc666bf87f17dac63b
 SHA512 
387e66993517c015ea49fc7a985c1f746623ae30a82bd01f224efbdb7c58d1d2f3e5a5a3574203959047876c632ec464b6682d1644f0e0f157ec0e6fb3f0cdbb
+DIST nsd-4.8.0.tar.gz 1273228 BLAKE2B 
d1e6a5e8fb158bb32081bc7674d957e3f5a596ed10ee89dd6a5f6af9a79a8c130f2de7070345bee69cb7798e9f373d856a9336a9e9f65f733ff45e15e94833ff
 SHA512 
13c9ce6adfcbabf744ee2effebe6ae265d83476345a1edb60dc9c6d7f838a5e239e9b18e667924e5e76b74b2caac63818fcaecf7f0fa651ff21736174a46

diff --git a/net-dns/nsd/nsd-4.8.0.ebuild b/net-dns/nsd/nsd-4.8.0.ebuild
new file mode 100644
index ..d9028ba457da
--- /dev/null
+++ b/net-dns/nsd/nsd-4.8.0.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="https://www.nlnetlabs.nl/projects/nsd;
+
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git;
+else
+   # 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}"
+
+   if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then
+   
SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+   S="${WORKDIR}"/${MY_P}
+
+   KEYWORDS="~amd64 ~x86"
+   fi
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="bind8-stats debug dnstap libevent minimal-responses mmap munin +nsec3 
ratelimit root-server ssl systemd"
+
+RDEPEND="
+   acct-group/nsd
+   acct-user/nsd
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   libevent? ( dev-libs/libevent )
+   munin? ( net-analyzer/munin )
+   ssl? ( dev-libs/openssl:0= )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   sys-devel/flex
+   app-alternatives/yacc
+   systemd? ( virtual/pkgconfig )
+"
+
+PATCHES=(
+   # Fix the paths in the munin plugin to match our install
+   "${FILESDIR}"/nsd_munin_.patch
+)
+
+src_prepare() {
+   default
+
+   # Required to get correct pkg-config macros with USE="systemd"
+   # See bugs #663618 and #758050
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-ipv6
+   --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 debug checking)
+   $(use_enable dnstap)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(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 

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

2023-07-14 Thread Arthur Zamarin
commit: 898e0ae58dadf8c884ee7b6410a99fdfa916c22a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jul 14 17:07:36 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jul 14 17:07:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=898e0ae5

net-dns/nsd: Stabilize 4.7.0 x86, #910348

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.7.0.ebuild b/net-dns/nsd/nsd-4.7.0.ebuild
index 8d3338957bbb..d4f8ad2606c2 100644
--- a/net-dns/nsd/nsd-4.7.0.ebuild
+++ b/net-dns/nsd/nsd-4.7.0.ebuild
@@ -21,7 +21,7 @@ else

SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
S="${WORKDIR}"/${MY_P}
 
-   KEYWORDS="amd64 ~x86"
+   KEYWORDS="amd64 x86"
fi
 fi
 



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

2023-07-14 Thread Arthur Zamarin
commit: 156999e4fb3a86d689580cad93c027572d0bbeea
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jul 14 16:02:21 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jul 14 16:02:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=156999e4

net-dns/nsd: Stabilize 4.7.0 amd64, #910348

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.7.0.ebuild b/net-dns/nsd/nsd-4.7.0.ebuild
index 6c6eb84db034..8d3338957bbb 100644
--- a/net-dns/nsd/nsd-4.7.0.ebuild
+++ b/net-dns/nsd/nsd-4.7.0.ebuild
@@ -21,7 +21,7 @@ else

SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
S="${WORKDIR}"/${MY_P}
 
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="amd64 ~x86"
fi
 fi
 



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

2023-06-07 Thread Sam James
commit: 6e9437e116b0186d464b1fe48f9ff7f0617e71fd
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  7 11:20:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  7 11:20:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e9437e1

net-dns/nsd: fix build w/ USE='-bind8-stats -ssl'

Closes: https://bugs.gentoo.org/907997
Signed-off-by: Sam James  gentoo.org>

 .../files/nsd-4.7.0-no-bind8-stats-no-ssl.patch| 23 ++
 net-dns/nsd/nsd-4.7.0.ebuild   |  2 ++
 2 files changed, 25 insertions(+)

diff --git a/net-dns/nsd/files/nsd-4.7.0-no-bind8-stats-no-ssl.patch 
b/net-dns/nsd/files/nsd-4.7.0-no-bind8-stats-no-ssl.patch
new file mode 100644
index ..402a42e19e0c
--- /dev/null
+++ b/net-dns/nsd/files/nsd-4.7.0-no-bind8-stats-no-ssl.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/907997
+https://github.com/NLnetLabs/nsd/issues/283
+https://github.com/NLnetLabs/nsd/commit/f31d31ab1d45d615ebd192beaacac66746e0ff80
+
+From f31d31ab1d45d615ebd192beaacac66746e0ff80 Mon Sep 17 00:00:00 2001
+From: "W.C.A. Wijngaards" 
+Date: Wed, 7 Jun 2023 13:07:53 +0200
+Subject: [PATCH] - Fix #283: Compile failure in remote.c when
+ --disable-bind8-stats
+
+--- a/remote.c
 b/remote.c
+@@ -1246,7 +1246,9 @@ do_stats(struct daemon_remote* rc, int peek, struct 
rc_state* rs)
+   xfrd_set_reload_now(xfrd);
+ #else
+   RES res;
++#ifdef HAVE_SSL
+   res.ssl = rs->ssl;
++#endif
+   res.fd = rs->fd;
+   (void)rc; (void)peek;
+   (void)ssl_printf(, "error no stats enabled at compile time\n");
+

diff --git a/net-dns/nsd/nsd-4.7.0.ebuild b/net-dns/nsd/nsd-4.7.0.ebuild
index d9028ba457da..6c6eb84db034 100644
--- a/net-dns/nsd/nsd-4.7.0.ebuild
+++ b/net-dns/nsd/nsd-4.7.0.ebuild
@@ -51,6 +51,8 @@ BDEPEND="
 PATCHES=(
# Fix the paths in the munin plugin to match our install
"${FILESDIR}"/nsd_munin_.patch
+   # bug #907997
+   "${FILESDIR}"/${P}-no-bind8-stats-no-ssl.patch
 )
 
 src_prepare() {



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

2023-06-07 Thread Sam James
commit: 62b34373d6fd4bc4c52fe898023a1ddfe3aa74c7
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  7 08:57:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  7 09:09:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62b34373

net-dns/nsd: add 4.7.0

Closes: https://bugs.gentoo.org/879725
Signed-off-by: Sam James  gentoo.org>

 net-dns/nsd/Manifest  | 1 +
 net-dns/nsd/{nsd-.ebuild => nsd-4.7.0.ebuild} | 4 ++--
 net-dns/nsd/nsd-.ebuild   | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 19af23ce2df2..eca0f072344b 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1 +1,2 @@
 DIST nsd-4.6.1.tar.gz 1281583 BLAKE2B 
5eff5560ce16451a57905bb9d979c81918b6b55f72e1f1b89ab8d2e479ac36bf4f95152c77b1f1b3ce0af90bde8f25d2cad7226450c5cbc879f112adea2b3a69
 SHA512 
cab557a20cf8564cbf6e38405ca28b00baa6e14105527c3b16f49f57fed5e39cdb2bcd62999bad4aff2c69e0967bdba66a1eaa7b73a0d4d99d97535cc5860bfe
+DIST nsd-4.7.0.tar.gz 1289477 BLAKE2B 
d3949c8b65376ea78c700efaeb988acbfac5a5ba338f9bf29035176a7da6730ee8b7a2b6bfc5573ad178db80166ca74d71d313bf3d405acc666bf87f17dac63b
 SHA512 
387e66993517c015ea49fc7a985c1f746623ae30a82bd01f224efbdb7c58d1d2f3e5a5a3574203959047876c632ec464b6682d1644f0e0f157ec0e6fb3f0cdbb

diff --git a/net-dns/nsd/nsd-.ebuild b/net-dns/nsd/nsd-4.7.0.ebuild
similarity index 96%
copy from net-dns/nsd/nsd-.ebuild
copy to net-dns/nsd/nsd-4.7.0.ebuild
index 9a17b4f46b26..d9028ba457da 100644
--- a/net-dns/nsd/nsd-.ebuild
+++ b/net-dns/nsd/nsd-4.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,7 +17,7 @@ else
MY_PV="${MY_PV/_rc/rc}"
MY_P="${PN}-${MY_PV}"
 
-   if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
+   if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then

SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
S="${WORKDIR}"/${MY_P}
 

diff --git a/net-dns/nsd/nsd-.ebuild b/net-dns/nsd/nsd-.ebuild
index 9a17b4f46b26..d9028ba457da 100644
--- a/net-dns/nsd/nsd-.ebuild
+++ b/net-dns/nsd/nsd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,7 +17,7 @@ else
MY_PV="${MY_PV/_rc/rc}"
MY_P="${PN}-${MY_PV}"
 
-   if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
+   if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then

SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
S="${WORKDIR}"/${MY_P}
 



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

2022-12-28 Thread Sam James
commit: 424a3dba4f17ba746122b3dc5ac9b72e5a46151a
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 28 14:59:31 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 28 14:59:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=424a3dba

net-dns/nsd: drop 4.5.0

Signed-off-by: Sam James  gentoo.org>

 net-dns/nsd/Manifest |   1 -
 net-dns/nsd/metadata.xml |   2 -
 net-dns/nsd/nsd-4.5.0.ebuild | 119 ---
 3 files changed, 122 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 3e2730dac9d8..19af23ce2df2 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1 @@
-DIST nsd-4.5.0.tar.gz 1259059 BLAKE2B 
5c90a17b2c2df3cf06bea2609fb02198b4fdde3e9ed7cc0a07526d43069f735458a0c1775fc7b45ac7bd1fba42ec329fe5b67378d6282bf86f6c520f73b00397
 SHA512 
0309e1ff083b6f2118ba6fd59425319c21f31558d30e17a40eb8f1e53dee9e3e766d7b53eb50462130ba17b454a3559dc786d344cb779468d255732bbc6bc5da
 DIST nsd-4.6.1.tar.gz 1281583 BLAKE2B 
5eff5560ce16451a57905bb9d979c81918b6b55f72e1f1b89ab8d2e479ac36bf4f95152c77b1f1b3ce0af90bde8f25d2cad7226450c5cbc879f112adea2b3a69
 SHA512 
cab557a20cf8564cbf6e38405ca28b00baa6e14105527c3b16f49f57fed5e39cdb2bcd62999bad4aff2c69e0967bdba66a1eaa7b73a0d4d99d97535cc5860bfe

diff --git a/net-dns/nsd/metadata.xml b/net-dns/nsd/metadata.xml
index f4238fbfaaf3..73010eb2f935 100644
--- a/net-dns/nsd/metadata.xml
+++ b/net-dns/nsd/metadata.xml
@@ -14,8 +14,6 @@
Enables ratelimiting, based on query 
name,
type and source
Configure NSD as a root server
-   Enable runtime checks, this could 
lead 
-   to a reduced service level

Install a plugin for net-analyzer/munin to 
graph
statistical data from nsd.

diff --git a/net-dns/nsd/nsd-4.5.0.ebuild b/net-dns/nsd/nsd-4.5.0.ebuild
deleted file mode 100644
index 4f654418871a..
--- a/net-dns/nsd/nsd-4.5.0.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools systemd
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-LICENSE="BSD"
-SLOT="0"
-if [[ "${PV}" == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git;
-else
-   # 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}"
-
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="amd64 x86"
-   SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-   S="${WORKDIR}/${MY_P}"
-fi
-IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
-
-RDEPEND="
-   acct-group/nsd
-   acct-user/nsd
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c
-   )
-   libevent? ( dev-libs/libevent )
-   munin? ( net-analyzer/munin )
-   ssl? ( dev-libs/openssl:0= )
-   systemd? ( sys-apps/systemd )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   sys-devel/flex
-   app-alternatives/yacc
-   systemd? ( virtual/pkgconfig )
-"
-
-PATCHES=(
-   # Fix the paths in the munin plugin to match our install
-   "${FILESDIR}"/nsd_munin_.patch
-)
-
-src_prepare() {
-   default
-   # Required to get correct pkg-config macros with USE="systemd"
-   # see bugs #663618 and #758050
-   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}" 

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

2022-12-21 Thread Sam James
commit: 82aacfaa8959539d631d8434ef48948cad64e91b
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 21 22:24:46 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 21 22:43:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82aacfaa

net-dns/nsd: drop 4.3.8, 4.5.0-r1, 4.6.0

Bug: https://bugs.gentoo.org/886757
Signed-off-by: Sam James  gentoo.org>

 net-dns/nsd/Manifest|   2 -
 net-dns/nsd/nsd-4.3.8.ebuild| 117 
 net-dns/nsd/nsd-4.5.0-r1.ebuild | 127 
 net-dns/nsd/nsd-4.6.0.ebuild| 127 
 4 files changed, 373 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 6cc11ea67f69..3e2730dac9d8 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,4 +1,2 @@
-DIST nsd-4.3.8.tar.gz 1225840 BLAKE2B 
19d014f130844aab5b7c6224658c6e5a4a7d8d337ceb11e1641bceb367fe76b46be146c703296a12cec834020992eabec0e1ee8f3cb6211333ac8c4c7029fef5
 SHA512 
aec892f85a6757bfdf537c6f0b4bc3d60c564b3062b582af14df800b24261edc96bedcd0b6649444a46b198b9018397e356b919a871364032c8a2db6256b9268
 DIST nsd-4.5.0.tar.gz 1259059 BLAKE2B 
5c90a17b2c2df3cf06bea2609fb02198b4fdde3e9ed7cc0a07526d43069f735458a0c1775fc7b45ac7bd1fba42ec329fe5b67378d6282bf86f6c520f73b00397
 SHA512 
0309e1ff083b6f2118ba6fd59425319c21f31558d30e17a40eb8f1e53dee9e3e766d7b53eb50462130ba17b454a3559dc786d344cb779468d255732bbc6bc5da
-DIST nsd-4.6.0.tar.gz 1273532 BLAKE2B 
962bb93decb268d6958afad0e3182f256c91a9e78179db21458d00571df200faf23efe327b99a2bac423d092ad759dc678230bbdc45cfb95b75f2e7a271005c6
 SHA512 
e9f035e42f47ac115cb2c1d0ebdef8b13b1feebca91d4f840d36904efb5ab44a817584b28c9d0d3e236fde1581e8283bcdd554a5463d4b5788329f9245414cbb
 DIST nsd-4.6.1.tar.gz 1281583 BLAKE2B 
5eff5560ce16451a57905bb9d979c81918b6b55f72e1f1b89ab8d2e479ac36bf4f95152c77b1f1b3ce0af90bde8f25d2cad7226450c5cbc879f112adea2b3a69
 SHA512 
cab557a20cf8564cbf6e38405ca28b00baa6e14105527c3b16f49f57fed5e39cdb2bcd62999bad4aff2c69e0967bdba66a1eaa7b73a0d4d99d97535cc5860bfe

diff --git a/net-dns/nsd/nsd-4.3.8.ebuild b/net-dns/nsd/nsd-4.3.8.ebuild
deleted file mode 100644
index 4db15d73dd98..
--- a/net-dns/nsd/nsd-4.3.8.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-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"
-[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-KEYWORDS="amd64 x86"
-IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
-
-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? (
-   dev-libs/openssl:0=
-   )
-   systemd? ( sys-apps/systemd )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   sys-devel/flex
-   app-alternatives/yacc
-   systemd? ( virtual/pkgconfig )
-"
-
-PATCHES=(
-   # Fix the paths in the munin plugin to match our install
-   "${FILESDIR}"/nsd_munin_.patch
-)
-
-src_prepare() {
-   default
-   # Required to get correct pkg-config macros with USE="systemd"
-   # see bugs #663618 and #758050
-   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[@]}"
-}

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

2022-12-21 Thread Arthur Zamarin
commit: 5252fea9723ea2bacda1d57aee1eec09ae63a58a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Dec 21 20:03:34 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Dec 21 20:03:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5252fea9

net-dns/nsd: Stabilize 4.6.1-r1 amd64, #886757

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.6.1-r1.ebuild b/net-dns/nsd/nsd-4.6.1-r1.ebuild
index 6712f51ec431..df0ec4a834af 100644
--- a/net-dns/nsd/nsd-4.6.1-r1.ebuild
+++ b/net-dns/nsd/nsd-4.6.1-r1.ebuild
@@ -21,7 +21,7 @@ else

SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
S="${WORKDIR}"/${MY_P}
 
-   KEYWORDS="~amd64 x86"
+   KEYWORDS="amd64 x86"
fi
 fi
 



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

2022-12-18 Thread Arthur Zamarin
commit: 3c62b6d5c70ba064bd34127cef282f66e62d2361
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 18 20:23:01 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 18 20:23:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c62b6d5

net-dns/nsd: Stabilize 4.6.1-r1 x86, #886757

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.6.1-r1.ebuild b/net-dns/nsd/nsd-4.6.1-r1.ebuild
index c59029d31706..6712f51ec431 100644
--- a/net-dns/nsd/nsd-4.6.1-r1.ebuild
+++ b/net-dns/nsd/nsd-4.6.1-r1.ebuild
@@ -21,7 +21,7 @@ else

SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
S="${WORKDIR}"/${MY_P}
 
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 x86"
fi
 fi
 



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

2022-11-10 Thread Sam James
commit: b7347f602b97d59931c7f42987b277a1757ef7bb
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 10 09:06:51 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 10 09:06:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7347f60

net-dns/nsd: fix -Wincompatible-pointer-types

Signed-off-by: Sam James  gentoo.org>

 .../files/nsd-4.6.1-incompatible-ptr-types.patch   | 24 ++
 .../nsd/{nsd-4.6.1.ebuild => nsd-4.6.1-r1.ebuild}  |  1 +
 2 files changed, 25 insertions(+)

diff --git a/net-dns/nsd/files/nsd-4.6.1-incompatible-ptr-types.patch 
b/net-dns/nsd/files/nsd-4.6.1-incompatible-ptr-types.patch
new file mode 100644
index ..4b87be966eb0
--- /dev/null
+++ b/net-dns/nsd/files/nsd-4.6.1-incompatible-ptr-types.patch
@@ -0,0 +1,24 @@
+https://github.com/NLnetLabs/nsd/issues/239
+https://github.com/NLnetLabs/nsd/commit/7162600301205c3c62a1695c0b29e079694b65ae
+
+From 7162600301205c3c62a1695c0b29e079694b65ae Mon Sep 17 00:00:00 2001
+From: "W.C.A. Wijngaards" 
+Date: Thu, 10 Nov 2022 09:47:59 +0100
+Subject: [PATCH] - Fix #239: -Wincompatible-pointer-types warning in remote.c.
+
+--- a/remote.c
 b/remote.c
+@@ -1212,8 +1212,11 @@ do_stats(struct daemon_remote* rc, int peek, struct 
rc_state* rs)
+   /* force a reload */
+   xfrd_set_reload_now(xfrd);
+ #else
++  RES res;
++  res.ssl = rs->ssl;
++  res.fd = rs->fd;
+   (void)rc; (void)peek;
+-  (void)ssl_printf(rs->ssl, "error no stats enabled at compile time\n");
++  (void)ssl_printf(, "error no stats enabled at compile time\n");
+ #endif /* BIND8_STATS */
+ }
+ 
+

diff --git a/net-dns/nsd/nsd-4.6.1.ebuild b/net-dns/nsd/nsd-4.6.1-r1.ebuild
similarity index 98%
rename from net-dns/nsd/nsd-4.6.1.ebuild
rename to net-dns/nsd/nsd-4.6.1-r1.ebuild
index d3d5d3b51e9d..07c863ace2f5 100644
--- a/net-dns/nsd/nsd-4.6.1.ebuild
+++ b/net-dns/nsd/nsd-4.6.1-r1.ebuild
@@ -51,6 +51,7 @@ BDEPEND="
 PATCHES=(
# Fix the paths in the munin plugin to match our install
"${FILESDIR}"/nsd_munin_.patch
+   "${FILESDIR}"/${P}-incompatible-ptr-types.patch
 )
 
 src_prepare() {



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

2022-11-10 Thread Sam James
commit: 25aa9a6d29ee5cf56eb562db00d8e82c35ad6e65
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 10 09:03:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 10 09:03:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25aa9a6d

net-dns/nsd: Stabilize 4.5.0-r1 amd64, #880709

Signed-off-by: Sam James  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.5.0-r1.ebuild b/net-dns/nsd/nsd-4.5.0-r1.ebuild
index 6a0db10c10e6..eefcee308187 100644
--- a/net-dns/nsd/nsd-4.5.0-r1.ebuild
+++ b/net-dns/nsd/nsd-4.5.0-r1.ebuild
@@ -21,7 +21,7 @@ else

SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
S="${WORKDIR}"/${MY_P}
 
-   KEYWORDS="~amd64 x86"
+   KEYWORDS="amd64 x86"
fi
 fi
 



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

2022-11-10 Thread Sam James
commit: a459506a6b1a85796fe3daaa49a5154d0287ecc7
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 10 09:03:06 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 10 09:03:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a459506a

net-dns/nsd: Stabilize 4.5.0-r1 x86, #880709

Signed-off-by: Sam James  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.5.0-r1.ebuild b/net-dns/nsd/nsd-4.5.0-r1.ebuild
index d3d5d3b51e9d..6a0db10c10e6 100644
--- a/net-dns/nsd/nsd-4.5.0-r1.ebuild
+++ b/net-dns/nsd/nsd-4.5.0-r1.ebuild
@@ -21,7 +21,7 @@ else

SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
S="${WORKDIR}"/${MY_P}
 
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 x86"
fi
 fi
 



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

2022-11-10 Thread Sam James
commit: 06d4f7b1adcb43419c57773bb7fa6a96f2bd8dc1
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 10 08:36:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 10 08:45:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d4f7b1

net-dns/nsd: add 4.6.1

Signed-off-by: Sam James  gentoo.org>

 net-dns/nsd/Manifest |   1 +
 net-dns/nsd/nsd-4.6.1.ebuild | 127 +++
 2 files changed, 128 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index e24d5c73fd2e..6cc11ea67f69 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,4 @@
 DIST nsd-4.3.8.tar.gz 1225840 BLAKE2B 
19d014f130844aab5b7c6224658c6e5a4a7d8d337ceb11e1641bceb367fe76b46be146c703296a12cec834020992eabec0e1ee8f3cb6211333ac8c4c7029fef5
 SHA512 
aec892f85a6757bfdf537c6f0b4bc3d60c564b3062b582af14df800b24261edc96bedcd0b6649444a46b198b9018397e356b919a871364032c8a2db6256b9268
 DIST nsd-4.5.0.tar.gz 1259059 BLAKE2B 
5c90a17b2c2df3cf06bea2609fb02198b4fdde3e9ed7cc0a07526d43069f735458a0c1775fc7b45ac7bd1fba42ec329fe5b67378d6282bf86f6c520f73b00397
 SHA512 
0309e1ff083b6f2118ba6fd59425319c21f31558d30e17a40eb8f1e53dee9e3e766d7b53eb50462130ba17b454a3559dc786d344cb779468d255732bbc6bc5da
 DIST nsd-4.6.0.tar.gz 1273532 BLAKE2B 
962bb93decb268d6958afad0e3182f256c91a9e78179db21458d00571df200faf23efe327b99a2bac423d092ad759dc678230bbdc45cfb95b75f2e7a271005c6
 SHA512 
e9f035e42f47ac115cb2c1d0ebdef8b13b1feebca91d4f840d36904efb5ab44a817584b28c9d0d3e236fde1581e8283bcdd554a5463d4b5788329f9245414cbb
+DIST nsd-4.6.1.tar.gz 1281583 BLAKE2B 
5eff5560ce16451a57905bb9d979c81918b6b55f72e1f1b89ab8d2e479ac36bf4f95152c77b1f1b3ce0af90bde8f25d2cad7226450c5cbc879f112adea2b3a69
 SHA512 
cab557a20cf8564cbf6e38405ca28b00baa6e14105527c3b16f49f57fed5e39cdb2bcd62999bad4aff2c69e0967bdba66a1eaa7b73a0d4d99d97535cc5860bfe

diff --git a/net-dns/nsd/nsd-4.6.1.ebuild b/net-dns/nsd/nsd-4.6.1.ebuild
new file mode 100644
index ..d3d5d3b51e9d
--- /dev/null
+++ b/net-dns/nsd/nsd-4.6.1.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="https://www.nlnetlabs.nl/projects/nsd;
+
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git;
+else
+   # 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}"
+
+   if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
+   
SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+   S="${WORKDIR}"/${MY_P}
+
+   KEYWORDS="~amd64 ~x86"
+   fi
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="bind8-stats debug dnstap libevent minimal-responses mmap munin +nsec3 
ratelimit root-server ssl systemd"
+
+RDEPEND="
+   acct-group/nsd
+   acct-user/nsd
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   libevent? ( dev-libs/libevent )
+   munin? ( net-analyzer/munin )
+   ssl? ( dev-libs/openssl:0= )
+   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
+
+   # Required to get correct pkg-config macros with USE="systemd"
+   # See bugs #663618 and #758050
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-ipv6
+   --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 debug checking)
+   $(use_enable dnstap)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(use_enable systemd)
+   $(use_with libevent)
+   $(use_with ssl)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake 

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

2022-07-01 Thread Sam James
commit: abb7d23a2caacb6f7141491f4dea26c705ecd178
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul  1 08:40:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul  1 08:40:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abb7d23a

net-dns/nsd: add 4.6.0

Signed-off-by: Sam James  gentoo.org>

 net-dns/nsd/Manifest |   1 +
 net-dns/nsd/nsd-4.6.0.ebuild | 127 +++
 2 files changed, 128 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 17df2b61cc13..e24d5c73fd2e 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.3.8.tar.gz 1225840 BLAKE2B 
19d014f130844aab5b7c6224658c6e5a4a7d8d337ceb11e1641bceb367fe76b46be146c703296a12cec834020992eabec0e1ee8f3cb6211333ac8c4c7029fef5
 SHA512 
aec892f85a6757bfdf537c6f0b4bc3d60c564b3062b582af14df800b24261edc96bedcd0b6649444a46b198b9018397e356b919a871364032c8a2db6256b9268
 DIST nsd-4.5.0.tar.gz 1259059 BLAKE2B 
5c90a17b2c2df3cf06bea2609fb02198b4fdde3e9ed7cc0a07526d43069f735458a0c1775fc7b45ac7bd1fba42ec329fe5b67378d6282bf86f6c520f73b00397
 SHA512 
0309e1ff083b6f2118ba6fd59425319c21f31558d30e17a40eb8f1e53dee9e3e766d7b53eb50462130ba17b454a3559dc786d344cb779468d255732bbc6bc5da
+DIST nsd-4.6.0.tar.gz 1273532 BLAKE2B 
962bb93decb268d6958afad0e3182f256c91a9e78179db21458d00571df200faf23efe327b99a2bac423d092ad759dc678230bbdc45cfb95b75f2e7a271005c6
 SHA512 
e9f035e42f47ac115cb2c1d0ebdef8b13b1feebca91d4f840d36904efb5ab44a817584b28c9d0d3e236fde1581e8283bcdd554a5463d4b5788329f9245414cbb

diff --git a/net-dns/nsd/nsd-4.6.0.ebuild b/net-dns/nsd/nsd-4.6.0.ebuild
new file mode 100644
index ..d3d5d3b51e9d
--- /dev/null
+++ b/net-dns/nsd/nsd-4.6.0.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="https://www.nlnetlabs.nl/projects/nsd;
+
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git;
+else
+   # 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}"
+
+   if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
+   
SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+   S="${WORKDIR}"/${MY_P}
+
+   KEYWORDS="~amd64 ~x86"
+   fi
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="bind8-stats debug dnstap libevent minimal-responses mmap munin +nsec3 
ratelimit root-server ssl systemd"
+
+RDEPEND="
+   acct-group/nsd
+   acct-user/nsd
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   libevent? ( dev-libs/libevent )
+   munin? ( net-analyzer/munin )
+   ssl? ( dev-libs/openssl:0= )
+   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
+
+   # Required to get correct pkg-config macros with USE="systemd"
+   # See bugs #663618 and #758050
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --enable-ipv6
+   --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 debug checking)
+   $(use_enable dnstap)
+   $(use_enable minimal-responses)
+   $(use_enable mmap)
+   $(use_enable nsec3)
+   $(use_enable ratelimit)
+   $(use_enable root-server)
+   $(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
+  

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

2022-06-30 Thread Agostino Sarubbo
commit: 62a79c7bb4dfb68d03c2e2915422e2bfa2cfa0df
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun 30 07:03:50 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun 30 07:03:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62a79c7b

net-dns/nsd: x86 stable wrt bug #855152

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.5.0.ebuild b/net-dns/nsd/nsd-4.5.0.ebuild
index 3156f667dbb1..6507b30a 100644
--- a/net-dns/nsd/nsd-4.5.0.ebuild
+++ b/net-dns/nsd/nsd-4.5.0.ebuild
@@ -19,7 +19,7 @@ else
MY_P="${PN}-${MY_PV}"
 
[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="amd64 ~x86"
+   KEYWORDS="amd64 x86"
SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
S="${WORKDIR}/${MY_P}"
 fi



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

2022-06-30 Thread Agostino Sarubbo
commit: d26a4fa2198c08e79dde29f5a0a303ac0c9d94bf
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun 30 07:00:37 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun 30 07:00:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d26a4fa2

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

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.5.0.ebuild b/net-dns/nsd/nsd-4.5.0.ebuild
index a41057e6300d..3156f667dbb1 100644
--- a/net-dns/nsd/nsd-4.5.0.ebuild
+++ b/net-dns/nsd/nsd-4.5.0.ebuild
@@ -19,7 +19,7 @@ else
MY_P="${PN}-${MY_PV}"
 
[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="amd64 ~x86"
SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
S="${WORKDIR}/${MY_P}"
 fi



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

2022-06-29 Thread Sam James
commit: c8187366a1ddc5adbf4bae3d9d4a3b1944c7c320
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 29 17:30:43 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 29 17:49:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8187366

net-dns/nsd: drop 4.3.9, 4.4.0

Signed-off-by: Sam James  gentoo.org>

 net-dns/nsd/Manifest |   2 -
 net-dns/nsd/files/nsd-4.3.9-no_ssl.patch |  22 --
 net-dns/nsd/nsd-4.3.9.ebuild | 119 ---
 net-dns/nsd/nsd-4.4.0.ebuild | 119 ---
 4 files changed, 262 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 4705886c0228..17df2b61cc13 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,4 +1,2 @@
 DIST nsd-4.3.8.tar.gz 1225840 BLAKE2B 
19d014f130844aab5b7c6224658c6e5a4a7d8d337ceb11e1641bceb367fe76b46be146c703296a12cec834020992eabec0e1ee8f3cb6211333ac8c4c7029fef5
 SHA512 
aec892f85a6757bfdf537c6f0b4bc3d60c564b3062b582af14df800b24261edc96bedcd0b6649444a46b198b9018397e356b919a871364032c8a2db6256b9268
-DIST nsd-4.3.9.tar.gz 1222919 BLAKE2B 
0b317c246f66476e95727d763bf7444cde14936c8a87036843458b89f8c79790130995db3f0f9ff33d8bfda756cf3ae4724b07f97ee2996f05a2dcd1c14bc0e5
 SHA512 
de170cbaf6e0be0a20941d9d6b2102a7dddb59a320c30566238447d5740e4497f751f54488f36c2b89f2c3cff6e3101df31a36d0d2d66db8d77cfb6e86124f32
-DIST nsd-4.4.0.tar.gz 1226433 BLAKE2B 
8ead662c2ad87e9cfd9424898758cb7a7e6adc3c419583e0a4c3ced4d6bb8ae5005266af621ee4c138a06215652b60b65f075a875b6473dc92d1bef414901be1
 SHA512 
0fa32337246ccdaf9d6fe4257792cef8b6ce6de086fdee1024983da7b90a77b9039061cee87a2e0ad7eddf195411c57f4777469d973f2bdc10d3a51ee96d90bc
 DIST nsd-4.5.0.tar.gz 1259059 BLAKE2B 
5c90a17b2c2df3cf06bea2609fb02198b4fdde3e9ed7cc0a07526d43069f735458a0c1775fc7b45ac7bd1fba42ec329fe5b67378d6282bf86f6c520f73b00397
 SHA512 
0309e1ff083b6f2118ba6fd59425319c21f31558d30e17a40eb8f1e53dee9e3e766d7b53eb50462130ba17b454a3559dc786d344cb779468d255732bbc6bc5da

diff --git a/net-dns/nsd/files/nsd-4.3.9-no_ssl.patch 
b/net-dns/nsd/files/nsd-4.3.9-no_ssl.patch
deleted file mode 100644
index 33553a0ec889..
--- a/net-dns/nsd/files/nsd-4.3.9-no_ssl.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From c5e6a8e5e566380c8c6731e9feb7ac686a1c0735 Mon Sep 17 00:00:00 2001
-From: "W.C.A. Wijngaards" 
-Date: Fri, 28 Jan 2022 16:38:53 +0100
-Subject: [PATCH] - Fix #206: build with --without-ssl fails.
-
-diff --git a/edns.c b/edns.c
-index c7fc39d9..478ec681 100644
 a/edns.c
-+++ b/edns.c
-@@ -21,6 +21,12 @@
- #include "nsd.h"
- #include "query.h"
- 
-+#if !defined(HAVE_SSL) || !defined(HAVE_CRYPTO_MEMCMP)
-+/* we need fixed time compare, pull it in from tsig.c */
-+#define CRYPTO_memcmp memcmp_fixedtime
-+int memcmp_fixedtime(const void *s1, const void *s2, size_t n);
-+#endif
-+
- void
- edns_init_data(edns_data_type *data, uint16_t max_length)
- {

diff --git a/net-dns/nsd/nsd-4.3.9.ebuild b/net-dns/nsd/nsd-4.3.9.ebuild
deleted file mode 100644
index e4f824b01061..
--- a/net-dns/nsd/nsd-4.3.9.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-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"
-[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-KEYWORDS="~amd64 ~x86"
-IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
-
-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? (
-   dev-libs/openssl:0=
-   )
-   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
-
-   "${FILESDIR}/${P}-no_ssl.patch" #832213
-)
-
-src_prepare() {
-   default
-   # Required to get correct pkg-config macros with USE="systemd"
-   # see bugs #663618 and #758050
-   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

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

2022-06-29 Thread Sam James
commit: 93228c2489743e2c043c4243967b4732a82c4de7
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 29 17:39:24 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 29 17:49:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93228c24

net-dns/nsd: modernise

- Use more skel.ebuild-like structure
- Use HTTPS
- Drop USE=ipv6 (introduces no deps)
- Rename USE=runtime-checks -> USE=debug (it's for controlling assertions)

Signed-off-by: Sam James  gentoo.org>

 .../nsd/{nsd-.ebuild => nsd-4.5.0-r1.ebuild}   | 36 +-
 net-dns/nsd/nsd-.ebuild| 36 +-
 2 files changed, 44 insertions(+), 28 deletions(-)

diff --git a/net-dns/nsd/nsd-.ebuild b/net-dns/nsd/nsd-4.5.0-r1.ebuild
similarity index 82%
copy from net-dns/nsd/nsd-.ebuild
copy to net-dns/nsd/nsd-4.5.0-r1.ebuild
index a41057e6300d..d3d5d3b51e9d 100644
--- a/net-dns/nsd/nsd-.ebuild
+++ b/net-dns/nsd/nsd-4.5.0-r1.ebuild
@@ -6,10 +6,9 @@ EAPI=8
 inherit autotools systemd
 
 DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-LICENSE="BSD"
-SLOT="0"
-if [[ "${PV}" == * ]] ; then
+HOMEPAGE="https://www.nlnetlabs.nl/projects/nsd;
+
+if [[ ${PV} == * ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git;
 else
@@ -18,12 +17,17 @@ else
MY_PV="${MY_PV/_rc/rc}"
MY_P="${PN}-${MY_PV}"
 
-   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~x86"
-   SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
-   S="${WORKDIR}/${MY_P}"
+   if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
+   
SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+   S="${WORKDIR}"/${MY_P}
+
+   KEYWORDS="~amd64 ~x86"
+   fi
 fi
-IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="bind8-stats debug dnstap libevent minimal-responses mmap munin +nsec3 
ratelimit root-server ssl systemd"
 
 RDEPEND="
acct-group/nsd
@@ -51,17 +55,20 @@ PATCHES=(
 
 src_prepare() {
default
+
# Required to get correct pkg-config macros with USE="systemd"
-   # see bugs #663618 and #758050
+   # See bugs #663618 and #758050
eautoreconf
 }
 
 src_configure() {
local myeconfargs=(
+   --enable-ipv6
--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
@@ -69,20 +76,21 @@ src_configure() {
--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 debug checking)
$(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[@]}"
 }
 
@@ -93,7 +101,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nsd.initd-r1 nsd
 
-   # install munin plugin and config
+   # Install munin plugin and config
if use munin ; then
exeinto /usr/libexec/munin/plugins
doexe contrib/nsd_munin_
@@ -103,7 +111,7 @@ src_install() {
 
systemd_dounit "${FILESDIR}"/nsd.service
 
-   # remove the /run directory that usually resides on tmpfs and is
+   # 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"
 

diff --git a/net-dns/nsd/nsd-.ebuild b/net-dns/nsd/nsd-.ebuild
index a41057e6300d..d3d5d3b51e9d 100644
--- a/net-dns/nsd/nsd-.ebuild
+++ b/net-dns/nsd/nsd-.ebuild
@@ -6,10 +6,9 @@ EAPI=8
 inherit autotools systemd
 
 DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
-LICENSE="BSD"
-SLOT="0"
-if [[ "${PV}" == * ]] ; then
+HOMEPAGE="https://www.nlnetlabs.nl/projects/nsd;
+
+if [[ ${PV} == * ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git;
 else
@@ 

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

2022-05-14 Thread Lars Wendler
commit: 359c77c5da700e23d014fa27c3a6ebac42f2226c
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat May 14 12:01:09 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat May 14 12:01:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=359c77c5

net-dns/nsd: Bump to version 4.5.0

Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest |   1 +
 net-dns/nsd/nsd-4.5.0.ebuild | 119 +++
 2 files changed, 120 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 6ae76b067a12..4705886c0228 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,4 @@
 DIST nsd-4.3.8.tar.gz 1225840 BLAKE2B 
19d014f130844aab5b7c6224658c6e5a4a7d8d337ceb11e1641bceb367fe76b46be146c703296a12cec834020992eabec0e1ee8f3cb6211333ac8c4c7029fef5
 SHA512 
aec892f85a6757bfdf537c6f0b4bc3d60c564b3062b582af14df800b24261edc96bedcd0b6649444a46b198b9018397e356b919a871364032c8a2db6256b9268
 DIST nsd-4.3.9.tar.gz 1222919 BLAKE2B 
0b317c246f66476e95727d763bf7444cde14936c8a87036843458b89f8c79790130995db3f0f9ff33d8bfda756cf3ae4724b07f97ee2996f05a2dcd1c14bc0e5
 SHA512 
de170cbaf6e0be0a20941d9d6b2102a7dddb59a320c30566238447d5740e4497f751f54488f36c2b89f2c3cff6e3101df31a36d0d2d66db8d77cfb6e86124f32
 DIST nsd-4.4.0.tar.gz 1226433 BLAKE2B 
8ead662c2ad87e9cfd9424898758cb7a7e6adc3c419583e0a4c3ced4d6bb8ae5005266af621ee4c138a06215652b60b65f075a875b6473dc92d1bef414901be1
 SHA512 
0fa32337246ccdaf9d6fe4257792cef8b6ce6de086fdee1024983da7b90a77b9039061cee87a2e0ad7eddf195411c57f4777469d973f2bdc10d3a51ee96d90bc
+DIST nsd-4.5.0.tar.gz 1259059 BLAKE2B 
5c90a17b2c2df3cf06bea2609fb02198b4fdde3e9ed7cc0a07526d43069f735458a0c1775fc7b45ac7bd1fba42ec329fe5b67378d6282bf86f6c520f73b00397
 SHA512 
0309e1ff083b6f2118ba6fd59425319c21f31558d30e17a40eb8f1e53dee9e3e766d7b53eb50462130ba17b454a3559dc786d344cb779468d255732bbc6bc5da

diff --git a/net-dns/nsd/nsd-4.5.0.ebuild b/net-dns/nsd/nsd-4.5.0.ebuild
new file mode 100644
index ..a41057e6300d
--- /dev/null
+++ b/net-dns/nsd/nsd-4.5.0.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+LICENSE="BSD"
+SLOT="0"
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git;
+else
+   # 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}"
+
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~x86"
+   SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+   S="${WORKDIR}/${MY_P}"
+fi
+IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
+
+RDEPEND="
+   acct-group/nsd
+   acct-user/nsd
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   libevent? ( dev-libs/libevent )
+   munin? ( net-analyzer/munin )
+   ssl? ( dev-libs/openssl:0= )
+   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
+   # Required to get correct pkg-config macros with USE="systemd"
+   # see bugs #663618 and #758050
+   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 

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

2022-02-18 Thread Lars Wendler
commit: 9d47868b1143474e89658c3e3e1c9fae3b7b8ea1
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Feb 18 06:06:52 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Feb 18 13:43:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d47868b

net-dns/nsd: Bump to version 4.4.0

Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest |   1 +
 net-dns/nsd/nsd-4.4.0.ebuild | 119 +++
 2 files changed, 120 insertions(+)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 5cc63491117a..6ae76b067a12 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.3.8.tar.gz 1225840 BLAKE2B 
19d014f130844aab5b7c6224658c6e5a4a7d8d337ceb11e1641bceb367fe76b46be146c703296a12cec834020992eabec0e1ee8f3cb6211333ac8c4c7029fef5
 SHA512 
aec892f85a6757bfdf537c6f0b4bc3d60c564b3062b582af14df800b24261edc96bedcd0b6649444a46b198b9018397e356b919a871364032c8a2db6256b9268
 DIST nsd-4.3.9.tar.gz 1222919 BLAKE2B 
0b317c246f66476e95727d763bf7444cde14936c8a87036843458b89f8c79790130995db3f0f9ff33d8bfda756cf3ae4724b07f97ee2996f05a2dcd1c14bc0e5
 SHA512 
de170cbaf6e0be0a20941d9d6b2102a7dddb59a320c30566238447d5740e4497f751f54488f36c2b89f2c3cff6e3101df31a36d0d2d66db8d77cfb6e86124f32
+DIST nsd-4.4.0.tar.gz 1226433 BLAKE2B 
8ead662c2ad87e9cfd9424898758cb7a7e6adc3c419583e0a4c3ced4d6bb8ae5005266af621ee4c138a06215652b60b65f075a875b6473dc92d1bef414901be1
 SHA512 
0fa32337246ccdaf9d6fe4257792cef8b6ce6de086fdee1024983da7b90a77b9039061cee87a2e0ad7eddf195411c57f4777469d973f2bdc10d3a51ee96d90bc

diff --git a/net-dns/nsd/nsd-4.4.0.ebuild b/net-dns/nsd/nsd-4.4.0.ebuild
new file mode 100644
index ..a41057e6300d
--- /dev/null
+++ b/net-dns/nsd/nsd-4.4.0.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+LICENSE="BSD"
+SLOT="0"
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git;
+else
+   # 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}"
+
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~x86"
+   SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+   S="${WORKDIR}/${MY_P}"
+fi
+IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
+
+RDEPEND="
+   acct-group/nsd
+   acct-user/nsd
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   libevent? ( dev-libs/libevent )
+   munin? ( net-analyzer/munin )
+   ssl? ( dev-libs/openssl:0= )
+   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
+   # Required to get correct pkg-config macros with USE="systemd"
+   # see bugs #663618 and #758050
+   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
+   

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

2022-01-28 Thread Lars Wendler
commit: 9abd5417cc4e665885a352eb1eb15ae0b1652af9
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Jan 28 15:37:35 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Jan 28 15:46:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9abd5417

net-dns/nsd: Add live ebuild

Signed-off-by: Lars Wendler  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-.ebuild b/net-dns/nsd/nsd-.ebuild
new file mode 100644
index ..a41057e6300d
--- /dev/null
+++ b/net-dns/nsd/nsd-.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="An authoritative only, high performance, open source name server"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd;
+LICENSE="BSD"
+SLOT="0"
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git;
+else
+   # 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}"
+
+   [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+   KEYWORDS="~amd64 ~x86"
+   SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
+   S="${WORKDIR}/${MY_P}"
+fi
+IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
+
+RDEPEND="
+   acct-group/nsd
+   acct-user/nsd
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   libevent? ( dev-libs/libevent )
+   munin? ( net-analyzer/munin )
+   ssl? ( dev-libs/openssl:0= )
+   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
+   # Required to get correct pkg-config macros with USE="systemd"
+   # see bugs #663618 and #758050
+   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/, net-dns/nsd/files/

2022-01-28 Thread Lars Wendler
commit: a27323c9c5ee56359c8a3418dd2b83df0ba4c896
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Jan 28 15:45:55 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Jan 28 15:46:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a27323c9

net-dns/nsd: Fixed build with USE="-ssl"

Closes: https://bugs.gentoo.org/832213
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/files/nsd-4.3.9-no_ssl.patch | 22 ++
 net-dns/nsd/nsd-4.3.9.ebuild |  4 +++-
 2 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/net-dns/nsd/files/nsd-4.3.9-no_ssl.patch 
b/net-dns/nsd/files/nsd-4.3.9-no_ssl.patch
new file mode 100644
index ..33553a0ec889
--- /dev/null
+++ b/net-dns/nsd/files/nsd-4.3.9-no_ssl.patch
@@ -0,0 +1,22 @@
+From c5e6a8e5e566380c8c6731e9feb7ac686a1c0735 Mon Sep 17 00:00:00 2001
+From: "W.C.A. Wijngaards" 
+Date: Fri, 28 Jan 2022 16:38:53 +0100
+Subject: [PATCH] - Fix #206: build with --without-ssl fails.
+
+diff --git a/edns.c b/edns.c
+index c7fc39d9..478ec681 100644
+--- a/edns.c
 b/edns.c
+@@ -21,6 +21,12 @@
+ #include "nsd.h"
+ #include "query.h"
+ 
++#if !defined(HAVE_SSL) || !defined(HAVE_CRYPTO_MEMCMP)
++/* we need fixed time compare, pull it in from tsig.c */
++#define CRYPTO_memcmp memcmp_fixedtime
++int memcmp_fixedtime(const void *s1, const void *s2, size_t n);
++#endif
++
+ void
+ edns_init_data(edns_data_type *data, uint16_t max_length)
+ {

diff --git a/net-dns/nsd/nsd-4.3.9.ebuild b/net-dns/nsd/nsd-4.3.9.ebuild
index 77567aaed614..e4f824b01061 100644
--- a/net-dns/nsd/nsd-4.3.9.ebuild
+++ b/net-dns/nsd/nsd-4.3.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -45,6 +45,8 @@ BDEPEND="
 PATCHES=(
# Fix the paths in the munin plugin to match our install
"${FILESDIR}"/nsd_munin_.patch
+
+   "${FILESDIR}/${P}-no_ssl.patch" #832213
 )
 
 src_prepare() {



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

2021-12-09 Thread Lars Wendler
commit: 5196175cbd53d5ba99084c0eed81a0959bf25cf4
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Dec  9 20:21:04 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Dec  9 20:24:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5196175c

net-dns/nsd: Bump to version 4.3.9

Signed-off-by: Lars Wendler  gentoo.org>

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

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 99ae03860086..76232e7c9853 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.3.7.tar.gz 1221215 BLAKE2B 
79bd49324f62812a7f0f5800a686d09600620d1dc87ed9e7d4c1f2822c68700b73f5c58c328927fdf7f4af61a401033e39a8e59e054e53c564acfefc86d68bde
 SHA512 
ef5fbcbeccba7e90cc7eed32c6a6f61f5471e13bfb74e5dd072cc9be7af67ebf97c93c0902e115efeda89489399e0543566a6847788ea7bebf13b9007f2c6193
 DIST nsd-4.3.8.tar.gz 1225840 BLAKE2B 
19d014f130844aab5b7c6224658c6e5a4a7d8d337ceb11e1641bceb367fe76b46be146c703296a12cec834020992eabec0e1ee8f3cb6211333ac8c4c7029fef5
 SHA512 
aec892f85a6757bfdf537c6f0b4bc3d60c564b3062b582af14df800b24261edc96bedcd0b6649444a46b198b9018397e356b919a871364032c8a2db6256b9268
+DIST nsd-4.3.9.tar.gz 1222919 BLAKE2B 
0b317c246f66476e95727d763bf7444cde14936c8a87036843458b89f8c79790130995db3f0f9ff33d8bfda756cf3ae4724b07f97ee2996f05a2dcd1c14bc0e5
 SHA512 
de170cbaf6e0be0a20941d9d6b2102a7dddb59a320c30566238447d5740e4497f751f54488f36c2b89f2c3cff6e3101df31a36d0d2d66db8d77cfb6e86124f32

diff --git a/net-dns/nsd/nsd-4.3.9.ebuild b/net-dns/nsd/nsd-4.3.9.ebuild
new file mode 100644
index ..77567aaed614
--- /dev/null
+++ b/net-dns/nsd/nsd-4.3.9.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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"
+[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
+
+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? (
+   dev-libs/openssl:0=
+   )
+   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
+   # Required to get correct pkg-config macros with USE="systemd"
+   # see bugs #663618 and #758050
+   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
+
+   

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

2021-12-09 Thread Lars Wendler
commit: d3c1b4966ddd63c27c1f42b4137a6e4320c49ddb
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Dec  9 20:22:11 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Dec  9 20:24:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3c1b496

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

Signed-off-by: Lars Wendler  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.3.8.ebuild b/net-dns/nsd/nsd-4.3.8.ebuild
index 77567aaed614..492c7c14b1d6 100644
--- a/net-dns/nsd/nsd-4.3.8.ebuild
+++ b/net-dns/nsd/nsd-4.3.8.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
 
 S="${WORKDIR}/${MY_P}"



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

2021-12-09 Thread Lars Wendler
commit: 5bb5ddb9b943f5e34a4c4bf5b2276117c1e9b02d
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Dec  9 20:24:10 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Dec  9 20:24:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bb5ddb9

net-dns/nsd: Removed old

Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest |   1 -
 net-dns/nsd/nsd-4.3.7.ebuild | 117 ---
 2 files changed, 118 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 76232e7c9853..5cc63491117a 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,2 @@
-DIST nsd-4.3.7.tar.gz 1221215 BLAKE2B 
79bd49324f62812a7f0f5800a686d09600620d1dc87ed9e7d4c1f2822c68700b73f5c58c328927fdf7f4af61a401033e39a8e59e054e53c564acfefc86d68bde
 SHA512 
ef5fbcbeccba7e90cc7eed32c6a6f61f5471e13bfb74e5dd072cc9be7af67ebf97c93c0902e115efeda89489399e0543566a6847788ea7bebf13b9007f2c6193
 DIST nsd-4.3.8.tar.gz 1225840 BLAKE2B 
19d014f130844aab5b7c6224658c6e5a4a7d8d337ceb11e1641bceb367fe76b46be146c703296a12cec834020992eabec0e1ee8f3cb6211333ac8c4c7029fef5
 SHA512 
aec892f85a6757bfdf537c6f0b4bc3d60c564b3062b582af14df800b24261edc96bedcd0b6649444a46b198b9018397e356b919a871364032c8a2db6256b9268
 DIST nsd-4.3.9.tar.gz 1222919 BLAKE2B 
0b317c246f66476e95727d763bf7444cde14936c8a87036843458b89f8c79790130995db3f0f9ff33d8bfda756cf3ae4724b07f97ee2996f05a2dcd1c14bc0e5
 SHA512 
de170cbaf6e0be0a20941d9d6b2102a7dddb59a320c30566238447d5740e4497f751f54488f36c2b89f2c3cff6e3101df31a36d0d2d66db8d77cfb6e86124f32

diff --git a/net-dns/nsd/nsd-4.3.7.ebuild b/net-dns/nsd/nsd-4.3.7.ebuild
deleted file mode 100644
index 21733815a1e3..
--- a/net-dns/nsd/nsd-4.3.7.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2021 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"
-[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-KEYWORDS="amd64 x86"
-IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
-
-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? (
-   dev-libs/openssl:0=
-   )
-   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
-   # Required to get correct pkg-config macros with USE="systemd"
-   # see bugs #663618 and #758050
-   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
-
-   

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

2021-10-12 Thread Lars Wendler
commit: 6abd7002c6fbeb16c2dab21c59eb50636f2bb7bd
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Oct 12 19:44:26 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Oct 12 19:44:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6abd7002

net-dns/nsd: Bump to version 4.3.8

Signed-off-by: Lars Wendler  gentoo.org>

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

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 8fb82efc1b7..591633d5c33 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.3.6.tar.gz 1197835 BLAKE2B 
943ae0700a2f49fffa9414f1d2718fef5e6a2f181373cc0a17ebe04433bce22d3863c8f17bd4d0412264503a80720d6dea9ce0d3ad6305f54dc3a2496118c90f
 SHA512 
d87837b483ab37fde5d3eae7dca4c9e2672a718a1f49847db13232358108a5e0d6395c07d3fac72092a949d3c9861cd1dbed3e9bd0342ba6cbe7ca32feba09d0
 DIST nsd-4.3.7.tar.gz 1221215 BLAKE2B 
79bd49324f62812a7f0f5800a686d09600620d1dc87ed9e7d4c1f2822c68700b73f5c58c328927fdf7f4af61a401033e39a8e59e054e53c564acfefc86d68bde
 SHA512 
ef5fbcbeccba7e90cc7eed32c6a6f61f5471e13bfb74e5dd072cc9be7af67ebf97c93c0902e115efeda89489399e0543566a6847788ea7bebf13b9007f2c6193
+DIST nsd-4.3.8.tar.gz 1225840 BLAKE2B 
19d014f130844aab5b7c6224658c6e5a4a7d8d337ceb11e1641bceb367fe76b46be146c703296a12cec834020992eabec0e1ee8f3cb6211333ac8c4c7029fef5
 SHA512 
aec892f85a6757bfdf537c6f0b4bc3d60c564b3062b582af14df800b24261edc96bedcd0b6649444a46b198b9018397e356b919a871364032c8a2db6256b9268

diff --git a/net-dns/nsd/nsd-4.3.8.ebuild b/net-dns/nsd/nsd-4.3.8.ebuild
new file mode 100644
index 000..77567aaed61
--- /dev/null
+++ b/net-dns/nsd/nsd-4.3.8.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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"
+[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
+
+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? (
+   dev-libs/openssl:0=
+   )
+   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
+   # Required to get correct pkg-config macros with USE="systemd"
+   # see bugs #663618 and #758050
+   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
+
+   

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

2021-10-12 Thread Lars Wendler
commit: 8afc152ed9859be62061a1a9b20c4af197092ff6
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Oct 12 19:45:22 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Oct 12 19:45:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8afc152e

net-dns/nsd: Removed old

Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest |   1 -
 net-dns/nsd/nsd-4.3.6.ebuild | 117 ---
 2 files changed, 118 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 591633d5c33..99ae0386008 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,2 @@
-DIST nsd-4.3.6.tar.gz 1197835 BLAKE2B 
943ae0700a2f49fffa9414f1d2718fef5e6a2f181373cc0a17ebe04433bce22d3863c8f17bd4d0412264503a80720d6dea9ce0d3ad6305f54dc3a2496118c90f
 SHA512 
d87837b483ab37fde5d3eae7dca4c9e2672a718a1f49847db13232358108a5e0d6395c07d3fac72092a949d3c9861cd1dbed3e9bd0342ba6cbe7ca32feba09d0
 DIST nsd-4.3.7.tar.gz 1221215 BLAKE2B 
79bd49324f62812a7f0f5800a686d09600620d1dc87ed9e7d4c1f2822c68700b73f5c58c328927fdf7f4af61a401033e39a8e59e054e53c564acfefc86d68bde
 SHA512 
ef5fbcbeccba7e90cc7eed32c6a6f61f5471e13bfb74e5dd072cc9be7af67ebf97c93c0902e115efeda89489399e0543566a6847788ea7bebf13b9007f2c6193
 DIST nsd-4.3.8.tar.gz 1225840 BLAKE2B 
19d014f130844aab5b7c6224658c6e5a4a7d8d337ceb11e1641bceb367fe76b46be146c703296a12cec834020992eabec0e1ee8f3cb6211333ac8c4c7029fef5
 SHA512 
aec892f85a6757bfdf537c6f0b4bc3d60c564b3062b582af14df800b24261edc96bedcd0b6649444a46b198b9018397e356b919a871364032c8a2db6256b9268

diff --git a/net-dns/nsd/nsd-4.3.6.ebuild b/net-dns/nsd/nsd-4.3.6.ebuild
deleted file mode 100644
index 21733815a1e..000
--- a/net-dns/nsd/nsd-4.3.6.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2021 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"
-[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-KEYWORDS="amd64 x86"
-IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
-
-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? (
-   dev-libs/openssl:0=
-   )
-   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
-   # Required to get correct pkg-config macros with USE="systemd"
-   # see bugs #663618 and #758050
-   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 

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

2021-10-12 Thread Lars Wendler
commit: 349ee570cc8a08e766ebb7197fedcec84a5ac175
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Oct 12 19:44:54 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Oct 12 19:44:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=349ee570

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

Signed-off-by: Lars Wendler  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.3.7.ebuild b/net-dns/nsd/nsd-4.3.7.ebuild
index 729d4812208..21733815a1e 100644
--- a/net-dns/nsd/nsd-4.3.7.ebuild
+++ b/net-dns/nsd/nsd-4.3.7.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
 
 S="${WORKDIR}/${MY_P}"



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

2021-07-22 Thread Lars Wendler
commit: 81277e15799dd59e276883e94da6ad26f459f32f
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul 22 18:24:41 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 22 18:24:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81277e15

net-dns/nsd: Removed old

Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest |   2 -
 net-dns/nsd/nsd-4.3.4.ebuild | 117 ---
 net-dns/nsd/nsd-4.3.5.ebuild | 117 ---
 3 files changed, 236 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index aaf4346aa04..8fb82efc1b7 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,4 +1,2 @@
-DIST nsd-4.3.4.tar.gz 1182467 BLAKE2B 
10c06be9df393774627a42a7cf254202fe9800e7cd5048d392fbf90a65321a4596e742165b1157b3a0ce0645a80ae5425f7d43eb0a453077e45bff06d52347d4
 SHA512 
fe332caecfd3c6bb8ae1a92fec26984a7953e5e462515e8622c1079b217c962728e841826cdf7899f47f9ac24af1dd383f8ba7981541b05a2338cd288c40b0a7
-DIST nsd-4.3.5.tar.gz 1184220 BLAKE2B 
0ded84d9a0c25b86af6c05a7ab3ffb680177142b79a96f952cdeb92d87d9d0f306fb3c864b8f3cb769b05b0a863a7470df9407e6f3f5f0bc9a32891185d32b6f
 SHA512 
bd031da779ff7b9b53fb4ea4d038a51f3b8f7b59a2927f674def46ca775f30afa059b471fed7d8ebcd2b7d02968945972b98856198eafbc4263d3064dae01029
 DIST nsd-4.3.6.tar.gz 1197835 BLAKE2B 
943ae0700a2f49fffa9414f1d2718fef5e6a2f181373cc0a17ebe04433bce22d3863c8f17bd4d0412264503a80720d6dea9ce0d3ad6305f54dc3a2496118c90f
 SHA512 
d87837b483ab37fde5d3eae7dca4c9e2672a718a1f49847db13232358108a5e0d6395c07d3fac72092a949d3c9861cd1dbed3e9bd0342ba6cbe7ca32feba09d0
 DIST nsd-4.3.7.tar.gz 1221215 BLAKE2B 
79bd49324f62812a7f0f5800a686d09600620d1dc87ed9e7d4c1f2822c68700b73f5c58c328927fdf7f4af61a401033e39a8e59e054e53c564acfefc86d68bde
 SHA512 
ef5fbcbeccba7e90cc7eed32c6a6f61f5471e13bfb74e5dd072cc9be7af67ebf97c93c0902e115efeda89489399e0543566a6847788ea7bebf13b9007f2c6193

diff --git a/net-dns/nsd/nsd-4.3.4.ebuild b/net-dns/nsd/nsd-4.3.4.ebuild
deleted file mode 100644
index 21733815a1e..000
--- a/net-dns/nsd/nsd-4.3.4.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2021 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"
-[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-KEYWORDS="amd64 x86"
-IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
-
-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? (
-   dev-libs/openssl:0=
-   )
-   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
-   # Required to get correct pkg-config macros with USE="systemd"
-   # see bugs #663618 and #758050
-   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 

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

2021-07-22 Thread Lars Wendler
commit: 032d2e98f9fb9ef5caabd2bb68f6eeb5be365882
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul 22 18:23:42 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 22 18:24:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=032d2e98

net-dns/nsd: Bump to version 4.3.7

Signed-off-by: Lars Wendler  gentoo.org>

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

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 393657c1fc6..aaf4346aa04 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,4 @@
 DIST nsd-4.3.4.tar.gz 1182467 BLAKE2B 
10c06be9df393774627a42a7cf254202fe9800e7cd5048d392fbf90a65321a4596e742165b1157b3a0ce0645a80ae5425f7d43eb0a453077e45bff06d52347d4
 SHA512 
fe332caecfd3c6bb8ae1a92fec26984a7953e5e462515e8622c1079b217c962728e841826cdf7899f47f9ac24af1dd383f8ba7981541b05a2338cd288c40b0a7
 DIST nsd-4.3.5.tar.gz 1184220 BLAKE2B 
0ded84d9a0c25b86af6c05a7ab3ffb680177142b79a96f952cdeb92d87d9d0f306fb3c864b8f3cb769b05b0a863a7470df9407e6f3f5f0bc9a32891185d32b6f
 SHA512 
bd031da779ff7b9b53fb4ea4d038a51f3b8f7b59a2927f674def46ca775f30afa059b471fed7d8ebcd2b7d02968945972b98856198eafbc4263d3064dae01029
 DIST nsd-4.3.6.tar.gz 1197835 BLAKE2B 
943ae0700a2f49fffa9414f1d2718fef5e6a2f181373cc0a17ebe04433bce22d3863c8f17bd4d0412264503a80720d6dea9ce0d3ad6305f54dc3a2496118c90f
 SHA512 
d87837b483ab37fde5d3eae7dca4c9e2672a718a1f49847db13232358108a5e0d6395c07d3fac72092a949d3c9861cd1dbed3e9bd0342ba6cbe7ca32feba09d0
+DIST nsd-4.3.7.tar.gz 1221215 BLAKE2B 
79bd49324f62812a7f0f5800a686d09600620d1dc87ed9e7d4c1f2822c68700b73f5c58c328927fdf7f4af61a401033e39a8e59e054e53c564acfefc86d68bde
 SHA512 
ef5fbcbeccba7e90cc7eed32c6a6f61f5471e13bfb74e5dd072cc9be7af67ebf97c93c0902e115efeda89489399e0543566a6847788ea7bebf13b9007f2c6193

diff --git a/net-dns/nsd/nsd-4.3.7.ebuild b/net-dns/nsd/nsd-4.3.7.ebuild
new file mode 100644
index 000..729d4812208
--- /dev/null
+++ b/net-dns/nsd/nsd-4.3.7.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2021 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"
+[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+KEYWORDS="~amd64 ~x86"
+IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
+
+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? (
+   dev-libs/openssl:0=
+   )
+   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
+   # Required to get correct pkg-config macros with USE="systemd"
+   # see bugs #663618 and #758050
+   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 

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

2021-07-22 Thread Lars Wendler
commit: 4b62e286fc9e7b60126ecb882e24886637123bcc
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul 22 18:24:08 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 22 18:24:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b62e286

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

Signed-off-by: Lars Wendler  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.3.6.ebuild b/net-dns/nsd/nsd-4.3.6.ebuild
index 729d4812208..21733815a1e 100644
--- a/net-dns/nsd/nsd-4.3.6.ebuild
+++ b/net-dns/nsd/nsd-4.3.6.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
 
 S="${WORKDIR}/${MY_P}"



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

2021-05-02 Thread Mikle Kolyada
commit: 75495fc5ce6290bbf4d713a6db8ff6a1c05e1e1b
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  2 16:40:04 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  2 16:40:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75495fc5

net-dns/nsd: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-dns/nsd/nsd-4.3.4.ebuild | 7 +++
 net-dns/nsd/nsd-4.3.5.ebuild | 5 ++---
 net-dns/nsd/nsd-4.3.6.ebuild | 5 ++---
 3 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/net-dns/nsd/nsd-4.3.4.ebuild b/net-dns/nsd/nsd-4.3.4.ebuild
index 1b91a3af252..21733815a1e 100644
--- a/net-dns/nsd/nsd-4.3.4.ebuild
+++ b/net-dns/nsd/nsd-4.3.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,7 @@ LICENSE="BSD"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
 KEYWORDS="amd64 x86"
-IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd libressl"
+IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
 
 S="${WORKDIR}/${MY_P}"
 
@@ -31,8 +31,7 @@ RDEPEND="
libevent? ( dev-libs/libevent )
munin? ( net-analyzer/munin )
ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
+   dev-libs/openssl:0=
)
systemd? ( sys-apps/systemd )
 "

diff --git a/net-dns/nsd/nsd-4.3.5.ebuild b/net-dns/nsd/nsd-4.3.5.ebuild
index 4ec0d9ca8c8..729d4812208 100644
--- a/net-dns/nsd/nsd-4.3.5.ebuild
+++ b/net-dns/nsd/nsd-4.3.5.ebuild
@@ -17,7 +17,7 @@ LICENSE="BSD"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
 KEYWORDS="~amd64 ~x86"
-IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd libressl"
+IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
 
 S="${WORKDIR}/${MY_P}"
 
@@ -31,8 +31,7 @@ RDEPEND="
libevent? ( dev-libs/libevent )
munin? ( net-analyzer/munin )
ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
+   dev-libs/openssl:0=
)
systemd? ( sys-apps/systemd )
 "

diff --git a/net-dns/nsd/nsd-4.3.6.ebuild b/net-dns/nsd/nsd-4.3.6.ebuild
index 4ec0d9ca8c8..729d4812208 100644
--- a/net-dns/nsd/nsd-4.3.6.ebuild
+++ b/net-dns/nsd/nsd-4.3.6.ebuild
@@ -17,7 +17,7 @@ LICENSE="BSD"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
 KEYWORDS="~amd64 ~x86"
-IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd libressl"
+IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 
ratelimit root-server runtime-checks ssl systemd"
 
 S="${WORKDIR}/${MY_P}"
 
@@ -31,8 +31,7 @@ RDEPEND="
libevent? ( dev-libs/libevent )
munin? ( net-analyzer/munin )
ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
+   dev-libs/openssl:0=
)
systemd? ( sys-apps/systemd )
 "



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

2021-04-07 Thread Lars Wendler
commit: 97c6929f1e456e17ca6eb1abe4cfe4350cc0fb2a
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Apr  7 07:49:10 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Apr  7 07:49:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97c6929f

net-dns/nsd: Bump to version 4.3.6

Signed-off-by: Lars Wendler  gentoo.org>

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

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 5a7c0f0252c..393657c1fc6 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.3.4.tar.gz 1182467 BLAKE2B 
10c06be9df393774627a42a7cf254202fe9800e7cd5048d392fbf90a65321a4596e742165b1157b3a0ce0645a80ae5425f7d43eb0a453077e45bff06d52347d4
 SHA512 
fe332caecfd3c6bb8ae1a92fec26984a7953e5e462515e8622c1079b217c962728e841826cdf7899f47f9ac24af1dd383f8ba7981541b05a2338cd288c40b0a7
 DIST nsd-4.3.5.tar.gz 1184220 BLAKE2B 
0ded84d9a0c25b86af6c05a7ab3ffb680177142b79a96f952cdeb92d87d9d0f306fb3c864b8f3cb769b05b0a863a7470df9407e6f3f5f0bc9a32891185d32b6f
 SHA512 
bd031da779ff7b9b53fb4ea4d038a51f3b8f7b59a2927f674def46ca775f30afa059b471fed7d8ebcd2b7d02968945972b98856198eafbc4263d3064dae01029
+DIST nsd-4.3.6.tar.gz 1197835 BLAKE2B 
943ae0700a2f49fffa9414f1d2718fef5e6a2f181373cc0a17ebe04433bce22d3863c8f17bd4d0412264503a80720d6dea9ce0d3ad6305f54dc3a2496118c90f
 SHA512 
d87837b483ab37fde5d3eae7dca4c9e2672a718a1f49847db13232358108a5e0d6395c07d3fac72092a949d3c9861cd1dbed3e9bd0342ba6cbe7ca32feba09d0

diff --git a/net-dns/nsd/nsd-4.3.6.ebuild b/net-dns/nsd/nsd-4.3.6.ebuild
new file mode 100644
index 000..4ec0d9ca8c8
--- /dev/null
+++ b/net-dns/nsd/nsd-4.3.6.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2021 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"
+[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+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
+   # Required to get correct pkg-config macros with USE="systemd"
+   # see bugs #663618 and #758050
+   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
+   

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

2021-02-06 Thread Sam James
commit: 601c3830534f1485a72b902c6488b1c58c2cbd29
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb  7 01:11:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb  7 01:11:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=601c3830

net-dns/nsd: add github remote-id

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

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

diff --git a/net-dns/nsd/metadata.xml b/net-dns/nsd/metadata.xml
index 80941c35662..9670f147c7c 100644
--- a/net-dns/nsd/metadata.xml
+++ b/net-dns/nsd/metadata.xml
@@ -23,4 +23,7 @@
Install a plugin for net-analyzer/munin to 
graph
statistical data from nsd.

+   
+   NLnetLabs/nsd
+   
 



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

2021-01-26 Thread Lars Wendler
commit: 5054dfc6f955b18d28a0089b759610f291954a5d
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jan 26 16:05:29 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jan 26 16:06:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5054dfc6

net-dns/nsd: Bump to version 4.3.5

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

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

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index b0b1f2df68f..5a7c0f0252c 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1 +1,2 @@
 DIST nsd-4.3.4.tar.gz 1182467 BLAKE2B 
10c06be9df393774627a42a7cf254202fe9800e7cd5048d392fbf90a65321a4596e742165b1157b3a0ce0645a80ae5425f7d43eb0a453077e45bff06d52347d4
 SHA512 
fe332caecfd3c6bb8ae1a92fec26984a7953e5e462515e8622c1079b217c962728e841826cdf7899f47f9ac24af1dd383f8ba7981541b05a2338cd288c40b0a7
+DIST nsd-4.3.5.tar.gz 1184220 BLAKE2B 
0ded84d9a0c25b86af6c05a7ab3ffb680177142b79a96f952cdeb92d87d9d0f306fb3c864b8f3cb769b05b0a863a7470df9407e6f3f5f0bc9a32891185d32b6f
 SHA512 
bd031da779ff7b9b53fb4ea4d038a51f3b8f7b59a2927f674def46ca775f30afa059b471fed7d8ebcd2b7d02968945972b98856198eafbc4263d3064dae01029

diff --git a/net-dns/nsd/nsd-4.3.5.ebuild b/net-dns/nsd/nsd-4.3.5.ebuild
new file mode 100644
index 000..4ec0d9ca8c8
--- /dev/null
+++ b/net-dns/nsd/nsd-4.3.5.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2021 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"
+[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+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
+   # Required to get correct pkg-config macros with USE="systemd"
+   # see bugs #663618 and #758050
+   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)
+  

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

2020-12-07 Thread Lars Wendler
commit: a78fa865809db64d25774d96b36830cd0583c106
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Dec  8 07:32:40 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Dec  8 07:32:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a78fa865

net-dns/nsd: Security cleanup

Bug: https://bugs.gentoo.org/758977
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/Manifest |   2 -
 net-dns/nsd/nsd-4.2.4.ebuild | 116 ---
 net-dns/nsd/nsd-4.3.3.ebuild | 116 ---
 3 files changed, 234 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index e36535c6bd4..b0b1f2df68f 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1 @@
-DIST nsd-4.2.4.tar.gz 1148826 BLAKE2B 
e2508c225d0bebeb9134c6eb3f00dfaf00d2de1a545cf9719b3bf04de8cf4a173ed744ebe5ff50a7062f5fb3135f4e476b9111736442fa358eb6ce20faac8406
 SHA512 
5d4f546a2a4484b182c65d3337d44596e935bca074c0eda2947b9d128a56db08a00240c6ec9ce22bc9a436e009c00c3283c4a5cbd1163ca4a429eaa92ec54208
-DIST nsd-4.3.3.tar.gz 1181082 BLAKE2B 
611027e015f89a6aef0bc9e0b74242e683a1475f5cd2a79dc16a30011989c33a4d3bd21aced24dc6040469a304414b7e775261b097beb007e06c3c025dbf2b9e
 SHA512 
5e7e2037e0939af20af137c913943904e36cf7da517292d40dbbd4f7ebc878b0e97acd7f6cbbaaebbb525a84f6d6ae9e82c34df9c8482075653c4802777a9fa6
 DIST nsd-4.3.4.tar.gz 1182467 BLAKE2B 
10c06be9df393774627a42a7cf254202fe9800e7cd5048d392fbf90a65321a4596e742165b1157b3a0ce0645a80ae5425f7d43eb0a453077e45bff06d52347d4
 SHA512 
fe332caecfd3c6bb8ae1a92fec26984a7953e5e462515e8622c1079b217c962728e841826cdf7899f47f9ac24af1dd383f8ba7981541b05a2338cd288c40b0a7

diff --git a/net-dns/nsd/nsd-4.2.4.ebuild b/net-dns/nsd/nsd-4.2.4.ebuild
deleted file mode 100644
index fa42a2b9d37..000
--- a/net-dns/nsd/nsd-4.2.4.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2020 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"
-[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-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_
-   

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

2020-12-07 Thread Lars Wendler
commit: 2657c97364679bbd7112226f81c19935f8190b9e
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Dec  8 07:32:05 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Dec  8 07:32:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2657c973

net-dns/nsd: v4.3.4: Security stabilization for amd64 and x86

Bug: https://bugs.gentoo.org/758977
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

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

diff --git a/net-dns/nsd/nsd-4.3.4.ebuild b/net-dns/nsd/nsd-4.3.4.ebuild
index 46801d6b5f0..1b91a3af252 100644
--- a/net-dns/nsd/nsd-4.3.4.ebuild
+++ b/net-dns/nsd/nsd-4.3.4.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-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/

2020-12-02 Thread Lars Wendler
commit: 083d5b02b802ac2c5a2c4bfdc2dd6b7de91ddd55
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Dec  2 14:05:16 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Dec  2 14:05:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=083d5b02

net-dns/nsd: Run eautoreconf else some pkg-config macros are missing

Closes: https://bugs.gentoo.org/758050
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 net-dns/nsd/nsd-4.3.4.ebuild | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/net-dns/nsd/nsd-4.3.4.ebuild b/net-dns/nsd/nsd-4.3.4.ebuild
index 26d8ed0e769..46801d6b5f0 100644
--- a/net-dns/nsd/nsd-4.3.4.ebuild
+++ b/net-dns/nsd/nsd-4.3.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+inherit autotools systemd
 
 # version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
 MY_PV="${PV/_beta/b}"
@@ -48,6 +48,13 @@ PATCHES=(
"${FILESDIR}"/nsd_munin_.patch
 )
 
+src_prepare() {
+   default
+   # Required to get correct pkg-config macros with USE="systemd"
+   # see bugs #663618 and #758050
+   eautoreconf
+}
+
 src_configure() {
local myeconfargs=(
--enable-largefile



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

2020-12-01 Thread Lars Wendler
commit: fe1271a0f7a04952fc4e95c0c3bcd24fd468df72
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Dec  1 23:36:26 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Dec  1 23:36:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe1271a0

net-dns/nsd: Removed old

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

 net-dns/nsd/Manifest |   1 -
 net-dns/nsd/nsd-4.3.2.ebuild | 116 ---
 2 files changed, 117 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index fffeb59f1d6..e36535c6bd4 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,4 +1,3 @@
 DIST nsd-4.2.4.tar.gz 1148826 BLAKE2B 
e2508c225d0bebeb9134c6eb3f00dfaf00d2de1a545cf9719b3bf04de8cf4a173ed744ebe5ff50a7062f5fb3135f4e476b9111736442fa358eb6ce20faac8406
 SHA512 
5d4f546a2a4484b182c65d3337d44596e935bca074c0eda2947b9d128a56db08a00240c6ec9ce22bc9a436e009c00c3283c4a5cbd1163ca4a429eaa92ec54208
-DIST nsd-4.3.2.tar.gz 1177939 BLAKE2B 
3c1eac9065c5c8aae3b0a98d43cdbc5d757712656efc7ed912b51b91f4b3b84672a15de8476eba40642d766abd9499bbdeaf71aa6e6720a67ac83a1ed0ea274c
 SHA512 
0423aeddc7f60e04718b6ee0954fbdc274576b6ef61472324256e5db696f41e47899b645cbc4d6d8cc2a7dd00190b72f3ef0476c4640dbb80d36ec39f1c9f5c8
 DIST nsd-4.3.3.tar.gz 1181082 BLAKE2B 
611027e015f89a6aef0bc9e0b74242e683a1475f5cd2a79dc16a30011989c33a4d3bd21aced24dc6040469a304414b7e775261b097beb007e06c3c025dbf2b9e
 SHA512 
5e7e2037e0939af20af137c913943904e36cf7da517292d40dbbd4f7ebc878b0e97acd7f6cbbaaebbb525a84f6d6ae9e82c34df9c8482075653c4802777a9fa6
 DIST nsd-4.3.4.tar.gz 1182467 BLAKE2B 
10c06be9df393774627a42a7cf254202fe9800e7cd5048d392fbf90a65321a4596e742165b1157b3a0ce0645a80ae5425f7d43eb0a453077e45bff06d52347d4
 SHA512 
fe332caecfd3c6bb8ae1a92fec26984a7953e5e462515e8622c1079b217c962728e841826cdf7899f47f9ac24af1dd383f8ba7981541b05a2338cd288c40b0a7

diff --git a/net-dns/nsd/nsd-4.3.2.ebuild b/net-dns/nsd/nsd-4.3.2.ebuild
deleted file mode 100644
index b6ca20a489b..000
--- a/net-dns/nsd/nsd-4.3.2.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2020 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"
-[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-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 

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

2020-12-01 Thread Lars Wendler
commit: 0b980b1faaced32793c78d63ae9ae20124e38758
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Dec  1 23:35:59 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Dec  1 23:36:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b980b1f

net-dns/nsd: Bump to version 4.3.4

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

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

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 73e80de8cb5..fffeb59f1d6 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,4 @@
 DIST nsd-4.2.4.tar.gz 1148826 BLAKE2B 
e2508c225d0bebeb9134c6eb3f00dfaf00d2de1a545cf9719b3bf04de8cf4a173ed744ebe5ff50a7062f5fb3135f4e476b9111736442fa358eb6ce20faac8406
 SHA512 
5d4f546a2a4484b182c65d3337d44596e935bca074c0eda2947b9d128a56db08a00240c6ec9ce22bc9a436e009c00c3283c4a5cbd1163ca4a429eaa92ec54208
 DIST nsd-4.3.2.tar.gz 1177939 BLAKE2B 
3c1eac9065c5c8aae3b0a98d43cdbc5d757712656efc7ed912b51b91f4b3b84672a15de8476eba40642d766abd9499bbdeaf71aa6e6720a67ac83a1ed0ea274c
 SHA512 
0423aeddc7f60e04718b6ee0954fbdc274576b6ef61472324256e5db696f41e47899b645cbc4d6d8cc2a7dd00190b72f3ef0476c4640dbb80d36ec39f1c9f5c8
 DIST nsd-4.3.3.tar.gz 1181082 BLAKE2B 
611027e015f89a6aef0bc9e0b74242e683a1475f5cd2a79dc16a30011989c33a4d3bd21aced24dc6040469a304414b7e775261b097beb007e06c3c025dbf2b9e
 SHA512 
5e7e2037e0939af20af137c913943904e36cf7da517292d40dbbd4f7ebc878b0e97acd7f6cbbaaebbb525a84f6d6ae9e82c34df9c8482075653c4802777a9fa6
+DIST nsd-4.3.4.tar.gz 1182467 BLAKE2B 
10c06be9df393774627a42a7cf254202fe9800e7cd5048d392fbf90a65321a4596e742165b1157b3a0ce0645a80ae5425f7d43eb0a453077e45bff06d52347d4
 SHA512 
fe332caecfd3c6bb8ae1a92fec26984a7953e5e462515e8622c1079b217c962728e841826cdf7899f47f9ac24af1dd383f8ba7981541b05a2338cd288c40b0a7

diff --git a/net-dns/nsd/nsd-4.3.4.ebuild b/net-dns/nsd/nsd-4.3.4.ebuild
new file mode 100644
index 000..26d8ed0e769
--- /dev/null
+++ b/net-dns/nsd/nsd-4.3.4.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit 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"
+[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+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_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
+   

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

2020-10-08 Thread Lars Wendler
commit: b3a096e893bb447659cd43b2a9b97b47a051f38b
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Oct  8 15:51:09 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Oct  8 15:51:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3a096e8

net-dns/nsd: Bump to version 4.3.3

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

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

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 871b54f727b..bd87184f153 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,4 @@
 DIST nsd-4.2.4.tar.gz 1148826 BLAKE2B 
e2508c225d0bebeb9134c6eb3f00dfaf00d2de1a545cf9719b3bf04de8cf4a173ed744ebe5ff50a7062f5fb3135f4e476b9111736442fa358eb6ce20faac8406
 SHA512 
5d4f546a2a4484b182c65d3337d44596e935bca074c0eda2947b9d128a56db08a00240c6ec9ce22bc9a436e009c00c3283c4a5cbd1163ca4a429eaa92ec54208
 DIST nsd-4.3.1.tar.gz 1173582 BLAKE2B 
4766beefa9578bf11de9c8aeb4d0729b248893f36ffa72c699a134d0dcf758a247f8a9e31e8da182db982a8717f6cd737e95dac236420b18d34d7dc38bff0e57
 SHA512 
58b6e964795d6c796b547e1134cef954e5f4adf4e976db830ff7900892327154dab2a607ceadbb99072d6e5495d62c808c8fb8c94359ae93f636d11925c0d261
 DIST nsd-4.3.2.tar.gz 1177939 BLAKE2B 
3c1eac9065c5c8aae3b0a98d43cdbc5d757712656efc7ed912b51b91f4b3b84672a15de8476eba40642d766abd9499bbdeaf71aa6e6720a67ac83a1ed0ea274c
 SHA512 
0423aeddc7f60e04718b6ee0954fbdc274576b6ef61472324256e5db696f41e47899b645cbc4d6d8cc2a7dd00190b72f3ef0476c4640dbb80d36ec39f1c9f5c8
+DIST nsd-4.3.3.tar.gz 1181082 BLAKE2B 
611027e015f89a6aef0bc9e0b74242e683a1475f5cd2a79dc16a30011989c33a4d3bd21aced24dc6040469a304414b7e775261b097beb007e06c3c025dbf2b9e
 SHA512 
5e7e2037e0939af20af137c913943904e36cf7da517292d40dbbd4f7ebc878b0e97acd7f6cbbaaebbb525a84f6d6ae9e82c34df9c8482075653c4802777a9fa6

diff --git a/net-dns/nsd/nsd-4.3.3.ebuild b/net-dns/nsd/nsd-4.3.3.ebuild
new file mode 100644
index 000..b6ca20a489b
--- /dev/null
+++ b/net-dns/nsd/nsd-4.3.3.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2020 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"
+[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+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 

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

2020-10-08 Thread Lars Wendler
commit: 76a22fe710c87b331b40d53e162ee91d1ee20352
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Oct  8 15:51:42 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Oct  8 15:51:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76a22fe7

net-dns/nsd: Removed old

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

 net-dns/nsd/Manifest |   1 -
 net-dns/nsd/nsd-4.3.1.ebuild | 116 ---
 2 files changed, 117 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index bd87184f153..73e80de8cb5 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,4 +1,3 @@
 DIST nsd-4.2.4.tar.gz 1148826 BLAKE2B 
e2508c225d0bebeb9134c6eb3f00dfaf00d2de1a545cf9719b3bf04de8cf4a173ed744ebe5ff50a7062f5fb3135f4e476b9111736442fa358eb6ce20faac8406
 SHA512 
5d4f546a2a4484b182c65d3337d44596e935bca074c0eda2947b9d128a56db08a00240c6ec9ce22bc9a436e009c00c3283c4a5cbd1163ca4a429eaa92ec54208
-DIST nsd-4.3.1.tar.gz 1173582 BLAKE2B 
4766beefa9578bf11de9c8aeb4d0729b248893f36ffa72c699a134d0dcf758a247f8a9e31e8da182db982a8717f6cd737e95dac236420b18d34d7dc38bff0e57
 SHA512 
58b6e964795d6c796b547e1134cef954e5f4adf4e976db830ff7900892327154dab2a607ceadbb99072d6e5495d62c808c8fb8c94359ae93f636d11925c0d261
 DIST nsd-4.3.2.tar.gz 1177939 BLAKE2B 
3c1eac9065c5c8aae3b0a98d43cdbc5d757712656efc7ed912b51b91f4b3b84672a15de8476eba40642d766abd9499bbdeaf71aa6e6720a67ac83a1ed0ea274c
 SHA512 
0423aeddc7f60e04718b6ee0954fbdc274576b6ef61472324256e5db696f41e47899b645cbc4d6d8cc2a7dd00190b72f3ef0476c4640dbb80d36ec39f1c9f5c8
 DIST nsd-4.3.3.tar.gz 1181082 BLAKE2B 
611027e015f89a6aef0bc9e0b74242e683a1475f5cd2a79dc16a30011989c33a4d3bd21aced24dc6040469a304414b7e775261b097beb007e06c3c025dbf2b9e
 SHA512 
5e7e2037e0939af20af137c913943904e36cf7da517292d40dbbd4f7ebc878b0e97acd7f6cbbaaebbb525a84f6d6ae9e82c34df9c8482075653c4802777a9fa6

diff --git a/net-dns/nsd/nsd-4.3.1.ebuild b/net-dns/nsd/nsd-4.3.1.ebuild
deleted file mode 100644
index b6ca20a489b..000
--- a/net-dns/nsd/nsd-4.3.1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2020 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"
-[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-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 

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

2020-07-15 Thread Lars Wendler
commit: 1e2c4085fdb8f474cb91377c9bbf0e32c3315116
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jul 15 08:07:54 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jul 15 08:10:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e2c4085

net-dns/nsd: Removed old

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

 net-dns/nsd/Manifest |   1 -
 net-dns/nsd/nsd-4.3.0.ebuild | 116 ---
 2 files changed, 117 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 4574bae7346..871b54f727b 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,4 +1,3 @@
 DIST nsd-4.2.4.tar.gz 1148826 BLAKE2B 
e2508c225d0bebeb9134c6eb3f00dfaf00d2de1a545cf9719b3bf04de8cf4a173ed744ebe5ff50a7062f5fb3135f4e476b9111736442fa358eb6ce20faac8406
 SHA512 
5d4f546a2a4484b182c65d3337d44596e935bca074c0eda2947b9d128a56db08a00240c6ec9ce22bc9a436e009c00c3283c4a5cbd1163ca4a429eaa92ec54208
-DIST nsd-4.3.0.tar.gz 1168198 BLAKE2B 
87eb68987dfff84f7ab3038e8c563724d2859e61d28238967d5db272f6783f026eaa3729b73bd16761b8218110bdac7d636307babdaf67b9d35ddeb013ab5ae8
 SHA512 
8724fdfe9ca07dce6cf73bd0441a5d6b6e8a37f31744aca185e8cff2bde66ba677c189bb0b5bd8c8ec5682cd623bf24c0087ae47630615292b96d89f1d4134c5
 DIST nsd-4.3.1.tar.gz 1173582 BLAKE2B 
4766beefa9578bf11de9c8aeb4d0729b248893f36ffa72c699a134d0dcf758a247f8a9e31e8da182db982a8717f6cd737e95dac236420b18d34d7dc38bff0e57
 SHA512 
58b6e964795d6c796b547e1134cef954e5f4adf4e976db830ff7900892327154dab2a607ceadbb99072d6e5495d62c808c8fb8c94359ae93f636d11925c0d261
 DIST nsd-4.3.2.tar.gz 1177939 BLAKE2B 
3c1eac9065c5c8aae3b0a98d43cdbc5d757712656efc7ed912b51b91f4b3b84672a15de8476eba40642d766abd9499bbdeaf71aa6e6720a67ac83a1ed0ea274c
 SHA512 
0423aeddc7f60e04718b6ee0954fbdc274576b6ef61472324256e5db696f41e47899b645cbc4d6d8cc2a7dd00190b72f3ef0476c4640dbb80d36ec39f1c9f5c8

diff --git a/net-dns/nsd/nsd-4.3.0.ebuild b/net-dns/nsd/nsd-4.3.0.ebuild
deleted file mode 100644
index b6ca20a489b..000
--- a/net-dns/nsd/nsd-4.3.0.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2020 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"
-[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-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 

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

2020-07-15 Thread Lars Wendler
commit: d1e1c4d6f23a2c79b44ea3deb8034b37b0db5fd9
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jul 15 08:07:24 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jul 15 08:10:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e1c4d6

net-dns/nsd: Bump to version 4.3.2

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

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

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 4feb12d58a8..4574bae7346 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,4 @@
 DIST nsd-4.2.4.tar.gz 1148826 BLAKE2B 
e2508c225d0bebeb9134c6eb3f00dfaf00d2de1a545cf9719b3bf04de8cf4a173ed744ebe5ff50a7062f5fb3135f4e476b9111736442fa358eb6ce20faac8406
 SHA512 
5d4f546a2a4484b182c65d3337d44596e935bca074c0eda2947b9d128a56db08a00240c6ec9ce22bc9a436e009c00c3283c4a5cbd1163ca4a429eaa92ec54208
 DIST nsd-4.3.0.tar.gz 1168198 BLAKE2B 
87eb68987dfff84f7ab3038e8c563724d2859e61d28238967d5db272f6783f026eaa3729b73bd16761b8218110bdac7d636307babdaf67b9d35ddeb013ab5ae8
 SHA512 
8724fdfe9ca07dce6cf73bd0441a5d6b6e8a37f31744aca185e8cff2bde66ba677c189bb0b5bd8c8ec5682cd623bf24c0087ae47630615292b96d89f1d4134c5
 DIST nsd-4.3.1.tar.gz 1173582 BLAKE2B 
4766beefa9578bf11de9c8aeb4d0729b248893f36ffa72c699a134d0dcf758a247f8a9e31e8da182db982a8717f6cd737e95dac236420b18d34d7dc38bff0e57
 SHA512 
58b6e964795d6c796b547e1134cef954e5f4adf4e976db830ff7900892327154dab2a607ceadbb99072d6e5495d62c808c8fb8c94359ae93f636d11925c0d261
+DIST nsd-4.3.2.tar.gz 1177939 BLAKE2B 
3c1eac9065c5c8aae3b0a98d43cdbc5d757712656efc7ed912b51b91f4b3b84672a15de8476eba40642d766abd9499bbdeaf71aa6e6720a67ac83a1ed0ea274c
 SHA512 
0423aeddc7f60e04718b6ee0954fbdc274576b6ef61472324256e5db696f41e47899b645cbc4d6d8cc2a7dd00190b72f3ef0476c4640dbb80d36ec39f1c9f5c8

diff --git a/net-dns/nsd/nsd-4.3.2.ebuild b/net-dns/nsd/nsd-4.3.2.ebuild
new file mode 100644
index 000..b6ca20a489b
--- /dev/null
+++ b/net-dns/nsd/nsd-4.3.2.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2020 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"
+[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+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 

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

2020-04-17 Thread Lars Wendler
commit: 669ce6a7cccafca649fae2334453b9a0313c7e8f
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Apr 17 07:31:49 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Apr 17 07:34:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=669ce6a7

net-dns/nsd: Bump to version 4.3.1

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

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

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index b3c1bdae644..4feb12d58a8 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.2.4.tar.gz 1148826 BLAKE2B 
e2508c225d0bebeb9134c6eb3f00dfaf00d2de1a545cf9719b3bf04de8cf4a173ed744ebe5ff50a7062f5fb3135f4e476b9111736442fa358eb6ce20faac8406
 SHA512 
5d4f546a2a4484b182c65d3337d44596e935bca074c0eda2947b9d128a56db08a00240c6ec9ce22bc9a436e009c00c3283c4a5cbd1163ca4a429eaa92ec54208
 DIST nsd-4.3.0.tar.gz 1168198 BLAKE2B 
87eb68987dfff84f7ab3038e8c563724d2859e61d28238967d5db272f6783f026eaa3729b73bd16761b8218110bdac7d636307babdaf67b9d35ddeb013ab5ae8
 SHA512 
8724fdfe9ca07dce6cf73bd0441a5d6b6e8a37f31744aca185e8cff2bde66ba677c189bb0b5bd8c8ec5682cd623bf24c0087ae47630615292b96d89f1d4134c5
+DIST nsd-4.3.1.tar.gz 1173582 BLAKE2B 
4766beefa9578bf11de9c8aeb4d0729b248893f36ffa72c699a134d0dcf758a247f8a9e31e8da182db982a8717f6cd737e95dac236420b18d34d7dc38bff0e57
 SHA512 
58b6e964795d6c796b547e1134cef954e5f4adf4e976db830ff7900892327154dab2a607ceadbb99072d6e5495d62c808c8fb8c94359ae93f636d11925c0d261

diff --git a/net-dns/nsd/nsd-4.3.1.ebuild b/net-dns/nsd/nsd-4.3.1.ebuild
new file mode 100644
index 000..b6ca20a489b
--- /dev/null
+++ b/net-dns/nsd/nsd-4.3.1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2020 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"
+[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+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
+
+  

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

2020-03-21 Thread Lars Wendler
commit: 14c2774d2bec27187909e5ba38b2523c2cac8e7d
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Mar 22 00:52:59 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Mar 22 00:53:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14c2774d

net-dns/nsd: Removed old

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

 net-dns/nsd/Manifest |   2 -
 net-dns/nsd/nsd-4.2.2.ebuild | 115 ---
 net-dns/nsd/nsd-4.2.3.ebuild | 115 ---
 3 files changed, 232 deletions(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 85609fbdd7e..b3c1bdae644 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,4 +1,2 @@
-DIST nsd-4.2.2.tar.gz 1149182 BLAKE2B 
1cbac527063f7d14da589bd5060117da10fdd6a9e34b04eb763dbb94fe6c9cf09dc351985de3d099aea3377a4c945622871566c06e7f78aede885aa0c2bc5937
 SHA512 
43e2ee980a11ed0ad521cc9d8be1e2d29fa8ab552bdda043ffa7e5bc71cf07ad49319629f71e93dcf1dabd315f93bcfb9fd8b5847f27b125cf151fb4f63779b2
-DIST nsd-4.2.3.tar.gz 1148054 BLAKE2B 
1e184a557b973af24620338c2f4c94d27ecbd544dd40ee11c7905dc8304f6a1f7ba6d3e8ec49057ef88243d8afb9c005adba89e464ebecdd8b2ab2e5a751c302
 SHA512 
08349375caf96d870a7ba6e8de6342794f4bba356ef75d46f3c3f50462d356317f3e82a252febda21e2fbfe36bf7ad0c53f40079779faf204a4aaebd41fdc965
 DIST nsd-4.2.4.tar.gz 1148826 BLAKE2B 
e2508c225d0bebeb9134c6eb3f00dfaf00d2de1a545cf9719b3bf04de8cf4a173ed744ebe5ff50a7062f5fb3135f4e476b9111736442fa358eb6ce20faac8406
 SHA512 
5d4f546a2a4484b182c65d3337d44596e935bca074c0eda2947b9d128a56db08a00240c6ec9ce22bc9a436e009c00c3283c4a5cbd1163ca4a429eaa92ec54208
 DIST nsd-4.3.0.tar.gz 1168198 BLAKE2B 
87eb68987dfff84f7ab3038e8c563724d2859e61d28238967d5db272f6783f026eaa3729b73bd16761b8218110bdac7d636307babdaf67b9d35ddeb013ab5ae8
 SHA512 
8724fdfe9ca07dce6cf73bd0441a5d6b6e8a37f31744aca185e8cff2bde66ba677c189bb0b5bd8c8ec5682cd623bf24c0087ae47630615292b96d89f1d4134c5

diff --git a/net-dns/nsd/nsd-4.2.2.ebuild b/net-dns/nsd/nsd-4.2.2.ebuild
deleted file mode 100644
index 232aade21c0..000
--- a/net-dns/nsd/nsd-4.2.2.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# 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 

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

2020-03-21 Thread Lars Wendler
commit: f397a37a14320298ed6b1e7ba032a2a3a177e30d
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Mar 22 00:52:16 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Mar 22 00:53:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f397a37a

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

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

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

diff --git a/net-dns/nsd/nsd-4.2.4.ebuild b/net-dns/nsd/nsd-4.2.4.ebuild
index ec29bccb614..fa42a2b9d37 100644
--- a/net-dns/nsd/nsd-4.2.4.ebuild
+++ b/net-dns/nsd/nsd-4.2.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ 
SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-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/

2020-03-21 Thread Lars Wendler
commit: b08500467fe482f9c94f2452c0abb26873665f4c
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Mar 22 00:51:32 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Mar 22 00:53:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0850046

net-dns/nsd: Bump to version 4.3.0

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

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

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 38ccddbe936..85609fbdd7e 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,4 @@
 DIST nsd-4.2.2.tar.gz 1149182 BLAKE2B 
1cbac527063f7d14da589bd5060117da10fdd6a9e34b04eb763dbb94fe6c9cf09dc351985de3d099aea3377a4c945622871566c06e7f78aede885aa0c2bc5937
 SHA512 
43e2ee980a11ed0ad521cc9d8be1e2d29fa8ab552bdda043ffa7e5bc71cf07ad49319629f71e93dcf1dabd315f93bcfb9fd8b5847f27b125cf151fb4f63779b2
 DIST nsd-4.2.3.tar.gz 1148054 BLAKE2B 
1e184a557b973af24620338c2f4c94d27ecbd544dd40ee11c7905dc8304f6a1f7ba6d3e8ec49057ef88243d8afb9c005adba89e464ebecdd8b2ab2e5a751c302
 SHA512 
08349375caf96d870a7ba6e8de6342794f4bba356ef75d46f3c3f50462d356317f3e82a252febda21e2fbfe36bf7ad0c53f40079779faf204a4aaebd41fdc965
 DIST nsd-4.2.4.tar.gz 1148826 BLAKE2B 
e2508c225d0bebeb9134c6eb3f00dfaf00d2de1a545cf9719b3bf04de8cf4a173ed744ebe5ff50a7062f5fb3135f4e476b9111736442fa358eb6ce20faac8406
 SHA512 
5d4f546a2a4484b182c65d3337d44596e935bca074c0eda2947b9d128a56db08a00240c6ec9ce22bc9a436e009c00c3283c4a5cbd1163ca4a429eaa92ec54208
+DIST nsd-4.3.0.tar.gz 1168198 BLAKE2B 
87eb68987dfff84f7ab3038e8c563724d2859e61d28238967d5db272f6783f026eaa3729b73bd16761b8218110bdac7d636307babdaf67b9d35ddeb013ab5ae8
 SHA512 
8724fdfe9ca07dce6cf73bd0441a5d6b6e8a37f31744aca185e8cff2bde66ba677c189bb0b5bd8c8ec5682cd623bf24c0087ae47630615292b96d89f1d4134c5

diff --git a/net-dns/nsd/nsd-4.3.0.ebuild b/net-dns/nsd/nsd-4.3.0.ebuild
new file mode 100644
index 000..b6ca20a489b
--- /dev/null
+++ b/net-dns/nsd/nsd-4.3.0.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2020 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"
+[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+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 

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

2019-12-11 Thread Lars Wendler
commit: 18e499288bb34f2e3891df69e5aa6b8af35462e3
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Dec 11 08:50:50 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Dec 11 09:00:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18e49928

net-dns/nsd: Bump to version 4.2.4. Removed old

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

 net-dns/nsd/Manifest   | 2 +-
 net-dns/nsd/{nsd-4.2.4_rc1.ebuild => nsd-4.2.4.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index b40736865b0..38ccddbe936 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,3 +1,3 @@
 DIST nsd-4.2.2.tar.gz 1149182 BLAKE2B 
1cbac527063f7d14da589bd5060117da10fdd6a9e34b04eb763dbb94fe6c9cf09dc351985de3d099aea3377a4c945622871566c06e7f78aede885aa0c2bc5937
 SHA512 
43e2ee980a11ed0ad521cc9d8be1e2d29fa8ab552bdda043ffa7e5bc71cf07ad49319629f71e93dcf1dabd315f93bcfb9fd8b5847f27b125cf151fb4f63779b2
 DIST nsd-4.2.3.tar.gz 1148054 BLAKE2B 
1e184a557b973af24620338c2f4c94d27ecbd544dd40ee11c7905dc8304f6a1f7ba6d3e8ec49057ef88243d8afb9c005adba89e464ebecdd8b2ab2e5a751c302
 SHA512 
08349375caf96d870a7ba6e8de6342794f4bba356ef75d46f3c3f50462d356317f3e82a252febda21e2fbfe36bf7ad0c53f40079779faf204a4aaebd41fdc965
-DIST nsd-4.2.4rc1.tar.gz 1149433 BLAKE2B 
103de28801ff61cfd5cd07903d96c6031eb55cb3489bba9667c382ea5a50ea6fd2f0e998b5c9512c801aac48c3f70e7e52d9bce8002ac535cfc7dfc0e4819003
 SHA512 
1332ec9fa36795f2d3e7a710d056ee3b12737598bbd9d449c4fd34c1c601818b0ad54cd324d0ea92066abf3ba84a6ffda1bd8e1f3afb0857337d581bb421993a
+DIST nsd-4.2.4.tar.gz 1148826 BLAKE2B 
e2508c225d0bebeb9134c6eb3f00dfaf00d2de1a545cf9719b3bf04de8cf4a173ed744ebe5ff50a7062f5fb3135f4e476b9111736442fa358eb6ce20faac8406
 SHA512 
5d4f546a2a4484b182c65d3337d44596e935bca074c0eda2947b9d128a56db08a00240c6ec9ce22bc9a436e009c00c3283c4a5cbd1163ca4a429eaa92ec54208

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



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

2019-12-05 Thread Lars Wendler
commit: f47e0f90473e7e766c5889f490bd97e9cd92ad9a
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Dec  5 09:16:19 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Dec  5 09:16:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f47e0f90

net-dns/nsd: Bump to version 4.2.4_rc1

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

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

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index bb08f5c5db8..b40736865b0 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,2 +1,3 @@
 DIST nsd-4.2.2.tar.gz 1149182 BLAKE2B 
1cbac527063f7d14da589bd5060117da10fdd6a9e34b04eb763dbb94fe6c9cf09dc351985de3d099aea3377a4c945622871566c06e7f78aede885aa0c2bc5937
 SHA512 
43e2ee980a11ed0ad521cc9d8be1e2d29fa8ab552bdda043ffa7e5bc71cf07ad49319629f71e93dcf1dabd315f93bcfb9fd8b5847f27b125cf151fb4f63779b2
 DIST nsd-4.2.3.tar.gz 1148054 BLAKE2B 
1e184a557b973af24620338c2f4c94d27ecbd544dd40ee11c7905dc8304f6a1f7ba6d3e8ec49057ef88243d8afb9c005adba89e464ebecdd8b2ab2e5a751c302
 SHA512 
08349375caf96d870a7ba6e8de6342794f4bba356ef75d46f3c3f50462d356317f3e82a252febda21e2fbfe36bf7ad0c53f40079779faf204a4aaebd41fdc965
+DIST nsd-4.2.4rc1.tar.gz 1149433 BLAKE2B 
103de28801ff61cfd5cd07903d96c6031eb55cb3489bba9667c382ea5a50ea6fd2f0e998b5c9512c801aac48c3f70e7e52d9bce8002ac535cfc7dfc0e4819003
 SHA512 
1332ec9fa36795f2d3e7a710d056ee3b12737598bbd9d449c4fd34c1c601818b0ad54cd324d0ea92066abf3ba84a6ffda1bd8e1f3afb0857337d581bb421993a

diff --git a/net-dns/nsd/nsd-4.2.4_rc1.ebuild b/net-dns/nsd/nsd-4.2.4_rc1.ebuild
new file mode 100644
index 000..ec29bccb614
--- /dev/null
+++ b/net-dns/nsd/nsd-4.2.4_rc1.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 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"
+[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
+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 

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

2019-11-21 Thread Lars Wendler
commit: 277cc8569622c1f6e4f2a53517db6559dfbe0e97
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Nov 21 17:21:45 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Nov 21 17:21:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=277cc856

net-dns/nsd: Bump to version 4.2.3

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

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

diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 6b39f120d96..bb08f5c5db8 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1 +1,2 @@
 DIST nsd-4.2.2.tar.gz 1149182 BLAKE2B 
1cbac527063f7d14da589bd5060117da10fdd6a9e34b04eb763dbb94fe6c9cf09dc351985de3d099aea3377a4c945622871566c06e7f78aede885aa0c2bc5937
 SHA512 
43e2ee980a11ed0ad521cc9d8be1e2d29fa8ab552bdda043ffa7e5bc71cf07ad49319629f71e93dcf1dabd315f93bcfb9fd8b5847f27b125cf151fb4f63779b2
+DIST nsd-4.2.3.tar.gz 1148054 BLAKE2B 
1e184a557b973af24620338c2f4c94d27ecbd544dd40ee11c7905dc8304f6a1f7ba6d3e8ec49057ef88243d8afb9c005adba89e464ebecdd8b2ab2e5a751c302
 SHA512 
08349375caf96d870a7ba6e8de6342794f4bba356ef75d46f3c3f50462d356317f3e82a252febda21e2fbfe36bf7ad0c53f40079779faf204a4aaebd41fdc965

diff --git a/net-dns/nsd/nsd-4.2.3.ebuild b/net-dns/nsd/nsd-4.2.3.ebuild
new file mode 100644
index 000..0eba80ae8a8
--- /dev/null
+++ b/net-dns/nsd/nsd-4.2.3.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 

[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 

  1   2   >