1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Make a symlink in /etc/ssl

PR:		21770
This commit is contained in:
Nick Sayer 2000-10-12 21:56:10 +00:00
parent 500a2fe662
commit 70daf8a511
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33744
2 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= ca-roots
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= security
DISTFILES= # none

View File

@ -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