Hi,
Here is an update for pdnsd, this is a new version with a couple patch
fixing a problem with the flag --enable-strict-rfc2181 we use by default.
While here, GROFF is not needed. Tested on i386 (rc scripts seems works
fine again), more test are wellcome.
Ok? Comments?
Cheers.
--
Sending from my VCR.
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/pdnsd/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile 17 Dec 2011 22:01:13 -0000 1.22
+++ Makefile 21 May 2012 19:42:19 -0000
@@ -2,13 +2,12 @@
COMMENT= threaded DNS daemon, optimized for caching
-DISTNAME= pdnsd-1.2.8-par
+DISTNAME= pdnsd-1.2.9a-par
PKGNAME= ${DISTNAME:S/-par//}
-REVISION= 3
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE}/releases/
-HOMEPAGE= http://www.phys.uu.nl/~rombouts/pdnsd/
+HOMEPAGE= http://members.home.nl/p.a.rombouts/pdnsd/
WRKDIST= ${WRKDIR}/${DISTNAME:S/-par//}
@@ -21,7 +20,6 @@ PERMIT_DISTFILES_FTP= Yes
WANTLIB += c pthread
USE_GMAKE= yes
-USE_GROFF= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-ipv6 \
--enable-strict-rfc2181 \
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/pdnsd/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo 2 Mar 2011 23:30:20 -0000 1.8
+++ distinfo 21 May 2012 19:42:19 -0000
@@ -1,5 +1,5 @@
-MD5 (pdnsd-1.2.8-par.tar.gz) = d5xdGVduVh+/JFXeQ15Vlw==
-RMD160 (pdnsd-1.2.8-par.tar.gz) = InpVC6IQwkVLPMOejY0FaWDUm58=
-SHA1 (pdnsd-1.2.8-par.tar.gz) = U4hJl18pxZsefw3QdWQ1zG8PKzA=
-SHA256 (pdnsd-1.2.8-par.tar.gz) = Xzyt4J5EXwNEMIY7plBHpKsvWBuG8+qw0JgWRufsJE4=
-SIZE (pdnsd-1.2.8-par.tar.gz) = 471303
+MD5 (pdnsd-1.2.9a-par.tar.gz) = Lz5wXVmg+TCK2VBLJEAHaQ==
+RMD160 (pdnsd-1.2.9a-par.tar.gz) = PKFRusZMHV6jxNQAq4o5k+Y3AUU=
+SHA1 (pdnsd-1.2.9a-par.tar.gz) = Vdj9ceLykaPq1TyAl3KfqVJkvqk=
+SHA256 (pdnsd-1.2.9a-par.tar.gz) = u1g10MqoxLMWedb9ahoJC3G99wlQ2zsdDOqc+ct+Kns=
+SIZE (pdnsd-1.2.9a-par.tar.gz) = 516061
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/net/pdnsd/patches/patch-Makefile_in,v
retrieving revision 1.5
diff -u -p -r1.5 patch-Makefile_in
--- patches/patch-Makefile_in 2 Jan 2009 22:28:21 -0000 1.5
+++ patches/patch-Makefile_in 21 May 2012 19:42:19 -0000
@@ -1,21 +1,22 @@
$OpenBSD: patch-Makefile_in,v 1.5 2009/01/02 22:28:21 sthen Exp $
---- Makefile.in.orig Thu Sep 4 12:20:38 2008
-+++ Makefile.in Fri Sep 12 04:41:24 2008
-@@ -546,7 +546,7 @@ info-am:
+--- Makefile.in.orig Fri Mar 2 13:16:52 2012
++++ Makefile.in Fri Mar 2 13:18:22 2012
+@@ -626,7 +626,8 @@ info-am:
install-data-am:
@$(NORMAL_INSTALL)
- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+ $(MAKE) $(AM_MAKEFLAGS)
++
+ install-dvi: install-dvi-recursive
- install-exec-am:
-
-@@ -599,7 +599,7 @@ install-data-hook:
- $(mkinstalldirs) $(DESTDIR)$(cachedir)
- test -f $(DESTDIR)$(cachedir)/pdnsd.cache || \
- touch $(DESTDIR)$(cachedir)/pdnsd.cache
+ install-dvi-am:
+@@ -699,7 +700,7 @@ install-data-hook:
+ $(mkinstalldirs) "$(DESTDIR)$(cachedir)"
+ test -f "$(DESTDIR)$(cachedir)/pdnsd.cache" || \
+ touch "$(DESTDIR)$(cachedir)/pdnsd.cache"
- if test `whoami` = "root"; then \
+ if test `userinfo -e _pdnsd`; then \
- chown $(def_id) $(DESTDIR)$(cachedir)/pdnsd.cache; \
- chown $(def_id) $(DESTDIR)$(cachedir); \
+ chown $(def_id) "$(DESTDIR)$(cachedir)/pdnsd.cache"; \
+ chown $(def_id) "$(DESTDIR)$(cachedir)"; \
fi
Index: patches/patch-doc_pdnsd_8_in
===================================================================
RCS file: /cvs/ports/net/pdnsd/patches/patch-doc_pdnsd_8_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-doc_pdnsd_8_in
--- patches/patch-doc_pdnsd_8_in 23 Mar 2009 09:54:36 -0000 1.2
+++ patches/patch-doc_pdnsd_8_in 21 May 2012 19:42:19 -0000
@@ -1,6 +1,6 @@
$OpenBSD: patch-doc_pdnsd_8_in,v 1.2 2009/03/23 09:54:36 ajacoutot Exp $
---- doc/pdnsd.8.in.orig Mon Aug 20 14:24:51 2007
-+++ doc/pdnsd.8.in Sun Mar 22 20:14:48 2009
+--- doc/pdnsd.8.in.orig Fri Mar 2 13:08:16 2012
++++ doc/pdnsd.8.in Fri Mar 2 13:11:30 2012
@@ -11,7 +11,7 @@ This man page is an extract of the documentation of \f
For complete, current documentation, refer to the HTML (or plain text)
documentation (which you can find in the \fBdoc/\fP subdirectory of the
@@ -37,7 +37,7 @@ $OpenBSD: patch-doc_pdnsd_8_in,v 1.2 200
.SH AUTHORS
-@@ -301,7 +301,7 @@ and was extensively revised by Paul Rombouts
+@@ -301,7 +301,7 @@ and was extensively revised by Paul A. Rombouts
(for versions 1.1.8b1\-par and later).
.PP
Several others have contributed to \fBpdnsd\fP; see files in the
Index: patches/patch-src_Makefile_in
===================================================================
RCS file: /cvs/ports/net/pdnsd/patches/patch-src_Makefile_in,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_Makefile_in
--- patches/patch-src_Makefile_in 2 Jan 2009 22:28:21 -0000 1.1
+++ patches/patch-src_Makefile_in 21 May 2012 19:42:19 -0000
@@ -1,12 +1,12 @@
$OpenBSD: patch-src_Makefile_in,v 1.1 2009/01/02 22:28:21 sthen Exp $
---- src/Makefile.in.orig Sat Sep 13 04:15:02 2008
-+++ src/Makefile.in Sat Sep 13 04:20:10 2008
-@@ -60,7 +60,7 @@ am_pdnsd_OBJECTS = pdnsd-conf-parser.$(OBJEXT) pdnsd-c
+--- src/Makefile.in.orig Fri Mar 2 13:12:09 2012
++++ src/Makefile.in Fri Mar 2 13:12:49 2012
+@@ -56,7 +56,7 @@ am_pdnsd_OBJECTS = pdnsd-conf-parser.$(OBJEXT) pdnsd-c
pdnsd-thread.$(OBJEXT) pdnsd-cache.$(OBJEXT) \
pdnsd-hash.$(OBJEXT)
pdnsd_OBJECTS = $(am_pdnsd_OBJECTS)
-pdnsd_LDADD = $(LDADD)
+pdnsd_LDADD = $(LDADD) @thread_CFLAGS@
- DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
- depcomp = $(SHELL) $(top_srcdir)/depcomp
- am__depfiles_maybe = depfiles
+ pdnsd_LINK = $(CCLD) $(pdnsd_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)