summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-02-17 00:47:39 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-02-17 00:49:34 +0100
commit6b00ee80fe0fa7c5ec2bc008235bb0b1b4631112 (patch)
treea97f9c56e59269c0e4e5d4a790722c03c0bb2135
parentnet-dns/nsd: Bump to version 4.1.15 (diff)
downloadgentoo-6b00ee80fe0fa7c5ec2bc008235bb0b1b4631112.tar.gz
gentoo-6b00ee80fe0fa7c5ec2bc008235bb0b1b4631112.tar.bz2
gentoo-6b00ee80fe0fa7c5ec2bc008235bb0b1b4631112.zip
net-dns/nsd: Removed old.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--net-dns/nsd/Manifest2
-rw-r--r--net-dns/nsd/files/nsd3-patch.cron9
-rw-r--r--net-dns/nsd/files/nsd3.initd-r166
-rw-r--r--net-dns/nsd/metadata.xml2
-rw-r--r--net-dns/nsd/nsd-3.2.22.ebuild87
-rw-r--r--net-dns/nsd/nsd-4.1.13.ebuild97
6 files changed, 0 insertions, 263 deletions
diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 27cea0e9003e..c60cfac6745f 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 bdfc61c5f3bf11febd8f4776eef1d4f2d95ed70f12f11d4eeee943c186ffd802 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 ec27e4e95d4b..000000000000
--- 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 76db09d63a3b..000000000000
--- 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"
- checkconfig || return $?
- local pidfile=$("${NSD_CHECKCONF}" -o pidfile "${NSD_CONFIG}")
- patch || return $?
- start-stop-daemon --stop --pidfile "${pidfile}"
- eend $?
-}
diff --git a/net-dns/nsd/metadata.xml b/net-dns/nsd/metadata.xml
index bbcd6ae4d638..0d66874728b4 100644
--- a/net-dns/nsd/metadata.xml
+++ b/net-dns/nsd/metadata.xml
@@ -21,7 +21,5 @@
<flag name="munin">
Install a plugin for <pkg>net-analyzer/munin</pkg> to graph
statistical data from nsd.</flag>
- <flag name="zone-stats">Enable per-zone statistics logging, this
- could lead to a reduced service level</flag>
</use>
</pkgmetadata>
diff --git a/net-dns/nsd/nsd-3.2.22.ebuild b/net-dns/nsd/nsd-3.2.22.ebuild
deleted file mode 100644
index 314d1d751e40..000000000000
--- a/net-dns/nsd/nsd-3.2.22.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit user
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd"
-MY_PV=${PV/_rc/rc}
-MY_PV=${MY_PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-S="${WORKDIR}/${MY_P}"
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bind8-stats ipv6 minimal-responses mmap +nsec3 ratelimit root-server runtime-checks zone-stats"
-
-RDEPEND="
- dev-libs/openssl:0=
- virtual/yacc
-"
-DEPEND="
- ${RDEPEND}
- sys-devel/flex
-"
-
-pkg_setup() {
- enewgroup nsd
- enewuser nsd -1 -1 -1 nsd
-}
-
-src_configure() {
- # ebuild.sh sets localstatedir to /var/lib, but nsd expects /var in several locations
- # some of these cannot be changed by arguments to econf/configure, f.i. logfile
- econf \
- --localstatedir="${EPREFIX}/var" \
- --with-pidfile="${EPREFIX}/var/run/nsd/nsd.pid" \
- --with-zonesdir="${EPREFIX}/var/lib/nsd" \
- --enable-largefile \
- $(use_enable bind8-stats) \
- $(use_enable ipv6) \
- $(use_enable minimal-responses) \
- $(use_enable mmap) \
- $(use_enable nsec3) \
- $(use_enable ratelimit) \
- $(use_enable root-server) \
- $(use_enable runtime-checks checking) \
- $(use_enable zone-stats)
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- dodoc doc/{ChangeLog,CREDITS,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
- insinto /usr/share/nsd
- doins contrib/nsd.zones2nsd.conf
-
- exeinto /etc/cron.daily
- newexe "${FILESDIR}"/nsd3-patch.cron nsd-patch.cron
-
- newinitd "${FILESDIR}"/nsd3.initd-r1 nsd
-
- # database directory, writable by nsd for database updates and zone transfers
- dodir /var/db/nsd
- fowners nsd:nsd /var/db/nsd
- fperms 750 /var/db/nsd
-
- # zones directory, writable by root for 'nsdc patch'
- dodir /var/lib/nsd
- fowners root:nsd /var/lib/nsd
- fperms 750 /var/lib/nsd
-
- # remove /var/run data created by Makefile, handled by initd script
- rm -r "${ED}"/var/run || die "could not remove /var/run/ directory"
-
-}
-
-pkg_postinst() {
- elog "This is the last official upstream release of the 3.2.x series."
- elog "Please consider upgrading to the 4.1.x series as that will remain the only one"
- elog "still receiving (security) updates from upstream."
-}
diff --git a/net-dns/nsd/nsd-4.1.13.ebuild b/net-dns/nsd/nsd-4.1.13.ebuild
deleted file mode 100644
index 3719d0f0ac27..000000000000
--- a/net-dns/nsd/nsd-4.1.13.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit user systemd
-
-DESCRIPTION="An authoritative only, high performance, open source name server"
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd"
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
-MY_PV=${PV/_rc/rc}
-MY_PV=${MY_PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-S="${WORKDIR}/${MY_P}"
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl libressl"
-
-RDEPEND="
- virtual/yacc
- libevent? ( dev-libs/libevent )
- ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:= ) )
- munin? ( net-analyzer/munin )
-"
-DEPEND="
- ${RDEPEND}
- sys-devel/flex
-"
-
-src_prepare() {
- # Fix the paths in the munin plugin to match our install
- eapply "${FILESDIR}"/nsd_munin_.patch
- eapply_user
-}
-
-src_configure() {
- econf \
- --enable-pie \
- --enable-relro-now \
- --enable-largefile \
- --with-logfile="${EPREFIX}"/var/log/nsd.log \
- --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid \
- --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db \
- --with-xfrdir="${EPREFIX}"/var/db/nsd \
- --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state \
- --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list \
- --with-zonesdir="${EPREFIX}"/var/lib/nsd \
- $(use_enable bind8-stats) \
- $(use_enable bind8-stats zone-stats) \
- $(use_enable ipv6) \
- $(use_enable minimal-responses) \
- $(use_enable mmap) \
- $(use_enable nsec3) \
- $(use_enable ratelimit) \
- $(use_enable root-server) \
- $(use_enable runtime-checks checking) \
- $(use_with libevent) \
- $(use_with ssl)
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
-
- newinitd "${FILESDIR}"/nsd.initd-r1 nsd
-
- # install munin plugin and config
- if use munin ; then
- exeinto /usr/libexec/munin/plugins
- doexe contrib/nsd_munin_
- insinto /etc/munin/plugin-conf.d
- newins "${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 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
-}