aboutsummaryrefslogtreecommitdiff
path: root/security/opencryptoki
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-12-05 01:10:41 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-12-05 01:10:41 +0000
commit2a7ea8db0c73488156b201027046b417d6d03855 (patch)
treea3e171a13d3377b315a8259772b851608892956b /security/opencryptoki
parent3fbf04e5e0c6d94a391e3cfe920d58c723b88699 (diff)
downloadports-2a7ea8db0c73488156b201027046b417d6d03855.tar.gz
ports-2a7ea8db0c73488156b201027046b417d6d03855.zip
Notes
Diffstat (limited to 'security/opencryptoki')
-rw-r--r--security/opencryptoki/Makefile13
-rw-r--r--security/opencryptoki/pkg-plist13
2 files changed, 15 insertions, 11 deletions
diff --git a/security/opencryptoki/Makefile b/security/opencryptoki/Makefile
index 4abfe1797248..a627c671f9c6 100644
--- a/security/opencryptoki/Makefile
+++ b/security/opencryptoki/Makefile
@@ -3,7 +3,7 @@
PORTNAME= opencryptoki
PORTVERSION= 2.3.2
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
@@ -39,19 +39,14 @@ SUB_LIST= USERS=${USERS} GROUPS=${GROUPS}
USERS= _pkcs11
GROUPS= _pkcs11
-MAN1= pkcs11_startup.1 pkcsconf.1
-MAN5= pk_config_data.5
-MAN7= opencryptoki.7
-MAN8= pkcsslotd.8
-
run-autotools: run-autotools-autoreconf
-NO_STAGE= yes
run-autotools-autoreconf:
@cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -i
post-install:
- @cd ${PREFIX}/lib && ${LN} -s opencryptoki/libopencryptoki* .
- @${CAT} ${PKGMESSAGE}
+ cd ${STAGEDIR}${PREFIX}/lib && ${LN} -s opencryptoki/libopencryptoki* .
+ ${MKDIR} ${STAGEDIR}${PREFIX}/var/lib/opencryptoki/swtok \
+ ${STAGEDIR}${PREFIX}/var/lib/opencryptoki/tpm
.include <bsd.port.mk>
diff --git a/security/opencryptoki/pkg-plist b/security/opencryptoki/pkg-plist
index 7ea0d3d5d1d0..9e2bd4048186 100644
--- a/security/opencryptoki/pkg-plist
+++ b/security/opencryptoki/pkg-plist
@@ -26,10 +26,19 @@ sbin/pkcs11_startup
sbin/pkcs_slot
sbin/pkcsconf
sbin/pkcsslotd
-@exec mkdir -p %D/var/lib/opencryptoki/swtok
-@exec mkdir -p %D/var/lib/opencryptoki/tpm
+man/man1/pkcs11_startup.1.gz
+man/man1/pkcsconf.1.gz
+man/man5/pk_config_data.5.gz
+man/man7/opencryptoki.7.gz
+man/man8/pkcsslotd.8.gz
+@owner _pkcs11
+@group _pkcs11
+@mode 0700
@dirrmtry var/lib/opencryptoki/tpm
@dirrmtry var/lib/opencryptoki/swtok
+@owner
+@group
+@mode
@dirrmtry var/lib/opencryptoki
@dirrmtry var/lib
@dirrmtry var