aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-09-23 18:26:29 +0800
committerbapt <bapt@FreeBSD.org>2014-09-23 18:26:29 +0800
commit4fcbdc89f73d2fb5d60633cc84eac84b7745c178 (patch)
tree9ec0028a9cef62f7fe9244bbff93ff06bd3ecfe9 /security
parent6474e7fd30967c49ae4043b0e2a14b6b15a0aa57 (diff)
downloadfreebsd-ports-gnome-4fcbdc89f73d2fb5d60633cc84eac84b7745c178.tar.gz
freebsd-ports-gnome-4fcbdc89f73d2fb5d60633cc84eac84b7745c178.tar.zst
freebsd-ports-gnome-4fcbdc89f73d2fb5d60633cc84eac84b7745c178.zip
Simplify plist
Strip binaries
Diffstat (limited to 'security')
-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