aboutsummaryrefslogtreecommitdiffstats
path: root/dns/opendnssec2
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2016-07-29 15:45:18 +0800
committererwin <erwin@FreeBSD.org>2016-07-29 15:45:18 +0800
commit3d31af479ab03c485c23bb7e0884ff6bb0eace08 (patch)
tree818c638a374f2b6a9bbe66bd2cc25a618344b7f3 /dns/opendnssec2
parent5d9e6aef8215a9d0e29721bc80a6c08f764b2f4d (diff)
downloadfreebsd-ports-gnome-3d31af479ab03c485c23bb7e0884ff6bb0eace08.tar.gz
freebsd-ports-gnome-3d31af479ab03c485c23bb7e0884ff6bb0eace08.tar.zst
freebsd-ports-gnome-3d31af479ab03c485c23bb7e0884ff6bb0eace08.zip
- Update to 2.0.1
- Switch to options helpers This release is primarily focused on ironing out the issues on the migration path from 1.4 to 2.0. Besides that there are no functional changes. * Fixed crash and linking issue in ods-migrate. * Fixed case where 2.0.0 could not read backup files from 1.4.10. * Fixed bug in migration script where key state in the database wasn't transformed properly. PR: 211403 Submitted by: Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer) Sponsored by: DK Hostmaster A/S
Diffstat (limited to 'dns/opendnssec2')
-rw-r--r--dns/opendnssec2/Makefile35
-rw-r--r--dns/opendnssec2/distinfo6
2 files changed, 15 insertions, 26 deletions
diff --git a/dns/opendnssec2/Makefile b/dns/opendnssec2/Makefile
index 8239863eddf8..9fdbdd01c626 100644
--- a/dns/opendnssec2/Makefile
+++ b/dns/opendnssec2/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= opendnssec
-PORTVERSION= 2.0.0
+PORTVERSION= 2.0.1
CATEGORIES= dns
MASTER_SITES= http://dist.opendnssec.org/source/
PKGNAMESUFFIX= 2
@@ -19,7 +19,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir="${PREFIX}/var"
USE_RC_SUBR= opendnssec
USE_GNOME= libxml2
-USES= perl5
USES= ssl
USE_LDCONFIG= yes
@@ -48,37 +47,27 @@ SOFTHSM_DESC= SoftHSM cryptographic store for PKCS \#11 interface
MYSQL_DESC= Use MYSQL backend
SQLITE_DESC= Use SQLite backend
-.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MMYSQL}
-CONFIGURE_ARGS+= --with-enforcer-database=mysql
-USES+= mysql
-.endif
+MYSQL_CONFIGURE_ON= --with-enforcer-database=mysql
+MYSQL_USES= mysql
+
+SQLITE_USES= sqlite
+SQLITE_CONFIGURE_ON= --with-enforcer-database=sqlite3
+SQLITE_BUILD_DEPENDS= sqlite3>=3.3.9:databases/sqlite3
-.if ${PORT_OPTIONS:MSQLITE}
-USES= sqlite
-CONFIGURE_ARGS+= --with-enforcer-database=sqlite3
-BUILD_DEPENDS+= sqlite3>=3.3.9:databases/sqlite3
-.endif
-.if ${PORT_OPTIONS:MSOFTHSM}
-CONFIGURE_ARGS+= --with-pkcs11-softhsm=${LOCALBASE}/lib/softhsm/libsofthsm.so
-RUN_DEPENDS+= softhsm>=1.2.0:security/softhsm
-.endif
+SOFTHSM_CONFIGURE_ON= --with-pkcs11-softhsm=${LOCALBASE}/lib/softhsm/libsofthsm.so
+SOFTHSM_RUN_DEPENDS= softhsm>=1.2.0:security/softhsm
-pre-install:
-.if ${PORT_OPTIONS:MMYSQL}
+pre-install-MYSQL-on:
${REINPLACE_CMD} -e '/REQUIRE:/ s|$$| mysql|' ${WRKDIR}/opendnssec
-.endif
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}/1.4-2.0_db_convert
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/1.4-2.0_db_convert
${INSTALL_DATA} \
${MIGRATE:S|^|${WRKSRC}/enforcer/utils/1.4-2.0_db_convert/|} \
${STAGEDIR}${DOCSDIR}/1.4-2.0_db_convert
-.endif
.include <bsd.port.mk>
diff --git a/dns/opendnssec2/distinfo b/dns/opendnssec2/distinfo
index ede7eed0ebfd..a1be923c2a63 100644
--- a/dns/opendnssec2/distinfo
+++ b/dns/opendnssec2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1467876838
-SHA256 (opendnssec-2.0.0.tar.gz) = 3f3087ee1f2dee8b55d823d4b6825dc0212ea5162965382df11b2de36b888b7f
-SIZE (opendnssec-2.0.0.tar.gz) = 1072734
+TIMESTAMP = 1469195131
+SHA256 (opendnssec-2.0.1.tar.gz) = bf874bbb346699a5b539699f90a54e0c15fff0574df7a3c118abb30938b7b346
+SIZE (opendnssec-2.0.1.tar.gz) = 1101523