aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-09-25 14:03:58 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-09-25 14:03:58 +0000
commita3178879a6be241c4d6e905c0bdc55dc619c3de5 (patch)
treeadb7663b2a6652aaf02fede8fa9cc7fb7cfab6b0
parent6ae3bc71b46f9a3084dec85775736554a213558b (diff)
downloadports-a3178879a6be241c4d6e905c0bdc55dc619c3de5.tar.gz
ports-a3178879a6be241c4d6e905c0bdc55dc619c3de5.zip
Notes
-rw-r--r--dns/opendnssec13/Makefile23
-rw-r--r--dns/opendnssec13/distinfo4
-rw-r--r--dns/opendnssec13/pkg-plist12
3 files changed, 22 insertions, 17 deletions
diff --git a/dns/opendnssec13/Makefile b/dns/opendnssec13/Makefile
index 6f3fbf196b56..03b7572ffb55 100644
--- a/dns/opendnssec13/Makefile
+++ b/dns/opendnssec13/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= opendnssec
-PORTVERSION= 1.3.14
+PORTVERSION= 1.3.15
CATEGORIES= dns
MASTER_SITES= http://dist.opendnssec.org/source/
@@ -10,7 +10,7 @@ MAINTAINER= jaap@NLnetLabs.nl
COMMENT= Tool suite for maintaining DNSSEC
BUILD_DEPENDS= ldns>=1.6.16:${PORTSDIR}/dns/ldns
-LIB_DEPENDS= ldns:${PORTSDIR}/dns/ldns
+LIB_DEPENDS= libldns.so:${PORTSDIR}/dns/ldns
LATEST_LINK= ${PORTNAME}13
@@ -24,19 +24,15 @@ USE_LDCONFIG= yes
USERS= ${PORTNAME}
GROUPS= ${PORTNAME}
-CONFLICTS= opendnssec-1.4*
+PLIST_SUB+= USER=${USERS} GROUP=${GROUPS}
-MAN1= ods-hsmspeed.1 ods-hsmutil.1 ods-ksmutil.1
-MAN5= ods-timing.5
-MAN7= opendnssec.7
-MAN8= ods-control.8 ods-enforcerd.8 ods-signer.8 ods-signerd.8
+CONFLICTS= opendnssec-1.4*
OPTIONS_DEFINE= SOFTHSM AUDITOR MYSQL
SOFTHSM_DESC= SoftHSM cryptographic store for PKCS \#11 interface
AUDITOR_DESC= Build with Auditor
OPTIONS_DEFAULT= AUDITOR
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
@@ -46,8 +42,11 @@ USE_MYSQL= compat
PLIST_SUB+= SQLITE="@comment "
PLIST_SUB+= MYSQL=""
.else
+CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE}
+CONFIGURE_ARGS+= --with-database-backend=sqlite3
+USE_SQLITE= yes
BUILD_DEPENDS+= sqlite3>=3.3.9:${PORTSDIR}/databases/sqlite3
-LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
+LIB_DEPENDS+= libsqlite3.so:${PORTSDIR}/databases/sqlite3
PLIST_SUB+= SQLITE=""
PLIST_SUB+= MYSQL="@comment "
.endif
@@ -76,10 +75,4 @@ pre-install:
@${REINPLACE_CMD} -e '/REQUIRE:/ s|$$| mysql|' ${WRKDIR}/opendnssec
.endif
-post-install:
-.if !defined(BATCH)
- @${CAT} ${PKGMESSAGE}
-.endif
- ${CHOWN} -R ${USERS}:${GROUPS} ${PREFIX}/var/opendnssec
-
.include <bsd.port.mk>
diff --git a/dns/opendnssec13/distinfo b/dns/opendnssec13/distinfo
index 14c508bc75af..251ce0e1eb57 100644
--- a/dns/opendnssec13/distinfo
+++ b/dns/opendnssec13/distinfo
@@ -1,2 +1,2 @@
-SHA256 (opendnssec-1.3.14.tar.gz) = 04016069f980191fac446ccab51f06bc7969d7544997c9e538ca1c170c2f42f5
-SIZE (opendnssec-1.3.14.tar.gz) = 1159293
+SHA256 (opendnssec-1.3.15.tar.gz) = c29884f76d278862de59576c2e5440e37c2b7c16f1984ccc7685a3a049e1c081
+SIZE (opendnssec-1.3.15.tar.gz) = 1158839
diff --git a/dns/opendnssec13/pkg-plist b/dns/opendnssec13/pkg-plist
index b774565b6295..9e29fd3e5ea2 100644
--- a/dns/opendnssec13/pkg-plist
+++ b/dns/opendnssec13/pkg-plist
@@ -23,6 +23,17 @@ bin/ods-kasp2html
%%AUDITOR%%lib/opendnssec/kasp_auditor/partial_auditor.rb
%%AUDITOR%%lib/opendnssec/kasp_checker.rb
%%AUDITOR%%lib/opendnssec/time_shift.rb
+man/man1/ods-auditor.1.gz
+man/man1/ods-hsmspeed.1.gz
+man/man1/ods-hsmutil.1.gz
+man/man1/ods-kaspcheck.1.gz
+man/man1/ods-ksmutil.1.gz
+man/man5/ods-timing.5.gz
+man/man7/opendnssec.7.gz
+man/man8/ods-control.8.gz
+man/man8/ods-enforcerd.8.gz
+man/man8/ods-signer.8.gz
+man/man8/ods-signerd.8.gz
sbin/ods-control
sbin/ods-enforcerd
sbin/ods-signer
@@ -54,6 +65,7 @@ sbin/ods-signerd
@exec mkdir -p %D/var/opendnssec/tmp
@exec mkdir -p %D/var/opendnssec/signed
@exec mkdir -p %D/var/opendnssec/signconf
+@exec chown -R %%USER%%:%%GROUP%% %D/var/opendnssec
@dirrmtry var/run/opendnssec
@dirrmtry var/run
@dirrmtry var