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