Browse Source

pdnsd: remove package

Waldemar Brodkorb 2 months ago
parent
commit
33e8ba23f0

+ 0 - 41
package/pdnsd/Makefile

@@ -1,41 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include $(ADK_TOPDIR)/rules.mk
-
-PKG_NAME:=		pdnsd
-PKG_VERSION:=		1.2.9a
-PKG_RELEASE:=		1
-PKG_HASH:=		bb5835d0caa8c4b31679d6fd6a1a090b71bdf70950db3b1d0cea9cf9cb7e2a7b
-PKG_DESCR:=		proxy dns server
-PKG_SECTION:=		net/dns
-PKG_NEEDS:=		threads
-PKG_URL:=		http://members.home.nl/p.a.rombouts/pdnsd/index.html
-PKG_SITES:=		http://members.home.nl/p.a.rombouts/pdnsd/releases/
-
-PKG_FLAVOURS_PDNSD:=	WITH_IPV6
-PKGFD_WITH_IPV6:=	enable IPv6 support
-
-PKG_HOST_DEPENDS:=	!netbsd
-
-DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}-par.tar.gz
-
-include $(ADK_TOPDIR)/mk/package.mk
-
-$(eval $(call PKG_template,PDNSD,pdnsd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-
-CONFIGURE_ARGS+=	--with-target=Linux
-
-ifneq (${ADK_PACKAGE_PDNSD_WITH_IPV6},)
-CONFIGURE_ARGS+=	--enable-ipv6
-else
-CONFIGURE_ARGS+=	--disable-ipv6
-endif
-
-pdnsd-install:
-	$(INSTALL_DIR) $(IDIR_PDNSD)/etc
-	${INSTALL_DATA} ./files/pdnsd.conf ${IDIR_PDNSD}/etc/
-	$(INSTALL_DIR) $(IDIR_PDNSD)/usr/sbin
-	$(INSTALL_BIN) $(WRKINST)/usr/sbin/pdnsd{,-ctl} $(IDIR_PDNSD)/usr/sbin/
-
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk

+ 0 - 36
package/pdnsd/files/pdnsd.conf

@@ -1,36 +0,0 @@
-global {
-	perm_cache = 1024;
-	cache_dir = "/var/cache/pdnsd";  # do not change this!
-	run_as = "nobody";
-	strict_setuid = on;
-	server_ip = 127.0.0.1;  # Use eth0 here if you want to allow other
-				# machines on your network to query pdnsd.
-	status_ctl = on;
-#	paranoid=on;       # This option reduces the chance of cache poisoning
-	                   # but may make pdnsd less efficient, unfortunately.
-	query_method=udp_tcp;
-	min_ttl=15m;       # Retain cached entries at least 15 minutes.
-	max_ttl=1w;        # One week.
-	timeout=10;        # Global timeout option (10 seconds).
-	proc_limit = 20;
-}
-
-# serve local host definitions
-source {
-	owner = "localhost";
-	serve_aliases = off; # skip everything after the first host for an IP
-	file = "/etc/hosts";
-}
-
-# for dns servers via dhcp
-#server {
-#	label = "dhcp";
-#	file = "/var/resolv.conf";
-#	exclude = ".lan";
-#	policy = fqdn_only;
-#	timeout = 4;
-#	uptest = if;
-#	interface = "eth0";
-#	interval = 60;
-#}
-

+ 0 - 1
package/pdnsd/files/pdnsd.conffiles

@@ -1 +0,0 @@
-/etc/pdnsd.conf

+ 0 - 34
package/pdnsd/files/pdnsd.init

@@ -1,34 +0,0 @@
-#!/bin/sh
-#PKG pdnsd
-#INIT 60
-. /etc/rc.conf
-
-case $1 in
-autostop) ;;
-autostart)
-	test x"${pdnsd:-NO}" = x"NO" && exit 0
-	test x"$pdnsd" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
-	exec sh $0 start
-	;;
-start)
-	[ -f /etc/pdnsd.conf ] || exit
-	mkdir -p /var/cache/pdnsd
-	touch /var/cache/pdnsd/pdnsd.cache
-	# this allows for strict_setuid
-	chown -R nobody:nogroup /var/cache/pdnsd
-	/usr/sbin/pdnsd -d
-	;;
-stop)
-	kill $(pgrep -f /usr/sbin/pdnsd)
-	;;
-restart)
-	sh $0 stop
-	sleep 1
-	sh $0 start
-	;;
-*)
-	echo "Usage: $0 {start | stop | restart}"
-	exit 1
-	;;
-esac
-exit $?

+ 0 - 3
package/pdnsd/files/pdnsd.postinst

@@ -1,3 +0,0 @@
-#!/bin/sh
-. $IPKG_INSTROOT/etc/functions.sh
-add_rcconf pdnsd NO