aboutsummaryrefslogtreecommitdiff
path: root/dns/powerdns-devel/Makefile
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-04-27 07:25:40 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-04-27 07:25:40 +0000
commit25d9bf9e394b19f160c1c8222cb4fad0d2be7648 (patch)
tree15b781807be08c962521d767dd45b5a3bb3f32cc /dns/powerdns-devel/Makefile
parent8434766ac1b3340bde95e4ef2e2fc5a8c8907b9b (diff)
downloadports-25d9bf9e394b19f160c1c8222cb4fad0d2be7648.tar.gz
ports-25d9bf9e394b19f160c1c8222cb4fad0d2be7648.zip
- 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 PR: ports/112055 Submitted by: maintainer (Ralf van der Enden) Reviewed by: maintainer
Notes
Notes: svn path=/head/; revision=190994
Diffstat (limited to 'dns/powerdns-devel/Makefile')
-rw-r--r--dns/powerdns-devel/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/dns/powerdns-devel/Makefile b/dns/powerdns-devel/Makefile
index 45b144c250c7..221f7bb89e52 100644
--- a/dns/powerdns-devel/Makefile
+++ b/dns/powerdns-devel/Makefile
@@ -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 @@ LDFLAGS+= -L${LOCALBASE}/lib
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 @@ SUB_FILES= pkg-message
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=""
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 @@ post-install:
.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