app-misc/ca-certificates: Dropped "insecure_certs" USE flag.
authorLars Wendler <polynomial-c@gentoo.org>
Wed, 18 Apr 2018 08:26:10 +0000 (10:26 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Wed, 18 Apr 2018 08:27:14 +0000 (10:27 +0200)
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

app-misc/ca-certificates/ca-certificates-20180409.3.36.1-r1.ebuild

index d3eccf90357f88a2728c0cd4ccffc155baf87a02..8d5bc12f58ed766c72228a6b28caf9b399dc19e8 100644 (file)
@@ -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)"