1 |
commit: 530e588edb98e126902dd3209eb2a1efa3b24079 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 31 08:44:09 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 31 08:44:30 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=530e588e |
7 |
|
8 |
net-dns/nsd: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.44, Repoman-2.3.10 |
11 |
|
12 |
net-dns/nsd/Manifest | 2 - |
13 |
net-dns/nsd/nsd-4.1.21.ebuild | 104 ------------------------------------------ |
14 |
net-dns/nsd/nsd-4.1.22.ebuild | 104 ------------------------------------------ |
15 |
3 files changed, 210 deletions(-) |
16 |
|
17 |
diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest |
18 |
index 5cbf0856149..677a2624be5 100644 |
19 |
--- a/net-dns/nsd/Manifest |
20 |
+++ b/net-dns/nsd/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST nsd-4.1.21.tar.gz 1099021 BLAKE2B 129fd3145308c108ef2bd06b854aaf7cdb7ae7cce7a635c2028d210f87bc9591c89d8724b4d7a23d72e06e2ed73287c1379573f8cb3571cc63a47987db4f6b65 SHA512 1e37f433ff5cd4869145a575a89d6eaca6b17c0e029302e233277b400c5f0f0b76ea018d48178d6b8a75b72328f0ded9e885be836c0bb32367d6861ff11c7150 |
23 |
-DIST nsd-4.1.22.tar.gz 1099463 BLAKE2B 955973e9ee01c1a5ed0a7cff38f881c775785b17452538db468f874d032b426a197b3709693c2df148de4a0f87259754b64c7ea02e53d9d96974f8c723267e19 SHA512 cab025b80955a15d174592ba5f0955c59333a988bf11b094c166a80206b51b6fcef65e2e976cd77009bf3fded257719efa4674a3a3a9d859ebc14e35fca2ecfb |
24 |
DIST nsd-4.1.23.tar.gz 1102038 BLAKE2B 673146931421ba7be5e90b6f60db23f9e61f42687e4f0aac2d6624125f09067dab535a3badfd00d795a3948319467f3924ca24cc0697b0c203591c2d6efb1834 SHA512 7eb44658be6a3b94855d1a84201e5f20a02c8d85786ac0b1f82a3a67e6bc3c22602d03a8976c2bcb68ea68f0bcf72f1d9fe688e1fd1f9fbe6a774c97bdcf7939 |
25 |
|
26 |
diff --git a/net-dns/nsd/nsd-4.1.21.ebuild b/net-dns/nsd/nsd-4.1.21.ebuild |
27 |
deleted file mode 100644 |
28 |
index 021f321a5af..00000000000 |
29 |
--- a/net-dns/nsd/nsd-4.1.21.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,104 +0,0 @@ |
32 |
-# Copyright 1999-2018 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=6 |
36 |
- |
37 |
-inherit user systemd |
38 |
- |
39 |
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1 |
40 |
-MY_PV="${PV/_rc/rc}" |
41 |
-MY_PV="${MY_PV/_beta/b}" |
42 |
-MY_P="${PN}-${MY_PV}" |
43 |
- |
44 |
-DESCRIPTION="An authoritative only, high performance, open source name server" |
45 |
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd" |
46 |
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" |
47 |
-LICENSE="BSD" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="amd64 x86" |
50 |
-IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl libressl" |
51 |
- |
52 |
-S="${WORKDIR}/${MY_P}" |
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 |
- keepdir /var/db/${PN} |
123 |
-} |
124 |
- |
125 |
-pkg_postinst() { |
126 |
- # Do this in postinst to ensure the uid/gid is consistent for binpkgs |
127 |
- enewgroup nsd |
128 |
- enewuser nsd -1 -1 -1 nsd |
129 |
- |
130 |
- # database directory, writable by nsd for database updates and zone transfers |
131 |
- install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/db/nsd |
132 |
- |
133 |
- # zones directory, writable by nsd for zone file updates (nsd-control write) |
134 |
- install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/lib/nsd |
135 |
-} |
136 |
|
137 |
diff --git a/net-dns/nsd/nsd-4.1.22.ebuild b/net-dns/nsd/nsd-4.1.22.ebuild |
138 |
deleted file mode 100644 |
139 |
index 6e71f765df8..00000000000 |
140 |
--- a/net-dns/nsd/nsd-4.1.22.ebuild |
141 |
+++ /dev/null |
142 |
@@ -1,104 +0,0 @@ |
143 |
-# Copyright 1999-2018 Gentoo Foundation |
144 |
-# Distributed under the terms of the GNU General Public License v2 |
145 |
- |
146 |
-EAPI=6 |
147 |
- |
148 |
-inherit user systemd |
149 |
- |
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 |
- |
155 |
-DESCRIPTION="An authoritative only, high performance, open source name server" |
156 |
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd" |
157 |
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" |
158 |
-LICENSE="BSD" |
159 |
-SLOT="0" |
160 |
-KEYWORDS="~amd64 ~x86" |
161 |
-IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl libressl" |
162 |
- |
163 |
-S="${WORKDIR}/${MY_P}" |
164 |
- |
165 |
-RDEPEND=" |
166 |
- virtual/yacc |
167 |
- libevent? ( dev-libs/libevent ) |
168 |
- ssl? ( |
169 |
- !libressl? ( dev-libs/openssl:0= ) |
170 |
- libressl? ( dev-libs/libressl:= ) |
171 |
- ) |
172 |
- munin? ( net-analyzer/munin ) |
173 |
-" |
174 |
-DEPEND=" |
175 |
- ${RDEPEND} |
176 |
- sys-devel/flex |
177 |
-" |
178 |
- |
179 |
-src_prepare() { |
180 |
- # Fix the paths in the munin plugin to match our install |
181 |
- eapply "${FILESDIR}"/nsd_munin_.patch |
182 |
- eapply_user |
183 |
-} |
184 |
- |
185 |
-src_configure() { |
186 |
- local myeconfargs=( |
187 |
- --enable-pie |
188 |
- --enable-relro-now |
189 |
- --enable-largefile |
190 |
- --with-logfile="${EPREFIX}"/var/log/nsd.log |
191 |
- --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid |
192 |
- --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db |
193 |
- --with-xfrdir="${EPREFIX}"/var/db/nsd |
194 |
- --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state |
195 |
- --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list |
196 |
- --with-zonesdir="${EPREFIX}"/var/lib/nsd |
197 |
- $(use_enable bind8-stats) |
198 |
- $(use_enable bind8-stats zone-stats) |
199 |
- $(use_enable ipv6) |
200 |
- $(use_enable minimal-responses) |
201 |
- $(use_enable mmap) |
202 |
- $(use_enable nsec3) |
203 |
- $(use_enable ratelimit) |
204 |
- $(use_enable root-server) |
205 |
- $(use_enable runtime-checks checking) |
206 |
- $(use_with libevent) |
207 |
- $(use_with ssl) |
208 |
- ) |
209 |
- econf "${myeconfargs[@]}" |
210 |
-} |
211 |
- |
212 |
-src_install() { |
213 |
- emake DESTDIR="${D}" install |
214 |
- |
215 |
- dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS} |
216 |
- |
217 |
- newinitd "${FILESDIR}"/nsd.initd-r1 nsd |
218 |
- |
219 |
- # install munin plugin and config |
220 |
- if use munin ; then |
221 |
- exeinto /usr/libexec/munin/plugins |
222 |
- doexe contrib/nsd_munin_ |
223 |
- insinto /etc/munin/plugin-conf.d |
224 |
- newins "${FILESDIR}"/nsd.munin-conf nsd_munin |
225 |
- fi |
226 |
- |
227 |
- systemd_dounit "${FILESDIR}"/nsd.service |
228 |
- |
229 |
- # remove the /run directory that usually resides on tmpfs and is |
230 |
- # being taken care of by the nsd init script anyway (checkpath) |
231 |
- rm -r "${ED%/}"/run || die "Failed to remove /run" |
232 |
- |
233 |
- keepdir /var/db/${PN} |
234 |
-} |
235 |
- |
236 |
-pkg_postinst() { |
237 |
- # Do this in postinst to ensure the uid/gid is consistent for binpkgs |
238 |
- enewgroup nsd |
239 |
- enewuser nsd -1 -1 -1 nsd |
240 |
- |
241 |
- # database directory, writable by nsd for database updates and zone transfers |
242 |
- install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/db/nsd |
243 |
- |
244 |
- # zones directory, writable by nsd for zone file updates (nsd-control write) |
245 |
- install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/lib/nsd |
246 |
-} |