aboutsummaryrefslogtreecommitdiffstats
path: root/security/softhsm
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-01-25 00:14:23 +0800
committerjgh <jgh@FreeBSD.org>2012-01-25 00:14:23 +0800
commit8b920ffbcc808a2c74d24991cd27ebbbcd5c2bf5 (patch)
tree212469f9e14f8693cc656b11ee63b77a4a783761 /security/softhsm
parentd3b993163d3c7c39b74b1ca477f0765fd8e8b311 (diff)
downloadfreebsd-ports-gnome-8b920ffbcc808a2c74d24991cd27ebbbcd5c2bf5.tar.gz
freebsd-ports-gnome-8b920ffbcc808a2c74d24991cd27ebbbcd5c2bf5.tar.zst
freebsd-ports-gnome-8b920ffbcc808a2c74d24991cd27ebbbcd5c2bf5.zip
- Update to 1.3.1
- Move to plist to account for non-default configuration files PR: ports/164266 Submitted by: maintainer Approved by: rene (mentor)
Diffstat (limited to 'security/softhsm')
-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