commit:     f6d0308c27d9ee57792810823d3ba55ed548ceae
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 29 20:47:48 2019 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Nov 29 20:48:10 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d0308c

net-dns/rbldnsd: remove "unused" rbldnsd-0.998.ebuild and patch.

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 net-dns/rbldnsd/Manifest                           |  1 -
 ...bldnsd-0.997a-format-security-compile-fix.patch | 30 ----------
 net-dns/rbldnsd/rbldnsd-0.998.ebuild               | 66 ----------------------
 3 files changed, 97 deletions(-)

diff --git a/net-dns/rbldnsd/Manifest b/net-dns/rbldnsd/Manifest
index 667a95cc392..92fedd673bb 100644
--- a/net-dns/rbldnsd/Manifest
+++ b/net-dns/rbldnsd/Manifest
@@ -1,2 +1 @@
-DIST rbldnsd-0.998.tar.gz 145363 BLAKE2B 
e698f5b99ed1deae1aedda1952c19eb6189cbdcc71ecfa043faada966d30eee93e158dfeb059603dc493a665a7c56c84ff6ee636fc9eec7de38eb0bc73ed26db
 SHA512 
7b6fb106f8188b2ce6e05b622cf90a393a4642f00faa5bddc184ce02dbd2beee9d8de22cb09ae53a25c475f28f99d13fbf6252f0d4c1d72bf47ba23f769e7074
 DIST rbldnsd-0.998b.tar.gz 154022 BLAKE2B 
f0bf03bef69853d45c3546c6fd3e58ffb95e76192ecb64f71f6799c6041749b1d117bed2bb21edbf1dec81d1684334b3af7d60b35d49089efb3a5e28752be6db
 SHA512 
9b9c8694824a99b4ad120a22dbe4b05351867434e43ed0d8137990d3ece90ed67349965b6ed0450066d6663c1858545774c733b0d7afff304095de500ba30175

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
deleted file mode 100644
index 03da010336e..00000000000
--- a/net-dns/rbldnsd/files/rbldnsd-0.997a-format-security-compile-fix.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 5d3455065f84fe1ef4673552a27d2e6e8f02c97a Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <[email protected]>
-Date: Mon, 22 Sep 2014 10:09:27 -0400
-Subject: [PATCH 1/1] Fix compilation with -Werror=format-security.
-
-The dslog() function takes an optional format string, analogous to
-e.g. printf(), and a list of arguments to be substituted into the
-format string. A call to dslog() in do_reload() omitted the format
-string causing GCC to throw a format-security warning. To silence the
-warning, a trivial format string of "%s" was provided.
----
- rbldnsd.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/rbldnsd.c b/rbldnsd.c
-index abf1d01..e791231 100644
---- a/rbldnsd.c
-+++ b/rbldnsd.c
-@@ -959,7 +959,7 @@ static int do_reload(int do_fork) {
- # undef kb
-   }
- #endif /* NO_MEMINFO */
--  dslog(LOG_INFO, 0, ibuf);
-+  dslog(LOG_INFO, 0, "%s", ibuf);
- 
-   check_expires();
- 
--- 
-1.8.5.5
-

diff --git a/net-dns/rbldnsd/rbldnsd-0.998.ebuild 
b/net-dns/rbldnsd/rbldnsd-0.998.ebuild
deleted file mode 100644
index e6463eb22ef..00000000000
--- a/net-dns/rbldnsd/rbldnsd-0.998.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-inherit eutils toolchain-funcs user python-any-r1
-
-DESCRIPTION="DNS server designed to serve blacklist zones"
-HOMEPAGE="http://www.corpit.ru/mjt/rbldnsd.html";
-SRC_URI="http://www.corpit.ru/mjt/rbldnsd/${P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 hppa ~sparc x86"
-IUSE="ipv6 test zlib"
-
-RDEPEND="zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}
-       test? (
-               ${PYTHON_DEPS}
-               $(python_gen_any_dep 'dev-python/pydns:2[${PYTHON_USEDEP}]')
-       )"
-
-src_prepare() {
-       epatch "${FILESDIR}/rbldnsd-0.997a-robust-ipv6-test-support.patch"
-       epatch "${FILESDIR}/rbldnsd-0.997a-format-security-compile-fix.patch"
-}
-
-src_configure() {
-       # The ./configure file is handwritten and doesn't support a `make
-       # install` target, so there are no --prefix options. The econf
-       # function appends those automatically, so we can't use it.
-       ./configure \
-               $(use_enable ipv6) \
-               $(use_enable zlib) \
-               || die "./configure failed"
-}
-
-src_compile() {
-       emake \
-               AR="$(tc-getAR)" \
-               CC="$(tc-getCC)" \
-               RANLIB="$(tc-getRANLIB)"
-}
-
-src_test() {
-       emake check \
-               CC="$(tc-getCC)" \
-               PYTHON="${PYTHON}"
-}
-
-src_install() {
-       dosbin rbldnsd
-       doman rbldnsd.8
-       keepdir /var/db/rbldnsd
-       dodoc CHANGES* TODO NEWS README*
-       newinitd "${FILESDIR}"/initd-0.997a rbldnsd
-       newconfd "${FILESDIR}"/confd-0.997a rbldnsd
-}
-
-pkg_postinst() {
-       enewgroup rbldns
-       enewuser rbldns -1 -1 /var/db/rbldnsd rbldns
-       chown rbldns:rbldns /var/db/rbldnsd
-}

Reply via email to