aboutsummaryrefslogtreecommitdiff
path: root/security/ca-roots
diff options
context:
space:
mode:
Diffstat (limited to 'security/ca-roots')
-rw-r--r--security/ca-roots/Makefile1
-rw-r--r--security/ca-roots/pkg-plist2
2 files changed, 3 insertions, 0 deletions
diff --git a/security/ca-roots/Makefile b/security/ca-roots/Makefile
index 8d6c818ba0ac..9623a3193aaa 100644
--- a/security/ca-roots/Makefile
+++ b/security/ca-roots/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ca-roots
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= security
DISTFILES= # none
diff --git a/security/ca-roots/pkg-plist b/security/ca-roots/pkg-plist
index 8113f67e2bc7..7aecf8156237 100644
--- a/security/ca-roots/pkg-plist
+++ b/security/ca-roots/pkg-plist
@@ -1,3 +1,5 @@
@exec mkdir -p %D/share/certs
share/certs/ca-root.crt
+@exec ln -s %D/share/certs/ca-root.crt /etc/ssl/cert.pem
+@unexec [ -L /etc/ssl/cert.pem ] && rm -f /etc/ssl/cert.pem
@unexec rmdir %D/share/certs