]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - pdns/pdns.nm
Merge remote-tracking branch 'maniacikarus/ids'
[people/amarx/ipfire-3.x.git] / pdns / pdns.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = pdns
7 version = 3.0
8 release = 1
9
10 groups = Networking/DNS
11 url = http://powerdns.com/
12 license = GPLv2
13 summary = A modern, advanced and high performance authoritative-only nameserver.
14
15 description
16 The PowerDNS Nameserver is a modern, advanced and high performance
17 authoritative-only nameserver. It is written from scratch and conforms
18 to all relevant DNS standards documents.
19 Furthermore, PowerDNS interfaces with almost any database.
20 end
21
22 source_dl =
23
24 build
25 requires
26 boost-devel
27 chrpath
28 gcc-c++
29 lua-devel
30 openldap-devel
31 sqlite-devel
32 zlib-devel
33 end
34
35 CPPFLAGS = -DLDAP_DEPRECATED
36
37 PARALLELISMFLAGS =
38
39 configure_options += \
40 --sysconfdir=/etc/pdns \
41 --libdir=/usr/lib/powerdns \
42 --with-modules="" \
43 --with-dynmodules="pipe geo ldap gsqlite3" \
44 --with-lua \
45 --disable-static
46
47 install_cmds
48 chrpath --delete %{BUILDROOT}/usr/bin/pdns_control
49 chrpath --delete %{BUILDROOT}/usr/bin/zone2ldap
50 chrpath --delete %{BUILDROOT}/usr/bin/zone2sql
51 chrpath --delete %{BUILDROOT}/usr/sbin/pdns_server
52 chrpath --delete %{BUILDROOT}/usr/lib/powerdns/*.so
53 chrpath --delete %{BUILDROOT}/usr/bin/dnsreplay
54 chrpath --delete %{BUILDROOT}//usr/bin/pdnssec
55 end
56 end
57
58 packages
59 package %{name}
60
61 package %{name}-debuginfo
62 template DEBUGINFO
63 end
64 end