From d00215959e78ef3584bba71012ec43bbf9120b01 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 20 Jan 2010 19:34:34 +0100 Subject: port pdnsd --- package/Config.in | 1 + package/pdnsd/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 package/pdnsd/Makefile (limited to 'package') diff --git a/package/Config.in b/package/Config.in index 254dbc98f..b9fb2539f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -218,6 +218,7 @@ source "package/dhcp-forwarder/Config.in" source "package/dnsmasq/Config.in" source "package/ez-ipupdate/Config.in" source "package/maradns/Config.in" +source "package/pdnsd/Config.in" source "package/updatedd/Config.in" endmenu diff --git a/package/pdnsd/Makefile b/package/pdnsd/Makefile new file mode 100644 index 000000000..e8805ad79 --- /dev/null +++ b/package/pdnsd/Makefile @@ -0,0 +1,38 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= pdnsd +PKG_VERSION:= 1.2.7 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 114b3b21b09b43cbfcccdde726b84c12 +PKG_DESCR:= Proxy DNS server with permanent caching +PKG_SECTION:= net +PKG_DEPENDS:= +PKG_URL:= http://www.phys.uu.nl/~rombouts/pdnsd.html +PKG_SITES:= http://www.phys.uu.nl/~rombouts/pdnsd/releases/ + +# if downloaded package is not ending with .tar.gz use following +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-par.tar.gz + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,PDNSD,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_STYLE:= gnu +# use following to add ./configure options +#CONFIGURE_ARGS+= --disable-foo +# overwrite any configure variables +#CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes +BUILD_STYLE:= auto +INSTALL_STYLE:= auto + +# please install all files and directories to the package dir +post-install: + $(INSTALL_DIR) $(IDIR_PDNSD)/usr/sbin + $(INSTALL_BIN) $(WRKINST)/usr/sbin/pdnsd{,-ctl} $(IDIR_PDNSD)/usr/sbin/ + $(INSTALL_DIR) $(IDIR_PDNSD)/var/cache/pdnsd + $(INSTALL_BIN) $(WRKINST)/var/cache/pdnsd/pdnsd.cache $(IDIR_PDNSD)/var/cache/pdnsd/ + +include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3