summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-05-11 00:39:05 +0000
committerMike Frysinger <vapier@gentoo.org>2012-05-11 00:39:05 +0000
commitcd27bb08ab77dc024d1ae3bad1812b6e8408fb90 (patch)
treead7fcd6d13333f7288807d19bd8cc3529b69c0f5 /app-misc
parentVersion bump #415411 by Matthew Marlowe. (diff)
downloadhistorical-cd27bb08ab77dc024d1ae3bad1812b6e8408fb90.tar.gz
historical-cd27bb08ab77dc024d1ae3bad1812b6e8408fb90.tar.bz2
historical-cd27bb08ab77dc024d1ae3bad1812b6e8408fb90.zip
Version bump #415395 by Manuel Rüger.
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/ca-certificates/ChangeLog8
-rw-r--r--app-misc/ca-certificates/Manifest20
-rw-r--r--app-misc/ca-certificates/ca-certificates-20120212.ebuild100
3 files changed, 123 insertions, 5 deletions
diff --git a/app-misc/ca-certificates/ChangeLog b/app-misc/ca-certificates/ChangeLog
index f194a440af40..6aa83ea8d736 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-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ChangeLog,v 1.67 2012/04/26 13:57:53 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ChangeLog,v 1.68 2012/05/11 00:39:05 vapier Exp $
+
+*ca-certificates-20120212 (11 May 2012)
+
+ 11 May 2012; Mike Frysinger <vapier@gentoo.org>
+ +ca-certificates-20120212.ebuild:
+ Version bump #415395 by Manuel Rüger.
26 Apr 2012; Alexis Ballier <aballier@gentoo.org>
ca-certificates-20111025.ebuild:
diff --git a/app-misc/ca-certificates/Manifest b/app-misc/ca-certificates/Manifest
index bb9cb40d7a0f..09bbe90d0799 100644
--- a/app-misc/ca-certificates/Manifest
+++ b/app-misc/ca-certificates/Manifest
@@ -8,6 +8,7 @@ DIST ca-certificates_20110421_all.deb 176778 RMD160 504d592cc997c827da47699a3db5
DIST ca-certificates_20110502+nmu1_all.deb 174242 RMD160 7fbfff59c2dc2fae6127389464c01c1af9a32dc5 SHA1 141c8bf62f46043c52442d9bb58cc9bf74ed1b4c SHA256 d44284ee9b733b9890a54516f66b68a382ac5fb2c0bdceafed4cf229aa3b05a1
DIST ca-certificates_20110502_all.deb 175556 RMD160 22e74ea15def87024ee079191ad296e6a44351f4 SHA1 fa40b012ae21088963c7ffad5ce7d205664881a9 SHA256 fa14c729b48ed58f5c048b8721f09fded9824c1f450a656fb2cc396195935a98
DIST ca-certificates_20111025_all.deb 185800 RMD160 aa220a11bc58ce50c1b8832b03321b0f60abe95f SHA1 949ca2535b927753aa9edeb7afbedac9b793f630 SHA256 7d743b307ab31138176d6da4fff1f4c7f6bd246b42698662894bfb1b74e55647
+DIST ca-certificates_20120212_all.deb 176812 RMD160 7d4d9a956f91b4fc8f2c3f2cee562d261119df28 SHA1 530c67633a2e973a6bea3a76a13a7afce469e2f2 SHA256 7e4277a0a5a0ac42c370a93f986839b4e3ff82646581caa8c5135ad0a41d01d7
EBUILD ca-certificates-20090709.ebuild 2126 RMD160 3d24608ff5c55225ed5c81a67857c0f8f78b81c2 SHA1 6ef2729547b0b7aea0308fc1a8017ff07602063b SHA256 86820ea4d33d9e0e779c0a0d631242b12821bf4135ec6bccd2c284e948c51b19
EBUILD ca-certificates-20110421.ebuild 2119 RMD160 4d43af5a2d49eede27e6cd6b41568bfc45e655d9 SHA1 0c8c63fa35f9ab2f0bf8b867951647cba76e345f SHA256 1223e4710e2d72fbb97f93bfa77351912b20b6ea07e83c7672bd24b1d812a634
EBUILD ca-certificates-20110502-r1.ebuild 2116 RMD160 58b09920e8e77b7fdbb88d694e905c8b1d23f821 SHA1 64f97fe7afe251eb984509bfefe0e31dd2d74c49 SHA256 39b705809344be81df5d717a63f7909127481f9ec052c2169d74ac2eda508e68
@@ -16,12 +17,23 @@ EBUILD ca-certificates-20110502-r3.ebuild 3028 RMD160 e1e5462fb5d15d2ec731658d14
EBUILD ca-certificates-20110502-r4.ebuild 3144 RMD160 cc219c6b33c15bf4860c8b8b299c7effccb75b77 SHA1 adf7a679795589b3d78ad8d9d84e0957a8b7ed8c SHA256 bd241a8fa57a078e1b7ec9412fa116866783b6cd48becaf0bec20b9030851ba7
EBUILD ca-certificates-20110502.ebuild 2120 RMD160 eff412c030efac5272b3109326d483857cb62f67 SHA1 533aa547d6360b0cd5af7b696763cd22d5e33abe SHA256 11ba88945cc66cc74f3e2236f0be28ed5e55162b7f1133929f7c4d6c7081dc05
EBUILD ca-certificates-20111025.ebuild 3204 RMD160 e5946d9fbc4a260c253e28cb04541ec980e16be6 SHA1 50a22fad7d4c9eed9654513a904b8136da51c138 SHA256 8b581d2b09083fd1c7ff07bfc28fdc9e5390a64842aa1e5848ccbf6d80534167
-MISC ChangeLog 10814 RMD160 5143e77eb9dd46854c3a25500aded24b3a451271 SHA1 3fe2d53805b3d242a2311f2a3ea4b65c63525244 SHA256 5b0a66a893ce784e2a077751d9d4407f2fc3da4b06bc9394fc9b7d5832deb1c9
+EBUILD ca-certificates-20120212.ebuild 3213 RMD160 5fd9ef8dad07d2cf455cd59b8b01b585ef691637 SHA1 e35103570c508e2bc85a5fc5ac746ca5308a303e SHA256 191ee71a0d3d37354066c470f9a5825552705464b25d55e31a0d7fe258f5dd80
+MISC ChangeLog 10981 RMD160 ea3c0d2e3019177b593e31104c32ea7c184e87ab SHA1 3f9bc111cfcacf7dcac8c4b9ab31119892ab3240 SHA256 62ee83083911d5ac46eb199b4287a947dd6ad98dde34018ac13d99deabbda7b7
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEARECAAYFAk+ZVGcACgkQvFcC4BYPU0ogeQCgj73tEUbV4bmQZsD9BJTvAIp5
-HZ8AoI+6rnXvDmocJQsrE2SBd991JSyI
-=bVGH
+iQIcBAEBAgAGBQJPrF+2AAoJELEHsLL7fEFWObUP/j+4tD2DE5PPmjkhqIrtdnvv
+z+kvnINPFgR2WCE4ny37ZmjkHHbHrGZCp4slOn8JqjYTM3PXrZsgTrTpnYs/43NW
+qF6oSevI5HO2aRI0V8tCnILQSbdrxGXWb8GzYDLetiInZ03QLDhvh6IX1Wksd10/
+W6owU4cso9eVcJYWn/dXJYmTX+ybdBlbYKHv85ibgeJ6HcM6VGxQpBRJnzvnib5h
+YWb9ZOJCHTc0Rq/Q3C5qBACN9i6+SnywAP1H0tfbUMnKFT5CWFOXfdnaYXZVRNb2
+laoL3F56mIMxRvQIjSp4Ivqz8BrfdtEVbtQWzX1ryJon7FJ3ILC0ZJmaCyE2cydF
+MijZkkE5gTHSTRVS2eyHlixfMGpS6walY1n8Xq1tOTuUMvjdWVLFnFdXntQaCO3a
+S9wLFEKhHOh8qlaMi8zcLTHZEIc7S1y00NqGQT+q9WwEfNPTse0fQ8zYt926MGy7
+D3A0cDa2Lv4JNKAcYdzYz33r/OC6D8fSomxmHRD6Ehfko3FxmygPblnDana0itrp
+BHEScG1IIRmJlCO7EjRB0Hqk3jGGCnHSAcXexrgrE3ekNpLsjdWdAz9AgywYECh+
+3XzSFkRaJugTN8ocq88RfpHN+1eESOAYaagaksDTd84KOhJyViTJrEN3RsHkgURa
+/T70u8h38jjcPCPaBM1L
+=Ojh4
-----END PGP SIGNATURE-----
diff --git a/app-misc/ca-certificates/ca-certificates-20120212.ebuild b/app-misc/ca-certificates/ca-certificates-20120212.ebuild
new file mode 100644
index 000000000000..5d8225aee1fc
--- /dev/null
+++ b/app-misc/ca-certificates/ca-certificates-20120212.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ca-certificates-20120212.ebuild,v 1.1 2012/05/11 00:39:05 vapier Exp $
+
+EAPI="3"
+
+inherit eutils
+
+DESCRIPTION="Common CA Certificates PEM files"
+HOMEPAGE="http://packages.debian.org/sid/ca-certificates"
+#NMU_PR="1"
+SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE=""
+
+# platforms like AIX don't have a good ar
+DEPEND="kernel_AIX? ( app-arch/deb2targz )
+ !<sys-apps/portage-2.1.10.41"
+# openssl: we run `c_rehash`
+# debianutils: we run `run-parts`
+RDEPEND="${DEPEND}
+ dev-libs/openssl
+ sys-apps/debianutils"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ # For the conversion to having it in CONFIG_PROTECT_MASK,
+ # we need to tell users about it once manually first.
+ [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \
+ || ewarn "You should run update-ca-certificates manually after etc-update"
+}
+
+src_unpack() {
+ if [[ -n ${EPREFIX} ]] ; then
+ # need to perform everything in the offset, #381937
+ mkdir -p "./${EPREFIX}"
+ cd "./${EPREFIX}" || die
+ fi
+ unpack ${A}
+ unpack ./data.tar.gz
+ rm -f control.tar.gz data.tar.gz debian-binary
+}
+
+src_prepare() {
+ cd "./${EPREFIX}" || die
+ epatch "${FILESDIR}"/${PN}-20110502-root.patch
+ local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g')
+ sed -i \
+ -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \
+ -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \
+ usr/sbin/update-ca-certificates || die
+}
+
+src_compile() {
+ (
+ echo "# Automatically generated by ${CATEGORY}/${PF}"
+ echo "# $(date -u)"
+ echo "# Do not edit."
+ cd "${S}${EPREFIX}"/usr/share/ca-certificates
+ find * -name '*.crt' | LC_ALL=C sort
+ ) > "${S}${EPREFIX}"/etc/ca-certificates.conf
+
+ sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die
+}
+
+src_install() {
+ cp -pPR * "${D}"/ || die
+
+ mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die
+ prepalldocs
+
+ echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates
+ doenvd 98ca-certificates
+}
+
+pkg_postinst() {
+ if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then
+ # if the user has local certs, we need to rebuild again
+ # to include their stuff in the db.
+ # However it's too overzealous when the user has custom certs in place.
+ # --fresh is to clean up dangling symlinks
+ "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}"
+ fi
+
+ local c badcerts=0
+ for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do
+ ewarn "Broken symlink for a certificate at $c"
+ badcerts=1
+ done
+ if [ $badcerts -eq 1 ]; then
+ ewarn "You MUST remove the above broken symlinks"
+ ewarn "Otherwise any SSL validation that use the directory may fail!"
+ ewarn "To batch-remove them, run:"
+ ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +"
+ fi
+}