diff options
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/ca-certificates/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/ca-certificates/ca-certificates-20080514.ebuild | 43 |
2 files changed, 50 insertions, 1 deletions
diff --git a/app-misc/ca-certificates/ChangeLog b/app-misc/ca-certificates/ChangeLog index 0b31cbd95c6d..5ad5ff452175 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-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ChangeLog,v 1.14 2008/03/28 17:59:30 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ChangeLog,v 1.15 2008/05/25 04:32:35 robbat2 Exp $ + +*ca-certificates-20080514 (25 May 2008) + + 25 May 2008; Robin H. Johnson <robbat2@gentoo.org> + +ca-certificates-20080514.ebuild: + Version bump for ca-certificates. 28 Mar 2008; Alexis Ballier <aballier@gentoo.org> ca-certificates-20070303-r1.ebuild: diff --git a/app-misc/ca-certificates/ca-certificates-20080514.ebuild b/app-misc/ca-certificates/ca-certificates-20080514.ebuild new file mode 100644 index 000000000000..d33a31e6e094 --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20080514.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ca-certificates-20080514.ebuild,v 1.1 2008/05/25 04:32:35 robbat2 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="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" +RDEPEND="${DEPEND} + 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 +} |