summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-05-06 11:33:28 +0000
committerMike Frysinger <vapier@gentoo.org>2007-05-06 11:33:28 +0000
commit60db52a40a9c66463f077ad90b5bec1bdf827c95 (patch)
tree051b1abbc721336fbbdafdb3b61084c7cf809d2f /app-misc
parentold (diff)
downloadgentoo-2-60db52a40a9c66463f077ad90b5bec1bdf827c95.tar.gz
gentoo-2-60db52a40a9c66463f077ad90b5bec1bdf827c95.tar.bz2
gentoo-2-60db52a40a9c66463f077ad90b5bec1bdf827c95.zip
Fix ca-certificates.conf generation #177298 by Remy Blank.
(Portage version: 2.1.2.5)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/ca-certificates/ChangeLog8
-rw-r--r--app-misc/ca-certificates/ca-certificates-20070303-r1.ebuild42
-rw-r--r--app-misc/ca-certificates/files/digest-ca-certificates-20070303-r13
3 files changed, 52 insertions, 1 deletions
diff --git a/app-misc/ca-certificates/ChangeLog b/app-misc/ca-certificates/ChangeLog
index b5ee15f30608..8583cf1ea53b 100644
--- a/app-misc/ca-certificates/ChangeLog
+++ b/app-misc/ca-certificates/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/ca-certificates
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ChangeLog,v 1.8 2007/05/05 05:55:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ChangeLog,v 1.9 2007/05/06 11:33:28 vapier Exp $
+
+*ca-certificates-20070303-r1 (06 May 2007)
+
+ 06 May 2007; Mike Frysinger <vapier@gentoo.org>
+ +ca-certificates-20070303-r1.ebuild:
+ Fix ca-certificates.conf generation #177298 by Remy Blank.
*ca-certificates-20070303 (05 May 2007)
diff --git a/app-misc/ca-certificates/ca-certificates-20070303-r1.ebuild b/app-misc/ca-certificates/ca-certificates-20070303-r1.ebuild
new file mode 100644
index 000000000000..61b7a0fe5e06
--- /dev/null
+++ b/app-misc/ca-certificates/ca-certificates-20070303-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ca-certificates-20070303-r1.ebuild,v 1.1 2007/05/06 11:33:28 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="Common CA Certificates PEM files"
+HOMEPAGE="http://www.cacert.org/"
+SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}_all.deb"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=sys-apps/portage-2.1.2"
+RDEPEND="dev-libs/openssl"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ unpack ./data.tar.gz
+ rm -f control.tar.gz data.tar.gz debian-binary
+}
+
+src_install() {
+ cp -pPR * "${D}"/ || die "installing data failed"
+
+ (
+ cd "${D}"/usr/share/ca-certificates
+ find . -name '*.crt' | sort | cut -b3-
+ ) > "${D}"/etc/ca-certificates.conf
+
+ mv "${D}"/usr/share/doc/{ca-certificates,${PF}} || die
+ prepalldocs
+}
+
+pkg_postinst() {
+ [[ ${ROOT} != "/" ]] && return 0
+ update-ca-certificates
+}
diff --git a/app-misc/ca-certificates/files/digest-ca-certificates-20070303-r1 b/app-misc/ca-certificates/files/digest-ca-certificates-20070303-r1
new file mode 100644
index 000000000000..96f5fc3c5661
--- /dev/null
+++ b/app-misc/ca-certificates/files/digest-ca-certificates-20070303-r1
@@ -0,0 +1,3 @@
+MD5 bb33a371510956bc8bbe6366ba643148 ca-certificates_20070303_all.deb 97182
+RMD160 f569d903a6e55e8699f5fbf43358831f85925031 ca-certificates_20070303_all.deb 97182
+SHA256 ecef927c097fe08677c87799510f33efbf955f00120d74e347227731a1405f91 ca-certificates_20070303_all.deb 97182