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: Tue, 01 Dec 2020 23:36:42
Message-Id: 1606865794.fe1271a0f7a04952fc4e95c0c3bcd24fd468df72.polynomial-c@gentoo
1 commit: fe1271a0f7a04952fc4e95c0c3bcd24fd468df72
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 1 23:36:26 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 1 23:36:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe1271a0
7
8 net-dns/nsd: Removed old
9
10 Package-Manager: Portage-3.0.11, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-dns/nsd/Manifest | 1 -
14 net-dns/nsd/nsd-4.3.2.ebuild | 116 -------------------------------------------
15 2 files changed, 117 deletions(-)
16
17 diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
18 index fffeb59f1d6..e36535c6bd4 100644
19 --- a/net-dns/nsd/Manifest
20 +++ b/net-dns/nsd/Manifest
21 @@ -1,4 +1,3 @@
22 DIST nsd-4.2.4.tar.gz 1148826 BLAKE2B e2508c225d0bebeb9134c6eb3f00dfaf00d2de1a545cf9719b3bf04de8cf4a173ed744ebe5ff50a7062f5fb3135f4e476b9111736442fa358eb6ce20faac8406 SHA512 5d4f546a2a4484b182c65d3337d44596e935bca074c0eda2947b9d128a56db08a00240c6ec9ce22bc9a436e009c00c3283c4a5cbd1163ca4a429eaa92ec54208
23 -DIST nsd-4.3.2.tar.gz 1177939 BLAKE2B 3c1eac9065c5c8aae3b0a98d43cdbc5d757712656efc7ed912b51b91f4b3b84672a15de8476eba40642d766abd9499bbdeaf71aa6e6720a67ac83a1ed0ea274c SHA512 0423aeddc7f60e04718b6ee0954fbdc274576b6ef61472324256e5db696f41e47899b645cbc4d6d8cc2a7dd00190b72f3ef0476c4640dbb80d36ec39f1c9f5c8
24 DIST nsd-4.3.3.tar.gz 1181082 BLAKE2B 611027e015f89a6aef0bc9e0b74242e683a1475f5cd2a79dc16a30011989c33a4d3bd21aced24dc6040469a304414b7e775261b097beb007e06c3c025dbf2b9e SHA512 5e7e2037e0939af20af137c913943904e36cf7da517292d40dbbd4f7ebc878b0e97acd7f6cbbaaebbb525a84f6d6ae9e82c34df9c8482075653c4802777a9fa6
25 DIST nsd-4.3.4.tar.gz 1182467 BLAKE2B 10c06be9df393774627a42a7cf254202fe9800e7cd5048d392fbf90a65321a4596e742165b1157b3a0ce0645a80ae5425f7d43eb0a453077e45bff06d52347d4 SHA512 fe332caecfd3c6bb8ae1a92fec26984a7953e5e462515e8622c1079b217c962728e841826cdf7899f47f9ac24af1dd383f8ba7981541b05a2338cd288c40b0a7
26
27 diff --git a/net-dns/nsd/nsd-4.3.2.ebuild b/net-dns/nsd/nsd-4.3.2.ebuild
28 deleted file mode 100644
29 index b6ca20a489b..00000000000
30 --- a/net-dns/nsd/nsd-4.3.2.ebuild
31 +++ /dev/null
32 @@ -1,116 +0,0 @@
33 -# Copyright 1999-2020 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 libressl"
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 - !libressl? ( dev-libs/openssl:0= )
67 - libressl? ( dev-libs/libressl:= )
68 - )
69 - systemd? ( sys-apps/systemd )
70 -"
71 -DEPEND="${RDEPEND}"
72 -BDEPEND="
73 - sys-devel/flex
74 - virtual/yacc
75 - systemd? ( virtual/pkgconfig )
76 -"
77 -
78 -PATCHES=(
79 - # Fix the paths in the munin plugin to match our install
80 - "${FILESDIR}"/nsd_munin_.patch
81 -)
82 -
83 -src_prepare() {
84 - default
85 - eautoreconf
86 -}
87 -
88 -src_configure() {
89 - local myeconfargs=(
90 - --enable-largefile
91 - --enable-pie
92 - --enable-relro-now
93 - --enable-tcp-fastopen
94 - --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
95 - --with-logfile="${EPREFIX}"/var/log/nsd.log
96 - --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
97 - --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
98 - --with-xfrdir="${EPREFIX}"/var/db/nsd
99 - --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
100 - --with-zonesdir="${EPREFIX}"/var/lib/nsd
101 - $(use_enable bind8-stats)
102 - $(use_enable bind8-stats zone-stats)
103 - $(use_enable dnstap)
104 - $(use_enable ipv6)
105 - $(use_enable minimal-responses)
106 - $(use_enable mmap)
107 - $(use_enable nsec3)
108 - $(use_enable ratelimit)
109 - $(use_enable root-server)
110 - $(use_enable runtime-checks checking)
111 - $(use_enable systemd)
112 - $(use_with libevent)
113 - $(use_with ssl)
114 - )
115 - econf "${myeconfargs[@]}"
116 -}
117 -
118 -src_install() {
119 - emake DESTDIR="${D}" install
120 -
121 - dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
122 -
123 - newinitd "${FILESDIR}"/nsd.initd-r1 nsd
124 -
125 - # install munin plugin and config
126 - if use munin ; then
127 - exeinto /usr/libexec/munin/plugins
128 - doexe contrib/nsd_munin_
129 - insinto /etc/munin/plugin-conf.d
130 - newins "${FILESDIR}"/nsd.munin-conf nsd_munin
131 - fi
132 -
133 - systemd_dounit "${FILESDIR}"/nsd.service
134 -
135 - # remove the /run directory that usually resides on tmpfs and is
136 - # being taken care of by the nsd init script anyway (checkpath)
137 - rm -r "${ED}"/run || die "Failed to remove /run"
138 -
139 - keepdir /var/db/${PN}
140 -}
141 -
142 -pkg_postinst() {
143 - # database directory, writable by nsd for database updates and zone transfers
144 - install -d -m 750 -o nsd -g nsd "${EROOT}"/var/db/nsd
145 -
146 - # zones directory, writable by nsd for zone file updates (nsd-control write)
147 - install -d -m 750 -o nsd -g nsd "${EROOT}"/var/lib/nsd
148 -}