commit:     d918cce6210806d599ca19d622cf020cec633afc
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 18 08:26:10 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Apr 18 08:27:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d918cce6

app-misc/ca-certificates: Dropped "insecure_certs" USE flag.

This also removes the now empty elog message about "removed certs".

Closes: https://bugs.gentoo.org/653456
Closes: https://bugs.gentoo.org/653458
Package-Manager: Portage-2.3.30, Repoman-2.3.9

 .../ca-certificates-20180409.3.36.1-r1.ebuild            | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/app-misc/ca-certificates/ca-certificates-20180409.3.36.1-r1.ebuild 
b/app-misc/ca-certificates/ca-certificates-20180409.3.36.1-r1.ebuild
index d3eccf90357..8d5bc12f58e 100644
--- a/app-misc/ca-certificates/ca-certificates-20180409.3.36.1-r1.ebuild
+++ b/app-misc/ca-certificates/ca-certificates-20180409.3.36.1-r1.ebuild
@@ -60,7 +60,7 @@ fi
 LICENSE="MPL-1.1"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
-IUSE="insecure_certs"
+IUSE=""
 ${PRECOMPILED} || IUSE+=" cacert"
 
 DEPEND=""
@@ -105,7 +105,7 @@ src_prepare() {
 
                if use cacert ; then
                        pushd "${S}"/nss-${NSS_VER} >/dev/null
-                       epatch "${DISTDIR}"/nss-cacert-class1-class3.patch
+                       eapply -p0 "${DISTDIR}"/nss-cacert-class1-class3.patch
                        popd >/dev/null
                fi
        fi
@@ -140,18 +140,6 @@ src_compile() {
                mv usr/share/doc/{ca-certificates,${PF}} || die
        fi
 
-       if ! use insecure_certs ; then
-               elog "To prevent applications relying on system's trusted root 
certificate store"
-               elog "from using CAs where at least one major browser vendor 
Gentoo is following"
-               elog "has decided to apply trust level restrictions, the 
following"
-               elog "certificate(s) were removed:"
-               # Remove untrusted certs from StartCom and WoSign (bug #598072)
-               elog "$(find "${c}" -type f \( \
-                       -iname '*startcom*' \
-                       -o -iname '*wosign*' \
-                       \) -printf '%P removed; see 
https://bugs.gentoo.org/598072 for details\n' -delete)"
-       fi
-
        (
        echo "# Automatically generated by ${CATEGORY}/${PF}"
        echo "# $(date -u)"

Reply via email to