1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils toolchain-funcs user
9 DESCRIPTION="A DNS server designed to serve blacklist zones"
10 HOMEPAGE="http://www.corpit.ru/mjt/rbldnsd.html"
11 SRC_URI="http://www.corpit.ru/mjt/rbldnsd/${P}.tar.gz"
15 KEYWORDS="~amd64 ~hppa ~sparc ~x86 ~x86-fbsd"
18 DEPEND="zlib? ( sys-libs/zlib )"
22 # The ./configure file is handwritten and doesn't support a `make
23 # install` target, so there are no --prefix options. The econf
24 # function appends those automatically, so we can't use it.
28 || die "./configure failed"
32 # We can also pass AWK and PYTHON environment variables to emake,
33 # but those should be available via the default 'awk' and 'python'
38 RANLIB="$(tc-getRANLIB)" \
45 keepdir /var/db/rbldnsd
46 dodoc CHANGES* TODO NEWS README*
47 newinitd "${FILESDIR}"/initd-${PV} rbldnsd
48 newconfd "${FILESDIR}"/confd-${PV} rbldnsd
53 enewuser rbldns -1 -1 /var/db/rbldnsd rbldns
54 chown rbldns:rbldns /var/db/rbldnsd