View | Details | Raw Unified | Return to bug 262755 | Differences between
and this patch

Collapse All | Expand All

(-)b/security/ca_root_nss/Makefile (-3 / +5 lines)
Lines 1-6 Link Here
1
PORTNAME=	ca_root_nss
1
PORTNAME=	ca_root_nss
2
PORTVERSION=	${VERSION_NSS}
2
PORTVERSION=	${VERSION_NSS}
3
PORTREVISION=	0
3
PORTREVISION=	1
4
CATEGORIES=	security
4
CATEGORIES=	security
5
MASTER_SITES=	MOZILLA/security/nss/releases/${DISTNAME:tu:C/[-.]/_/g}_RTM/src
5
MASTER_SITES=	MOZILLA/security/nss/releases/${DISTNAME:tu:C/[-.]/_/g}_RTM/src
6
DISTNAME=	nss-${VERSION_NSS}${NSS_SUFFIX}
6
DISTNAME=	nss-${VERSION_NSS}${NSS_SUFFIX}
Lines 45-56 do-install: Link Here
45
	${MKDIR} ${STAGEDIR}${PREFIX}/${CERTDIR}
45
	${MKDIR} ${STAGEDIR}${PREFIX}/${CERTDIR}
46
	${INSTALL_DATA} ${WRKDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/${CERTDIR}
46
	${INSTALL_DATA} ${WRKDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/${CERTDIR}
47
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/ssl
47
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/ssl
48
	${LN} -sf ../../${CERTDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/etc/ssl/cert.pem
48
	${LN} -sf ../../${CERTDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/etc/ssl/cert.pem.sample
49
	${MKDIR} ${STAGEDIR}${PREFIX}/openssl
49
	${MKDIR} ${STAGEDIR}${PREFIX}/openssl
50
	${LN} -sf ../${CERTDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/openssl/cert.pem
50
	${LN} -sf ../${CERTDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/openssl/cert.pem.sample
51
51
52
do-install-ETCSYMLINK-on:
52
do-install-ETCSYMLINK-on:
53
	${MKDIR} ${STAGEDIR}/etc/ssl
53
	${MKDIR} ${STAGEDIR}/etc/ssl
54
	${LN} -sf ../..${PREFIX}/${CERTDIR}/ca-root-nss.crt ${STAGEDIR}/etc/ssl/cert.pem
54
	${LN} -sf ../..${PREFIX}/${CERTDIR}/ca-root-nss.crt ${STAGEDIR}/etc/ssl/cert.pem
55
	${LN} -sf ../../${CERTDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/etc/ssl/cert.pem
56
	${LN} -sf ../${CERTDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/openssl/cert.pem
55
57
56
.include <bsd.port.mk>
58
.include <bsd.port.mk>
(-)b/security/ca_root_nss/pkg-plist (-2 / +4 lines)
Lines 1-6 Link Here
1
%%CERTDIR%%/ca-root-nss.crt
1
%%CERTDIR%%/ca-root-nss.crt
2
etc/ssl/cert.pem
2
@sample etc/ssl/cert.pem.sample
3
openssl/cert.pem
3
@sample openssl/cert.pem.sample
4
%%ETCSYMLINK%%etc/ssl/cert.pem
5
%%ETCSYMLINK%%openssl/cert.pem
4
%%ETCSYMLINK%%/etc/ssl/cert.pem
6
%%ETCSYMLINK%%/etc/ssl/cert.pem
5
%%ETCSYMLINK%%@dir /etc/ssl
7
%%ETCSYMLINK%%@dir /etc/ssl
6
@postexec [ ! -e %%LOCALBASE%%/bin/cert-sync ] || %%LOCALBASE%%/bin/cert-sync --quiet %%PREFIX%%/share/certs/ca-root-nss.crt
8
@postexec [ ! -e %%LOCALBASE%%/bin/cert-sync ] || %%LOCALBASE%%/bin/cert-sync --quiet %%PREFIX%%/share/certs/ca-root-nss.crt

Return to bug 262755