diff options
author | Phil Sutter <phil.sutter@viprinet.com> | 2010-01-20 19:34:34 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-20 21:49:27 +0100 |
commit | d00215959e78ef3584bba71012ec43bbf9120b01 (patch) | |
tree | dcfc020e13e49f10820eb9b8fd61d283c583b34b /package | |
parent | 63814847b1051d925802d865332c14076a3c1219 (diff) |
port pdnsd
Diffstat (limited to 'package')
-rw-r--r-- | package/Config.in | 1 | ||||
-rw-r--r-- | package/pdnsd/Makefile | 38 |
2 files changed, 39 insertions, 0 deletions
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 |