[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: 3371ed031cb021408511943ba273422ef19b Author: Michael Orlitzky gentoo org> AuthorDate: Fri Mar 29 02:59:16 2024 + Commit: Michael Orlitzky gentoo org> CommitDate: Fri Mar 29 02:59:16 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3371ed03 net-dns/rbldnsd: drop 0.998b-r2 Signed-off-by: Michael Orlitzky gentoo.org> net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild | 55 1 file changed, 55 deletions(-) diff --git a/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild deleted file mode 100644 index 2f619e646646.. --- a/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="DNS server designed to serve blacklist zones" -HOMEPAGE="https://rbldnsd.io/"; -SRC_URI="https://github.com/spamhaus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~hppa ~sparc x86" -IUSE="ipv6 zlib" - -RDEPEND="zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND}" -BDEPEND=" - acct-group/rbldns - acct-user/rbldns -" - -# The test suite was dropped from the ebuild because it requires -# python-2.7, and it will crash if you try to run it now. -RESTRICT=test - -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. We - # Have to set $CC here, too (and not just in the call to emake), - # because the ./configure script checks for it. - CC="$(tc-getCC)" ./configure \ - $(use_enable ipv6) \ - $(use_enable zlib) \ - || die "./configure failed" -} - -src_compile() { - emake \ - AR="$(tc-getAR)" \ - CC="$(tc-getCC)" \ - RANLIB="$(tc-getRANLIB)" -} - -src_install() { - einstalldocs - dosbin rbldnsd - doman rbldnsd.8 - newinitd "${FILESDIR}"/initd-0.997a rbldnsd - newconfd "${FILESDIR}"/confd-0.997a rbldnsd - diropts -g rbldns -o rbldns -m 0750 - keepdir /var/db/rbldnsd -}
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: 0b35e17ae679bc77c05266edc8b591bf8617e130 Author: Sam James gentoo org> AuthorDate: Fri Mar 29 02:03:53 2024 + Commit: Sam James gentoo org> CommitDate: Fri Mar 29 02:04:01 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b35e17a net-dns/rbldnsd: Stabilize 0.998b-r3 x86, #928076 Signed-off-by: Sam James gentoo.org> net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild index 50375cbce2f4..88e4ad1947cb 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/spamhaus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~hppa ~sparc ~x86" +KEYWORDS="~amd64 ~hppa ~sparc x86" IUSE="ipv6 zlib" RDEPEND="zlib? ( sys-libs/zlib )"
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: 0733fd4532065cc1a21d99b70f21247fb0cb791f Author: Sam James gentoo org> AuthorDate: Fri Mar 29 02:03:54 2024 + Commit: Sam James gentoo org> CommitDate: Fri Mar 29 02:04:02 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0733fd45 net-dns/rbldnsd: Stabilize 0.998b-r3 amd64, #928076 Signed-off-by: Sam James gentoo.org> net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild index 88e4ad1947cb..dc064757882e 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/spamhaus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~hppa ~sparc x86" +KEYWORDS="amd64 ~hppa ~sparc x86" IUSE="ipv6 zlib" RDEPEND="zlib? ( sys-libs/zlib )"
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: 0ff7a9af7dc83572df7a8244a19b86f2b8723a15 Author: Michael Orlitzky gentoo org> AuthorDate: Thu Mar 28 22:58:09 2024 + Commit: Michael Orlitzky gentoo org> CommitDate: Thu Mar 28 22:58:09 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ff7a9af net-dns/rbldnsd: add mallinfo2 to QA_CONFIG_IMPL_DECL_SKIP This ./configure (not autotools!) check is working as intended. Closes: https://bugs.gentoo.org/928058 Signed-off-by: Michael Orlitzky gentoo.org> net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild | 6 ++ 1 file changed, 6 insertions(+) diff --git a/net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild index cf702d80d5e1..50375cbce2f4 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild @@ -25,6 +25,12 @@ BDEPEND=" # python-2.7, and it will crash if you try to run it now. RESTRICT=test +# This check properly includes malloc.h; if mallinfo2 +# is "implicitly defined," then it's not there. +QA_CONFIG_IMPL_DECL_SKIP=( + mallinfo2 +) + PATCHES=( "${FILESDIR}/rbldnsd-0.998b-cstd.patch" "${FILESDIR}/rbldnsd-0.998b-sys-poll.patch"
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/files/, net-dns/rbldnsd/
commit: 2beb33a4103e9767c7864a773456e1e04a63e67b Author: Michael Orlitzky gentoo org> AuthorDate: Fri Feb 16 12:28:31 2024 + Commit: Michael Orlitzky gentoo org> CommitDate: Fri Feb 16 12:48:13 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2beb33a4 net-dns/rbldnsd: update EAPI 7 -> 8, add upstream PR patches I've got three PRs sitting upstream for years now but they've gone AWOL. I'm tired of looking at the bugs. Let's just patch. Closes: https://bugs.gentoo.org/874456 Closes: https://bugs.gentoo.org/924368 Signed-off-by: Michael Orlitzky gentoo.org> net-dns/rbldnsd/files/rbldnsd-0.998b-cstd.patch| 193 + .../rbldnsd/files/rbldnsd-0.998b-mallinfo2.patch | 59 +++ .../rbldnsd/files/rbldnsd-0.998b-sys-poll.patch| 54 ++ net-dns/rbldnsd/rbldnsd-0.998b-r3.ebuild | 61 +++ 4 files changed, 367 insertions(+) diff --git a/net-dns/rbldnsd/files/rbldnsd-0.998b-cstd.patch b/net-dns/rbldnsd/files/rbldnsd-0.998b-cstd.patch new file mode 100644 index ..e5e17e334b05 --- /dev/null +++ b/net-dns/rbldnsd/files/rbldnsd-0.998b-cstd.patch @@ -0,0 +1,193 @@ +From c1f9d0a5d112d2298ed4f3c696ea34c9b0c24ba6 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky +Date: Fri, 16 Feb 2024 07:43:54 -0500 +Subject: [PATCH 1/1] configure{,.lib},rbldnsd_util.c: future proof the + ./configure script + +https://github.com/spamhaus/rbldnsd/pull/28 +--- + configure | 38 ++ + configure.lib | 2 +- + rbldnsd_util.c | 4 ++-- + 3 files changed, 25 insertions(+), 19 deletions(-) + +diff --git a/configure b/configure +index b0cb655..6470c9e 100755 +--- a/configure b/configure +@@ -90,7 +90,7 @@ else + if ac_yesno "sizes of standard integer types" \ + ac_compile_run < +-int main() { ++int main(int argc, char **argv) { + printf("#define SIZEOF_SHORT %d\n", sizeof(short)); + printf("#define SIZEOF_INT %d\n", sizeof(int)); + printf("#define SIZEOF_LONG %d\n", sizeof(long)); +@@ -105,7 +105,7 @@ EOF + if ac_yesno "for long long" \ + ac_compile_run < +-int main() { ++int main(int argc, char **argv) { + long long x; + printf("#define SIZEOF_LONG_LONG %d\n", sizeof(long long)); + return 0; +@@ -120,7 +120,7 @@ fi + + if ac_compile_run_v "whether C compiler defines __SIZEOF_POINTER__" < +-int main() { ++int main(int argc, char **argv) { + #ifdef __SIZEOF_POINTER__ + return 0; + #else +@@ -136,7 +136,7 @@ fi + + if ac_verbose "byte order" "big-endian" "little-endian" \ +ac_compile_run < + #include +-int foo() { socklen_t len; len = 0; return len; } ++int foo(void) { socklen_t len; len = 0; return len; } + EOF + then : + else +@@ -173,7 +173,13 @@ else + fi + + if ac_library_find_v 'connect()' "" "-lsocket -lnsl" < ++#include ++int main(int argc, char **argv) { ++ gethostbyname(""); ++ connect(0, (const struct sockaddr *)0, (socklen_t)0); ++ return 0; ++} + EOF + then : + else +@@ -189,7 +195,7 @@ if ac_link_v "for IPv6" < + #include + #include +-int main() { ++int main(int argc, char **argv) { + char h[200]; + char s[200]; + struct sockaddr_in6 sa; +@@ -211,7 +217,7 @@ if ac_link_v "for mallinfo()" < + #include + #include +-int main() { ++int main(int argc, char **argv) { + struct mallinfo mi = mallinfo(); + return 0; + } +@@ -224,7 +230,7 @@ fi + if ac_link_v "for poll()" < + #include +-int main() { ++int main(int argc, char **argv) { + struct pollfd pfd[2]; + return poll(pfd, 2, 10); + } +@@ -251,7 +257,7 @@ int test(char *fmt, ...) { + vsnprintf(buf, sizeof(buf), fmt, ap); + return 0; + } +-int main() { ++int main(int argc, char **argv) { + test("test%d", 40); + return 0; + } +@@ -265,7 +271,7 @@ if ac_link_v "for writev()/readv()" < + #include + #include +-int main() { ++int main(int argc, char **argv) { + struct iovec iov; + return writev(1, &iov, 1) && readv(1, &iov, 1); + } +@@ -278,7 +284,7 @@ fi + if ac_link_v "for setitimer()" < + #include +-int main() { ++int main(int argc, char **argv) { + struct itimerval itv; + itv.it_interval.tv_sec = itv.it_value.tv_sec = 10; + itv.it_interval.tv_usec = itv.it_value.tv_usec = 20; +@@ -296,7 +302,7 @@ elif ac_link_v "for zlib support" -lz < + #include + #include +-int main() { ++int main(int argc, char **argv) { + z_stream z; + int r; + r = inflateInit2(&z, 0); +@@ -319,7 +325,7 @@ elif [ n = "$enable_dso" ]; then + echo "#define NO_DSO1 /* option disabled */" >>confdef.h + elif ac_link_v "for dlopen() in -dl with -rdynamic" -ldl -rdynamic < +-int main() { ++int main(int argc, char **argv) { + void *handle, *func; + handle = dlopen("testfile", RTLD_NOW); + func = dlsym(handle, "function"); +diff --git a/configure.lib b/configure.lib +index 39cf423..6b7245f 100644 +--- a/configure.lib b/configure.lib +@@ -178,7 +178,7 @@ EOF + if ac_yesno "whether the C compiler ($ccld) +can produce executables" \ + ac_c
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: 6425091f58e3dc222eeeab39c85f0299914b3e1c Author: Michael Orlitzky gentoo org> AuthorDate: Sun Feb 11 13:28:13 2024 + Commit: Michael Orlitzky gentoo org> CommitDate: Sun Feb 11 13:28:38 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6425091f net-dns/rbldnsd: define USE=ipv6 locally to avoid a pkgcheck warning Signed-off-by: Michael Orlitzky gentoo.org> net-dns/rbldnsd/metadata.xml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/net-dns/rbldnsd/metadata.xml b/net-dns/rbldnsd/metadata.xml index 949be0fd7263..0b42c0e0d6ab 100644 --- a/net-dns/rbldnsd/metadata.xml +++ b/net-dns/rbldnsd/metadata.xml @@ -5,6 +5,12 @@ m...@gentoo.org Michael Orlitzky + + + + Support listening on ipv6 addresses and ipv6 database entries. + + rbldnsd is a small and fast DNS daemon which is especially made to
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/files/, net-dns/rbldnsd/
commit: d17b37ba9ddaa5fd66bb2e93adeed13b74418e04 Author: Michael Orlitzky gentoo org> AuthorDate: Sat May 2 11:15:18 2020 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat May 2 11:15:18 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d17b37ba net-dns/rbldnsd: prune the version with the python-2.7 test suite. Closes: https://bugs.gentoo.org/715180 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michael Orlitzky gentoo.org> .../rbldnsd-0.997a-robust-ipv6-test-support.patch | 329 - net-dns/rbldnsd/rbldnsd-0.998b.ebuild | 68 - 2 files changed, 397 deletions(-) diff --git a/net-dns/rbldnsd/files/rbldnsd-0.997a-robust-ipv6-test-support.patch b/net-dns/rbldnsd/files/rbldnsd-0.997a-robust-ipv6-test-support.patch deleted file mode 100644 index e1ac1535dc9..000 --- a/net-dns/rbldnsd/files/rbldnsd-0.997a-robust-ipv6-test-support.patch +++ /dev/null @@ -1,329 +0,0 @@ -diff --git a/NEWS b/NEWS -index 8d8bdd9..4d8c01d 100644 a/NEWS -+++ b/NEWS -@@ -1,6 +1,19 @@ - This file describes user-visible changes in rbldnsd. - Newer news is at the top. - -+Next release -+ -+ - fix tests for systems without ipv6 support, or when ipv6 is -+ disabled in rbldnsd at compile-time -+ -+ - fix tests for API change in pydns >= 2.3.6 -+ -+ - It is no longer an error to request binding to a particular -+ address/port more than once. (The subsequent requests are simply -+ ignored.) (This avoids confusion on certain systems/configurations -+ where gethostbyname("localhost") can return 127.0.0.1 multiple -+ times.) -+ - 0.997a (23 Jul 2013) - - - minor fixes/changes in packaging, no code changes. -diff --git a/rbldnsd.c b/rbldnsd.c -index abf1d01..8322bdd 100644 a/rbldnsd.c -+++ b/rbldnsd.c -@@ -203,10 +203,79 @@ static volatile int signalled; - #define SIGNALLED_ZSTATS 0x10 - #define SIGNALLED_TERM0x20 - -+static inline int sockaddr_in_equal(const struct sockaddr_in *addr1, -+const struct sockaddr_in *addr2) -+{ -+ return (addr1->sin_port == addr2->sin_port -+ && addr1->sin_addr.s_addr == addr2->sin_addr.s_addr); -+} -+ -+#ifndef NO_IPv6 -+static inline int sockaddr_in6_equal(const struct sockaddr_in6 *addr1, -+ const struct sockaddr_in6 *addr2) -+{ -+ if (memcmp(addr1->sin6_addr.s6_addr, addr2->sin6_addr.s6_addr, 16) != 0) -+return 0; -+ return (addr1->sin6_port == addr2->sin6_port -+ && addr1->sin6_flowinfo == addr2->sin6_flowinfo -+ && addr1->sin6_scope_id == addr2->sin6_scope_id); -+} -+#endif -+ -+static inline int sockaddr_equal(const struct sockaddr *addr1, -+ const struct sockaddr *addr2) -+{ -+ if (addr1->sa_family != addr2->sa_family) -+return 0; -+ switch (addr1->sa_family) { -+ case AF_INET: -+return sockaddr_in_equal((const struct sockaddr_in *)addr1, -+ (const struct sockaddr_in *)addr2); -+#ifndef NO_IPv6 -+return sockaddr_in6_equal((const struct sockaddr_in6 *)addr1, -+ (const struct sockaddr_in6 *)addr2); -+#endif -+default: -+ error(0, "unknown address family (%d)", addr1->sa_family); -+ } -+} -+ -+/* already_bound(addr, addrlen) -+ * -+ * Determine whether we've already bound to a particular address. -+ * This is here mostly to deal with the fact that on certain systems, -+ * gethostbyname()/getaddrinfo() can return a duplicate 127.0.0.1 -+ * for 'localhost'. See -+ * - https://sourceware.org/bugzilla/show_bug.cgi?id=4980 -+ * - https://bugzilla.redhat.com/show_bug.cgi?id=496300 -+ */ -+static int already_bound(const struct sockaddr *addr, socklen_t addrlen) { -+#ifdef NO_IPv6 -+ struct sockaddr_in addr_buf; -+#else -+ struct sockaddr_in6 addr_buf; -+#endif -+ struct sockaddr *boundaddr = (struct sockaddr *)&addr_buf; -+ socklen_t buflen; -+ int i; -+ -+ for (i = 0; i < numsock; i++) { -+buflen = sizeof(addr_buf); -+if (getsockname(sock[i], boundaddr, &buflen) < 0) -+ error(errno, "getsockname failed"); -+if (buflen == addrlen && sockaddr_equal(boundaddr, addr)) -+ return 1; -+ } -+ return 0; -+} -+ - #ifdef NO_IPv6 - static void newsocket(struct sockaddr_in *sin) { - int fd; - const char *host = ip4atos(ntohl(sin->sin_addr.s_addr)); -+ -+ if (already_bound((struct sockaddr *)sin, sizeof(*sin))) -+return; - if (numsock >= MAXSOCK) - error(0, "too many listening sockets (%d max)", MAXSOCK); - fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); -@@ -223,6 +292,8 @@ static int newsocket(struct addrinfo *ai) { - int fd; - char host[NI_MAXHOST], serv[NI_MAXSERV]; - -+ if (already_bound(ai->ai_addr, ai->ai_addrlen)) -+return 1; - if (numsock >= MAXSOCK) - error(0, "too many listening sockets (%d max)", MAXSOCK); - fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); -diff
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: a85b2f3fd7c61356beabce18057e1c7f8348fefb Author: Rolf Eike Beer sf-mail de> AuthorDate: Sat May 2 08:07:32 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat May 2 09:01:07 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a85b2f3f net-dns/rbldnsd: stable 0.998b-r2 for hppa, bug #718622 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild index 2f619e64664..05062e17905 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/spamhaus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~hppa ~sparc x86" +KEYWORDS="amd64 hppa ~sparc x86" IUSE="ipv6 zlib" RDEPEND="zlib? ( sys-libs/zlib )"
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: 3aaeb6621f7db4a1a6ffdb0096a3f93c42027abb Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Apr 23 11:15:39 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Apr 23 11:15:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aaeb662 net-dns/rbldnsd: amd64 stable wrt bug #718622 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild index eaa1afdf036..2f619e64664 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/spamhaus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~hppa ~sparc x86" +KEYWORDS="amd64 ~hppa ~sparc x86" IUSE="ipv6 zlib" RDEPEND="zlib? ( sys-libs/zlib )"
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: c76c025c18c16d66325d917707a2881b63bc5f3b Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Apr 23 10:41:47 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Apr 23 10:41:47 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c76c025c net-dns/rbldnsd: x86 stable wrt bug #718622 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild index fb38ede3d4c..eaa1afdf036 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/spamhaus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~hppa ~sparc ~x86" +KEYWORDS="~amd64 ~hppa ~sparc x86" IUSE="ipv6 zlib" RDEPEND="zlib? ( sys-libs/zlib )"
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: 9b7844d3644f110e48232114171c36a4bc311d71 Author: Michael Orlitzky gentoo org> AuthorDate: Wed Apr 22 17:49:12 2020 + Commit: Michael Orlitzky gentoo org> CommitDate: Wed Apr 22 17:49:12 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7844d3 net-dns/rbldnsd: fix CC detection at configure time. The build system for rbldnsd is hand-written. While we were already passing CC to the "emake" command, it turns out that the ./configure script checks for it as well. Thus it was possible for src_configure() to fail if the ./configure script couldn't guess which compiler wouldn't be used anyway. Whee. Fixed by passing the same CC that emake will use to ./configure, too. Closes: https://bugs.gentoo.org/71 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michael Orlitzky gentoo.org> net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild index a95bcde36f7..fb38ede3d4c 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild @@ -28,8 +28,10 @@ RESTRICT=test 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 \ + # function appends those automatically, so we can't use it. We + # Have to set $CC here, too (and not just in the call to emake), + # because the ./configure script checks for it. + CC="$(tc-getCC)" ./configure \ $(use_enable ipv6) \ $(use_enable zlib) \ || die "./configure failed"
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: 7166ccf51094f27bec85ab1c85428d8295867336 Author: Rolf Eike Beer sf-mail de> AuthorDate: Fri Apr 17 15:11:50 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Apr 17 16:24:37 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7166ccf5 net-dns/rbldnsd: drop to ~sparc Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-dns/rbldnsd/rbldnsd-0.998b.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-dns/rbldnsd/rbldnsd-0.998b.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b.ebuild index 19ee0603f04..9fb92e9d2ad 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998b.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998b.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="https://github.com/spamhaus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 hppa sparc x86" +KEYWORDS="amd64 hppa ~sparc x86" IUSE="ipv6 test zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: eae8433d995137aa66c7a62e8f4ca81ae73108d5 Author: Michael Orlitzky gentoo org> AuthorDate: Sat Apr 4 14:16:49 2020 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Apr 4 14:22:18 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eae8433d net-dns/rbldnsd: drop the python-2.7 test suite. The test suite for rbldnsd uses python-2.7 (only), and realistically that's not going to change any time soon. This commit drops the test suite from the ebuild so that the python team isn't blocked on me at some later point. If upstream ever migrates the test suite to python-3.x and makes a release, I can put it back easy enough. Bug: https://bugs.gentoo.org/715180 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michael Orlitzky gentoo.org> ...d-0.998b-r1.ebuild => rbldnsd-0.998b-r2.ebuild} | 28 +- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/net-dns/rbldnsd/rbldnsd-0.998b-r1.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild similarity index 70% rename from net-dns/rbldnsd/rbldnsd-0.998b-r1.ebuild rename to net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild index c73e294de9e..a95bcde36f7 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998b-r1.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild @@ -2,9 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 ) -inherit toolchain-funcs python-any-r1 +inherit toolchain-funcs DESCRIPTION="DNS server designed to serve blacklist zones" HOMEPAGE="https://rbldnsd.io/"; @@ -13,23 +12,18 @@ SRC_URI="https://github.com/spamhaus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~hppa ~sparc ~x86" -IUSE="ipv6 test zlib" -RESTRICT="!test? ( test )" +IUSE="ipv6 zlib" RDEPEND="zlib? ( sys-libs/zlib )" DEPEND="${RDEPEND}" BDEPEND=" acct-group/rbldns acct-user/rbldns - test? ( - ${RDEPEND} - ${PYTHON_DEPS} - $(python_gen_any_dep 'dev-python/pydns:2[${PYTHON_USEDEP}]') - )" +" -PATCHES=( - "${FILESDIR}/rbldnsd-0.997a-robust-ipv6-test-support.patch" -) +# The test suite was dropped from the ebuild because it requires +# python-2.7, and it will crash if you try to run it now. +RESTRICT=test src_configure() { # The ./configure file is handwritten and doesn't support a `make @@ -48,12 +42,6 @@ src_compile() { RANLIB="$(tc-getRANLIB)" } -src_test() { - emake check \ - CC="$(tc-getCC)" \ - PYTHON="${PYTHON}" -} - src_install() { einstalldocs dosbin rbldnsd @@ -63,7 +51,3 @@ src_install() { diropts -g rbldns -o rbldns -m 0750 keepdir /var/db/rbldnsd } - -python_check_deps() { - ! use test || has_version "dev-python/pydns:2[${PYTHON_USEDEP}]" -}
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: 390249f9888149c83468fe7a083a33b5c1136d70 Author: Michael Orlitzky gentoo org> AuthorDate: Tue Feb 11 16:18:30 2020 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue Feb 11 17:09:25 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=390249f9 net-dns/rbldnsd: new revision with GLEP81 and a fix for python deps. Standard GLEP81 update in the process of fixing bug 708584, which looks to need only a single has_version call predicated on USE=test added in python_check_deps(). Closes: https://bugs.gentoo.org/708584 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Orlitzky gentoo.org> net-dns/rbldnsd/rbldnsd-0.998b-r1.ebuild | 69 1 file changed, 69 insertions(+) diff --git a/net-dns/rbldnsd/rbldnsd-0.998b-r1.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b-r1.ebuild new file mode 100644 index 000..c73e294de9e --- /dev/null +++ b/net-dns/rbldnsd/rbldnsd-0.998b-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 ) + +inherit toolchain-funcs python-any-r1 + +DESCRIPTION="DNS server designed to serve blacklist zones" +HOMEPAGE="https://rbldnsd.io/"; +SRC_URI="https://github.com/spamhaus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~sparc ~x86" +IUSE="ipv6 test zlib" +RESTRICT="!test? ( test )" + +RDEPEND="zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND}" +BDEPEND=" + acct-group/rbldns + acct-user/rbldns + test? ( + ${RDEPEND} + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/pydns:2[${PYTHON_USEDEP}]') + )" + +PATCHES=( + "${FILESDIR}/rbldnsd-0.997a-robust-ipv6-test-support.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() { + einstalldocs + dosbin rbldnsd + doman rbldnsd.8 + newinitd "${FILESDIR}"/initd-0.997a rbldnsd + newconfd "${FILESDIR}"/confd-0.997a rbldnsd + diropts -g rbldns -o rbldns -m 0750 + keepdir /var/db/rbldnsd +} + +python_check_deps() { + ! use test || has_version "dev-python/pydns:2[${PYTHON_USEDEP}]" +}
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/files/, net-dns/rbldnsd/
commit: f6d0308c27d9ee57792810823d3ba55ed548ceae Author: Michael Orlitzky gentoo org> AuthorDate: Fri Nov 29 20:47:48 2019 + Commit: Michael Orlitzky gentoo org> CommitDate: Fri Nov 29 20:48:10 2019 + 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 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..000 --- 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 -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..000 --- 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 -}
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: c82dae3a2c5ea4b6617c23d4cd152f17eea67100 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Nov 28 10:58:39 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Nov 28 10:58:39 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c82dae3a net-dns/rbldnsd: sparc stable wrt bug #700878 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> net-dns/rbldnsd/rbldnsd-0.998b.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/rbldnsd/rbldnsd-0.998b.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b.ebuild index 7216b76248a..f07bb946596 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998b.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998b.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/spamhaus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 hppa ~sparc x86" +KEYWORDS="amd64 hppa sparc x86" IUSE="ipv6 test zlib" RDEPEND="zlib? ( sys-libs/zlib )"
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: 65fd4722a9a7707c4856cf31ee26f41bd890ee39 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Nov 26 19:27:14 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Nov 26 19:35:17 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65fd4722 net-dns/rbldnsd: stable 0.998b for hppa, bug #700878 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-dns/rbldnsd/rbldnsd-0.998b.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/rbldnsd/rbldnsd-0.998b.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b.ebuild index 0e18be6c0bc..7216b76248a 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998b.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998b.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/spamhaus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~hppa ~sparc x86" +KEYWORDS="amd64 hppa ~sparc x86" IUSE="ipv6 test zlib" RDEPEND="zlib? ( sys-libs/zlib )"
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: 4c27112a34e0f0b2363638bac1a3cc526d0952c9 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Nov 22 10:24:38 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Nov 22 10:24:38 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c27112a net-dns/rbldnsd: amd64 stable wrt bug #700878 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-dns/rbldnsd/rbldnsd-0.998b.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/rbldnsd/rbldnsd-0.998b.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b.ebuild index c570f9b9fbc..e53698c0a8a 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998b.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998b.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/spamhaus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~hppa ~sparc ~x86" +KEYWORDS="amd64 ~hppa ~sparc ~x86" IUSE="ipv6 test zlib" RDEPEND="zlib? ( sys-libs/zlib )"
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/files/
commit: 5443c80b77c4cf1aea6ff6fd696973c709b3a4b8 Author: Michael Mair-Keimberger gmail com> AuthorDate: Wed Nov 20 18:31:30 2019 + Commit: Michael Orlitzky gentoo org> CommitDate: Thu Nov 21 12:48:08 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5443c80b net-dns/rbldnsd: remove unused patch Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: Michael Orlitzky gentoo.org> .../files/rbldnsd-0.998-fix-huge-zone-OOM.patch| 60 -- 1 file changed, 60 deletions(-) diff --git a/net-dns/rbldnsd/files/rbldnsd-0.998-fix-huge-zone-OOM.patch b/net-dns/rbldnsd/files/rbldnsd-0.998-fix-huge-zone-OOM.patch deleted file mode 100644 index 7a4d2da7187..000 --- a/net-dns/rbldnsd/files/rbldnsd-0.998-fix-huge-zone-OOM.patch +++ /dev/null @@ -1,60 +0,0 @@ -This upstream patch has been merged but not released. I (mjo) dropped -a change to the NEWS file to prevent a pointless conflict. - -From a1295eefc78b6e8a3c220e164dbfad6dbecc6f6e Mon Sep 17 00:00:00 2001 -From: Antonio Mammita -Date: Wed, 21 Dec 2016 16:54:06 +0100 -Subject: [PATCH] Fix for out of memory errors on huge zones. Thanks to Andrew - Clayton - - rbldnsd.h | 6 +++--- - rbldnsd_util.c | 6 +++--- - 3 files changed, 10 insertions(+), 6 deletions(-) - -diff --git a/rbldnsd.h b/rbldnsd.h -index 6acd8a0..f195a30 100644 a/rbldnsd.h -+++ b/rbldnsd.h -@@ -367,9 +367,9 @@ extern struct dataset *g_dsacl;/* global acl */ - extern const char *show_version; /* version.bind CH TXT */ - - void oom(void); --char *emalloc(unsigned size); --char *ezalloc(unsigned size); /* zero-fill */ --char *erealloc(void *ptr, unsigned size); -+char *emalloc(size_t size); -+char *ezalloc(size_t size); /* zero-fill */ -+char *erealloc(void *ptr, size_t size); - char *estrdup(const char *str); - char *ememdup(const void *buf, unsigned size); - -diff --git a/rbldnsd_util.c b/rbldnsd_util.c -index d17b51b..c6d628d 100644 a/rbldnsd_util.c -+++ b/rbldnsd_util.c -@@ -460,21 +460,21 @@ dump_a_txt(const char *name, const char *rr, - - #endif - --char *emalloc(unsigned size) { -+char *emalloc(size_t size) { - void *ptr = malloc(size); - if (!ptr) - oom(); - return ptr; - } - --char *ezalloc(unsigned size) { -+char *ezalloc(size_t size) { - void *ptr = calloc(1, size); - if (!ptr) - oom(); - return ptr; - } - --char *erealloc(void *ptr, unsigned size) { -+char *erealloc(void *ptr, size_t size) { - void *nptr = realloc(ptr, size); - if (!nptr) - oom();
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: fba7038a466caec0068b064e8cb0210cafde8f3e Author: Michael Orlitzky gentoo org> AuthorDate: Mon Sep 9 14:54:42 2019 + Commit: Michael Orlitzky gentoo org> CommitDate: Mon Sep 9 15:00:09 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fba7038a net-dns/rbldnsd: new version 0.998b. This new version doesn't offer any new features or bug fixes, since our 0.998-r2 contains the two important patches from the upstream v0.998a and v0.998b. However, this release does let us drop those patches, and brings the Gentoo version in line with the latest upstream one, preventing some confusion. In addition, EAPI=7 is now used, and the dependencies have thus been reorganized. The "rbldns" user now also has its home directory set to the default (/dev/null) rather than /var/db/rbldnsd. This change is in preparation for a GLEP 81 user package that will use the default home directory, and allows us to test the new setting for a bit before making it permanent. Closes: https://bugs.gentoo.org/693148 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Michael Orlitzky gentoo.org> net-dns/rbldnsd/Manifest | 1 + .../{rbldnsd-0.998-r2.ebuild => rbldnsd-0.998b.ebuild} | 14 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/net-dns/rbldnsd/Manifest b/net-dns/rbldnsd/Manifest index 05cc3765924..667a95cc392 100644 --- a/net-dns/rbldnsd/Manifest +++ b/net-dns/rbldnsd/Manifest @@ -1 +1,2 @@ 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/rbldnsd-0.998-r2.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b.ebuild similarity index 84% rename from net-dns/rbldnsd/rbldnsd-0.998-r2.ebuild rename to net-dns/rbldnsd/rbldnsd-0.998b.ebuild index 04537f30575..27c112013d7 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998-r2.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998b.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 PYTHON_COMPAT=( python2_7 ) inherit toolchain-funcs user python-any-r1 @@ -16,16 +16,16 @@ KEYWORDS="~amd64 ~hppa ~sparc ~x86 ~x86-fbsd" IUSE="ipv6 test zlib" RDEPEND="zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" test? ( + ${RDEPEND} ${PYTHON_DEPS} $(python_gen_any_dep 'dev-python/pydns:2[${PYTHON_USEDEP}]') )" PATCHES=( "${FILESDIR}/rbldnsd-0.997a-robust-ipv6-test-support.patch" - "${FILESDIR}/rbldnsd-0.997a-format-security-compile-fix.patch" - "${FILESDIR}/rbldnsd-0.998-fix-huge-zone-OOM.patch" ) src_configure() { @@ -60,8 +60,8 @@ src_install() { newconfd "${FILESDIR}"/confd-0.997a rbldnsd } -pkg_postinst() { +pkg_preinst() { enewgroup rbldns - enewuser rbldns -1 -1 /var/db/rbldnsd rbldns + enewuser rbldns -1 -1 -1 rbldns fowners rbldns:rbldns /var/db/rbldnsd }
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: f8f6702b0832a3ef5ea07859d01e8b1b5cf5e2e9 Author: Michael Orlitzky gentoo org> AuthorDate: Sun Jan 8 16:26:56 2017 + Commit: Michael Orlitzky gentoo org> CommitDate: Sun Jan 8 16:37:12 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8f6702b net-dns/rbldnsd: add upstream metadata. Package-Manager: portage-2.3.0 net-dns/rbldnsd/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/net-dns/rbldnsd/metadata.xml b/net-dns/rbldnsd/metadata.xml index 94e81a3..6ae7879 100644 --- a/net-dns/rbldnsd/metadata.xml +++ b/net-dns/rbldnsd/metadata.xml @@ -23,4 +23,8 @@ operations, but its memory usage is very efficient, especially for repeated TXT values which are stored only once. + + +spamhaus/rbldnsd +
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: 5616eb98a71a7f96a1d464c6a2f636299d921a22 Author: Michael Orlitzky gentoo org> AuthorDate: Wed Aug 17 03:15:10 2016 + Commit: Michael Orlitzky gentoo org> CommitDate: Wed Aug 17 03:15:10 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5616eb98 net-dns/rbldnsd: remove old version 0.997a-r2. Package-Manager: portage-2.2.28 net-dns/rbldnsd/Manifest | 1 - net-dns/rbldnsd/rbldnsd-0.997a-r2.ebuild | 67 2 files changed, 68 deletions(-) diff --git a/net-dns/rbldnsd/Manifest b/net-dns/rbldnsd/Manifest index 54a3ec0..fde863c 100644 --- a/net-dns/rbldnsd/Manifest +++ b/net-dns/rbldnsd/Manifest @@ -1,2 +1 @@ -DIST rbldnsd-0.997a.tar.gz 144771 SHA256 9c17c6bde6995058204a66805444039d31523a7d4ef40cec059e505a0882a8ef SHA512 9a3e1a0ad2cd9dd08bcc114c70213a875e984f3761fa32c44fe544d8173f54330fe355ad229a120e64b8f4c8286187d0baa055526d3a85bc846df070bb213529 WHIRLPOOL b453396c9876fd4972c6028b5916ae9717d60d555e5bb33bc97f0a8910ee516a80d1a3cb6030a3850ec304794f4a00fd9f3dced0d5c7fd1388e7d87d53fedb24 DIST rbldnsd-0.998.tar.gz 145363 SHA256 bc36082d46828ecdc0c9e3f8f009596746e1242b2b4002ab9cf9b93fe36e4924 SHA512 7b6fb106f8188b2ce6e05b622cf90a393a4642f00faa5bddc184ce02dbd2beee9d8de22cb09ae53a25c475f28f99d13fbf6252f0d4c1d72bf47ba23f769e7074 WHIRLPOOL 27165b85c85de5cd4db65979a093104d2f614af8163f10d65b5ac28eb443d4b9584ac5501314b8c3a8df3d730a0658f8cf88b0d6eb35efb9f3a17f25fc0ed49a diff --git a/net-dns/rbldnsd/rbldnsd-0.997a-r2.ebuild b/net-dns/rbldnsd/rbldnsd-0.997a-r2.ebuild deleted file mode 100644 index d67487c..000 --- a/net-dns/rbldnsd/rbldnsd-0.997a-r2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) - -inherit eutils toolchain-funcs user python-single-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 ~x86-fbsd" -IUSE="ipv6 test zlib" - -REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - test? ( ${PYTHON_DEPS} - dev-python/pydns:2[${PYTHON_USEDEP}] )" - -src_prepare() { - epatch "${FILESDIR}/${P}-robust-ipv6-test-support.patch" - epatch "${FILESDIR}/${P}-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-${PV} rbldnsd - newconfd "${FILESDIR}"/confd-${PV} rbldnsd -} - -pkg_postinst() { - enewgroup rbldns - enewuser rbldns -1 -1 /var/db/rbldnsd rbldns - chown rbldns:rbldns /var/db/rbldnsd -}
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: 7254323e3d38f78025b9f061dec2e0fc2e1e7d60 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Aug 17 03:09:39 2016 + Commit: Jeroen Roovers gentoo org> CommitDate: Wed Aug 17 03:09:39 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7254323e net-dns/rbldnsd: Stable for HPPA (bug #574846). Package-Manager: portage-2.3.0 RepoMan-Options: --ignore-arches net-dns/rbldnsd/rbldnsd-0.998.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/rbldnsd/rbldnsd-0.998.ebuild b/net-dns/rbldnsd/rbldnsd-0.998.ebuild index 6afc981..d2c5a4f 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998.ebuild @@ -13,7 +13,7 @@ SRC_URI="http://www.corpit.ru/mjt/rbldnsd/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~hppa ~sparc x86 ~x86-fbsd" +KEYWORDS="amd64 hppa ~sparc x86 ~x86-fbsd" IUSE="ipv6 test zlib" REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: d628c07169a8e6bfa2c8dc24efcfad119913e253 Author: Michael Orlitzky gentoo org> AuthorDate: Sun Aug 7 01:07:20 2016 + Commit: Michael Orlitzky gentoo org> CommitDate: Sun Aug 7 01:08:25 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d628c071 net-dns/rbldnsd: new revision with EAPI=6 and dropping eutils. Package-Manager: portage-2.2.28 net-dns/rbldnsd/rbldnsd-0.998-r1.ebuild | 67 + 1 file changed, 67 insertions(+) diff --git a/net-dns/rbldnsd/rbldnsd-0.998-r1.ebuild b/net-dns/rbldnsd/rbldnsd-0.998-r1.ebuild new file mode 100644 index 000..d20b87d --- /dev/null +++ b/net-dns/rbldnsd/rbldnsd-0.998-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit toolchain-funcs user python-single-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 ~x86-fbsd" +IUSE="ipv6 test zlib" + +REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + test? ( ${PYTHON_DEPS} + dev-python/pydns:2[${PYTHON_USEDEP}] )" + +PATCHES=( + "${FILESDIR}/rbldnsd-0.997a-robust-ipv6-test-support.patch" + "${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() { + einstalldocs + dosbin rbldnsd + doman rbldnsd.8 + keepdir /var/db/rbldnsd + newinitd "${FILESDIR}"/initd-0.997a rbldnsd + newconfd "${FILESDIR}"/confd-0.997a rbldnsd +} + +pkg_postinst() { + enewgroup rbldns + enewuser rbldns -1 -1 /var/db/rbldnsd rbldns + fowners rbldns:rbldns /var/db/rbldnsd +}
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: d8871e04674887027a94ac66da6a6aa190bbd7de Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Mar 6 12:57:36 2016 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Mar 6 12:58:33 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8871e04 net-dns/rbldnsd: amd64 stable wrt bug #574846 Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-dns/rbldnsd/rbldnsd-0.998.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/rbldnsd/rbldnsd-0.998.ebuild b/net-dns/rbldnsd/rbldnsd-0.998.ebuild index 63befe9..3292287 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998.ebuild @@ -13,7 +13,7 @@ SRC_URI="http://www.corpit.ru/mjt/rbldnsd/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~hppa ~sparc ~x86 ~x86-fbsd" +KEYWORDS="amd64 ~hppa ~sparc ~x86 ~x86-fbsd" IUSE="ipv6 test zlib" REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: 7cbee1a3d886f00f43e431e0c50a74813ad58456 Author: Michael Orlitzky gentoo org> AuthorDate: Sat Jan 2 14:36:48 2016 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Jan 2 14:37:11 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cbee1a3 net-dns/rbldnsd: add version 0.998. Package-Manager: portage-2.2.24 net-dns/rbldnsd/Manifest | 1 + net-dns/rbldnsd/rbldnsd-0.998.ebuild | 67 2 files changed, 68 insertions(+) diff --git a/net-dns/rbldnsd/Manifest b/net-dns/rbldnsd/Manifest index 6e88d40..54a3ec0 100644 --- a/net-dns/rbldnsd/Manifest +++ b/net-dns/rbldnsd/Manifest @@ -1 +1,2 @@ DIST rbldnsd-0.997a.tar.gz 144771 SHA256 9c17c6bde6995058204a66805444039d31523a7d4ef40cec059e505a0882a8ef SHA512 9a3e1a0ad2cd9dd08bcc114c70213a875e984f3761fa32c44fe544d8173f54330fe355ad229a120e64b8f4c8286187d0baa055526d3a85bc846df070bb213529 WHIRLPOOL b453396c9876fd4972c6028b5916ae9717d60d555e5bb33bc97f0a8910ee516a80d1a3cb6030a3850ec304794f4a00fd9f3dced0d5c7fd1388e7d87d53fedb24 +DIST rbldnsd-0.998.tar.gz 145363 SHA256 bc36082d46828ecdc0c9e3f8f009596746e1242b2b4002ab9cf9b93fe36e4924 SHA512 7b6fb106f8188b2ce6e05b622cf90a393a4642f00faa5bddc184ce02dbd2beee9d8de22cb09ae53a25c475f28f99d13fbf6252f0d4c1d72bf47ba23f769e7074 WHIRLPOOL 27165b85c85de5cd4db65979a093104d2f614af8163f10d65b5ac28eb443d4b9584ac5501314b8c3a8df3d730a0658f8cf88b0d6eb35efb9f3a17f25fc0ed49a diff --git a/net-dns/rbldnsd/rbldnsd-0.998.ebuild b/net-dns/rbldnsd/rbldnsd-0.998.ebuild new file mode 100644 index 000..63befe9 --- /dev/null +++ b/net-dns/rbldnsd/rbldnsd-0.998.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils toolchain-funcs user python-single-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 ~x86-fbsd" +IUSE="ipv6 test zlib" + +REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + test? ( ${PYTHON_DEPS} + 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 +}
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/files/, net-dns/rbldnsd/
commit: f777c44ad2cc10e275fe56a01fb74db290b047e4 Author: Michael Orlitzky gentoo org> AuthorDate: Sun Sep 27 13:18:40 2015 + Commit: Michael Orlitzky gentoo org> CommitDate: Sun Sep 27 13:18:56 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f777c44a net-dns/rbldnsd: remove old versions and files. Package-Manager: portage-2.2.20.1 net-dns/rbldnsd/Manifest | 1 - net-dns/rbldnsd/files/confd| 20 --- net-dns/rbldnsd/files/example | 23 net-dns/rbldnsd/files/initd| 20 --- .../rbldnsd/files/rbldnsd-0.996b-asneeded.patch| 11 net-dns/rbldnsd/rbldnsd-0.996b.ebuild | 51 net-dns/rbldnsd/rbldnsd-0.997a-r1.ebuild | 67 -- 7 files changed, 193 deletions(-) diff --git a/net-dns/rbldnsd/Manifest b/net-dns/rbldnsd/Manifest index f7cc9b5..6e88d40 100644 --- a/net-dns/rbldnsd/Manifest +++ b/net-dns/rbldnsd/Manifest @@ -1,2 +1 @@ DIST rbldnsd-0.997a.tar.gz 144771 SHA256 9c17c6bde6995058204a66805444039d31523a7d4ef40cec059e505a0882a8ef SHA512 9a3e1a0ad2cd9dd08bcc114c70213a875e984f3761fa32c44fe544d8173f54330fe355ad229a120e64b8f4c8286187d0baa055526d3a85bc846df070bb213529 WHIRLPOOL b453396c9876fd4972c6028b5916ae9717d60d555e5bb33bc97f0a8910ee516a80d1a3cb6030a3850ec304794f4a00fd9f3dced0d5c7fd1388e7d87d53fedb24 -DIST rbldnsd_0.996b.tar.gz 113128 SHA256 475afe5be8729a76b7c23e2f3d5ce1c773775140406a58bfb7477fac5a528342 SHA512 ff5060d719becd7b1e08cd86f213830a1232774abce3de56599743c9e44b4e3d59e7f9ace18d2619c967038aad728908091efb2ac1591a5ca6c7aa9f84d3a084 WHIRLPOOL 1016bb55746fe772b44705ad65b9153971cc34a737697e3b5d2a0cd8972341e9ecacf8e9c28285a2729c18181891d38569b3b8e5a72e7b3ab6b175d2f123098b diff --git a/net-dns/rbldnsd/files/confd b/net-dns/rbldnsd/files/confd deleted file mode 100644 index ccbe1e9..000 --- a/net-dns/rbldnsd/files/confd +++ /dev/null @@ -1,20 +0,0 @@ -# -# options for rbldnsd -# -# for initial testing, copy example zone file to /var/db/rbldnsd -# NOTE: make sure nothing listens on 127.0.0.1:53 -# -# OPTIONS="-q -r /var/db/rbldnsd -b 127.0.0.1 \ -# -u rbldns -p /var/run/rbldnsd.pid \ -# rbl.example.com:ip4set:example" - -# check if it works by executing -# dig @localhost 1.0.0.127.rbl.example.com. any -# - or - -# host -a 1.0.0.127.rbl.example.com. localhost - -# the result should include something like - -# ANSWER SECTION: -# 1.0.0.127.rbl.example.com. 2100 IN A 127.0.0.2 -# 1.0.0.127.rbl.example.com. 2100 IN TXT "spam received, see http://rbl.example.com/lookup?127.0.0.1"; diff --git a/net-dns/rbldnsd/files/example b/net-dns/rbldnsd/files/example deleted file mode 100644 index ab3458e..000 --- a/net-dns/rbldnsd/files/example +++ /dev/null @@ -1,23 +0,0 @@ -# SOA and NS record -$SOA 1800 rbl.example.com abuse.example.com 0 600 600 86400 600 - -# note: NS record should have reasonably longer TTL -$NS 86400 rbl.example.com - -# default value if LHS of key is omitted: -:127.0.0.2:spam received, see http://rbl.example.com/lookup?$ - -# a key without value: returns the default value above -127.0.0.1 - -# CIDR notation: -10.200/16 - -# without netmask, it works as well: same as 10.201/16 -10.201 - -# whitelisting: -!10.202.0.1 - -# domain-based DNSBL: -evil.example.com diff --git a/net-dns/rbldnsd/files/initd b/net-dns/rbldnsd/files/initd deleted file mode 100644 index 29de000..000 --- a/net-dns/rbldnsd/files/initd +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later - -depend() { - need net -} - -start() { - ebegin "Starting rbldnsd-server" - start-stop-daemon --start --quiet --pidfile /var/run/rbldnsd.pid --exec /usr/sbin/rbldnsd -- ${OPTIONS} - eend $? -} - -stop() { - ebegin "Stopping rbldnsd-server" - start-stop-daemon --stop --quiet --pidfile /var/run/rbldnsd.pid --exec /usr/sbin/rbldnsd - eend $? -} - diff --git a/net-dns/rbldnsd/files/rbldnsd-0.996b-asneeded.patch b/net-dns/rbldnsd/files/rbldnsd-0.996b-asneeded.patch deleted file mode 100644 index 77af1d9..000 --- a/net-dns/rbldnsd/files/rbldnsd-0.996b-asneeded.patch +++ /dev/null @@ -1,11 +0,0 @@ configure.lib.orig 2009-01-04 16:52:52.112984801 +0100 -+++ configure.lib 2009-01-04 16:53:07.680980305 +0100 -@@ -105,7 +105,7 @@ - # run a compiler - ac_run_compiler() { - rm -f conftest*; cat >conftest.c -- ac_run $CC $CFLAGS "$@" conftest.c -+ ac_run $CC $CFLAGS conftest.c "$@" - } - - ac_compile() { diff --git a/net-dns/rbldnsd/rbldnsd-0.996b.ebuild b/net-dns/rbldnsd/rbldnsd-0.996b.ebuild deleted file mode 100644 index 48f541d..000 --- a/net-dns/rbldnsd/rbldnsd-0.996b.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU Ge
[gentoo-commits] repo/gentoo:master commit in: net-dns/rbldnsd/
commit: cb589db43744ef446d76d2a407ac714337fadf90 Author: Jeroen Roovers gentoo org> AuthorDate: Sun Sep 27 05:28:24 2015 + Commit: Jeroen Roovers gentoo org> CommitDate: Sun Sep 27 05:28:24 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb589db4 net-dns/rbldnsd: Stable for HPPA (bug #553528). Package-Manager: portage-2.2.20.1 RepoMan-Options: --ignore-arches net-dns/rbldnsd/rbldnsd-0.997a-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/rbldnsd/rbldnsd-0.997a-r2.ebuild b/net-dns/rbldnsd/rbldnsd-0.997a-r2.ebuild index bd715a7..d67487c 100644 --- a/net-dns/rbldnsd/rbldnsd-0.997a-r2.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.997a-r2.ebuild @@ -13,7 +13,7 @@ SRC_URI="http://www.corpit.ru/mjt/rbldnsd/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~hppa ~sparc x86 ~x86-fbsd" +KEYWORDS="amd64 hppa ~sparc x86 ~x86-fbsd" IUSE="ipv6 test zlib" REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"