Here is an update to pdsnd 1.2.7. I noticed that the 1.2.6 fixed
some security issues. Please test if you use pdnsd or would like
to.


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/pdnsd/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile    15 Sep 2007 22:36:58 -0000      1.13
+++ Makefile    13 Sep 2008 09:16:18 -0000
@@ -1,41 +1,39 @@
 # $OpenBSD: Makefile,v 1.13 2007/09/15 22:36:58 merdely Exp $
-# Uses pthreads
 
 COMMENT=               threaded DNS daemon, optimized for caching
 
-# archs that have pthreads library in
-# good enough shape to run this app.
-ONLY_FOR_ARCHS=        i386
-
-DISTNAME=              pdnsd-1.2.5-par
+DISTNAME=              pdnsd-1.2.7-par
 PKGNAME=               ${DISTNAME:S/-par//}
 CATEGORIES=            net
+MASTER_SITES=          ${HOMEPAGE}/releases/
+
 HOMEPAGE=              http://www.phys.uu.nl/~rombouts/pdnsd/
 
 WRKDIST=               ${WRKDIR}/${DISTNAME:S/-par//}
 
-# GPLv2
+# GPLv3+
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=    Yes
 PERMIT_DISTFILES_CDROM=        Yes
 PERMIT_DISTFILES_FTP=  Yes
 WANTLIB=               c pthread
 
-MASTER_SITES=          ${HOMEPAGE}/releases/
-
 NO_REGRESS=            Yes
 
 USE_GMAKE=             yes
-
 CONFIGURE_STYLE=       gnu
-CONFIGURE_ARGS+=       --with-target=BSD \
-                       --with-random-device=arc4random \
+CONFIGURE_ARGS+=       --enable-ipv6 \
                        --enable-strict-rfc2181 \
                        --with-cachedir="/var/pdnsd" \
-                       --with-default-id=_pdnsd
+                       --with-default-id=_pdnsd \
+                       --with-random-device=arc4random \
+                       --with-target=BSD
 
-post-build:
-       @perl -pi -e "s,/usr/share/doc/,${PREFIX}/share/doc/," \
-               ${WRKSRC}/doc/pdnsd.8.in
+post-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pdnsd
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pdnsd
+       ${INSTALL_DATA} ${WRKSRC}/doc/txt/*.txt ${PREFIX}/share/doc/pdnsd
+       ${INSTALL_DATA} ${WRKINST}${SYSCONFDIR}/pdnsd.conf.sample \
+           ${PREFIX}/share/examples/pdnsd/pdnsd.conf
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/pdnsd/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo    5 Apr 2007 16:20:14 -0000       1.6
+++ distinfo    12 Sep 2008 08:18:56 -0000
@@ -1,5 +1,5 @@
-MD5 (pdnsd-1.2.5-par.tar.gz) = ixu5trQDg6SEqQ3l2ZK07g==
-RMD160 (pdnsd-1.2.5-par.tar.gz) = wURKdG46jRVSYI0DVssU7QPYb8E=
-SHA1 (pdnsd-1.2.5-par.tar.gz) = g1o5ml7z6iT2JsNrju8IFphYR7E=
-SHA256 (pdnsd-1.2.5-par.tar.gz) = Z5swg3PPiZg70hQyCQqtEbsxCeouWFMvLirAyzuXRi8=
-SIZE (pdnsd-1.2.5-par.tar.gz) = 537586
+MD5 (pdnsd-1.2.7-par.tar.gz) = EUs7IbCbQ8v8zN3nJrhMEg==
+RMD160 (pdnsd-1.2.7-par.tar.gz) = W7c1chIO2eJ/cpTyHi+YeGca70E=
+SHA1 (pdnsd-1.2.7-par.tar.gz) = jyoOwjTv1h2BouiVWalFaMNCs28=
+SHA256 (pdnsd-1.2.7-par.tar.gz) = J3fXMXUJ33x1yQvP1/nOrsnqLbFkvwDreX+lTgtHagA=
+SIZE (pdnsd-1.2.7-par.tar.gz) = 459565
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/net/pdnsd/patches/patch-Makefile_in,v
retrieving revision 1.4
diff -u -p -r1.4 patch-Makefile_in
--- patches/patch-Makefile_in   31 Oct 2006 14:58:46 -0000      1.4
+++ patches/patch-Makefile_in   12 Sep 2008 08:41:40 -0000
@@ -1,6 +1,7 @@
---- Makefile.in.orig   Sat Sep  2 16:24:27 2006
-+++ Makefile.in        Tue Oct 31 07:44:41 2006
-@@ -531,7 +531,7 @@ info-am:
+$OpenBSD$
+--- 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:
  
  install-data-am:
        @$(NORMAL_INSTALL)
@@ -9,7 +10,7 @@
  
  install-exec-am:
  
-@@ -584,7 +584,7 @@ install-data-hook:
+@@ -599,7 +599,7 @@ install-data-hook:
        $(mkinstalldirs) $(DESTDIR)$(cachedir)
        test -f $(DESTDIR)$(cachedir)/pdnsd.cache || \
          touch $(DESTDIR)$(cachedir)/pdnsd.cache
Index: patches/patch-doc_Makefile_in
===================================================================
RCS file: patches/patch-doc_Makefile_in
diff -N patches/patch-doc_Makefile_in
--- patches/patch-doc_Makefile_in       31 Oct 2006 14:58:46 -0000      1.5
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
---- doc/Makefile.in.orig       Sat Sep  2 16:24:25 2006
-+++ doc/Makefile.in    Tue Oct 31 10:52:40 2006
-@@ -397,12 +397,12 @@ uninstall-man: uninstall-man5 uninstall-
- # XXX: Do not insist to set the config file owner to root to avoid breaking 
RPM
- # builds
- install-data-hook:
--      $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
--      if test `whoami` = "root"; then \
--        $(INSTALL) -o 0 -g 0 -m 644 pdnsd.conf 
$(DESTDIR)$(sysconfdir)/pdnsd.conf.sample ; \
--      else \
--        $(INSTALL) -m 644 pdnsd.conf 
$(DESTDIR)$(sysconfdir)/pdnsd.conf.sample ; \
--      fi
-+      $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prefix)/share/examples/pdnsd/ ; \
-+      $(BSD_INSTALL_DATA) pdnsd.conf 
$(DESTDIR)$(prefix)/share/examples/pdnsd/ ; \
-+
-+      $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prefix)/share/doc/pdnsd/ ; \
-+      $(BSD_INSTALL_DATA) txt/*.txt $(DESTDIR)$(prefix)/share/doc/pdnsd/ ; \
-+
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
- .NOEXPORT:
Index: patches/patch-doc_pdnsd_8_in
===================================================================
RCS file: patches/patch-doc_pdnsd_8_in
diff -N patches/patch-doc_pdnsd_8_in
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-doc_pdnsd_8_in        13 Sep 2008 08:34:09 -0000
@@ -0,0 +1,55 @@
+$OpenBSD$
+--- doc/pdnsd.8.in.orig        Mon Aug 20 08:24:51 2007
++++ doc/pdnsd.8.in     Sat Sep 13 04:33:54 2008
+@@ -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
+ source or in a standard documentation directory, typically
+-\fB/usr/share/doc/pdnsd/\fP if you are using a binary package).
[EMAIL PROTECTED]@/share/doc/pdnsd/\fP if you are using a binary package).
+ 
+ .SH DESCRIPTION
+ .PP
+@@ -157,7 +157,7 @@ server {
+ Note the opening and closing braces. Add more such \fBserver\fP
+ sections for each set of DNS servers you want \fBpdnsd\fP to query.
+ Of course the configuration options shown here are just examples.
+-More examples can be found in [EMAIL PROTECTED]@/pdnsd.conf.sample\fP
++More examples can be found in [EMAIL 
PROTECTED]@/share/examples/pdnsd/pdnsd.conf\fP
+ or the pdnsd.conf in the documentation directory.
+ See the
+ .BR pdnsd.conf (5)
+@@ -192,7 +192,7 @@ man page for details.
+ The file format and configuration options are described in the
+ .BR pdnsd.conf (5)
+ man page. You can find examples of almost all options in
[EMAIL PROTECTED]@/pdnsd.conf.sample\fP.
[EMAIL PROTECTED]@/share/examples/pdnsd/pdnsd.conf\fP.
+ .PP
+ [EMAIL PROTECTED]@/pdnsd.cache\fP
+ .PP
+@@ -286,7 +286,7 @@ pdnsd and save cache and executable space):
+ .BR resolv.conf (5)
+ .PP
+ More documentation is available in the \fBdoc/\fP subdirectory of the source,
+-or in \fB/usr/share/doc/pdnsd/\fP if you are using a binary package.
++or in [EMAIL PROTECTED]@/share/doc/pdnsd/\fP if you are using a binary 
package.
+ 
+ .SH AUTHORS
+ 
+@@ -301,13 +301,13 @@ and was extensively revised by Paul Rombouts
+ (for versions 1.1.8b1\-par and later).
+ .PP
+ Several others have contributed to \fBpdnsd\fP; see files in the
+-source or \fB/usr/share/doc/pdnsd/\fP directory.
++source or [EMAIL PROTECTED]@/share/doc/pdnsd/\fP directory.
+ .PP
+ This man page was written by Mahesh T. Pai
+ .UR
+ <[EMAIL PROTECTED]>
+ .UE
+-using the documents in \fB/usr/share/docs/pdnsd/\fP directory for Debian,
++using the documents in [EMAIL PROTECTED]@/share/docs/pdnsd/\fP directory for 
Debian,
+ but can be used on other distributions too.
+ .PP
+ Last revised: 22 Jul 2007 by Paul Rombouts.
Index: patches/patch-src_Makefile_in
===================================================================
RCS file: patches/patch-src_Makefile_in
diff -N patches/patch-src_Makefile_in
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_Makefile_in       13 Sep 2008 08:20:19 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- 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
+       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
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/pdnsd/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST   25 Nov 2005 10:45:39 -0000      1.5
+++ pkg/PLIST   13 Sep 2008 08:23:26 -0000
@@ -4,8 +4,8 @@
 @man man/man5/pdnsd.conf.5
 @man man/man8/pdnsd-ctl.8
 @man man/man8/pdnsd.8
-sbin/pdnsd
-sbin/pdnsd-ctl
[EMAIL PROTECTED] sbin/pdnsd
[EMAIL PROTECTED] sbin/pdnsd-ctl
 share/doc/pdnsd/
 share/doc/pdnsd/faq.txt
 share/doc/pdnsd/intro.txt

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to