From c185dec2ad081a05837b73100973527f7a618d09 Mon Sep 17 00:00:00 2001 From: hasufell Date: Fri, 8 Mar 2013 21:09:51 +0100 Subject: [PATCH] net-dns/nsd in portage --- net-dns/nsd/ChangeLog | 152 ---------------------------------- net-dns/nsd/Manifest | 7 -- net-dns/nsd/files/nsd.confd | 2 - net-dns/nsd/files/nsd.cron | 10 --- net-dns/nsd/files/nsd.initd | 89 -------------------- net-dns/nsd/metadata.xml | 19 ----- net-dns/nsd/nsd-3.2.15.ebuild | 86 ------------------- 7 files changed, 365 deletions(-) delete mode 100644 net-dns/nsd/ChangeLog delete mode 100644 net-dns/nsd/Manifest delete mode 100644 net-dns/nsd/files/nsd.confd delete mode 100644 net-dns/nsd/files/nsd.cron delete mode 100644 net-dns/nsd/files/nsd.initd delete mode 100644 net-dns/nsd/metadata.xml delete mode 100644 net-dns/nsd/nsd-3.2.15.ebuild diff --git a/net-dns/nsd/ChangeLog b/net-dns/nsd/ChangeLog deleted file mode 100644 index b905c4c70..000000000 --- a/net-dns/nsd/ChangeLog +++ /dev/null @@ -1,152 +0,0 @@ -# ChangeLog for net-dns/nsd -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - -*nsd-3.2.15 (05 Feb 2013) - - 05 Feb 2013; Tom Hendrikx (whyscream) - -nsd-3.2.14-r1.ebuild, +nsd-3.2.15.ebuild, metadata.xml: - Version bump, minimal USE flag changes added - - 27 Nov 2012; Julian Ospald nsd-3.2.14-r1.ebuild: - drop -f switch from rm - -*nsd-3.2.14-r1 (26 Nov 2012) - - 26 Nov 2012; Tom Hendrikx (whyscream) -nsd-3.2.14.ebuild, - +nsd-3.2.14-r1.ebuild, files/nsd.initd: - Move /var/run/nsd/ creation to init script - -*nsd-3.2.14 (02 Nov 2012) - - 02 Nov 2012; Tom Hendrikx (whyscream) -nsd-3.2.13.ebuild, - +nsd-3.2.14.ebuild: - version bump - -*nsd-3.2.13 (28 Jul 2012) - - 28 Jul 2012; Tom Hendrikx (whyscream) -nsd-3.2.12.ebuild, - +nsd-3.2.13.ebuild: - version bump, security release for VU#517036 / CVE-2012-2979 - -*nsd-3.2.12 (19 Jul 2012) - - 19 Jul 2012; Tom Hendrikx (whyscream) -nsd-3.2.11.ebuild, - +nsd-3.2.12.ebuild: - version bump, secure release for CVE-2012-2978 (all previous versions are - vulnerable) - -*nsd-3.2.11 (09 Jul 2012) - - 09 Jul 2012; Tom Hendrikx (whyscream) -nsd-3.2.10.ebuild, - +nsd-3.2.11.ebuild, files/nsd.initd, metadata.xml: - version bump, new USE flags, and minor init.d fix - - 22 Jun 2012; Thomas Sachau (Tommy[D]) nsd-3.2.10.ebuild: - inherit user eclass instead of eutils eclass for enewuser - -*nsd-3.2.10 (17 Feb 2012) - - 17 Feb 2012; Tom Hendrikx (whyscream) -nsd-3.2.9.ebuild, - +nsd-3.2.10.ebuild, files/nsd.initd: - version bump - - 06 Jan 2012; Tom Hendrikx (whyscream) nsd-3.2.9.ebuild, - files/nsd.initd: - correct $extra_commands usage - - 09 Dec 2011; Tom Hendrikx (whyscream) files/nsd.initd: - updated init script, replaced deprecated $opts with new $extra_commands (no - version bump necessary) - - 27 Nov 2011; Tom Hendrikx (whyscream) - -nsd-3.2.8.ebuild, -files/nsd-3.2.8-configure.patch, +nsd-3.2.9.ebuild: - version bump - - 02 Jun 2011; Tom Hendrikx (whyscream) - nsd-3.2.8.ebuild: - bumped to EAPI=4 - - 20 May 2011; Justin Lecher metadata.xml: - Removed local use desc for largefile - - 20 May 2011; Justin Lecher nsd-3.2.8.ebuild: - Enable largefile support by default - http://archives.gentoo.org/gentoo-dev/msg_8924a26149b5a0c1ba8c97043b47e8c1.x - ml - - 26 Mar 2011; Tom Hendrikx (whyscream) - -nsd-3.2.7.ebuild, +nsd-3.2.8.ebuild, +files/nsd-3.2.8-configure.patch: - version bump, minor change in econf - - 26 Jan 2011; Tom Hendrikx (whyscream) - -nsd-3.2.6.ebuild, +nsd-3.2.7.ebuild, files/nsd.cron: - version bump - - 07 Sep 2010; Markos Chandras nsd-3.2.6.ebuild: - Drop tsig completely - - 02 Aug 2010; Tom Hendrikx (whyscream) ChangeLog: - version bump to nsd 3.2.6, dropping 3 USE flags due to upstream cleanup in - configure script, minor update to init script - - 15 Apr 2010; Tom Hendrikx (whyscream) - -nsd-3.2.4.ebuild, +nsd-3.2.5.ebuild: - version bump - - 11 Jan 2010; Tom Hendrikx (whyscream) - -nsd-3.2.3.ebuild, +nsd-3.2.4.ebuild: - version bump for nsd 3.2.4 - - 17 Aug 2009; Tom Hendrikx (whyscream) - -nsd-3.2.2.ebuild, -files/nsd-3.2.2-Makefile.in.patch, +nsd-3.2.3.ebuild: - version bump - - 19 May 2009; Tom Hendrikx (whyscream) - -nsd-3.2.1.ebuild, +nsd-3.2.2.ebuild, +files/nsd-3.2.2-Makefile.in.patch: - version bump for security release 3.2.2, see - http://www.nlnetlabs.nl/publications/NSD_vulnerability_announcement.html - - 19 Jan 2009; Tom Hendrikx (whyscream) - -nsd-3.2.0-r1.ebuild, +nsd-3.2.1.ebuild: - version bump - - 19 Jan 2009; Thomas Sachau (Tommy[D]) - nsd-3.2.0-r1.ebuild: - Add suggested RDEPEND=${DEPEND}, drop unneeded die - - 18 Jan 2009; Tom Hendrikx (whyscream) - -nsd-3.2.0.ebuild, +nsd-3.2.0-r1.ebuild, +files/nsd.confd, files/nsd.cron, - files/nsd.initd: - improved ebuild and initd script - - 31 Aug 2008; Thomas Sachau (Tommy[D]) metadata.xml: - Add local useflags to metadata.xml (GLEP 56) - - 21 Jul 2008; Tom Hendrikx (whyscream) - -nsd-3.1.0.ebuild, +nsd-3.1.1.ebuild: - Version bump - - 16 Jul 2008; Tiago Cunha (tcunha) -nsd-3.0.4.ebuild: - Remove old version - - 16 Jul 2008; Tom Hendrikx (whyscream) - +nsd-3.1.0.ebuild, files/nsd.initd: - Version bump with several ebuild changes, incorporating various changes from - bug 128246, with thanks to dev tommy for reviewing - - 10 Mar 2007; Markus Ullmann -nsd-2.3.5.ebuild: - Drop old - - 08 Mar 2007; Christian Faulhammer nsd-3.0.4.ebuild: - remove trailing whitespace - - 07 Mar 2007; Martin Hierling +nsd-3.0.4.ebuild: - version bump - - 31 Jul 2006; Jakub Moc nsd-2.3.5.ebuild: - Do not mix ewarn/einfo, add quoting - - 28 Jun 2006; Martin Hierling ChangeLog: - New Ebuild for bug 128246 net-dns/nsd thanks to Albert Holm - diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest deleted file mode 100644 index bf49dca9d..000000000 --- a/net-dns/nsd/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX nsd.confd 104 SHA256 de3c05a7b898b86f544ebc5804540dbf9736695cb21d614964561294533f2050 SHA512 ffe01f32b79d14eccaf0a7697b7eaddf8d0522015586744f28107b3397ee04021f702325cc9b2c3ab3eb9ae06fbad5c96b044551005e7e6149f8798300bac98a WHIRLPOOL f5e7baa796830d777764c7f7dcd831b3994986814cdd6944df289f5055120f896b178514684c8b557d8b70ef1023242ccae3d45b510710bb73108f63065dfe77 -AUX nsd.cron 262 SHA256 c7b1d0141be64800fe88054b589afa0dc25d21ab42f40ee46e5b1ec659bfc8da SHA512 91919b37ac9eaf0e787a19ca59f85366a6660883722c167bc0bfdc18c2ffdfb8770df505d5bfb33235a21cd993b7f0a29f99017aac1cc2a04f31590ff289ff1c WHIRLPOOL a0d59373f112bee23e58000216dbb4c9642e505f650a87d134b1fe07a2694a6ea77e9d3effb33e61fcaaa6d8540f2e46b64eb326d7c16ffd1a167a74ef76b585 -AUX nsd.initd 1938 SHA256 990fccc16593dd8e04a5669ee759a62d0b4b304a304fad39d239fe08de39a5ac SHA512 0d1131e3a61a0972b193de178cc902515c06af374b87b7b6795f5b09322fb94d80bb345a4175cf292015015163f210adbbe25b0faef499cce5de89d003331592 WHIRLPOOL 79735d7ed779024e7f2700ed5e1aa507286e89a2a0f4c4f0dcbe0d63a79ccfcfd4dee6171fb27b11c0a3c757955f57919e86ff9b58f4445ccf9c8aeadf27ccfd -DIST nsd-3.2.15.tar.gz 909346 SHA256 a1a0eaf88c2d788fcdafd6848a1ff45e113e95cfc17a87fb0e71eab34ffdad64 SHA512 ed431f8b4ed2d28bba3ec05db7ea9d176b5be6daee4ca086a5bad65606c82abb15653ae6c664b3a32b88becf8a99f3aa6b447583af12ac677bd5dd84962b070b WHIRLPOOL 1c230c08a7af92bf2c67b467fdf1f5f6807c3ff6e04657d80bd3496c7e999baa16ca007294318e72279ac4da2c311d0f952b13fafcc0d7dab1096f699373700a -EBUILD nsd-3.2.15.ebuild 2220 SHA256 0f203c6c0037d06cf4a40f0b07c1d96f59d7769f1d79730f693fd149804729f0 SHA512 791be192e547ac4eebe3f8e1523761c43655ca59143146d818f9c1066982fb2cacffe630cb214920119ec5c17209411170c7faf6c955d87db517d45893277349 WHIRLPOOL 569099b24ebedb4d094a0cf43bcada60682fc213bd34bec28cdb7011f17cbc077003305cc291f05e238b89c98ca48cc26ce28a5b7e1628d841c65a4bd3686725 -MISC ChangeLog 5284 SHA256 7371b0f220f0f660b66007933b323bc654c234200eec7cbc44582a349ea9f5ab SHA512 099c847de053d26fbb2d18015a959561ddaec51e91f6ecc310bc47d856cb789a08c16b0d87894f5c9ffacd3cc0fbc0a635255ded4a492f2e111719ebed519ecf WHIRLPOOL 0822e195002b47f2ccd9f78c225e993a3f9e05a954b931f4a34362f6b5e7ae83f7d4b44e2b2e79c297fecf32956385fedbdf019d73f5a94bf831f3ad8f88c16e -MISC metadata.xml 877 SHA256 ebe60afd1a140bdb6c7aee63a51de88111cde66e87c09863e9417d0512b231e0 SHA512 3a63503659106e5d1861c23fdfc15f10db067ec648d70a2c1b59369d73194319bc4db64171732f0e73b85d2255377a88e64b501ae30eae37b86efaabdedd65a6 WHIRLPOOL c1ebe03526aaf597b7868088aef04aa6d842207630e94b9b733d261005364f365f8384b0a6b6aad954b03cf1b61b2f895bef445dc3f2538b6f538cd8c453e174 diff --git a/net-dns/nsd/files/nsd.confd b/net-dns/nsd/files/nsd.confd deleted file mode 100644 index f6c365244..000000000 --- a/net-dns/nsd/files/nsd.confd +++ /dev/null @@ -1,2 +0,0 @@ -# Location of the nsd configuration file. Leave empty for the default. -#config_file="/etc/nsd/nsd.conf" diff --git a/net-dns/nsd/files/nsd.cron b/net-dns/nsd/files/nsd.cron deleted file mode 100644 index 71a7d4f26..000000000 --- a/net-dns/nsd/files/nsd.cron +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# -my_nsdc="/usr/sbin/nsdc" - -if test -x ${my_nsdc} && ${my_nsdc} running 1> /dev/null; then - ${my_nsdc} patch 1> /dev/null -fi diff --git a/net-dns/nsd/files/nsd.initd b/net-dns/nsd/files/nsd.initd deleted file mode 100644 index 1325420aa..000000000 --- a/net-dns/nsd/files/nsd.initd +++ /dev/null @@ -1,89 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# -extra_commands="rebuild" -extra_started_commands="reload" -description="NSD is an authoritative only, high performance, open source name server" -description_rebuild="Rebuild zone database" -description_reload="Rebuild zone database and reload it" - -config_file=${config_file:-/etc/nsd/nsd.conf} -my_nsdc="/usr/sbin/nsdc" -my_nsd_checkconf="/usr/sbin/nsd-checkconf" - -depend() { - need net - use logger - provide auth-dns -} - -_checkconf() { - if ! test -e "${config_file}"; then - eerror "You need to create an appropriate config file." - eerror "An example can be found in /etc/nsd/nsd.conf.sample" - return 1 - fi - - if ! ${my_nsd_checkconf} "${config_file}"; then - eerror "You have errors in your configfile (${config_file})" - return 1 - fi - return 0 -} - -_checkdb() { - local database=$(${my_nsd_checkconf} -o database ${config_file}) - if ! test -f $database; then - eerror "You have no database file in ${database}, will try to rebuild" - rebuild - fi - return 0 -} - -_patch() { - local difffile=$(${my_nsd_checkconf} -o difffile ${config_file}) - if test -s ${difffile}; then - ebegin "Patching NSD zone files" - ${my_nsdc} patch > /dev/null - eend $? - fi -} - -rebuild() { - ebegin "Rebuilding NSD zone database" - if ! ${my_nsdc} rebuild > /dev/null; then - eerror "There was an error rebuilding the database. Please review your zone files." - return 1 - fi - eend $? -} - -start() { - ebegin "Starting NSD" - - local pidfile=$(${my_nsd_checkconf} -o pidfile ${config_file}) - checkpath -d -o nsd:nsd $(dirname ${pidfile}) - - _checkconf || return 1 - _checkdb || return 1 - ${my_nsdc} start - ${my_nsdc} running - eend $? -} - -stop() { - ebegin "Stopping NSD" - _patch - ${my_nsdc} stop - eend $? -} - -reload() { - _checkconf || return 1 - rebuild || return 1 - ebegin "Reloading NSD zone database" - ${my_nsdc} reload - eend $? -} diff --git a/net-dns/nsd/metadata.xml b/net-dns/nsd/metadata.xml deleted file mode 100644 index 0f6700bfc..000000000 --- a/net-dns/nsd/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - maintainer-wanted@gentoo.org - - Enables BIND8 like NSTATS and XSTATS - If minimal responses are disabled, - responses are more likely to get truncated, resulting in TCP - fallback - Enable NSEC3 support - 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 - Enable per-zone statistics logging, this - could lead to a reduced service level - - diff --git a/net-dns/nsd/nsd-3.2.15.ebuild b/net-dns/nsd/nsd-3.2.15.ebuild deleted file mode 100644 index 121143997..000000000 --- a/net-dns/nsd/nsd-3.2.15.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit user versionator - -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}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="bind8-stats ipv6 minimal-responses mmap +nsec3 ratelimit root-server runtime-checks zone-stats" - -RDEPEND=" - dev-libs/openssl - virtual/yacc -" -DEPEND=" - ${RDEPEND} - sys-devel/flex -" - -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 - doexe "${FILESDIR}"/nsd.cron - - newinitd "${FILESDIR}"/nsd.initd nsd - newconfd "${FILESDIR}"/nsd.confd nsd - - # database directory, writable by nsd for ixfr.db file - 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 "${D}"/var/run || die "could not remove /var/run/ directory" - -} - -pkg_postinst() { - version_compare "3.2.9" "${REPLACING_VERSIONS}" - if test $? -eq 3; then - ewarn "In ${PN}-3.2.9, the database format was changed." - ewarn "Please run '/etc/init.d/nsd rebuild' to rebuild the database, then restart nsd." - fi -} -- 2.43.2