aboutsummaryrefslogtreecommitdiff
path: root/security/opencryptoki
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-23 10:26:29 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-23 10:26:29 +0000
commitd37f71d368275c40e412450edeb91b2fcfe7ba80 (patch)
tree9ec0028a9cef62f7fe9244bbff93ff06bd3ecfe9 /security/opencryptoki
parent3848d47385909ec0fb14f85e194ec3786a553ea3 (diff)
downloadports-d37f71d368275c40e412450edeb91b2fcfe7ba80.tar.gz
ports-d37f71d368275c40e412450edeb91b2fcfe7ba80.zip
Notes
Diffstat (limited to 'security/opencryptoki')
-rw-r--r--security/opencryptoki/Makefile1
-rw-r--r--security/opencryptoki/pkg-plist23
2 files changed, 5 insertions, 19 deletions
diff --git a/security/opencryptoki/Makefile b/security/opencryptoki/Makefile
index 0c1d88725909..f24f3cfbf10e 100644
--- a/security/opencryptoki/Makefile
+++ b/security/opencryptoki/Makefile
@@ -21,6 +21,7 @@ USES= gmake libtool tar:bzip2
USE_LDCONFIG= ${PREFIX}/lib/opencryptoki
USE_AUTOTOOLS= libtoolize aclocal autoconf automake
AUTOMAKE_ARGS= -a -c -f
+INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --enable-swtok --enable-tpmtok \
--disable-crtok --disable-aeptok \
--disable-ccatok --disable-bcomtok \
diff --git a/security/opencryptoki/pkg-plist b/security/opencryptoki/pkg-plist
index eb0e47b1607d..06f5af1f40c8 100644
--- a/security/opencryptoki/pkg-plist
+++ b/security/opencryptoki/pkg-plist
@@ -27,22 +27,7 @@ man/man1/pkcsconf.1.gz
man/man5/pk_config_data.5.gz
man/man7/opencryptoki.7.gz
man/man8/pkcsslotd.8.gz
-@dirrm lib/pkcs11
-@dirrm lib/opencryptoki/stdll
-@dirrm lib/opencryptoki
-@dirrm include/opencryptoki
-@cwd /var
-@exec install -d -o _pkcs11 -g _pkcs11 -m 700 %D/lib/opencryptoki
-@exec install -d -o _pkcs11 -g _pkcs11 -m 700 %D/lib/opencryptoki/swtok
-@exec install -d -o _pkcs11 -g _pkcs11 -m 700 %D/lib/opencryptoki/tpm
-@owner _pkcs11
-@group _pkcs11
-@mode 0700
-@dirrmtry lib/opencryptoki/tpm
-@dirrmtry lib/opencryptoki/swtok
-@dirrmtry lib/opencryptoki
-@owner
-@group
-@mode
-@dirrmtry lib
-@cwd %%RESETPREFIX%%
+@dir(_pkcs11,_pkcs11,700) /var/lib/opencryptoki/swtok
+@dir(_pkcs11,_pkcs11,700) /var/lib/opencryptoki/tpm
+@dir(_pkcs11,_pkcs11,700) /var/lib/opencryptoki
+@dir /var/lib