From 7597666e5c4129648723a953e015eb082fc53495 Mon Sep 17 00:00:00 2001 From: Guillaume Seren Date: Thu, 24 Nov 2016 08:43:17 +0100 Subject: [PATCH] dev-php/ca-bundle: Add 1.0.0 version This is needed for composer-1.2.2, bug 439206. Signed-off-by: Michael Orlitzky --- dev-php/ca-bundle/Manifest | 1 + dev-php/ca-bundle/ca-bundle-1.0.0.ebuild | 23 +++++++++++++++++++++++ dev-php/ca-bundle/files/autoload.php | 8 ++++++++ dev-php/ca-bundle/metadata.xml | 18 ++++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 dev-php/ca-bundle/Manifest create mode 100644 dev-php/ca-bundle/ca-bundle-1.0.0.ebuild create mode 100644 dev-php/ca-bundle/files/autoload.php create mode 100644 dev-php/ca-bundle/metadata.xml diff --git a/dev-php/ca-bundle/Manifest b/dev-php/ca-bundle/Manifest new file mode 100644 index 000000000000..a15ae754520b --- /dev/null +++ b/dev-php/ca-bundle/Manifest @@ -0,0 +1 @@ +DIST ca-bundle-1.0.0.tar.gz 151219 SHA256 8686dea9feeb444a5c9977e0654fc03a22b34061c05d2ae180e491ed33b6b7e5 SHA512 f83fc24caddd9b1cf7fd1d22def51372fd6d1497f39a335d0507122ab960e438e9ffadafd357d3dc742cc5e052ac197de0dd670921b076277df98bcbc2c71f42 WHIRLPOOL 30404789aa177a78773cefc0e830743b8c5963d0926b2feec205e7ba462ced0e37251a1ca10f0edbd3ad9176b6a6266b722eba7dec90c9c6d0bd62c938a3904e diff --git a/dev-php/ca-bundle/ca-bundle-1.0.0.ebuild b/dev-php/ca-bundle/ca-bundle-1.0.0.ebuild new file mode 100644 index 000000000000..7e6cbf7924a3 --- /dev/null +++ b/dev-php/ca-bundle/ca-bundle-1.0.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Find a path to the system CA bundle, and fallback to the Mozilla CA bundle" +HOMEPAGE="https://github.com/composer/ca-bundle" +SRC_URI="https://github.com/composer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" + +src_install() { + insinto "/usr/share/php/Composer/CaBundle" + doins -r src/. "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/ca-bundle/files/autoload.php b/dev-php/ca-bundle/files/autoload.php new file mode 100644 index 000000000000..993360676f74 --- /dev/null +++ b/dev-php/ca-bundle/files/autoload.php @@ -0,0 +1,8 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Small utility library that lets you find a path to the system CA bundle, + and includes a fallback to the Mozilla CA bundle. + Originally written as part of dev-php/composer, + now extracted and made available as a stand-alone library. + + -- 2.26.2