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