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: Wed, 21 Feb 2018 08:45:12
Message-Id: 1519202705.e9d2d8efed6e7ffa526b92ccfc92eab3c26476f4.polynomial-c@gentoo
1 commit: e9d2d8efed6e7ffa526b92ccfc92eab3c26476f4
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 21 08:45:05 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 21 08:45:05 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9d2d8ef
7
8 net-dns/nsd: Removed old.
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 net-dns/nsd/Manifest | 2 -
13 net-dns/nsd/nsd-4.1.18.ebuild | 102 ------------------------------------------
14 net-dns/nsd/nsd-4.1.19.ebuild | 102 ------------------------------------------
15 3 files changed, 206 deletions(-)
16
17 diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
18 index 480035b8072..a9648c6caa4 100644
19 --- a/net-dns/nsd/Manifest
20 +++ b/net-dns/nsd/Manifest
21 @@ -1,3 +1 @@
22 -DIST nsd-4.1.18.tar.gz 1095673 BLAKE2B e3dc86e64614323dbefb334769a8095dc674f422f8e62c91e2918f4622ceac0ebef7dec42d5a714b15ad2f3af368ba817239a0027d3a685abf603cf00e9fa9d1 SHA512 d9939b8813677127ccd3e87e709b27a8a4f96cc0221ab77563d9349cb6dd56ae39bb7349ede9aed9aaa07de9310bcaeb8be8b17f608e9c4714b4fb084f2e756f
23 -DIST nsd-4.1.19.tar.gz 1096567 BLAKE2B f6e700d0c6f539caa0f1ff94fb43091eb15b32421f4b952566ca5ae31b94922248cc5ffd28a97abd6870d6bdd8acd76e80b06717584c626634f0a01eed76ae51 SHA512 fc99590f84658311cf33428d87c84c73b231ac0c90f8ca47daedeb264642e291eb2e79f8dee304dd4dc3a73bd9c7fbe65f2bd164b120bd7b13429ad483882d82
24 DIST nsd-4.1.20.tar.gz 1096797 BLAKE2B aa1415933f8d1d1415349407c54cfdec581304ca27733110b45bc109288506ad2a92c110565695ac7cb4afae3b955fe09fe740196f268c810e0be992e4f55353 SHA512 4e646303d9da920a9ad567ea3e04a06d8b66bc0d84117908ae69126c131321d660548f32e7bb54e248dae4f48d5152c0a204bf8bf9262ac4394371c05305b21e
25
26 diff --git a/net-dns/nsd/nsd-4.1.18.ebuild b/net-dns/nsd/nsd-4.1.18.ebuild
27 deleted file mode 100644
28 index 537cf030813..00000000000
29 --- a/net-dns/nsd/nsd-4.1.18.ebuild
30 +++ /dev/null
31 @@ -1,102 +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 -
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.19.ebuild b/net-dns/nsd/nsd-4.1.19.ebuild
136 deleted file mode 100644
137 index 4a7e4dbabe2..00000000000
138 --- a/net-dns/nsd/nsd-4.1.19.ebuild
139 +++ /dev/null
140 @@ -1,102 +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 -# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
149 -MY_PV="${PV/_rc/rc}"
150 -MY_PV="${MY_PV/_beta/b}"
151 -MY_P="${PN}-${MY_PV}"
152 -
153 -DESCRIPTION="An authoritative only, high performance, open source name server"
154 -HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd"
155 -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz"
156 -LICENSE="BSD"
157 -SLOT="0"
158 -KEYWORDS="~amd64 ~x86"
159 -IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl libressl"
160 -
161 -S="${WORKDIR}/${MY_P}"
162 -
163 -RDEPEND="
164 - virtual/yacc
165 - libevent? ( dev-libs/libevent )
166 - ssl? (
167 - !libressl? ( dev-libs/openssl:0= )
168 - libressl? ( dev-libs/libressl:= )
169 - )
170 - munin? ( net-analyzer/munin )
171 -"
172 -DEPEND="
173 - ${RDEPEND}
174 - sys-devel/flex
175 -"
176 -
177 -src_prepare() {
178 - # Fix the paths in the munin plugin to match our install
179 - eapply "${FILESDIR}"/nsd_munin_.patch
180 - eapply_user
181 -}
182 -
183 -src_configure() {
184 - local myeconfargs=(
185 - --enable-pie
186 - --enable-relro-now
187 - --enable-largefile
188 - --with-logfile="${EPREFIX}"/var/log/nsd.log
189 - --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
190 - --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
191 - --with-xfrdir="${EPREFIX}"/var/db/nsd
192 - --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
193 - --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
194 - --with-zonesdir="${EPREFIX}"/var/lib/nsd
195 - $(use_enable bind8-stats)
196 - $(use_enable bind8-stats zone-stats)
197 - $(use_enable ipv6)
198 - $(use_enable minimal-responses)
199 - $(use_enable mmap)
200 - $(use_enable nsec3)
201 - $(use_enable ratelimit)
202 - $(use_enable root-server)
203 - $(use_enable runtime-checks checking)
204 - $(use_with libevent)
205 - $(use_with ssl)
206 - )
207 - econf "${myeconfargs[@]}"
208 -}
209 -
210 -src_install() {
211 - emake DESTDIR="${D}" install
212 -
213 - dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
214 -
215 - newinitd "${FILESDIR}"/nsd.initd-r1 nsd
216 -
217 - # install munin plugin and config
218 - if use munin ; then
219 - exeinto /usr/libexec/munin/plugins
220 - doexe contrib/nsd_munin_
221 - insinto /etc/munin/plugin-conf.d
222 - newins "${FILESDIR}"/nsd.munin-conf nsd_munin
223 - fi
224 -
225 - systemd_dounit "${FILESDIR}"/nsd.service
226 -
227 - # remove the /run directory that usually resides on tmpfs and is
228 - # being taken care of by the nsd init script anyway (checkpath)
229 - rm -r "${ED%/}"/run || die "Failed to remove /run"
230 -}
231 -
232 -pkg_postinst() {
233 - # Do this in postinst to ensure the uid/gid is consistent for binpkgs
234 - enewgroup nsd
235 - enewuser nsd -1 -1 -1 nsd
236 -
237 - # database directory, writable by nsd for database updates and zone transfers
238 - install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/db/nsd
239 -
240 - # zones directory, writable by nsd for zone file updates (nsd-control write)
241 - install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/lib/nsd
242 -}