]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pdns/pdns.nm
Merge remote-tracking branch 'maniacikarus/ids'
[people/ms/ipfire-3.x.git] / pdns / pdns.nm
CommitLineData
1e42f23e 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
1e42f23e
MT
4###############################################################################
5
802ea3af
MT
6name = pdns
7version = 3.0
8release = 1
1e42f23e 9
802ea3af
MT
10groups = Networking/DNS
11url = http://powerdns.com/
12license = GPLv2
13summary = A modern, advanced and high performance authoritative-only nameserver.
1e42f23e 14
802ea3af
MT
15description
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.
1e42f23e 19 Furthermore, PowerDNS interfaces with almost any database.
802ea3af
MT
20end
21
22source_dl =
23
24build
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
56end
57
58packages
59 package %{name}
1f9bc2f0
MT
60
61 package %{name}-debuginfo
62 template DEBUGINFO
63 end
802ea3af 64end