summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-20 02:54:18 +0000
committerMike Frysinger <vapier@gentoo.org>2007-02-20 02:54:18 +0000
commitc1e60099c76303ed4b13edd6e7bdcd7b4257b86a (patch)
treeb3c9266f2994ee68d199f34f68d6b0b967393a36 /app-misc/ca-certificates/ca-certificates-20061027.2.ebuild
parentRemoving old X dep per Bug 167408. (diff)
downloadgentoo-2-c1e60099c76303ed4b13edd6e7bdcd7b4257b86a.tar.gz
gentoo-2-c1e60099c76303ed4b13edd6e7bdcd7b4257b86a.tar.bz2
gentoo-2-c1e60099c76303ed4b13edd6e7bdcd7b4257b86a.zip
Version bump #167608 by Peter Gantner.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'app-misc/ca-certificates/ca-certificates-20061027.2.ebuild')
-rw-r--r--app-misc/ca-certificates/ca-certificates-20061027.2.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/ca-certificates/ca-certificates-20061027.2.ebuild b/app-misc/ca-certificates/ca-certificates-20061027.2.ebuild
new file mode 100644
index 000000000000..64f5a51b0b1c
--- /dev/null
+++ b/app-misc/ca-certificates/ca-certificates-20061027.2.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-20061027.2.ebuild,v 1.1 2007/02/20 02:54:18 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=""
+
+RDEPEND="dev-libs/openssl"
+
+S=${WORKDIR}
+
+src_unpack() {
+ echo ">>> Unpacking ${A} to ${PWD}"
+ cp "${DISTDIR}"/${A} .
+ ar x ${A} || die "failure unpacking ${A}"
+}
+
+src_install() {
+ cd "${D}"
+ tar zxf "${S}"/data.tar.gz || die "installing data failed"
+
+ (
+ cd "${D}"/usr/share/ca-certificates
+ find . -name '*.crt' | sort | cut -b3-
+ ) > etc/ca-certificates.conf
+
+ mv "${D}"/usr/share/doc/{ca-certificates,${PF}} || die
+ prepalldocs
+}
+
+pkg_postinst() {
+ [[ ${ROOT} != "/" ]] && return 0
+ update-ca-certificates
+}