Gentoo Archives: gentoo-commits

From: "Michael Orlitzky (mjo)" <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/rbldnsd: rbldnsd-0.997a-r2.ebuild ChangeLog
Date: Mon, 29 Jun 2015 05:22:51
Message-Id: 20150629052240.2D610739@oystercatcher.gentoo.org
1 mjo 15/06/29 05:22:40
2
3 Modified: ChangeLog
4 Added: rbldnsd-0.997a-r2.ebuild
5 Log:
6 Fix comment in conf file and revbump to push it out, bug #553296.
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x6F48D3DA05C2DADB!)
9
10 Revision Changes Path
11 1.35 net-dns/rbldnsd/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/rbldnsd/ChangeLog?rev=1.35&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/rbldnsd/ChangeLog?rev=1.35&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/rbldnsd/ChangeLog?r1=1.34&r2=1.35
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-dns/rbldnsd/ChangeLog,v
20 retrieving revision 1.34
21 retrieving revision 1.35
22 diff -u -r1.34 -r1.35
23 --- ChangeLog 29 Jun 2015 05:11:30 -0000 1.34
24 +++ ChangeLog 29 Jun 2015 05:22:40 -0000 1.35
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-dns/rbldnsd
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-dns/rbldnsd/ChangeLog,v 1.34 2015/06/29 05:11:30 mjo Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-dns/rbldnsd/ChangeLog,v 1.35 2015/06/29 05:22:40 mjo Exp $
30 +
31 +*rbldnsd-0.997a-r2 (29 Jun 2015)
32 +
33 + 29 Jun 2015; Michael Orlitzky <mjo@g.o> +rbldnsd-0.997a-r2.ebuild,
34 + files/confd-0.997a:
35 + Fix comment in conf file and revbump to push it out, bug #553296.
36
37 29 Jun 2015; Michael Orlitzky <mjo@g.o> -files/confd-0.997,
38 -files/initd-0.997:
39
40
41
42 1.1 net-dns/rbldnsd/rbldnsd-0.997a-r2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/rbldnsd/rbldnsd-0.997a-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/rbldnsd/rbldnsd-0.997a-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rbldnsd-0.997a-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-dns/rbldnsd/rbldnsd-0.997a-r2.ebuild,v 1.1 2015/06/29 05:22:40 mjo Exp $
52
53 EAPI=5
54 PYTHON_COMPAT=( python2_7 )
55
56 inherit eutils toolchain-funcs user python-single-r1
57
58 DESCRIPTION="DNS server designed to serve blacklist zones"
59 HOMEPAGE="http://www.corpit.ru/mjt/rbldnsd.html"
60 SRC_URI="http://www.corpit.ru/mjt/rbldnsd/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~hppa ~sparc ~x86 ~x86-fbsd"
65 IUSE="ipv6 test zlib"
66
67 REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
68
69 RDEPEND="zlib? ( sys-libs/zlib )"
70 DEPEND="${RDEPEND}
71 test? ( ${PYTHON_DEPS}
72 dev-python/pydns:2[${PYTHON_USEDEP}] )"
73
74 src_prepare() {
75 epatch "${FILESDIR}/${P}-robust-ipv6-test-support.patch"
76 epatch "${FILESDIR}/${P}-format-security-compile-fix.patch"
77 }
78
79 src_configure() {
80 # The ./configure file is handwritten and doesn't support a `make
81 # install` target, so there are no --prefix options. The econf
82 # function appends those automatically, so we can't use it.
83 ./configure \
84 $(use_enable ipv6) \
85 $(use_enable zlib) \
86 || die "./configure failed"
87 }
88
89 src_compile() {
90 emake \
91 AR="$(tc-getAR)" \
92 CC="$(tc-getCC)" \
93 RANLIB="$(tc-getRANLIB)"
94 }
95
96 src_test() {
97 emake check \
98 CC="$(tc-getCC)" \
99 PYTHON="${PYTHON}"
100 }
101
102 src_install() {
103 dosbin rbldnsd
104 doman rbldnsd.8
105 keepdir /var/db/rbldnsd
106 dodoc CHANGES* TODO NEWS README*
107 newinitd "${FILESDIR}"/initd-${PV} rbldnsd
108 newconfd "${FILESDIR}"/confd-${PV} rbldnsd
109 }
110
111 pkg_postinst() {
112 enewgroup rbldns
113 enewuser rbldns -1 -1 /var/db/rbldnsd rbldns
114 chown rbldns:rbldns /var/db/rbldnsd
115 }