summaryrefslogtreecommitdiff
path: root/security/ca-roots
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>2000-10-12 21:56:10 +0000
committerNick Sayer <nsayer@FreeBSD.org>2000-10-12 21:56:10 +0000
commit70daf8a5119cbf4843d8fd14baebb0f0b3461d89 (patch)
tree7dbc63dcdc5dbb00fa424bef3e3776dfba28e55f /security/ca-roots
parentUpdate to 1.00 (diff)
Make a symlink in /etc/ssl
PR: 21770
Notes
Notes: svn path=/head/; revision=33744
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