summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-04-18 10:26:10 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-04-18 10:27:14 +0200
commitd918cce6210806d599ca19d622cf020cec633afc (patch)
treeef761d64a31f812d960b402d20c641ae05e60d3f /app-misc/ca-certificates
parentdev-libs/openssl: Removed old. (diff)
downloadgentoo-d918cce6210806d599ca19d622cf020cec633afc.tar.gz
gentoo-d918cce6210806d599ca19d622cf020cec633afc.tar.bz2
gentoo-d918cce6210806d599ca19d622cf020cec633afc.zip
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
Diffstat (limited to 'app-misc/ca-certificates')
-rw-r--r--app-misc/ca-certificates/ca-certificates-20180409.3.36.1-r1.ebuild16
1 files 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 d3eccf90357f..8d5bc12f58ed 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)"