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