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