############################################################################### # # # IPFire.org - A linux based firewall # # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # # the Free Software Foundation, either version 3 of the License, or # # (at your option) any later version. # # # # This program is distributed in the hope that it will be useful, # # but WITHOUT ANY WARRANTY; without even the implied warranty of # # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # # GNU General Public License for more details. # # # # You should have received a copy of the GNU General Public License # # along with this program. If not, see . # # # ############################################################################### ############################################################################### # Definitions ############################################################################### include $(PKGROOT)/Include PKG_NAME = pdns PKG_VER = 3.0 PKG_REL = 1 PKG_MAINTAINER = PKG_GROUPS = Networking/DNS PKG_URL = http://powerdns.com/ PKG_LICENSE = GPLv2 PKG_SUMMARY = A modern, advanced and high performance authoritative-only nameserver. PKG_BUILD_DEPS+= boost-devel chrpath gcc-c++ lua-devel openldap-devel \ sqlite-devel zlib-devel define PKG_DESCRIPTION The PowerDNS Nameserver is a modern, advanced and high performance \ authoritative-only nameserver. It is written from scratch and conforms \ to all relevant DNS standards documents. \ Furthermore, PowerDNS interfaces with almost any database. endef PKG_TARBALL = $(THISAPP).tar.gz export CPPFLAGS = -DLDAP_DEPRECATED PARALLELISMFLAGS = CONFIGURE_OPTIONS += \ --sysconfdir=/etc/pdns \ --libdir=/usr/lib/powerdns \ --with-modules="" \ --with-dynmodules="pipe geo ldap gsqlite3" \ --with-lua \ --disable-static define STAGE_INSTALL_CMDS chrpath --delete $(BUILDROOT)/usr/bin/pdns_control chrpath --delete $(BUILDROOT)/usr/bin/zone2ldap chrpath --delete $(BUILDROOT)/usr/bin/zone2sql chrpath --delete $(BUILDROOT)/usr/sbin/pdns_server chrpath --delete $(BUILDROOT)/usr/lib/powerdns/*.so chrpath --delete $(BUILDROOT)/usr/bin/dnsreplay chrpath --delete $(BUILDROOT)//usr/bin/pdnssec endef