Gentoo Archives: gentoo-commits

From: Piotr Karbowski <slashbeast@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
Date: Wed, 01 Jul 2020 19:47:41
Message-Id: 1593632819.cec53b4ce666996d46df6d4f6dbd727d61f2c195.slashbeast@gentoo
1 commit: cec53b4ce666996d46df6d4f6dbd727d61f2c195
2 Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 1 19:46:59 2020 +0000
4 Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 1 19:46:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cec53b4c
7
8 net-dns/maradns: drop old versions.
9
10 Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
11
12 net-dns/maradns/Manifest | 2 -
13 net-dns/maradns/maradns-2.0.09-r2.ebuild | 101 ----------------------------
14 net-dns/maradns/maradns-2.0.14.ebuild | 111 -------------------------------
15 3 files changed, 214 deletions(-)
16
17 diff --git a/net-dns/maradns/Manifest b/net-dns/maradns/Manifest
18 index 26b66e10cf2..09d666c3793 100644
19 --- a/net-dns/maradns/Manifest
20 +++ b/net-dns/maradns/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST maradns-2.0.09.tar.bz2 1139409 BLAKE2B 8c3709241b85f9069eb4e18098f7753b19bcc87d32bbb36aef42cb8ec123dc73b8e29e79b5efe1083035b2378a484e2c00038700647d5e75f469589b37b351e2 SHA512 42bfcafaf4e465d8d566b4d9ea8383b5d0f553486b86dd807b35a07358987227e5dc8187de0e8192fba5b53098d61f91091cec112ef7cc80c5d5e73d8acff3bf
23 -DIST maradns-2.0.14.tar.bz2 1156272 BLAKE2B 7e96d0769dd1df70316cc1bd79fb7e902c723f78db035fe721aaab0d6902958a40c2743374824ae024759164ad9cbda9a3c6ecaec7cc6bf3c5fa7b384101c16f SHA512 57527bba2f9801904f59cc7d9e56cbd7124635841ad8c91cbd3d1b8d58e7fe38d509e19f6ea53e2790777e054b68bb8df02bfa820ba7c9dbe65262e1993a2aa4
24 DIST maradns-2.0.16.tar.bz2 1127504 BLAKE2B 142166370efed2d52c0a1e659bf0056f8d13cc5eca3c1d30c0278b81047aa58ce6c6f3f8496e982841b9dcd541ffd2c24467b8062aa5a7ffb1f31ef6cf841a15 SHA512 9959a7b6724aff5561fa9303b3d7c967e298fd63d95ef7e34d80514dde8871c19887c184a6466779f2833c295233dd1d54a7c06928ac58dcbb374281deb13f17
25 DIST maradns-3.5.0005.tar.xz 5351412 BLAKE2B c6b1c4fb93cb507045b3c09574d7ce30b0af92301e157216b4a5bbd2ed74ceb829ef4d11cd08048c7a685a09cdd4178cf3fc4e7b2465820d26d3a5c1b96f4a5e SHA512 2e7008ff6217929008292dde60d96eb2ec0499a170e1b5bda5fcfb27300d2ce6cecd8b3e2a2d4b09ff32b803f9f435230378e6b2e41e7b63c42653d8c931151d
26
27 diff --git a/net-dns/maradns/maradns-2.0.09-r2.ebuild b/net-dns/maradns/maradns-2.0.09-r2.ebuild
28 deleted file mode 100644
29 index 2124be1f395..00000000000
30 --- a/net-dns/maradns/maradns-2.0.09-r2.ebuild
31 +++ /dev/null
32 @@ -1,101 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -inherit systemd toolchain-funcs user
39 -
40 -DEADWOOD_VER="3.2.05"
41 -
42 -DESCRIPTION="A security-aware DNS server"
43 -HOMEPAGE="http://www.maradns.org/"
44 -SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2"
45 -
46 -# The GPL-2 covers the init script, bug 426018.
47 -LICENSE="BSD-2 GPL-2"
48 -SLOT="0"
49 -KEYWORDS="amd64 ~mips ppc x86"
50 -IUSE="authonly examples ipv6"
51 -
52 -DEPEND=""
53 -RDEPEND=""
54 -
55 -PATCHES=(
56 - "${FILESDIR}/${PN}-2.0.06-askmara-tcp.patch"
57 - "${FILESDIR}/${PN}-2.0.06-duende-man.patch"
58 - "${FILESDIR}/${P}-build.patch"
59 -)
60 -
61 -pkg_setup() {
62 - ebegin "Creating group and users"
63 - enewgroup maradns 99
64 - enewuser duende 66 -1 -1 maradns
65 - enewuser maradns 99 -1 -1 maradns
66 - eend ${?}
67 -}
68 -
69 -src_configure() {
70 - # Use duende-ng.c.
71 - cp "${S}/tools/duende-ng.c" "${S}/tools/duende.c" \
72 - || die "failed to rename duende-ng.c"
73 -
74 - tc-export CC
75 - ./configure $(use ipv6 && echo "--ipv6") || die "Failed to configure ${PN}"
76 -}
77 -
78 -src_install() {
79 - # Install the MaraDNS binaries.
80 - dosbin server/maradns
81 - dosbin tcp/zoneserver
82 - dobin tcp/getzone tcp/fetchzone
83 - dobin tools/askmara tools/askmara-tcp tools/duende
84 - dobin tools/bind2csv2.py tools/csv1tocsv2.pl
85 -
86 - # MaraDNS docs, manpages, misc.
87 - dodoc doc/en/{QuickStart,README,*.txt}
88 - dodoc doc/en/text/*.txt
89 - doman doc/en/man/*.[1-9]
90 - dodoc maradns.gpg.key
91 - dodoc doc/en/*.html
92 - dodoc -r doc/en/webpage
93 - dodoc -r doc/en/tutorial
94 - if use examples ; then
95 - docinto examples
96 - dodoc doc/en/examples/example_*
97 - fi
98 -
99 - # Deadwood binary, docs, manpages, etc.
100 - if ! use authonly; then
101 - dosbin deadwood-${DEADWOOD_VER}/src/Deadwood
102 - doman deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende}.1
103 - docinto deadwood
104 - dodoc deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende,FAQ}.txt
105 - dodoc deadwood-${DEADWOOD_VER}/doc/{Deadwood,FAQ}.html
106 - docinto deadwood/internals
107 - dodoc deadwood-${DEADWOOD_VER}/doc/internals/*
108 - insinto /etc/maradns
109 - newins deadwood-${DEADWOOD_VER}/doc/dwood3rc-all dwood3rc_all.dist
110 - fi
111 -
112 - # Example configurations.
113 - insinto /etc/maradns
114 - newins doc/en/examples/example_full_mararc mararc_full.dist
115 - newins doc/en/examples/example_csv2 example_csv2.dist
116 - keepdir /etc/maradns/logger
117 -
118 - # Init scripts.
119 - newinitd "${FILESDIR}"/maradns2 maradns
120 - newinitd "${FILESDIR}"/zoneserver2 zoneserver
121 - if ! use authonly; then
122 - newinitd "${FILESDIR}"/deadwood deadwood
123 - fi
124 -
125 - # systemd unit
126 - # please keep paths in sync!
127 - sed -e "s^@bindir@^${EPREFIX}/usr/sbin^" \
128 - -e "s^@sysconfdir@^${EPREFIX}/etc/maradns^" \
129 - "${FILESDIR}"/maradns.service.in > "${T}"/maradns.service \
130 - || die "failed to create the maradns.service file (sed)"
131 -
132 - systemd_dounit "${T}"/maradns.service
133 -}
134
135 diff --git a/net-dns/maradns/maradns-2.0.14.ebuild b/net-dns/maradns/maradns-2.0.14.ebuild
136 deleted file mode 100644
137 index 8d0ca3ee841..00000000000
138 --- a/net-dns/maradns/maradns-2.0.14.ebuild
139 +++ /dev/null
140 @@ -1,111 +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 -PYTHON_COMPAT=( python2_7 )
147 -
148 -inherit python-single-r1 systemd toolchain-funcs user
149 -
150 -DEADWOOD_VER="3.2.10"
151 -
152 -DESCRIPTION="A security-aware DNS server"
153 -HOMEPAGE="http://www.maradns.org/"
154 -SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2"
155 -
156 -# The GPL-2 covers the init script, bug 426018.
157 -LICENSE="BSD-2 GPL-2"
158 -SLOT="0"
159 -KEYWORDS="~amd64 ~mips ~ppc ~x86"
160 -IUSE="authonly examples ipv6"
161 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
162 -
163 -DEPEND="${PYTHON_DEPS}"
164 -RDEPEND="${DEPEND}
165 - dev-lang/perl"
166 -
167 -pkg_setup() {
168 - ebegin "Creating group and users"
169 - enewgroup maradns 99
170 - enewuser duende 66 -1 -1 maradns
171 - enewuser maradns 99 -1 -1 maradns
172 - eend ${?}
173 -
174 - python-single-r1_pkg_setup
175 -}
176 -
177 -src_prepare() {
178 - default
179 -
180 - # Use duende-ng.c.
181 - cp tools/duende{,-ng}.c \
182 - || die "failed to rename duende-ng.c"
183 - # replace "make" by "$(MAKE)" to avoid GNU Make warning
184 - sed -i 's/\ make\ /\ \$\(MAKE\)\ /g' build/Makefile.linux \
185 - || die "can't patch build/Makefile.linux"
186 -
187 - python_fix_shebang tools/bind2csv2.py
188 -}
189 -
190 -src_configure() {
191 - tc-export CC
192 - ./configure $(use ipv6 && echo "--ipv6") || die "Failed to configure ${PN}"
193 -}
194 -
195 -src_install() {
196 - # Install the MaraDNS and Deadwood binaries
197 - dosbin server/maradns
198 - dosbin tcp/zoneserver
199 - if ! use authonly; then
200 - dosbin deadwood-${DEADWOOD_VER}/src/Deadwood
201 - fi
202 - dobin tcp/{getzone,fetchzone}
203 - dobin tools/{askmara,askmara-tcp,duende,bind2csv2.py,csv1tocsv2.pl}
204 -
205 - # MaraDNS docs, manpages, misc
206 - dodoc doc/en/{QuickStart,README,*.txt,*.html}
207 - dodoc -r doc/en/{text,webpage,tutorial}
208 - dodoc maradns.gpg.key
209 - if ! use authonly; then
210 - docinto deadwood
211 - dodoc deadwood-${DEADWOOD_VER}/doc/{*.txt,*.html,CHANGELOG,Deadwood-HOWTO}
212 - dodoc -r deadwood-${DEADWOOD_VER}/doc/internals
213 - fi
214 -
215 - # Install examples (optional)
216 - if use examples ; then
217 - docinto examples
218 - dodoc doc/en/examples/example_*
219 - fi
220 -
221 - # Install manpages
222 - doman doc/en/man/*.[1-9]
223 - if ! use authonly; then
224 - doman deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende}.1
225 - fi
226 -
227 - # Example configurations.
228 - insinto /etc/maradns
229 - newins doc/en/examples/example_full_mararc mararc_full.dist
230 - newins doc/en/examples/example_csv2 example_csv2.dist
231 - if ! use authonly; then
232 - newins deadwood-${DEADWOOD_VER}/doc/dwood3rc-all dwood3rc_all.dist
233 - fi
234 - keepdir /etc/maradns/logger
235 -
236 - # Init scripts.
237 - newinitd "${FILESDIR}"/maradns2 maradns
238 - newinitd "${FILESDIR}"/zoneserver2 zoneserver
239 - if ! use authonly; then
240 - newinitd "${FILESDIR}"/deadwood deadwood
241 - fi
242 -
243 - # systemd unit
244 - # please keep paths in sync!
245 - sed -e "s^@bindir@^${EPREFIX}/usr/sbin^" \
246 - -e "s^@sysconfdir@^${EPREFIX}/etc/maradns^" \
247 - "${FILESDIR}"/maradns.service.in > "${T}"/maradns.service \
248 - || die "failed to create the maradns.service file (sed)"
249 -
250 - systemd_dounit "${T}"/maradns.service
251 -}