FreeBSD Bugzilla – Attachment 152293 Details for
Bug 196431
security/ca_root_nss: Fix broken SSL verification for software (and Python) using OpenSSL from ports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Port diff to have valid SSL with openssl port (option PORT_ETCSYMLINK)
port.diff (text/plain), 1.24 KB, created by
wowi42
on 2015-01-28 06:30:21 UTC
(
hide
)
Description:
Port diff to have valid SSL with openssl port (option PORT_ETCSYMLINK)
Filename:
MIME Type:
Creator:
wowi42
Created:
2015-01-28 06:30:21 UTC
Size:
1.24 KB
patch
obsolete
>--- Makefile.old 2015-01-28 07:22:35.410708060 +0100 >+++ Makefile 2015-01-28 07:18:50.642723528 +0100 >@@ -10,9 +10,11 @@ > MAINTAINER= gecko@FreeBSD.org > COMMENT= The root certificate bundle from the Mozilla Project > >-OPTIONS_DEFINE= ETCSYMLINK >+OPTIONS_DEFINE= \ >+ ETCSYMLINK \ >+ PORT_ETCSYMLINK > ETCSYMLINK_DESC= Add symlink to /etc/ssl/cert.pem >- >+PORT_ETCSYMLINK_DESC= Add symlink to /usr/local/etc/ssl/cert.pem > USES= perl5 > USE_PERL5= build > NO_ARCH= yes >@@ -42,6 +44,13 @@ > PLIST_SUB+= ETCSYMLINK="@comment " > .endif > >+.if ${PORT_OPTIONS:MPORT_ETCSYMLINK} >+PLIST_SUB+= PORT_ETCSYMLINK= >+RUN_DEPENDS+= openssl:${PORTSDIR}/security/openssl >+.else >+PLIST_SUB+= PORT_ETCSYMLINK="@comment " >+.endif >+ > do-extract: > @${MKDIR} ${WRKDIR} > @${TAR} -C ${WRKDIR} -xf ${DISTDIR}/nss-${VERSION_NSS}${NSS_SUFFIX}${EXTRACT_SUFX} \ >@@ -63,6 +72,10 @@ > ${MKDIR} ${STAGEDIR}/etc/ssl > ${LN} -sf ${PREFIX}/${CERTDIR}/ca-root-nss.crt ${STAGEDIR}/etc/ssl/cert.pem > .endif >+.if ${PORT_OPTIONS:MPORT_ETCSYMLINK} >+ ${MKDIR} ${STAGEDIR}/usr/local/etc/ssl >+ ${LN} -sf ${PREFIX}/${CERTDIR}/ca-root-nss.crt ${STAGEDIR}/usr/local/etc/ssl/cert.pem >+.endif > ${MKDIR} ${STAGEDIR}${PREFIX}/etc/ssl > ${LN} -sf ${PREFIX}/${CERTDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/etc/ssl/cert.pem >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 196431
:
151202
|
151211
| 152293