diff options
author | Daniel Black <dragonheart@gentoo.org> | 2005-09-04 00:54:55 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2005-09-04 00:54:55 +0000 |
commit | a058c64c5c0cc39ff14bbd21137462ddc3f92c7b (patch) | |
tree | 45b6699fda261ded80da176f276783460b503066 /app-misc/ca-certificates/ca-certificates-20050804.ebuild | |
parent | GNOME 2.12 Release Candidate 1 (diff) | |
download | historical-a058c64c5c0cc39ff14bbd21137462ddc3f92c7b.tar.gz historical-a058c64c5c0cc39ff14bbd21137462ddc3f92c7b.tar.bz2 historical-a058c64c5c0cc39ff14bbd21137462ddc3f92c7b.zip |
version bump
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'app-misc/ca-certificates/ca-certificates-20050804.ebuild')
-rw-r--r-- | app-misc/ca-certificates/ca-certificates-20050804.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-misc/ca-certificates/ca-certificates-20050804.ebuild b/app-misc/ca-certificates/ca-certificates-20050804.ebuild new file mode 100644 index 000000000000..e9880020d209 --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20050804.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ca-certificates-20050804.ebuild,v 1.1 2005/09/04 00:54:55 dragonheart 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 ~mips ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +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" + find "${D}"/usr/share/ca-certificates -name '*.crt' -printf '%P\n' \ + | sort > etc/ca-certificates.conf +} + +pkg_postinst() { + [[ ${ROOT} != "/" ]] && return 0 + update-ca-certificates +} |