/[gentoo-x86]/net-dns/pdns-recursor/pdns-recursor-3.6.3.ebuild
Gentoo

Contents of /net-dns/pdns-recursor/pdns-recursor-3.6.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon May 18 18:01:31 2015 UTC (3 years, 11 months ago) by swegener
Branch: MAIN
CVS Tags: HEAD
Version bump, security bug #547706.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x64D4CF24)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/pdns-recursor-3.6.2.ebuild,v 1.1 2014/12/09 20:01:31 swegener Exp $
4
5 EAPI="4"
6
7 inherit toolchain-funcs flag-o-matic eutils
8
9 DESCRIPTION="The PowerDNS Recursor"
10 HOMEPAGE="http://www.powerdns.com/"
11 SRC_URI="http://downloads.powerdns.com/releases/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="lua"
17
18 DEPEND="lua? ( >=dev-lang/lua-5.1 )"
19 RDEPEND="${DEPEND}
20 !<net-dns/pdns-2.9.20-r1"
21 DEPEND="${DEPEND}
22 >=dev-libs/boost-1.33.1"
23
24 pkg_setup() {
25 filter-flags -ftree-vectorize
26 }
27
28 src_configure() {
29 true
30 }
31
32 src_compile() {
33 emake \
34 LOCALSTATEDIR=/var/lib/powerdns \
35 CC="$(tc-getCC)" \
36 CXX="$(tc-getCXX)" \
37 OPTFLAGS="" \
38 LUA_LIBS_CONFIG="-llua" \
39 LUA_CPPFLAGS_CONFIG="" \
40 LUA="$(use lua && echo 1)"
41 }
42
43 src_install() {
44 dosbin pdns_recursor rec_control
45 doman pdns_recursor.1 rec_control.1
46
47 insinto /etc/powerdns
48 doins "${FILESDIR}"/recursor.conf
49
50 doinitd "${FILESDIR}"/precursor
51
52 # Pretty ugly, uh?
53 dodir /var/lib/powerdns/var/lib
54 dosym ../.. /var/lib/powerdns/var/lib/powerdns
55 }

  ViewVC Help
Powered by ViewVC 1.1.20