Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/
Date: Fri, 21 Jul 2017 21:59:28
Message-Id: 1500674359.ad1cda6e162fe7398650ff5fb57b44f376c8e47b.polynomial-c@gentoo
1 commit: ad1cda6e162fe7398650ff5fb57b44f376c8e47b
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 21 21:58:58 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 21 21:59:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad1cda6e
7
8 net-dns/nsd: Removed old.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 net-dns/nsd/Manifest | 2 -
13 net-dns/nsd/nsd-4.1.14.ebuild | 101 ------------------------------------------
14 net-dns/nsd/nsd-4.1.15.ebuild | 101 ------------------------------------------
15 3 files changed, 204 deletions(-)
16
17 diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
18 index a66586b9678..b72cf6904af 100644
19 --- a/net-dns/nsd/Manifest
20 +++ b/net-dns/nsd/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST nsd-4.1.14.tar.gz 1086818 SHA256 bdfc61c5f3bf11febd8f4776eef1d4f2d95ed70f12f11d4eeee943c186ffd802 SHA512 25d16a6c3e4515129f0ad4f9ab0bf6ebe12bd817cd6107d66cb99aff6b6984f5153d9b502013492cfdd907d5fad9a284583c8436b559ef4c0cce5a1176a4aff3 WHIRLPOOL 64b14e53a13ff379b665c3d76298f4616b05777694b51aa3a6541be7b2c0d6b283fe6f069dec752241393b3e8795ce048ee935f614db39d221962a2d86a693f2
23 -DIST nsd-4.1.15.tar.gz 1087383 SHA256 494a862cfcd26a525a4bf06306eb7ab0387b34678ac6d37767507438e3a23a4b SHA512 1011e4805d43931dd1a7fed230dadd9eb9bdf7a6728cb5bbde2def462d3bdc2ed79529ef0c60a6530e6fb78ae88a03a50d8b75b27d9130966ca20a62d8a6615e WHIRLPOOL 85a01ecb7c25e557d73e40dfbc881453020fbc20eabb50ffb47d94128e86de3861053425635b438ef86ed261dacf03a040f90d4e143726b765abc790a1c5944c
24 DIST nsd-4.1.16.tar.gz 1088633 SHA256 7f8367ad23cc5cddffa885e7e2f549123c8b4123db9726df41d99f255d6baab2 SHA512 51135bbf412cdc5d6d9be02af9fef16513f0529155c102debfd6bd68b025d289c684777a8fca57de86b25f68bc94aef89d2cfefb871b8d63048d262f6c8eb8e3 WHIRLPOOL 030da2551abef8cb29e16574155605eb9377836f1a43422e200ba5bc6ede319893d4293018cf0be242d1ac0cfad4c3b40f566c7ad587792186c64102d8c9785f
25 DIST nsd-4.1.17.tar.gz 1089526 SHA256 107fa506d18ed6fd0a922d1b96774afd9270ec38ec6b17cd7c46fb9433a03a6c SHA512 4cffa261b1832d0daac095e92542359ffd725918f07ec605c78a9346b1cf4a4bc21bdc59ab388eb7324a170bbd8b122cfa75e7448015b38572b47d18add24a8f WHIRLPOOL c8892dca5f5c625d435cfde3f556ccc7518f3e37b7242892f9c101f4ffa5da1a2ea09083a30942bb1dad91ab70b40b2647339b2a4988f08478db9b6dd2b1c3df
26
27 diff --git a/net-dns/nsd/nsd-4.1.14.ebuild b/net-dns/nsd/nsd-4.1.14.ebuild
28 deleted file mode 100644
29 index 1b7f7b998e3..00000000000
30 --- a/net-dns/nsd/nsd-4.1.14.ebuild
31 +++ /dev/null
32 @@ -1,101 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -inherit user systemd
39 -
40 -DESCRIPTION="An authoritative only, high performance, open source name server"
41 -HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd"
42 -# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
43 -MY_PV=${PV/_rc/rc}
44 -MY_PV=${MY_PV/_beta/b}
45 -MY_P=${PN}-${MY_PV}
46 -S="${WORKDIR}/${MY_P}"
47 -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz"
48 -
49 -LICENSE="BSD"
50 -SLOT="0"
51 -KEYWORDS="amd64 x86"
52 -IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl libressl"
53 -
54 -RDEPEND="
55 - virtual/yacc
56 - libevent? ( dev-libs/libevent )
57 - ssl? (
58 - !libressl? ( dev-libs/openssl:0= )
59 - libressl? ( dev-libs/libressl:= )
60 - )
61 - munin? ( net-analyzer/munin )
62 -"
63 -DEPEND="
64 - ${RDEPEND}
65 - sys-devel/flex
66 -"
67 -
68 -src_prepare() {
69 - # Fix the paths in the munin plugin to match our install
70 - eapply "${FILESDIR}"/nsd_munin_.patch
71 - eapply_user
72 -}
73 -
74 -src_configure() {
75 - local myeconfargs=(
76 - --enable-pie
77 - --enable-relro-now
78 - --enable-largefile
79 - --with-logfile="${EPREFIX}"/var/log/nsd.log
80 - --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
81 - --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
82 - --with-xfrdir="${EPREFIX}"/var/db/nsd
83 - --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
84 - --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
85 - --with-zonesdir="${EPREFIX}"/var/lib/nsd
86 - $(use_enable bind8-stats)
87 - $(use_enable bind8-stats zone-stats)
88 - $(use_enable ipv6)
89 - $(use_enable minimal-responses)
90 - $(use_enable mmap)
91 - $(use_enable nsec3)
92 - $(use_enable ratelimit)
93 - $(use_enable root-server)
94 - $(use_enable runtime-checks checking)
95 - $(use_with libevent)
96 - $(use_with ssl)
97 - )
98 - econf "${myeconfargs[@]}"
99 -}
100 -
101 -src_install() {
102 - emake DESTDIR="${D}" install
103 -
104 - dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
105 -
106 - newinitd "${FILESDIR}"/nsd.initd-r1 nsd
107 -
108 - # install munin plugin and config
109 - if use munin ; then
110 - exeinto /usr/libexec/munin/plugins
111 - doexe contrib/nsd_munin_
112 - insinto /etc/munin/plugin-conf.d
113 - newins "${FILESDIR}"/nsd.munin-conf nsd_munin
114 - fi
115 -
116 - systemd_dounit "${FILESDIR}"/nsd.service
117 -
118 - # remove the /run directory that usually resides on tmpfs and is
119 - # being taken care of by the nsd init script anyway (checkpath)
120 - rm -r "${ED}"/run || die "Failed to remove /run"
121 -}
122 -
123 -pkg_postinst() {
124 - # Do this in postinst to ensure the uid/gid is consistent for binpkgs
125 - enewgroup nsd
126 - enewuser nsd -1 -1 -1 nsd
127 -
128 - # database directory, writable by nsd for database updates and zone transfers
129 - install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/db/nsd
130 -
131 - # zones directory, writable by nsd for zone file updates (nsd-control write)
132 - install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/lib/nsd
133 -}
134
135 diff --git a/net-dns/nsd/nsd-4.1.15.ebuild b/net-dns/nsd/nsd-4.1.15.ebuild
136 deleted file mode 100644
137 index 23775fc7584..00000000000
138 --- a/net-dns/nsd/nsd-4.1.15.ebuild
139 +++ /dev/null
140 @@ -1,101 +0,0 @@
141 -# Copyright 1999-2017 Gentoo Foundation
142 -# Distributed under the terms of the GNU General Public License v2
143 -
144 -EAPI=6
145 -
146 -inherit user systemd
147 -
148 -DESCRIPTION="An authoritative only, high performance, open source name server"
149 -HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd"
150 -# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
151 -MY_PV=${PV/_rc/rc}
152 -MY_PV=${MY_PV/_beta/b}
153 -MY_P=${PN}-${MY_PV}
154 -S="${WORKDIR}/${MY_P}"
155 -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz"
156 -
157 -LICENSE="BSD"
158 -SLOT="0"
159 -KEYWORDS="~amd64 ~x86"
160 -IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl libressl"
161 -
162 -RDEPEND="
163 - virtual/yacc
164 - libevent? ( dev-libs/libevent )
165 - ssl? (
166 - !libressl? ( dev-libs/openssl:0= )
167 - libressl? ( dev-libs/libressl:= )
168 - )
169 - munin? ( net-analyzer/munin )
170 -"
171 -DEPEND="
172 - ${RDEPEND}
173 - sys-devel/flex
174 -"
175 -
176 -src_prepare() {
177 - # Fix the paths in the munin plugin to match our install
178 - eapply "${FILESDIR}"/nsd_munin_.patch
179 - eapply_user
180 -}
181 -
182 -src_configure() {
183 - local myeconfargs=(
184 - --enable-pie
185 - --enable-relro-now
186 - --enable-largefile
187 - --with-logfile="${EPREFIX}"/var/log/nsd.log
188 - --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
189 - --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
190 - --with-xfrdir="${EPREFIX}"/var/db/nsd
191 - --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
192 - --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
193 - --with-zonesdir="${EPREFIX}"/var/lib/nsd
194 - $(use_enable bind8-stats)
195 - $(use_enable bind8-stats zone-stats)
196 - $(use_enable ipv6)
197 - $(use_enable minimal-responses)
198 - $(use_enable mmap)
199 - $(use_enable nsec3)
200 - $(use_enable ratelimit)
201 - $(use_enable root-server)
202 - $(use_enable runtime-checks checking)
203 - $(use_with libevent)
204 - $(use_with ssl)
205 - )
206 - econf "${myeconfargs[@]}"
207 -}
208 -
209 -src_install() {
210 - emake DESTDIR="${D}" install
211 -
212 - dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
213 -
214 - newinitd "${FILESDIR}"/nsd.initd-r1 nsd
215 -
216 - # install munin plugin and config
217 - if use munin ; then
218 - exeinto /usr/libexec/munin/plugins
219 - doexe contrib/nsd_munin_
220 - insinto /etc/munin/plugin-conf.d
221 - newins "${FILESDIR}"/nsd.munin-conf nsd_munin
222 - fi
223 -
224 - systemd_dounit "${FILESDIR}"/nsd.service
225 -
226 - # remove the /run directory that usually resides on tmpfs and is
227 - # being taken care of by the nsd init script anyway (checkpath)
228 - rm -r "${ED}"/run || die "Failed to remove /run"
229 -}
230 -
231 -pkg_postinst() {
232 - # Do this in postinst to ensure the uid/gid is consistent for binpkgs
233 - enewgroup nsd
234 - enewuser nsd -1 -1 -1 nsd
235 -
236 - # database directory, writable by nsd for database updates and zone transfers
237 - install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/db/nsd
238 -
239 - # zones directory, writable by nsd for zone file updates (nsd-control write)
240 - install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/lib/nsd
241 -}