# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # powerdns-recursor # powerdns-recursor/CVS # powerdns-recursor/CVS/Root # powerdns-recursor/CVS/Repository # powerdns-recursor/CVS/Entries # powerdns-recursor/CVS/Template # powerdns-recursor/files # powerdns-recursor/files/CVS # powerdns-recursor/files/CVS/Root # powerdns-recursor/files/CVS/Repository # powerdns-recursor/files/CVS/Entries # powerdns-recursor/files/patch-makefile # powerdns-recursor/files/patch-manpages # powerdns-recursor/files/pdns-recursor.in # powerdns-recursor/files/pkg-message.in # powerdns-recursor/Makefile # powerdns-recursor/distinfo # powerdns-recursor/pkg-descr # powerdns-recursor/pkg-plist # echo c - powerdns-recursor mkdir -p powerdns-recursor > /dev/null 2>&1 echo c - powerdns-recursor/CVS mkdir -p powerdns-recursor/CVS > /dev/null 2>&1 echo x - powerdns-recursor/CVS/Root sed 's/^X//' >powerdns-recursor/CVS/Root << 'END-of-powerdns-recursor/CVS/Root' Xlaszlof@pcvs.FreeBSD.org:/home/pcvs END-of-powerdns-recursor/CVS/Root echo x - powerdns-recursor/CVS/Repository sed 's/^X//' >powerdns-recursor/CVS/Repository << 'END-of-powerdns-recursor/CVS/Repository' Xports/dns/powerdns-recursor END-of-powerdns-recursor/CVS/Repository echo x - powerdns-recursor/CVS/Entries sed 's/^X//' >powerdns-recursor/CVS/Entries << 'END-of-powerdns-recursor/CVS/Entries' X/Makefile/1.1/Wed Nov 15 23:59:16 2006// X/distinfo/1.1/Wed Nov 15 23:59:16 2006// X/pkg-descr/1.1/Wed Nov 15 23:59:16 2006// X/pkg-plist/1.1/Wed Nov 15 23:59:16 2006// XD/files//// END-of-powerdns-recursor/CVS/Entries echo x - powerdns-recursor/CVS/Template sed 's/^X//' >powerdns-recursor/CVS/Template << 'END-of-powerdns-recursor/CVS/Template' X XPR: XSubmitted by: XReviewed by: XApproved by: XObtained from: XMFC after: XSecurity: XCVS: ---------------------------------------------------------------------- XCVS: PR: Fill this in if a GNATS PR is affected by the change. XCVS: Submitted by: Fill this in if someone else sent in the change. XCVS: Reviewed by: Fill this in if someone else reviewed your modification. XCVS: Approved by: Fill this in if you needed approval for this commit. XCVS: Obtained from: Fill this in if the change is from third party software. XCVS: MFC after: N [day[s]|week[s]|month[s]] XCVS: Fill in to get MFC notification later. (days assumed unless specified) XCVS: Security: vulnerability reference or description XCVS: If the change is related to a security vulnerability, include one or XCVS: more references (e.g. CVE names, VuXML IDs, URLs) or a description XCVS: of the issue. Please use one `Security:' entry per reference. END-of-powerdns-recursor/CVS/Template echo c - powerdns-recursor/files mkdir -p powerdns-recursor/files > /dev/null 2>&1 echo c - powerdns-recursor/files/CVS mkdir -p powerdns-recursor/files/CVS > /dev/null 2>&1 echo x - powerdns-recursor/files/CVS/Root sed 's/^X//' >powerdns-recursor/files/CVS/Root << 'END-of-powerdns-recursor/files/CVS/Root' Xlaszlof@pcvs.FreeBSD.org:/home/pcvs END-of-powerdns-recursor/files/CVS/Root echo x - powerdns-recursor/files/CVS/Repository sed 's/^X//' >powerdns-recursor/files/CVS/Repository << 'END-of-powerdns-recursor/files/CVS/Repository' Xports/dns/powerdns-recursor/files END-of-powerdns-recursor/files/CVS/Repository echo x - powerdns-recursor/files/CVS/Entries sed 's/^X//' >powerdns-recursor/files/CVS/Entries << 'END-of-powerdns-recursor/files/CVS/Entries' X/patch-makefile/1.1/Wed Nov 15 23:59:16 2006// X/patch-manpages/1.1/Wed Nov 15 23:59:16 2006// X/pdns-recursor.in/1.1/Wed Nov 15 23:59:16 2006// X/pkg-message.in/1.1/Wed Nov 15 23:59:16 2006// XD END-of-powerdns-recursor/files/CVS/Entries echo x - powerdns-recursor/files/patch-makefile sed 's/^X//' >powerdns-recursor/files/patch-makefile << 'END-of-powerdns-recursor/files/patch-makefile' X--- Makefile.orig Tue Nov 14 13:26:24 2006 X+++ Makefile Tue Nov 14 13:26:51 2006 X@@ -2,7 +2,6 @@ X SBINDIR=/usr/sbin/ X BINDIR=/usr/bin/ X CONFIGDIR="/etc/powerdns/" X-OPTFLAGS?=-O3 X CXXFLAGS:= $(CXXFLAGS) -Wall $(OPTFLAGS) $(PROFILEFLAGS) X CFLAGS:=$(CFLAGS) -Wall $(OPTFLAGS) $(PROFILEFLAGS) X LINKCC=$(CXX) X@@ -52,16 +52,14 @@ X fi X X install: all X- -mkdir -p $(DESTDIR)/$(SBINDIR) X mv pdns_recursor $(DESTDIR)/$(SBINDIR) X strip $(DESTDIR)/$(SBINDIR)/pdns_recursor X- mkdir -p $(DESTDIR)/$(BINDIR) X mv rec_control $(DESTDIR)/$(BINDIR) X strip $(DESTDIR)/$(BINDIR)/rec_control X -mkdir -p $(DESTDIR)/$(CONFIGDIR) X $(DESTDIR)/$(SBINDIR)/pdns_recursor --config > $(DESTDIR)/$(CONFIGDIR)/recursor.conf-dist X- -mkdir -p $(DESTDIR)/usr/share/man/man1 X- cp pdns_recursor.1 rec_control.1 $(DESTDIR)/usr/share/man/man1 X+ mv pdns_recursor.1 pdns_recursor.8 X+ mv rec_control.1 rec_control.8 X $(OS_SPECIFIC_INSTALL) X X clean: END-of-powerdns-recursor/files/patch-makefile echo x - powerdns-recursor/files/patch-manpages sed 's/^X//' >powerdns-recursor/files/patch-manpages << 'END-of-powerdns-recursor/files/patch-manpages' X--- rec_control.1.orig Tue Nov 14 13:47:26 2006 X+++ rec_control.1 Tue Nov 14 13:47:55 2006 X@@ -17,7 +17,7 @@ X .el .ne 3 X .IP "\\$1" \\$2 X .. X-.TH "REC_CONTROL" 1 "" "" "" X+.TH "REC_CONTROL" 8 "" "" "" X .SH NAME X rec_control \- control pdns_recursor X .SH "SYNOPSIS" X@@ -28,7 +28,7 @@ X .SH "DESCRIPTION" X X X-rec_control(1) allows the operator to control a running instance of the pdns_recursor\&. X+rec_control(8) allows the operator to control a running instance of the pdns_recursor\&. X X X The commands that can be passed to the recursor are described on http://doc\&.powerdns\&.com/rec\-control\&.html X@@ -111,7 +111,7 @@ X .SH "SEE ALSO" X X X-pdns_recursor(1) X+pdns_recursor(8) X X .SH "COPYING" X X--- pdns_recursor.1.orig Tue Nov 14 13:48:13 2006 X+++ pdns_recursor.1 Tue Nov 14 13:48:44 2006 X@@ -17,7 +17,7 @@ X .el .ne 3 X .IP "\\$1" \\$2 X .. X-.TH "PDNS_RECURSOR" 1 "" "" "" X+.TH "PDNS_RECURSOR" 8 "" "" "" X .SH NAME X pdns_recursor \- high-performance, simple and secure recursing nameserver X .SH "SYNOPSIS" X@@ -28,7 +28,7 @@ X .SH "DESCRIPTION" X X X-pdns_recursor(1) is a high performance, simple and secure recursing nameserver\&. It currently powers over two million internet connections\&. X+pdns_recursor(8) is a high performance, simple and secure recursing nameserver\&. It currently powers over two million internet connections\&. X X X The recursor is configured via a configuration file, but each item in that file can be overridden on the command line\&. X@@ -211,7 +211,7 @@ X .SH "SEE ALSO" X X X-rec_control(1) X+rec_control(8) X X .SH "COPYING" X END-of-powerdns-recursor/files/patch-manpages echo x - powerdns-recursor/files/pdns-recursor.in sed 's/^X//' >powerdns-recursor/files/pdns-recursor.in << 'END-of-powerdns-recursor/files/pdns-recursor.in' X#!/bin/sh X# X# $$ X# X X# PROVIDE: pdns_recursor X# REQUIRE: DAEMON X# KEYWORD: shutdown X X# X# Add the following lines to /etc/rc.conf to enable pdns_recursor: X# X#pdns_recursor_enable="YES" X# X# See pdns_recursor(8) for flags. X# X X. %%RC_SUBR%% X Xname=pdns_recursor Xrcvar=`set_rcvar` X Xcommand=%%PREFIX%%/sbin/pdns_recursor X X# set defaults X Xpdns_recursor_enable=${pdns_recursor_enable:-"NO"} Xpdns_recursor_conf=${pdns_recursor_conf:-"%%PREFIX%%/etc/pdns/recursor.conf"} Xpdns_recursor_flags=${pdns_recursor_flags:-""} X Xload_rc_config ${name} X Xrequired_files=${pdns_recursor_conf} X Xrun_rc_command "$1" END-of-powerdns-recursor/files/pdns-recursor.in echo x - powerdns-recursor/files/pkg-message.in sed 's/^X//' >powerdns-recursor/files/pkg-message.in << 'END-of-powerdns-recursor/files/pkg-message.in' X X******************************************************************* X If you want to use the powerdns recursor, X you need the following line in /etc/rc.conf(.local) X X pdns_recursor_enable="YES" X X Configuration templates are available in %%PREFIX%%/etc/pdns X as recursor.conf-dist. X******************************************************************* X END-of-powerdns-recursor/files/pkg-message.in echo x - powerdns-recursor/Makefile sed 's/^X//' >powerdns-recursor/Makefile << 'END-of-powerdns-recursor/Makefile' X# New ports collection makefile for: powerdns-recursor X# Date Created: 14.Nov 2006 X# Whom: sten@blinkenlights.nl X# X# $FreeBSD: ports/dns/powerdns-recursor/Makefile,v 1.1 2006/11/15 23:59:16 ehaupt Exp $ X# X XPORTNAME= powerdns-recursor XPORTVERSION= 3.1.4 XPORTREVISION= 1 XCATEGORIES= dns ipv6 XMASTER_SITES= http://downloads.powerdns.com/releases/ \ X http://mirrors.evolva.ro/powerdns.com/releases/ XDISTNAME= pdns-recursor-${PORTVERSION} X XMAINTAINER= sten@blinkenlights.nl XCOMMENT= An advanced DNS recursor X XBUILD_DEPENDS= bjam:${PORTSDIR}/devel/boost X XUSE_BZIP2= yes XUSE_GMAKE= yes X XCXXFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib X XMAKE_ENV+= CXX="${CXX}" CC="${CC}" X XMAN8= rec_control.8 pdns_recursor.8 XSUB_FILES= pkg-message X X.include X XUSE_RC_SUBR+= pdns-recursor X X.if exists(/usr/include/ucontext.h) && ${OSVERSION} >= 500000 XUCONTEXT!= ${AWK} '/setcontext/ { print "YES" }' \ X /usr/include/ucontext.h X.if ${UCONTEXT} == "" XBROKEN= requires setcontext() X.endif X.endif X Xpost-patch: X @${REINPLACE_CMD} -e 's;SBINDIR=/usr/sbin/;SBINDIR=${PREFIX}/sbin/;' \ X -e 's;BINDIR=/usr/bin/;BINDIR=${PREFIX}/bin/;' \ X -e 's;CONFIGDIR="/etc/powerdns/";CONFIGDIR=${PREFIX}/etc/pdns/;' \ X ${WRKSRC}/Makefile X @${REINPLACE_CMD} -e 's;"/etc/powerdns/";"${PREFIX}/etc/pdns/";' \ X ${WRKSRC}/config.h X Xpost-install: X.if !exists(${PREFIX}/etc/pdns/recursor.conf) X ${INSTALL_DATA} ${PREFIX}/etc/pdns/recursor.conf-dist \ X ${PREFIX}/etc/pdns/recursor.conf X.endif X @${INSTALL_MAN} ${WRKSRC}/*.8 ${PREFIX}/man/man8/ X @${CAT} ${PKGMESSAGE} X X.include END-of-powerdns-recursor/Makefile echo x - powerdns-recursor/distinfo sed 's/^X//' >powerdns-recursor/distinfo << 'END-of-powerdns-recursor/distinfo' XMD5 (pdns-recursor-3.1.4.tar.bz2) = 439a10639f53def0ba47c0851e4a2671 XSHA256 (pdns-recursor-3.1.4.tar.bz2) = 9975ec73e311bda4c22f302f18f4ed4fe701d63bce3155f300ccc561d5b0cc39 XSIZE (pdns-recursor-3.1.4.tar.bz2) = 139191 END-of-powerdns-recursor/distinfo echo x - powerdns-recursor/pkg-descr sed 's/^X//' >powerdns-recursor/pkg-descr << 'END-of-powerdns-recursor/pkg-descr' Xpowerdns recursor is a high performance, simple and secure recursing Xnameserver. It currently powers over two million internet connections. X XWWW: http://www.powerdns.com END-of-powerdns-recursor/pkg-descr echo x - powerdns-recursor/pkg-plist sed 's/^X//' >powerdns-recursor/pkg-plist << 'END-of-powerdns-recursor/pkg-plist' X@unexec if cmp -s %D/etc/pdns/recursor.conf %D/etc/pdns/recursor.conf-dist; then rm -f %D/etc/pdns/recursor.conf; fi Xetc/pdns/recursor.conf-dist X@exec [ -f %B/recursor.conf ] || cp %B/%f %B/recursor.conf Xbin/rec_control Xsbin/pdns_recursor X@dirrmtry etc/pdns END-of-powerdns-recursor/pkg-plist exit