summaryrefslogtreecommitdiff
path: root/package/pdnsd
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2010-01-20 19:34:34 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-20 21:49:27 +0100
commitd00215959e78ef3584bba71012ec43bbf9120b01 (patch)
treedcfc020e13e49f10820eb9b8fd61d283c583b34b /package/pdnsd
parent63814847b1051d925802d865332c14076a3c1219 (diff)
port pdnsd
Diffstat (limited to 'package/pdnsd')
-rw-r--r--package/pdnsd/Makefile38
1 files changed, 38 insertions, 0 deletions
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