net-dns/rbldnsd: remove "unused" rbldnsd-0.998.ebuild and patch.
authorMichael Orlitzky <mjo@gentoo.org>
Fri, 29 Nov 2019 20:47:48 +0000 (15:47 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Fri, 29 Nov 2019 20:48:10 +0000 (15:48 -0500)
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
net-dns/rbldnsd/Manifest
net-dns/rbldnsd/files/rbldnsd-0.997a-format-security-compile-fix.patch [deleted file]
net-dns/rbldnsd/rbldnsd-0.998.ebuild [deleted file]

index 667a95cc39203866c937cec099b8ad7579a04d39..92fedd673bb8a5ec38d8808c5d3bae0e951132cc 100644 (file)
@@ -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 (file)
index 03da010..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-From 5d3455065f84fe1ef4673552a27d2e6e8f02c97a Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-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 (file)
index e6463eb..0000000
+++ /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
-}