Gentoo Archives: gentoo-commits

From: "Sven Wegener (swegener)" <swegener@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/pdns-recursor: ChangeLog pdns-recursor-3.3-r1.ebuild
Date: Sun, 29 Jun 2014 18:19:00
Message-Id: 20140629181856.689022004E@flycatcher.gentoo.org
1 swegener 14/06/29 18:18:56
2
3 Modified: ChangeLog
4 Added: pdns-recursor-3.3-r1.ebuild
5 Log:
6 Include bugfix for security bug #514946.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x64D4CF24)
9
10 Revision Changes Path
11 1.44 net-dns/pdns-recursor/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/pdns-recursor/ChangeLog?rev=1.44&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/pdns-recursor/ChangeLog?rev=1.44&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/pdns-recursor/ChangeLog?r1=1.43&r2=1.44
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/ChangeLog,v
20 retrieving revision 1.43
21 retrieving revision 1.44
22 diff -u -r1.43 -r1.44
23 --- ChangeLog 21 Jun 2014 07:41:55 -0000 1.43
24 +++ ChangeLog 29 Jun 2014 18:18:56 -0000 1.44
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-dns/pdns-recursor
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/ChangeLog,v 1.43 2014/06/21 07:41:55 swegener Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/ChangeLog,v 1.44 2014/06/29 18:18:56 swegener Exp $
30 +
31 +*pdns-recursor-3.3-r1 (29 Jun 2014)
32 +
33 + 29 Jun 2014; Sven Wegener <swegener@g.o> +pdns-recursor-3.3-r1.ebuild,
34 + +files/pdns-recursor-3.3-fdlimit.patch:
35 + Include bugfix for security bug #514946.
36
37 *pdns-recursor-3.6.0 (21 Jun 2014)
38
39
40
41
42 1.1 net-dns/pdns-recursor/pdns-recursor-3.3-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/pdns-recursor/pdns-recursor-3.3-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/pdns-recursor/pdns-recursor-3.3-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pdns-recursor-3.3-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/pdns-recursor-3.3-r1.ebuild,v 1.1 2014/06/29 18:18:56 swegener Exp $
52
53 EAPI="3"
54
55 inherit toolchain-funcs flag-o-matic eutils
56
57 DESCRIPTION="The PowerDNS Recursor"
58 HOMEPAGE="http://www.powerdns.com/"
59 SRC_URI="http://downloads.powerdns.com/releases/${P}.tar.bz2"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="lua"
65
66 DEPEND="lua? ( >=dev-lang/lua-5.1 )"
67 RDEPEND="${DEPEND}
68 !<net-dns/pdns-2.9.20-r1"
69 DEPEND="${DEPEND}
70 >=dev-libs/boost-1.33.1"
71
72 pkg_setup() {
73 filter-flags -ftree-vectorize
74 }
75
76 src_prepare() {
77 epatch "${FILESDIR}"/${PN}-3.1.7.2-error-message.patch \
78 "${FILESDIR}"/pdns-recursor-3.3-fdlimit.patch
79
80 sed -i -e s:/var/run/:/var/lib/powerdns: "${S}"/config.h || die
81 }
82
83 src_configure() {
84 true
85 }
86
87 src_compile() {
88 emake \
89 CC="$(tc-getCC)" \
90 CXX="$(tc-getCXX)" \
91 OPTFLAGS="" \
92 LUA_LIBS_CONFIG="-llua" \
93 LUA_CPPFLAGS_CONFIG="" \
94 LUA="$(use lua && echo 1)" \
95 || die "emake failed"
96 }
97
98 src_install() {
99 dosbin pdns_recursor rec_control || die "dosbin failed"
100 doman pdns_recursor.1 rec_control.1 || die "doman failed"
101
102 insinto /etc/powerdns
103 doins "${FILESDIR}"/recursor.conf || die "doins failed"
104
105 doinitd "${FILESDIR}"/precursor || die "doinitd failed"
106
107 # Pretty ugly, uh?
108 dodir /var/lib/powerdns/var/lib
109 dosym ../.. /var/lib/powerdns/var/lib/powerdns
110 }