From 8b920ffbcc808a2c74d24991cd27ebbbcd5c2bf5 Mon Sep 17 00:00:00 2001 From: jgh Date: Tue, 24 Jan 2012 16:14:23 +0000 Subject: - 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) --- security/softhsm/Makefile | 14 +++----------- security/softhsm/distinfo | 4 ++-- security/softhsm/pkg-plist | 9 +++++++++ 3 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 security/softhsm/pkg-plist 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 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 -- cgit