diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-10-31 01:17:37 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-10-31 01:17:37 +0000 |
commit | dd3094d76d661222e858d6da6aaae35dbf8b75bb (patch) | |
tree | a84c64c81f4adca6cb8044b21142cc5fd3201c14 /dns/pdnsd | |
parent | 02290324309121df8d38d5599037177cdc46ac61 (diff) | |
download | ports-dd3094d76d661222e858d6da6aaae35dbf8b75bb.tar.gz ports-dd3094d76d661222e858d6da6aaae35dbf8b75bb.zip |
Notes
Diffstat (limited to 'dns/pdnsd')
-rw-r--r-- | dns/pdnsd/Makefile | 18 | ||||
-rw-r--r-- | dns/pdnsd/distinfo | 4 | ||||
-rw-r--r-- | dns/pdnsd/files/patch-src_conff.h | 6 | ||||
-rw-r--r-- | dns/pdnsd/files/patch-src_dns.h | 6 | ||||
-rw-r--r-- | dns/pdnsd/pkg-plist | 2 |
5 files changed, 22 insertions, 14 deletions
diff --git a/dns/pdnsd/Makefile b/dns/pdnsd/Makefile index bd7d00394730..94d5fbb04d13 100644 --- a/dns/pdnsd/Makefile +++ b/dns/pdnsd/Makefile @@ -6,18 +6,20 @@ # PORTNAME= pdnsd -PORTVERSION= 1.2 +PORTVERSION= 1.2.3 CATEGORIES= dns MASTER_SITES= http://www.phys.uu.nl/~rombouts/pdnsd/releases/ DISTNAME= ${PORTNAME}-${PORTVERSION}-par -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Caching (permanently, writes to disk on exit) DNS proxy-server GNU_CONFIGURE= yes USE_GMAKE= yes -CONFIGURE_ARGS= --with-cachedir=${PDNSDB} \ - --enable-ipv6 +CONFIGURE_ARGS= --with-cachedir=${PDNSDB} + +OPTIONS= IPV6 "Enable IPv6 support" on + WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAN5= pdnsd.conf.5 @@ -28,6 +30,12 @@ DOCSRCDIR= ${WRKSRC}/doc DOC_FILES= html/dl.html html/doc.html html/faq.html html/index.html DOC_FILES+= txt/faq.txt txt/intro.txt txt/manual.txt +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_IPV6) +CONFIGURE_ARGS+= --enable-ipv6 +.endif + post-install: @${MKDIR} ${PREFIX}/etc/rc.d @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/pdnsd.sh > ${PREFIX}/etc/rc.d/pdnsd.sh @@ -38,4 +46,4 @@ post-install: .endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/dns/pdnsd/distinfo b/dns/pdnsd/distinfo index 33e04b9b486d..a72294ed7fe1 100644 --- a/dns/pdnsd/distinfo +++ b/dns/pdnsd/distinfo @@ -1,2 +1,2 @@ -MD5 (pdnsd-1.2-par.tar.gz) = 0ddcc8c1a3e6301df1a18ad320260d67 -SIZE (pdnsd-1.2-par.tar.gz) = 345082 +MD5 (pdnsd-1.2.3-par.tar.gz) = 76f8be89e8fd0c8f08ba0d919216e475 +SIZE (pdnsd-1.2.3-par.tar.gz) = 532232 diff --git a/dns/pdnsd/files/patch-src_conff.h b/dns/pdnsd/files/patch-src_conff.h index a6c0e1e186b9..1b0b4c7c3b48 100644 --- a/dns/pdnsd/files/patch-src_conff.h +++ b/dns/pdnsd/files/patch-src_conff.h @@ -1,5 +1,5 @@ ---- src/conff.h.orig Fri Oct 29 01:11:36 2004 -+++ src/conff.h Fri Oct 29 01:12:36 2004 +--- src/conff.h.orig Mon Jun 27 21:57:22 2005 ++++ src/conff.h Sun Oct 30 09:01:08 2005 @@ -32,6 +32,9 @@ #include <config.h> #include <stdio.h> @@ -7,6 +7,6 @@ +#if TARGET==TARGET_BSD +#include <sys/socket.h> +#endif + #include <sys/socket.h> #include <net/if.h> #include "ipvers.h" - #include "list.h" diff --git a/dns/pdnsd/files/patch-src_dns.h b/dns/pdnsd/files/patch-src_dns.h index c424e1ac1787..abe5958825e7 100644 --- a/dns/pdnsd/files/patch-src_dns.h +++ b/dns/pdnsd/files/patch-src_dns.h @@ -1,5 +1,5 @@ ---- src/dns.h.orig Fri Oct 29 01:03:35 2004 -+++ src/dns.h Fri Oct 29 01:04:55 2004 +--- src/dns.h.orig Fri Jul 1 14:33:35 2005 ++++ src/dns.h Sun Oct 30 09:04:28 2005 @@ -27,6 +27,9 @@ #include <config.h> @@ -7,6 +7,6 @@ +#if TARGET==TARGET_BSD +#include <sys/socket.h> +#endif + #include <sys/socket.h> #include <net/if.h> #include <sys/types.h> - #include <inttypes.h> diff --git a/dns/pdnsd/pkg-plist b/dns/pdnsd/pkg-plist index fb7feb235392..38b887a5da77 100644 --- a/dns/pdnsd/pkg-plist +++ b/dns/pdnsd/pkg-plist @@ -10,4 +10,4 @@ sbin/pdnsd-ctl %%PORTDOCS%%%%DOCSDIR%%/intro.txt %%PORTDOCS%%%%DOCSDIR%%/manual.txt %%PORTDOCS%%@dirrm %%DOCSDIR%% -@unexec rm -rf /var/db/pdnsd +@unexec rm -rf /var/db/pdnsd 2>&1 >/dev/null || true |