summaryrefslogtreecommitdiff
path: root/dev-php/PEAR-Crypt_GPG
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
commit1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch)
treee48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-php/PEAR-Crypt_GPG
parentd87262dd706fec50cd150aab3e93883b6337466d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-php/PEAR-Crypt_GPG')
-rw-r--r--dev-php/PEAR-Crypt_GPG/Manifest6
-rw-r--r--dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.2.ebuild48
-rw-r--r--dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.3.ebuild46
-rw-r--r--dev-php/PEAR-Crypt_GPG/files/fix-unit-tests-with-new-gpg.patch55
-rw-r--r--dev-php/PEAR-Crypt_GPG/metadata.xml12
5 files changed, 0 insertions, 167 deletions
diff --git a/dev-php/PEAR-Crypt_GPG/Manifest b/dev-php/PEAR-Crypt_GPG/Manifest
deleted file mode 100644
index 5d5dc71c0f43..000000000000
--- a/dev-php/PEAR-Crypt_GPG/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX fix-unit-tests-with-new-gpg.patch 2090 BLAKE2B 7cc3b79bfd29244eec6e0152130d33d64ff99ddb4da9508affa9a06274d8b888d4e7ea38c2a8e090953b40533b19a5224f803d71199ece8dde70444959fba9eb SHA512 3b6b301d19cde1eebd411caf409dd11add712717a638f2b4d8567114cc065efdc899cb8244412da7b3438850a9bedfafe95e370705fd7439b312f4cb318f4124
-DIST Crypt_GPG-1.6.2.tgz 346709 BLAKE2B abced2fe8c909f06690c38884506ce03df4c5ef3ef460aafce65ea9405c6974f8af320fd5a07a7967b45421a9a67aa27026c28ef7eb1402ffefba527007a33ae SHA512 9d954d96b4e461c75f79ce9bc701d062e3f19671690228e6e0ce5265733ac1de9c06520f9f750348f3c37f01ccb79720574b2d2f371e69c8a25ae6e1bc18aabd
-DIST Crypt_GPG-1.6.3.tgz 346999 BLAKE2B 8402ef382a6393972a3fda7370fbd37dec19d0ebabb6b316d35783538dbc01746476977d7dc3da487876201cd678964d9572dc67a43911319b1b614004a3c909 SHA512 f1ad2560a43a1e8f5a33269bc4ae4067e19e5325fdbd8d2fc55f6cb8aad89258df45fbecedd93a21749f33024c819f07399580b1a4760f5740f26043109dc396
-EBUILD PEAR-Crypt_GPG-1.6.2.ebuild 1143 BLAKE2B 9c3d6abc1c26edce890974074f198ad25c2cdc0994f15f6c1ed87535838a59c3591f1cb07b9bbbc01d52d53bb7831578e3ebeef918df949da6b3f45925994bad SHA512 39411280c81f82f849145f85f3db8752b230f3ecb44b39a1f661bfd946f6ba61b78ad55ebb42d98d15e63864a5d4f70454ff1857ae4fef3052f9e0d1e81663af
-EBUILD PEAR-Crypt_GPG-1.6.3.ebuild 1091 BLAKE2B 0df4468cfb9c0c28ae822ae30595e31c8807d7fec881e3b7faf3d6eaee0aafc55966cf6eabd6ac20c60d8999d48b00d4d3b3ab965acf78d942cdc51edf9bf789 SHA512 edc5ed49b7849fb622c11001a3b774ecbee62127aae73bde8b54b67aa3d89599ce000fe2d7a6f2732eed056c9ce29116969e523a3ff88b573c4eed3404d3ad36
-MISC metadata.xml 377 BLAKE2B d87bdb689ac2ef20b8d02bc7f9db6a3f23fa5bcaae752c4f5b1b0e5bbc67251779c0204b2943d044a1ca287bb07ddac9ef0ae960eb7f543e162ef6cabcbed65e SHA512 df55d57721b34bddab42639c469517c86139d60d4a4536b26b61cb35eb688c9d713cf90f92b2272e189e360042a2322e8f87480f4554a7c3cf9ffa314d053186
diff --git a/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.2.ebuild b/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.2.ebuild
deleted file mode 100644
index f07396ab6c05..000000000000
--- a/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.2.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN="${PN/PEAR-/}"
-MY_PV="${PV/_/}"
-MY_P="${MY_PN}-${MY_PV}"
-
-DESCRIPTION="PHP interface to the GNU Privacy Guard (GnuPG)"
-HOMEPAGE="http://pear.php.net/package/${MY_PN}"
-SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 arm hppa ia64 ppc ppc64 sparc x86"
-IUSE="test"
-
-RDEPEND="app-crypt/gnupg
- dev-lang/php:*[posix,unicode]
- dev-php/PEAR-Console_CommandLine
- dev-php/PEAR-Exception"
-DEPEND="test? ( ${RDEPEND} dev-php/phpunit )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=( "${FILESDIR}/fix-unit-tests-with-new-gpg.patch" )
-
-src_prepare() {
- default
- sed -i "s|@bin-dir@|${EPREFIX}/usr/bin|" Crypt/GPG/Engine.php || die
- sed -i "s|@package-name@|${MY_PN}|" Crypt/GPG/PinEntry.php || die
- sed -i "s|@data-dir@|${EPREFIX}/usr/share|" Crypt/GPG/PinEntry.php || die
-}
-
-src_install() {
- dodoc README.md
- dobin scripts/crypt-gpg-pinentry
-
- insinto "/usr/share/${MY_PN}"
- doins -r data
-
- insinto /usr/share/php
- doins -r Crypt
-}
-
-src_test() {
- phpunit tests/ || die "test suite failed"
-}
diff --git a/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.3.ebuild b/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.3.ebuild
deleted file mode 100644
index f40428e9b276..000000000000
--- a/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.3.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PN="${PN/PEAR-/}"
-MY_PV="${PV/_/}"
-MY_P="${MY_PN}-${MY_PV}"
-
-DESCRIPTION="PHP interface to the GNU Privacy Guard (GnuPG)"
-HOMEPAGE="http://pear.php.net/package/${MY_PN}"
-SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="test"
-
-RDEPEND="app-crypt/gnupg
- dev-lang/php:*[posix,unicode]
- dev-php/PEAR-Console_CommandLine
- dev-php/PEAR-Exception"
-BDEPEND="test? ( ${RDEPEND} dev-php/phpunit )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- default
- sed -i "s|@bin-dir@|${EPREFIX}/usr/bin|" Crypt/GPG/Engine.php || die
- sed -i "s|@package-name@|${MY_PN}|" Crypt/GPG/PinEntry.php || die
- sed -i "s|@data-dir@|${EPREFIX}/usr/share|" Crypt/GPG/PinEntry.php || die
-}
-
-src_install() {
- dodoc README.md
- dobin scripts/crypt-gpg-pinentry
-
- insinto "/usr/share/${MY_PN}"
- doins -r data
-
- insinto /usr/share/php
- doins -r Crypt
-}
-
-src_test() {
- phpunit tests/ || die "test suite failed"
-}
diff --git a/dev-php/PEAR-Crypt_GPG/files/fix-unit-tests-with-new-gpg.patch b/dev-php/PEAR-Crypt_GPG/files/fix-unit-tests-with-new-gpg.patch
deleted file mode 100644
index 8e49a2f263fb..000000000000
--- a/dev-php/PEAR-Crypt_GPG/files/fix-unit-tests-with-new-gpg.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 14a884dd5127141929ef7a58185c298e92602c40 Mon Sep 17 00:00:00 2001
-From: Aleksander Machniak <machniak@kolabsys.com>
-Date: Sat, 16 Sep 2017 13:05:37 +0200
-Subject: [PATCH] Fix Bug #21242: PHPUnit tests fail sometimes while deleting
- S.gpg-agent.extra
-
----
- tests/TestCase.php | 20 ++++++++++++++------
- 1 file changed, 14 insertions(+), 6 deletions(-)
-
-diff --git a/tests/TestCase.php b/tests/TestCase.php
-index b91ea7d..1ad8028 100644
---- a/tests/TestCase.php
-+++ b/tests/TestCase.php
-@@ -583,7 +583,10 @@ private function _tearDownKeyring()
- $iterator = new DirectoryIterator($dirname);
- foreach ($iterator as $file) {
- if (!$file->isDot()) {
-- unlink($dirname . '/' . $file->getFilename());
-+ $filename = $dirname . '/' . $file->getFilename();
-+ if (file_exists($filename)) {
-+ unlink($filename);
-+ }
- }
- }
- rmdir($dirname);
-@@ -595,7 +598,10 @@ private function _tearDownKeyring()
-
- foreach ($iterator as $file) {
- if (!$file->isDot()) {
-- unlink($homedir . '/' . $file->getFilename());
-+ $filename = $homedir . '/' . $file->getFilename();
-+ if (file_exists($filename)) {
-+ unlink($filename);
-+ }
- }
- }
-
-@@ -614,10 +620,12 @@ private function _tearDownTempdir()
- foreach ($iterator as $file) {
- if (!$file->isDot()) {
- $filename = $this->getTempFilename($file->getFilename());
-- if (is_dir($filename)) {
-- rmdir($filename);
-- } else {
-- unlink($filename);
-+ if (file_exists($filename)) {
-+ if (is_dir($filename)) {
-+ rmdir($filename);
-+ } else {
-+ unlink($filename);
-+ }
- }
- }
- }
diff --git a/dev-php/PEAR-Crypt_GPG/metadata.xml b/dev-php/PEAR-Crypt_GPG/metadata.xml
deleted file mode 100644
index bceba1d91cde..000000000000
--- a/dev-php/PEAR-Crypt_GPG/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>php-bugs@gentoo.org</email>
- <name>PHP</name>
- </maintainer>
- <upstream>
- <remote-id type="github">pear/Crypt_GPG</remote-id>
- <remote-id type="pear">Crypt_GPG</remote-id>
- </upstream>
-</pkgmetadata>