aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-01-24 16:14:23 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-01-24 16:14:23 +0000
commit16735c33ef9e293521768659efa921a753c0e170 (patch)
tree4ba040045fba28f55994f7cbdf1e5f4d49557538 /security
parent98870a3f271f06d2f41a293ac3778aa01ad482ae (diff)
Notes
Diffstat (limited to 'security')
-rw-r--r--security/softhsm/Makefile14
-rw-r--r--security/softhsm/distinfo4
-rw-r--r--security/softhsm/pkg-plist9
3 files changed, 14 insertions, 13 deletions
diff --git a/security/softhsm/Makefile b/security/softhsm/Makefile
index fd8f7beae967..b6fbe97ebbeb 100644
--- a/security/softhsm/Makefile
+++ b/security/softhsm/Makefile
@@ -6,15 +6,15 @@
#
PORTNAME= softhsm
-PORTVERSION= 1.3.0
+PORTVERSION= 1.3.1
CATEGORIES= security
MASTER_SITES= http://www.opendnssec.org/files/source/
MAINTAINER= jaap@NLnetLabs.nl
COMMENT= A software implementation of a Hardware Security Module (HSM)
-LIB_DEPENDS= botan:${PORTSDIR}/security/botan
-LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
+LIB_DEPENDS= botan:${PORTSDIR}/security/botan \
+ sqlite3:${PORTSDIR}/databases/sqlite3
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-botan=${LOCALBASE} --with-sqlite3=${LOCALBASE}
@@ -24,12 +24,4 @@ USE_LDCONFIG= yes
MAN1= softhsm.1 softhsm-keyconv.1
MAN5= softhsm.conf.5
-PLIST_FILES= bin/softhsm \
- bin/softhsm-keyconv \
- lib/libsofthsm.a \
- lib/libsofthsm.la \
- lib/libsofthsm.so \
- etc/softhsm.conf \
- etc/softhsm.conf.sample
-
.include <bsd.port.mk>
diff --git a/security/softhsm/distinfo b/security/softhsm/distinfo
index 2775ed418e3c..685875fe099b 100644
--- a/security/softhsm/distinfo
+++ b/security/softhsm/distinfo
@@ -1,2 +1,2 @@
-SHA256 (softhsm-1.3.0.tar.gz) = 54c4747e23ab610f87031139ac1559c027340cdeb6dedce3b0f78a0173c2a43c
-SIZE (softhsm-1.3.0.tar.gz) = 407644
+SHA256 (softhsm-1.3.1.tar.gz) = 828f90bd4ff883d903d1fb7051d2c4969ee8ab2c7f11fac25ce9d963d9efacc9
+SIZE (softhsm-1.3.1.tar.gz) = 409444
diff --git a/security/softhsm/pkg-plist b/security/softhsm/pkg-plist
new file mode 100644
index 000000000000..4a7ced99157e
--- /dev/null
+++ b/security/softhsm/pkg-plist
@@ -0,0 +1,9 @@
+@unexec if cmp -s %D/etc/softhsm.conf %D/etc/softhsm.conf.sample; then rm -f %D/etc/softhsm.conf; else echo If permanently deleting this package, %D/etc/softhsm.conf must be removed manually; fi
+bin/softhsm
+bin/softhsm-keyconv
+lib/softhsm/libsofthsm.a
+lib/softhsm/libsofthsm.la
+lib/softhsm/libsofthsm.so
+etc/softhsm.conf.sample
+@exec if [ ! -f %D/etc/softhsm.conf ]; then cp %D/etc/softhsm.conf.sample %D/etc/softhsm.conf; fi
+@dirrm lib/softhsm