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: Fri, 29 Nov 2019 20:49:24
Message-Id: 1575060490.f6d0308c27d9ee57792810823d3ba55ed548ceae.mjo@gentoo
1 commit: f6d0308c27d9ee57792810823d3ba55ed548ceae
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 29 20:47:48 2019 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 29 20:48:10 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d0308c
7
8 net-dns/rbldnsd: remove "unused" rbldnsd-0.998.ebuild and patch.
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.16
11 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
12
13 net-dns/rbldnsd/Manifest | 1 -
14 ...bldnsd-0.997a-format-security-compile-fix.patch | 30 ----------
15 net-dns/rbldnsd/rbldnsd-0.998.ebuild | 66 ----------------------
16 3 files changed, 97 deletions(-)
17
18 diff --git a/net-dns/rbldnsd/Manifest b/net-dns/rbldnsd/Manifest
19 index 667a95cc392..92fedd673bb 100644
20 --- a/net-dns/rbldnsd/Manifest
21 +++ b/net-dns/rbldnsd/Manifest
22 @@ -1,2 +1 @@
23 -DIST rbldnsd-0.998.tar.gz 145363 BLAKE2B e698f5b99ed1deae1aedda1952c19eb6189cbdcc71ecfa043faada966d30eee93e158dfeb059603dc493a665a7c56c84ff6ee636fc9eec7de38eb0bc73ed26db SHA512 7b6fb106f8188b2ce6e05b622cf90a393a4642f00faa5bddc184ce02dbd2beee9d8de22cb09ae53a25c475f28f99d13fbf6252f0d4c1d72bf47ba23f769e7074
24 DIST rbldnsd-0.998b.tar.gz 154022 BLAKE2B f0bf03bef69853d45c3546c6fd3e58ffb95e76192ecb64f71f6799c6041749b1d117bed2bb21edbf1dec81d1684334b3af7d60b35d49089efb3a5e28752be6db SHA512 9b9c8694824a99b4ad120a22dbe4b05351867434e43ed0d8137990d3ece90ed67349965b6ed0450066d6663c1858545774c733b0d7afff304095de500ba30175
25
26 diff --git a/net-dns/rbldnsd/files/rbldnsd-0.997a-format-security-compile-fix.patch b/net-dns/rbldnsd/files/rbldnsd-0.997a-format-security-compile-fix.patch
27 deleted file mode 100644
28 index 03da010336e..00000000000
29 --- a/net-dns/rbldnsd/files/rbldnsd-0.997a-format-security-compile-fix.patch
30 +++ /dev/null
31 @@ -1,30 +0,0 @@
32 -From 5d3455065f84fe1ef4673552a27d2e6e8f02c97a Mon Sep 17 00:00:00 2001
33 -From: Michael Orlitzky <michael@××××××××.com>
34 -Date: Mon, 22 Sep 2014 10:09:27 -0400
35 -Subject: [PATCH 1/1] Fix compilation with -Werror=format-security.
36 -
37 -The dslog() function takes an optional format string, analogous to
38 -e.g. printf(), and a list of arguments to be substituted into the
39 -format string. A call to dslog() in do_reload() omitted the format
40 -string causing GCC to throw a format-security warning. To silence the
41 -warning, a trivial format string of "%s" was provided.
42 ----
43 - rbldnsd.c | 2 +-
44 - 1 file changed, 1 insertion(+), 1 deletion(-)
45 -
46 -diff --git a/rbldnsd.c b/rbldnsd.c
47 -index abf1d01..e791231 100644
48 ---- a/rbldnsd.c
49 -+++ b/rbldnsd.c
50 -@@ -959,7 +959,7 @@ static int do_reload(int do_fork) {
51 - # undef kb
52 - }
53 - #endif /* NO_MEMINFO */
54 -- dslog(LOG_INFO, 0, ibuf);
55 -+ dslog(LOG_INFO, 0, "%s", ibuf);
56 -
57 - check_expires();
58 -
59 ---
60 -1.8.5.5
61 -
62
63 diff --git a/net-dns/rbldnsd/rbldnsd-0.998.ebuild b/net-dns/rbldnsd/rbldnsd-0.998.ebuild
64 deleted file mode 100644
65 index e6463eb22ef..00000000000
66 --- a/net-dns/rbldnsd/rbldnsd-0.998.ebuild
67 +++ /dev/null
68 @@ -1,66 +0,0 @@
69 -# Copyright 1999-2017 Gentoo Foundation
70 -# Distributed under the terms of the GNU General Public License v2
71 -
72 -EAPI=5
73 -PYTHON_COMPAT=( python2_7 )
74 -
75 -inherit eutils toolchain-funcs user python-any-r1
76 -
77 -DESCRIPTION="DNS server designed to serve blacklist zones"
78 -HOMEPAGE="http://www.corpit.ru/mjt/rbldnsd.html"
79 -SRC_URI="http://www.corpit.ru/mjt/rbldnsd/${P}.tar.gz"
80 -
81 -LICENSE="GPL-2"
82 -SLOT="0"
83 -KEYWORDS="amd64 hppa ~sparc x86"
84 -IUSE="ipv6 test zlib"
85 -
86 -RDEPEND="zlib? ( sys-libs/zlib )"
87 -DEPEND="${RDEPEND}
88 - test? (
89 - ${PYTHON_DEPS}
90 - $(python_gen_any_dep 'dev-python/pydns:2[${PYTHON_USEDEP}]')
91 - )"
92 -
93 -src_prepare() {
94 - epatch "${FILESDIR}/rbldnsd-0.997a-robust-ipv6-test-support.patch"
95 - epatch "${FILESDIR}/rbldnsd-0.997a-format-security-compile-fix.patch"
96 -}
97 -
98 -src_configure() {
99 - # The ./configure file is handwritten and doesn't support a `make
100 - # install` target, so there are no --prefix options. The econf
101 - # function appends those automatically, so we can't use it.
102 - ./configure \
103 - $(use_enable ipv6) \
104 - $(use_enable zlib) \
105 - || die "./configure failed"
106 -}
107 -
108 -src_compile() {
109 - emake \
110 - AR="$(tc-getAR)" \
111 - CC="$(tc-getCC)" \
112 - RANLIB="$(tc-getRANLIB)"
113 -}
114 -
115 -src_test() {
116 - emake check \
117 - CC="$(tc-getCC)" \
118 - PYTHON="${PYTHON}"
119 -}
120 -
121 -src_install() {
122 - dosbin rbldnsd
123 - doman rbldnsd.8
124 - keepdir /var/db/rbldnsd
125 - dodoc CHANGES* TODO NEWS README*
126 - newinitd "${FILESDIR}"/initd-0.997a rbldnsd
127 - newconfd "${FILESDIR}"/confd-0.997a rbldnsd
128 -}
129 -
130 -pkg_postinst() {
131 - enewgroup rbldns
132 - enewuser rbldns -1 -1 /var/db/rbldnsd rbldns
133 - chown rbldns:rbldns /var/db/rbldnsd
134 -}