Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/files/, net-dns/rbldnsd/
Date: Sun, 27 Sep 2015 13:20:07
Message-Id: 1443359936.f777c44ad2cc10e275fe56a01fb74db290b047e4.mjo@gentoo
1 commit: f777c44ad2cc10e275fe56a01fb74db290b047e4
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 27 13:18:40 2015 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 27 13:18:56 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f777c44a
7
8 net-dns/rbldnsd: remove old versions and files.
9
10 Package-Manager: portage-2.2.20.1
11
12 net-dns/rbldnsd/Manifest | 1 -
13 net-dns/rbldnsd/files/confd | 20 -------
14 net-dns/rbldnsd/files/example | 23 --------
15 net-dns/rbldnsd/files/initd | 20 -------
16 .../rbldnsd/files/rbldnsd-0.996b-asneeded.patch | 11 ----
17 net-dns/rbldnsd/rbldnsd-0.996b.ebuild | 51 ----------------
18 net-dns/rbldnsd/rbldnsd-0.997a-r1.ebuild | 67 ----------------------
19 7 files changed, 193 deletions(-)
20
21 diff --git a/net-dns/rbldnsd/Manifest b/net-dns/rbldnsd/Manifest
22 index f7cc9b5..6e88d40 100644
23 --- a/net-dns/rbldnsd/Manifest
24 +++ b/net-dns/rbldnsd/Manifest
25 @@ -1,2 +1 @@
26 DIST rbldnsd-0.997a.tar.gz 144771 SHA256 9c17c6bde6995058204a66805444039d31523a7d4ef40cec059e505a0882a8ef SHA512 9a3e1a0ad2cd9dd08bcc114c70213a875e984f3761fa32c44fe544d8173f54330fe355ad229a120e64b8f4c8286187d0baa055526d3a85bc846df070bb213529 WHIRLPOOL b453396c9876fd4972c6028b5916ae9717d60d555e5bb33bc97f0a8910ee516a80d1a3cb6030a3850ec304794f4a00fd9f3dced0d5c7fd1388e7d87d53fedb24
27 -DIST rbldnsd_0.996b.tar.gz 113128 SHA256 475afe5be8729a76b7c23e2f3d5ce1c773775140406a58bfb7477fac5a528342 SHA512 ff5060d719becd7b1e08cd86f213830a1232774abce3de56599743c9e44b4e3d59e7f9ace18d2619c967038aad728908091efb2ac1591a5ca6c7aa9f84d3a084 WHIRLPOOL 1016bb55746fe772b44705ad65b9153971cc34a737697e3b5d2a0cd8972341e9ecacf8e9c28285a2729c18181891d38569b3b8e5a72e7b3ab6b175d2f123098b
28
29 diff --git a/net-dns/rbldnsd/files/confd b/net-dns/rbldnsd/files/confd
30 deleted file mode 100644
31 index ccbe1e9..0000000
32 --- a/net-dns/rbldnsd/files/confd
33 +++ /dev/null
34 @@ -1,20 +0,0 @@
35 -#
36 -# options for rbldnsd
37 -#
38 -# for initial testing, copy example zone file to /var/db/rbldnsd
39 -# NOTE: make sure nothing listens on 127.0.0.1:53
40 -#
41 -# OPTIONS="-q -r /var/db/rbldnsd -b 127.0.0.1 \
42 -# -u rbldns -p /var/run/rbldnsd.pid \
43 -# rbl.example.com:ip4set:example"
44 -
45 -# check if it works by executing
46 -# dig @localhost 1.0.0.127.rbl.example.com. any
47 -# - or -
48 -# host -a 1.0.0.127.rbl.example.com. localhost
49 -
50 -# the result should include something like
51 -
52 -# ANSWER SECTION:
53 -# 1.0.0.127.rbl.example.com. 2100 IN A 127.0.0.2
54 -# 1.0.0.127.rbl.example.com. 2100 IN TXT "spam received, see http://rbl.example.com/lookup?127.0.0.1"
55
56 diff --git a/net-dns/rbldnsd/files/example b/net-dns/rbldnsd/files/example
57 deleted file mode 100644
58 index ab3458e..0000000
59 --- a/net-dns/rbldnsd/files/example
60 +++ /dev/null
61 @@ -1,23 +0,0 @@
62 -# SOA and NS record
63 -$SOA 1800 rbl.example.com abuse.example.com 0 600 600 86400 600
64 -
65 -# note: NS record should have reasonably longer TTL
66 -$NS 86400 rbl.example.com
67 -
68 -# default value if LHS of key is omitted:
69 -:127.0.0.2:spam received, see http://rbl.example.com/lookup?$
70 -
71 -# a key without value: returns the default value above
72 -127.0.0.1
73 -
74 -# CIDR notation:
75 -10.200/16
76 -
77 -# without netmask, it works as well: same as 10.201/16
78 -10.201
79 -
80 -# whitelisting:
81 -!10.202.0.1
82 -
83 -# domain-based DNSBL:
84 -evil.example.com
85
86 diff --git a/net-dns/rbldnsd/files/initd b/net-dns/rbldnsd/files/initd
87 deleted file mode 100644
88 index 29de000..0000000
89 --- a/net-dns/rbldnsd/files/initd
90 +++ /dev/null
91 @@ -1,20 +0,0 @@
92 -#!/sbin/runscript
93 -# Copyright 1999-2002 Gentoo Technologies, Inc.
94 -# Distributed under the terms of the GNU General Public License, v2 or later
95 -
96 -depend() {
97 - need net
98 -}
99 -
100 -start() {
101 - ebegin "Starting rbldnsd-server"
102 - start-stop-daemon --start --quiet --pidfile /var/run/rbldnsd.pid --exec /usr/sbin/rbldnsd -- ${OPTIONS}
103 - eend $?
104 -}
105 -
106 -stop() {
107 - ebegin "Stopping rbldnsd-server"
108 - start-stop-daemon --stop --quiet --pidfile /var/run/rbldnsd.pid --exec /usr/sbin/rbldnsd
109 - eend $?
110 -}
111 -
112
113 diff --git a/net-dns/rbldnsd/files/rbldnsd-0.996b-asneeded.patch b/net-dns/rbldnsd/files/rbldnsd-0.996b-asneeded.patch
114 deleted file mode 100644
115 index 77af1d9..0000000
116 --- a/net-dns/rbldnsd/files/rbldnsd-0.996b-asneeded.patch
117 +++ /dev/null
118 @@ -1,11 +0,0 @@
119 ---- configure.lib.orig 2009-01-04 16:52:52.112984801 +0100
120 -+++ configure.lib 2009-01-04 16:53:07.680980305 +0100
121 -@@ -105,7 +105,7 @@
122 - # run a compiler
123 - ac_run_compiler() {
124 - rm -f conftest*; cat >conftest.c
125 -- ac_run $CC $CFLAGS "$@" conftest.c
126 -+ ac_run $CC $CFLAGS conftest.c "$@"
127 - }
128 -
129 - ac_compile() {
130
131 diff --git a/net-dns/rbldnsd/rbldnsd-0.996b.ebuild b/net-dns/rbldnsd/rbldnsd-0.996b.ebuild
132 deleted file mode 100644
133 index 48f541d..0000000
134 --- a/net-dns/rbldnsd/rbldnsd-0.996b.ebuild
135 +++ /dev/null
136 @@ -1,51 +0,0 @@
137 -# Copyright 1999-2012 Gentoo Foundation
138 -# Distributed under the terms of the GNU General Public License v2
139 -# $Id$
140 -
141 -inherit eutils toolchain-funcs user
142 -
143 -DESCRIPTION="a DNS daemon which is designed to serve DNSBL zones"
144 -HOMEPAGE="http://www.corpit.ru/mjt/rbldnsd.html"
145 -SRC_URI="http://www.corpit.ru/mjt/rbldnsd/${PN}_${PV}.tar.gz"
146 -
147 -LICENSE="GPL-2"
148 -SLOT="0"
149 -KEYWORDS="amd64 hppa ~sparc x86 ~x86-fbsd"
150 -IUSE="ipv6 zlib"
151 -
152 -RDEPEND="zlib? ( sys-libs/zlib )"
153 -DEPEND=""
154 -
155 -src_unpack() {
156 - unpack ${A}
157 - cd "${S}"
158 - epatch "${FILESDIR}"/${P}-asneeded.patch
159 -}
160 -
161 -src_compile() {
162 - # econf doesn't work
163 - ./configure \
164 - $(use_enable ipv6) \
165 - $(use_enable zlib) || die "./configure failed"
166 -
167 - emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
168 - || die "emake failed"
169 -}
170 -
171 -src_install() {
172 - dosbin rbldnsd || die "dosbin failed"
173 - doman rbldnsd.8
174 - keepdir /var/db/rbldnsd
175 - dodoc CHANGES* TODO NEWS README* "${FILESDIR}"/example
176 - newinitd "${FILESDIR}"/initd rbldnsd
177 - newconfd "${FILESDIR}"/confd rbldnsd
178 -}
179 -
180 -pkg_postinst() {
181 - enewgroup rbldns
182 - enewuser rbldns -1 -1 /var/db/rbldnsd rbldns
183 - chown rbldns:rbldns /var/db/rbldnsd
184 -
185 - elog "for testing purpose, example zone file has been installed"
186 - elog "Look in /usr/share/doc/${PF}/"
187 -}
188
189 diff --git a/net-dns/rbldnsd/rbldnsd-0.997a-r1.ebuild b/net-dns/rbldnsd/rbldnsd-0.997a-r1.ebuild
190 deleted file mode 100644
191 index d67487c..0000000
192 --- a/net-dns/rbldnsd/rbldnsd-0.997a-r1.ebuild
193 +++ /dev/null
194 @@ -1,67 +0,0 @@
195 -# Copyright 1999-2015 Gentoo Foundation
196 -# Distributed under the terms of the GNU General Public License v2
197 -# $Id$
198 -
199 -EAPI=5
200 -PYTHON_COMPAT=( python2_7 )
201 -
202 -inherit eutils toolchain-funcs user python-single-r1
203 -
204 -DESCRIPTION="DNS server designed to serve blacklist zones"
205 -HOMEPAGE="http://www.corpit.ru/mjt/rbldnsd.html"
206 -SRC_URI="http://www.corpit.ru/mjt/rbldnsd/${P}.tar.gz"
207 -
208 -LICENSE="GPL-2"
209 -SLOT="0"
210 -KEYWORDS="amd64 hppa ~sparc x86 ~x86-fbsd"
211 -IUSE="ipv6 test zlib"
212 -
213 -REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
214 -
215 -RDEPEND="zlib? ( sys-libs/zlib )"
216 -DEPEND="${RDEPEND}
217 - test? ( ${PYTHON_DEPS}
218 - dev-python/pydns:2[${PYTHON_USEDEP}] )"
219 -
220 -src_prepare() {
221 - epatch "${FILESDIR}/${P}-robust-ipv6-test-support.patch"
222 - epatch "${FILESDIR}/${P}-format-security-compile-fix.patch"
223 -}
224 -
225 -src_configure() {
226 - # The ./configure file is handwritten and doesn't support a `make
227 - # install` target, so there are no --prefix options. The econf
228 - # function appends those automatically, so we can't use it.
229 - ./configure \
230 - $(use_enable ipv6) \
231 - $(use_enable zlib) \
232 - || die "./configure failed"
233 -}
234 -
235 -src_compile() {
236 - emake \
237 - AR="$(tc-getAR)" \
238 - CC="$(tc-getCC)" \
239 - RANLIB="$(tc-getRANLIB)"
240 -}
241 -
242 -src_test() {
243 - emake check \
244 - CC="$(tc-getCC)" \
245 - PYTHON="${PYTHON}"
246 -}
247 -
248 -src_install() {
249 - dosbin rbldnsd
250 - doman rbldnsd.8
251 - keepdir /var/db/rbldnsd
252 - dodoc CHANGES* TODO NEWS README*
253 - newinitd "${FILESDIR}"/initd-${PV} rbldnsd
254 - newconfd "${FILESDIR}"/confd-${PV} rbldnsd
255 -}
256 -
257 -pkg_postinst() {
258 - enewgroup rbldns
259 - enewuser rbldns -1 -1 /var/db/rbldnsd rbldns
260 - chown rbldns:rbldns /var/db/rbldnsd
261 -}