]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - pdns/pdns.nm
Merge remote-tracking branch 'stevee/openvswitch-systemd'
[people/amarx/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 6name = pdns
dfe7386f 7version = 3.1
802ea3af 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
aa429b66 22source_dl = http://downloads.powerdns.com/releases/
802ea3af
MT
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 \
aa429b66 41 --libdir=%{libdir}/powerdns \
802ea3af
MT
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
aa429b66 52 chrpath --delete %{BUILDROOT}%{libdir}/powerdns/*.so
802ea3af 53 chrpath --delete %{BUILDROOT}/usr/bin/dnsreplay
aa429b66 54 chrpath --delete %{BUILDROOT}/usr/bin/pdnssec
802ea3af
MT
55 end
56end
57
58packages
59 package %{name}
1f9bc2f0
MT
60
61 package %{name}-debuginfo
62 template DEBUGINFO
63 end
802ea3af 64end