summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2000-10-12 21:56:10 +0000
committernsayer <nsayer@FreeBSD.org>2000-10-12 21:56:10 +0000
commit74bec616d54a951520e06d15c9ce13830550adbe (patch)
tree51866d4d3e6a61b016c93383781073b2ddb0bdfa /security
parent80db4e63f115e75793790027f2971469e3378bbc (diff)
downloadFreeBSD-ports-74bec616d54a951520e06d15c9ce13830550adbe.zip
FreeBSD-ports-74bec616d54a951520e06d15c9ce13830550adbe.tar.gz
Make a symlink in /etc/ssl
PR: 21770
Diffstat (limited to 'security')
-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 8d6c818..9623a31 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 8113f67..7aecf81 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
OpenPOWER on IntegriCloud