FreeBSD Bugzilla – Attachment 195946 Details for
Bug 230414
security/py-certifi: add option to use certificate bundle from ca_root_nss
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-certifi use CAs from ca_root_nss
py-certifi-ca_root_nss.patch (text/plain), 1.63 KB, created by
Sergey Akhmatov
on 2018-08-06 17:55:32 UTC
(
hide
)
Description:
py-certifi use CAs from ca_root_nss
Filename:
MIME Type:
Creator:
Sergey Akhmatov
Created:
2018-08-06 17:55:32 UTC
Size:
1.63 KB
patch
obsolete
>Index: security/py-certifi/Makefile >=================================================================== >--- security/py-certifi/Makefile (revision 476513) >+++ security/py-certifi/Makefile (working copy) >@@ -12,8 +12,18 @@ > > LICENSE= MPL20 > >+OPTIONS_DEFINE= CA_ROOT_NSS >+CA_ROOT_NSS_DESC= Use CA bundle from ca_root_nss >+ >+CA_ROOT_NSS_RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss >+CA_ROOT_NSS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ca_root_nss >+ > NO_ARCH= yes > USES= python > USE_PYTHON= autoplist concurrent distutils > >+ >+post-patch: >+ ${RM} ${WRKSRC}/certifi/cacert.pem >+ > .include <bsd.port.mk> >Index: security/py-certifi/files/extra-patch-ca_root_nss >=================================================================== >--- security/py-certifi/files/extra-patch-ca_root_nss (nonexistent) >+++ security/py-certifi/files/extra-patch-ca_root_nss (working copy) >@@ -0,0 +1,28 @@ >+--- MANIFEST.in.orig 2018-08-06 15:39:20 UTC >++++ MANIFEST.in >+@@ -1 +1 @@ >+-include MANIFEST.in README.rst LICENSE certifi/cacert.pem >++include MANIFEST.in README.rst LICENSE >+--- certifi/core.py.orig 2018-01-18 20:27:24 UTC >++++ certifi/core.py >+@@ -19,9 +19,7 @@ class DeprecatedBundleWarning(Deprecatio >+ >+ >+ def where(): >+- f = os.path.dirname(__file__) >+- >+- return os.path.join(f, 'cacert.pem') >++ return '/usr/local/etc/ssl/cert.pem' >+ >+ >+ def old_where(): >+--- setup.py.orig 2018-01-18 20:27:24 UTC >++++ setup.py >+@@ -44,7 +44,6 @@ setup( >+ 'certifi', >+ ], >+ package_dir={'certifi': 'certifi'}, >+- package_data={'certifi': ['*.pem']}, >+ # data_files=[('certifi', ['certifi/cacert.pem'])], >+ include_package_data=True, >+ zip_safe=False,
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 230414
:
195946
|
195973