From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 23 21:40:04 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE9C616A403 for ; Mon, 23 Apr 2007 21:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id D2B1B13C45B for ; Mon, 23 Apr 2007 21:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3NLe4tV041627 for ; Mon, 23 Apr 2007 21:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3NLe4rR041626; Mon, 23 Apr 2007 21:40:04 GMT (envelope-from gnats) Resent-Date: Mon, 23 Apr 2007 21:40:04 GMT Resent-Message-Id: <200704232140.l3NLe4rR041626@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ralf van der Enden Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C2D3216A408 for ; Mon, 23 Apr 2007 21:31:34 +0000 (UTC) (envelope-from root@cainites.net) Received: from ns1.cainites.net (ns1.cainites.net [80.126.212.243]) by mx1.freebsd.org (Postfix) with ESMTP id 0457A13C4BF for ; Mon, 23 Apr 2007 21:31:33 +0000 (UTC) (envelope-from root@cainites.net) Received: by ns1.cainites.net (Postfix, from userid 0) id 97F53A0; Mon, 23 Apr 2007 23:13:11 +0200 (CEST) Message-Id: <20070423211311.97F53A0@ns1.cainites.net> Date: Mon, 23 Apr 2007 23:13:11 +0200 (CEST) From: Ralf van der Enden To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/112055: dns/powerdns: update to 2.9.21 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ralf van der Enden List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2007 21:40:05 -0000 >Number: 112055 >Category: ports >Synopsis: dns/powerdns: update to 2.9.21 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Apr 23 21:40:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Ralf van der Enden >Release: FreeBSD 6.2-RELEASE-p3 i386 >Organization: >Environment: System: FreeBSD lan.cainites.net 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #4: Tue Mar 20 17:37:03 CET 2007 root@lan.cainites.net:/usr/obj/usr/src/sys/HELLKERNEL i386 >Description: Update PowerDNS to 2.9.21 Add patch from SVN to support DNSSEC records Update examples (config and table creation files) For the complete changelog see http://doc.powerdns.com/changelog.html >How-To-Repeat: >Fix: --- pdns-2.9.21.diff begins here --- Index: distinfo =================================================================== --- distinfo (revision 42) +++ distinfo (working copy) @@ -1,3 +1,3 @@ -MD5 (pdns-2.9.20.tar.gz) = 33b20ef1b767f93297101f2aa09e99ed -SHA256 (pdns-2.9.20.tar.gz) = 28984207c78bc5d40542d40366d74f6695a9cf3a7ec4f431d908966d4fc35e3d -SIZE (pdns-2.9.20.tar.gz) = 867520 +MD5 (pdns-2.9.21.tar.gz) = a0d650dd1489ed46b36dfcc1d73653af +SHA256 (pdns-2.9.21.tar.gz) = 4b24db683ba2217caa1edf54545841dcdfa6fd27b66017577d8b0dd54f8e7ed5 +SIZE (pdns-2.9.21.tar.gz) = 991071 Index: files/pdns.conf =================================================================== --- files/pdns.conf (revision 42) +++ files/pdns.conf (working copy) @@ -12,30 +12,51 @@ #gpgsql-user=pdns #gpgsql-password=pdns -# SQLite +# SQLite 2 #launch=gsqlite #gsqlite-database= -# OpenDBX +# SQLite 3 +#launch=gsqlite3 +#gsqlite3-database= + +# LDAP (check http://www.linuxnetworks.de for more information) +#launch=ldap +#ldap-host (default "127.0.0.1:389") +#ldap-starttls (default "no") +#ldap-basedn (default "") +#ldap-binddn (default "") +#ldap-secret (default "") +#ldap-method (default "simple") +#ldap-filter-axfr (default "(:target:)" ) +ldap-filter-lookup (default "(:target:)" ) + +# OpenDBX (check http://www.linuxnetworks.de for more information) #launch=opendbx -#opendbx-backend=mysql -#opendbx-host=127.0.0.1 -#opendbx-database=pdns -#opendbx-username=pdns -#opendbx-password=pdns +#opendbx-backend (default "mysql") +#opendbx-host-read (default "127.0.0.1") +#opendbx-host-write (default "127.0.0.1") +#opendbx-database (default "powerdns") +#opendbx-username (default "powerdns") +#opendbx-password (default "") # Autogenerated configuration file template ################################# -# allow-axfr-ips If disabled, DO allow zonetransfers from these IP addresses +# allow-axfr-ips Allow zonetransfers only to these subnets # -# allow-axfr-ips= +# allow-axfr-ips=0.0.0.0/0 ################################# -# allow-recursion List of netmasks that are allowed to recurse +# allow-recursion List of subnets that are allowed to recurse # -# allow-recursion= +# allow-recursion=0.0.0.0/0 ################################# +# allow-recursion-override Set this so that local data fully overrides the recursor +# +# allow-recursion-override=no + +################################# # cache-ttl Seconds to store packets in the PacketCache # # cache-ttl=20 @@ -48,7 +69,7 @@ ################################# # config-dir Location of configuration directory (pdns.conf) # -# config-dir=/usr/local/etc/pdns +# config-dir=/usr/local/etc ################################# # config-name Name of this virtual configuration - will rename the binary image @@ -71,6 +92,11 @@ # default-soa-name=a.misconfigured.powerdns.server ################################# +# default-ttl Seconds a result is valid if not set otherwise +# +# default-ttl=3600 + +################################# # disable-axfr Disable zonetransfers but do allow TCP queries # # disable-axfr=no @@ -86,6 +112,11 @@ # distributor-threads=3 ################################# +# do-ipv6-additional-processing Do AAAA additional processing +# +# do-ipv6-additional-processing=no + +################################# # fancy-records Process URL and MBOXFW records # # fancy-records=no @@ -111,7 +142,7 @@ # load-modules= ################################# -# local-address Local IP address to which we bind +# local-address Local IP addresses to which we bind # # local-address=0.0.0.0 @@ -126,7 +157,7 @@ # local-port=53 ################################# -# log-dns-details If PDNS should log failed update requests +# log-dns-details If PDNS should log DNS non-erroneous details # # log-dns-details= @@ -168,7 +199,7 @@ ################################# # module-dir Default directory for modules # -# module-dir=/usr/local/bin/../lib +# module-dir=/usr/local/lib ################################# # negquery-cache-ttl Seconds to store packets in the PacketCache @@ -176,21 +207,31 @@ # negquery-cache-ttl=60 ################################# -# only-soa Make sure that no SOA serial is less than this number +# no-shuffle Set this to prevent random shuffling of answers - for regression testing # -# only-soa=org +# no-shuffle=off ################################# # out-of-zone-additional-processing Do out of zone additional processing # -# out-of-zone-additional-processing=no +# out-of-zone-additional-processing=yes ################################# +# pipebackend-abi-version Version of the pipe backend ABI +# +# pipebackend-abi-version=1 + +################################# # query-cache-ttl Seconds to store packets in the PacketCache # # query-cache-ttl=20 ################################# +# query-local-address Source IP address for sending queries +# +# query-local-address= + +################################# # query-logging Hint backends that queries should be logged # # query-logging=no @@ -201,11 +242,6 @@ # queue-limit=1500 ################################# -# receiver-threads Number of receiver threads to launch -# -# receiver-threads=1 - -################################# # recursive-cache-ttl Seconds to store packets in the PacketCache # # recursive-cache-ttl=10 @@ -216,6 +252,11 @@ # recursor=no ################################# +# send-root-referral Send out old-fashioned root-referral instead of ServFail in case of no authority +# +# send-root-referral=no + +################################# # setgid If set, change group id to this gid for more security # # setgid= @@ -246,26 +287,26 @@ # smtpredirector=a.misconfigured.powerdns.smtp.server ################################# +# soa-expire-default Default SOA expire +# +# soa-expire-default=604800 + +################################# # soa-minimum-ttl Default SOA mininum ttl # # soa-minimum-ttl=3600 ################################# -# soa-refresh-default Default SOA refresh +# soa-refresh-default Default SOA refresh # # soa-refresh-default=10800 ################################# -# soa-retry-default Default SOA retry +# soa-retry-default Default SOA retry # # soa-retry-default=3600 ################################# -# soa-expire-default Default SOA expire -# -# soa-expire-default=604800 - -################################# # soa-serial-offset Make sure that no SOA serial is less than this number # # soa-serial-offset=0 @@ -291,6 +332,11 @@ # use-logfile=no ################################# +# version-string PowerDNS version in packets - full, anonymous, powerdns or custom +# +# version-string=full + +################################# # webserver Start a webserver for monitoring # # webserver=no Index: pkg-plist =================================================================== --- pkg-plist (revision 42) +++ pkg-plist (working copy) @@ -14,6 +14,10 @@ %%WITHSQLITE%%lib/libgsqlitebackend.la %%WITHSQLITE%%lib/libgsqlitebackend.so %%WITHSQLITE%%lib/libgsqlitebackend.so.0 +%%WITHSQLITE3%%lib/libgsqlite3backend.a +%%WITHSQLITE3%%lib/libgsqlite3backend.la +%%WITHSQLITE3%%lib/libgsqlite3backend.so +%%WITHSQLITE3%%lib/libgsqlite3backend.so.0 %%WITHOPENLDAP%%lib/libldapbackend.a %%WITHOPENLDAP%%lib/libldapbackend.la %%WITHOPENLDAP%%lib/libldapbackend.so @@ -34,8 +38,9 @@ etc/pdns/pdns.conf-dist @exec [ -f %B/pdns.conf ] || cp %B/%f %B/pdns.conf %%PORTDOCS%%share/examples/powerdns/pdns.conf -%%PORTDOCS%%share/examples/powerdns/pdns_mysql.sql -%%PORTDOCS%%share/examples/powerdns/pdns_postgresql.sql -%%PORTDOCS%%share/examples/powerdns/pdns_sqlite.sql +%%PORTDOCS%%share/examples/powerdns/tables-mssql_or_sybase.sql +%%PORTDOCS%%share/examples/powerdns/tables-mysql.sql +%%PORTDOCS%%share/examples/powerdns/tables-pgsql.sql +%%PORTDOCS%%share/examples/powerdns/tables-sqlite.sql %%PORTDOCS%%@dirrm share/examples/powerdns @dirrmtry etc/pdns Index: Makefile =================================================================== --- Makefile (revision 46) +++ Makefile (working copy) @@ -6,8 +6,7 @@ # PORTNAME= powerdns -PORTVERSION= 2.9.20 -PORTREVISION= 6 +PORTVERSION= 2.9.21 CATEGORIES= dns ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ \ http://mirrors.evolva.ro/powerdns.com/releases/ @@ -27,7 +26,8 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS+= --with-modules="pipe" \ --with-dynmodules="${CONFIGURE_MODULES}" \ - --sysconfdir="${PREFIX}/etc/pdns" + --sysconfdir="${PREFIX}/etc/pdns" \ + --mandir="${PREFIX}/man" # --enable-debug SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ CURDIR2="${.CURDIR}" \ @@ -41,6 +41,7 @@ OPTIONS= PGSQL "PostgreSQL backend" on \ MYSQL "MySQL backend" off \ SQLITE "SQLite 2 backend" off \ + SQLITE3 "SQLite 3 backend" off \ OPENDBX "OpenDBX backend" off \ OPENLDAP "OpenLDAP backend" off \ GEO "Geo backend" off @@ -97,6 +98,14 @@ PLIST_SUB+= WITHSQLITE="@comment " .endif +.if defined(WITH_SQLITE3) +USE_SQLITE?= 3 +CONFIGURE_MODULES+= "gsqlite3" +PLIST_SUB+= WITHSQLITE3="" +.else +PLIST_SUB+= WITHSQLITE3="@comment " +.endif + .if defined(WITH_OPENDBX) LIB_DEPENDS+= opendbx.[1-2]:${PORTSDIR}/databases/opendbx CONFIGURE_MODULES+= "opendbx" @@ -126,7 +135,7 @@ .endif .if !defined(NOPORTDOCS) ${MKDIR} ${EXAMPLESDIR} -.for i in pdns.conf pdns_mysql.sql pdns_postgresql.sql pdns_sqlite.sql +.for i in pdns.conf tables-mssql_or_sybase.sql tables-mysql.sql tables-pgsql.sql tables-sqlite.sql ${INSTALL_DATA} ${FILESDIR}/$i ${EXAMPLESDIR}/ .endfor .endif --- pdns-2.9.21.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: