]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - pkgs/pdns/pdns.nm
avahi: Update to 0.6.30.
[people/amarx/ipfire-3.x.git] / pkgs / pdns / pdns.nm
CommitLineData
1e42f23e
MT
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include $(PKGROOT)/Include
26
27PKG_NAME = pdns
fe7131a4
MT
28PKG_VER = 3.0
29PKG_REL = 1
1e42f23e
MT
30
31PKG_MAINTAINER =
bb7d617c 32PKG_GROUPS = Networking/DNS
1e42f23e
MT
33PKG_URL = http://powerdns.com/
34PKG_LICENSE = GPLv2
35PKG_SUMMARY = A modern, advanced and high performance authoritative-only nameserver.
36
fe7131a4
MT
37PKG_BUILD_DEPS+= boost-devel chrpath gcc-c++ lua-devel openldap-devel \
38 sqlite-devel zlib-devel
1e42f23e
MT
39
40define PKG_DESCRIPTION
41 The PowerDNS Nameserver is a modern, advanced and high performance \
42 authoritative-only nameserver. It is written from scratch and conforms \
43 to all relevant DNS standards documents. \
44 Furthermore, PowerDNS interfaces with almost any database.
45endef
46
47PKG_TARBALL = $(THISAPP).tar.gz
48
49export CPPFLAGS = -DLDAP_DEPRECATED
50
df669f19
MT
51PARALLELISMFLAGS =
52
1e42f23e
MT
53CONFIGURE_OPTIONS += \
54 --sysconfdir=/etc/pdns \
55 --libdir=/usr/lib/powerdns \
56 --with-modules="" \
fe7131a4
MT
57 --with-dynmodules="pipe geo ldap gsqlite3" \
58 --with-lua \
59 --disable-static
60
61define STAGE_INSTALL_CMDS
62 chrpath --delete $(BUILDROOT)/usr/bin/pdns_control
63 chrpath --delete $(BUILDROOT)/usr/bin/zone2ldap
64 chrpath --delete $(BUILDROOT)/usr/bin/zone2sql
65 chrpath --delete $(BUILDROOT)/usr/sbin/pdns_server
66 chrpath --delete $(BUILDROOT)/usr/lib/powerdns/*.so
67 chrpath --delete $(BUILDROOT)/usr/bin/dnsreplay
68 chrpath --delete $(BUILDROOT)//usr/bin/pdnssec
69endef