mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-dns/rbldnsd: remove old versions and files.
Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
@@ -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
|
||||
@@ -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 $?
|
||||
}
|
||||
|
||||
@@ -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() {
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils toolchain-funcs user
|
||||
|
||||
DESCRIPTION="a DNS daemon which is designed to serve DNSBL zones"
|
||||
HOMEPAGE="http://www.corpit.ru/mjt/rbldnsd.html"
|
||||
SRC_URI="http://www.corpit.ru/mjt/rbldnsd/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ~sparc x86 ~x86-fbsd"
|
||||
IUSE="ipv6 zlib"
|
||||
|
||||
RDEPEND="zlib? ( sys-libs/zlib )"
|
||||
DEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-asneeded.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# econf doesn't work
|
||||
./configure \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable zlib) || die "./configure failed"
|
||||
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
|
||||
|| die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin rbldnsd || die "dosbin failed"
|
||||
doman rbldnsd.8
|
||||
keepdir /var/db/rbldnsd
|
||||
dodoc CHANGES* TODO NEWS README* "${FILESDIR}"/example
|
||||
newinitd "${FILESDIR}"/initd rbldnsd
|
||||
newconfd "${FILESDIR}"/confd rbldnsd
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
enewgroup rbldns
|
||||
enewuser rbldns -1 -1 /var/db/rbldnsd rbldns
|
||||
chown rbldns:rbldns /var/db/rbldnsd
|
||||
|
||||
elog "for testing purpose, example zone file has been installed"
|
||||
elog "Look in /usr/share/doc/${PF}/"
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user