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