commit: 92336448a860a7f1cae457c9f8b0924b338e7040 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Wed Nov 5 12:56:27 2025 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Wed Nov 5 12:57:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92336448
dev-php/PEAR-Crypt_GPG: add 1.6.11 Closes: https://bugs.gentoo.org/965619 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> dev-php/PEAR-Crypt_GPG/Manifest | 1 + .../PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.11.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-php/PEAR-Crypt_GPG/Manifest b/dev-php/PEAR-Crypt_GPG/Manifest index 113de82d1e27..78ccfb856404 100644 --- a/dev-php/PEAR-Crypt_GPG/Manifest +++ b/dev-php/PEAR-Crypt_GPG/Manifest @@ -1 +1,2 @@ +DIST Crypt_GPG-1.6.11.tgz 348288 BLAKE2B 39e6c63f55314cf14513d4fee7e1e2ce10e09509cd24430dbe5cfa5ae1c3bac79bbd7929fc55dbb674fe20748a4a04974db114212f943ec927b9f14043b684e9 SHA512 4b2ee457f55cc7422260bd91df5e9603e220c32a31af8b7a8a1e921b7aad34f3a68a48e6150045cc2c9dedb95ca2b2d340bb3266ddc4948eac00e3083198fb1e DIST Crypt_GPG-1.6.9.tgz 344282 BLAKE2B d8546a34a70e8379b8003824636b26ad289f8c906bfbbf5c90cc5655f1bda243c57ec077a497e2a69c09bd5febd65a3f2cd39b426aadbf4f13e5ba10f6ed2380 SHA512 e3493406f27f73539522fa16cdd01aa940faacc6b180228b718596c6803c6c6a6cbb68c244749da965a62d19abc50bff83210d798f9394fde8980c5d8c8cdb2d diff --git a/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.11.ebuild b/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.11.ebuild new file mode 100644 index 000000000000..3553aef12024 --- /dev/null +++ b/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.11.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN/PEAR-/}" +MY_PV="${PV/_/}" +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="PHP interface to the GNU Privacy Guard (GnuPG)" +HOMEPAGE="https://pear.php.net/package/Crypt_GPG" +SRC_URI="https://download.pear.php.net/package/${MY_P}.tgz" +S="${WORKDIR}/${MY_P}" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~sparc ~x86" + +RDEPEND="app-alternatives/gpg + dev-lang/php:*[posix(-),unicode(-)] + dev-php/PEAR-Console_CommandLine + dev-php/PEAR-Exception" + +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 +}
