summaryrefslogtreecommitdiff
path: root/dev-php
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2022-11-29 23:36:21 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2022-11-30 20:12:22 +0000
commit6a43f026c987bff542a086a11baf4a9c0daad6f2 (patch)
tree110999fb64d849a6a5a6d4bfb0a168d6353faf70 /dev-php
parentsys-kernel/stable-sources: add 6.0.10, drop 6.0.9 (diff)
downloadportage-6a43f026c987bff542a086a11baf4a9c0daad6f2.tar.xz
www-client/arcanist: version bump
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/PHPExcel/Manifest1
-rw-r--r--dev-php/PHPExcel/PHPExcel-1.8.1.ebuild27
-rw-r--r--dev-php/PHPExcel/metadata.xml8
-rw-r--r--dev-php/libphutil/files/20190930-Remove-the-usage-of-local-SSL-certificates-and-use-s.patch45
-rw-r--r--dev-php/libphutil/files/9999-Remove-the-usage-of-local-SSL-certificates-and-use-s.patch45
-rw-r--r--dev-php/libphutil/libphutil-20190930.ebuild132
-rw-r--r--dev-php/libphutil/libphutil-9999.ebuild130
-rw-r--r--dev-php/libphutil/metadata.xml8
8 files changed, 0 insertions, 396 deletions
diff --git a/dev-php/PHPExcel/Manifest b/dev-php/PHPExcel/Manifest
deleted file mode 100644
index 32a85783..00000000
--- a/dev-php/PHPExcel/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST PHPExcel-1.8.1.tar.gz 1783922 BLAKE2B a58cc2d0650134efd40109c26b267e3dd0d85085d0190f87e576fc9056e2c327c287ccb3e5502e4c24c07c32102fd9bc2eb0d5f6ff8bf25fa5ddbee4f28d1ea2 SHA512 ad8763b912ae99995554590440e7e50c299223305e29c8c70e93de6ed4f153187cb9489675d471410fd26846ec28f2a3db533b252927fc8eef0faacd5a1485e9
diff --git a/dev-php/PHPExcel/PHPExcel-1.8.1.ebuild b/dev-php/PHPExcel/PHPExcel-1.8.1.ebuild
deleted file mode 100644
index fea2eaac..00000000
--- a/dev-php/PHPExcel/PHPExcel-1.8.1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="PHP library for reading and writing spreadsheet files"
-HOMEPAGE="https://github.com/PHPOffice/PHPExcel"
-SRC_URI="https://github.com/PHPOffice/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-1"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="examples"
-
-RDEPEND=">=dev-lang/php-5.2[zip,xml,gd]"
-
-src_install() {
- insinto "/usr/share/php"
- doins -r Classes/PHPExcel.php Classes/PHPExcel
-
- dodoc changelog.txt
-
- if use examples ; then
- insinto /usr/share/${PN}/examples
- doins -r Examples/*
- fi
-}
diff --git a/dev-php/PHPExcel/metadata.xml b/dev-php/PHPExcel/metadata.xml
deleted file mode 100644
index 82f7232e..00000000
--- a/dev-php/PHPExcel/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>bertrand@jacquin.bzh</email>
- <name>Bertrand Jacquin</name>
- </maintainer>
-</pkgmetadata>
diff --git a/dev-php/libphutil/files/20190930-Remove-the-usage-of-local-SSL-certificates-and-use-s.patch b/dev-php/libphutil/files/20190930-Remove-the-usage-of-local-SSL-certificates-and-use-s.patch
deleted file mode 100644
index a9470208..00000000
--- a/dev-php/libphutil/files/20190930-Remove-the-usage-of-local-SSL-certificates-and-use-s.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 4a9a859deebe92e281111e0800a1fa64e0f9e3a7 Mon Sep 17 00:00:00 2001
-From: Bertrand Jacquin <bertrand@jacquin.bzh>
-Date: Tue, 13 Aug 2013 16:07:58 +0200
-Subject: [PATCH] Remove the usage of local SSL certificates and use system
- provided by ca-certificates.
-
----
- src/future/http/HTTPSFuture.php | 11 ++---------
- 1 file changed, 2 insertions(+), 9 deletions(-)
-
-diff --git a/src/future/http/HTTPSFuture.php b/src/future/http/HTTPSFuture.php
-index 212a5e2ada30..45e05c6737f1 100644
---- a/src/future/http/HTTPSFuture.php
-+++ b/src/future/http/HTTPSFuture.php
-@@ -343,28 +343,21 @@ final class HTTPSFuture extends BaseHTTPFuture {
- // `setCABundle()` or similar.
- // - Then, check if a global bundle is set explicitly for all requests,
- // via `setGlobalCABundle()` or similar.
-- // - Then, if a local custom.pem exists, use that, because it probably
-- // means that the user wants to override everything (also because the
-- // user might not have access to change the box's php.ini to add
-- // curl.cainfo).
- // - Otherwise, try using curl.cainfo. If it's set explicitly, it's
- // probably reasonable to try using it before we fall back to what
- // libphutil ships with.
-- // - Lastly, try the default that libphutil ships with. If it doesn't
-+ // - Lastly, try the default from ca-certificates. If it doesn't
- // work, give up and yell at the user.
-
- if (!$this->getCABundle()) {
-- $caroot = dirname(phutil_get_library_root('phutil')).'/resources/ssl/';
- $ini_val = ini_get('curl.cainfo');
- if (self::getGlobalCABundle()) {
- $this->setCABundleFromPath(self::getGlobalCABundle());
-- } else if (Filesystem::pathExists($caroot.'custom.pem')) {
-- $this->setCABundleFromPath($caroot.'custom.pem');
- } else if ($ini_val) {
- // TODO: We can probably do a pathExists() here, even.
- $this->setCABundleFromPath($ini_val);
- } else {
-- $this->setCABundleFromPath($caroot.'default.pem');
-+ $this->setCABundleFromPath('/etc/ssl/certs/ca-certificates.crt');
- }
- }
-
diff --git a/dev-php/libphutil/files/9999-Remove-the-usage-of-local-SSL-certificates-and-use-s.patch b/dev-php/libphutil/files/9999-Remove-the-usage-of-local-SSL-certificates-and-use-s.patch
deleted file mode 100644
index 5b4a8a2d..00000000
--- a/dev-php/libphutil/files/9999-Remove-the-usage-of-local-SSL-certificates-and-use-s.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 49b625bb023f8534c8be74c7f3f268c5a5f87762 Mon Sep 17 00:00:00 2001
-From: Bertrand Jacquin <bertrand@jacquin.bzh>
-Date: Tue, 13 Aug 2013 16:07:58 +0200
-Subject: [PATCH] Remove the usage of local SSL certificates and use system
- provided by ca-certificates.
-
----
- src/future/http/HTTPSFuture.php | 11 ++---------
- 1 file changed, 2 insertions(+), 9 deletions(-)
-
-diff --git a/src/future/http/HTTPSFuture.php b/src/future/http/HTTPSFuture.php
-index 212a5e2ada30..45e05c6737f1 100644
---- a/src/future/http/HTTPSFuture.php
-+++ b/src/future/http/HTTPSFuture.php
-@@ -343,28 +343,21 @@ final class HTTPSFuture extends BaseHTTPFuture {
- // `setCABundle()` or similar.
- // - Then, check if a global bundle is set explicitly for all requests,
- // via `setGlobalCABundle()` or similar.
-- // - Then, if a local custom.pem exists, use that, because it probably
-- // means that the user wants to override everything (also because the
-- // user might not have access to change the box's php.ini to add
-- // curl.cainfo).
- // - Otherwise, try using curl.cainfo. If it's set explicitly, it's
- // probably reasonable to try using it before we fall back to what
- // libphutil ships with.
-- // - Lastly, try the default that libphutil ships with. If it doesn't
-+ // - Lastly, try the default from ca-certificates. If it doesn't
- // work, give up and yell at the user.
-
- if (!$this->getCABundle()) {
-- $caroot = dirname(phutil_get_library_root('phutil')).'/resources/ssl/';
- $ini_val = ini_get('curl.cainfo');
- if (self::getGlobalCABundle()) {
- $this->setCABundleFromPath(self::getGlobalCABundle());
-- } else if (Filesystem::pathExists($caroot.'custom.pem')) {
-- $this->setCABundleFromPath($caroot.'custom.pem');
- } else if ($ini_val) {
- // TODO: We can probably do a pathExists() here, even.
- $this->setCABundleFromPath($ini_val);
- } else {
-- $this->setCABundleFromPath($caroot.'default.pem');
-+ $this->setCABundleFromPath('/etc/ssl/certs/ca-certificates.crt');
- }
- }
-
diff --git a/dev-php/libphutil/libphutil-20190930.ebuild b/dev-php/libphutil/libphutil-20190930.ebuild
deleted file mode 100644
index f2cbebe1..00000000
--- a/dev-php/libphutil/libphutil-20190930.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit eutils toolchain-funcs git-r3
-
-DESCRIPTION="Collection of utility classes and functions for PHP used by phabricator"
-HOMEPAGE="https://www.phacility.com"
-EGIT_REPO_URI="https://github.com/phacility/libphutil.git"
-EGIT_BRANCH="stable"
-EGIT_COMMIT="1750586fdc50a6cd98adba4aa2f5a7649bd91dbe"
-
-LICENSE="Apache-2.0"
-SLOT="stable"
-KEYWORDS="~amd64 ~x86"
-IUSE="ssl test"
-
-DEPEND="!${CATEGORY}/${PN}:0
- virtual/awk:0
- test? (
- sys-devel/bison:0
- >=sys-devel/flex-2.5.35:0
- =www-client/arcanist-20191119:stable
- dev-lang/php[cli]
- )"
-RDEPEND="dev-lang/php[curl,iconv,json,mysql,mysqli,pcntl,ssl?,unicode]"
-
-PATCHES=(
- "${FILESDIR}/${PV}-Remove-the-usage-of-local-SSL-certificates-and-use-s.patch"
-)
-
-src_prepare() {
- default
-
- git log --format='%H %ct' -n 1 > "${S}/GIT_COMMIT_INFO"
- git remote add origin "${EGIT_REPO_URI}"
- git remote -v > "${S}/GIT_REMOTE_INFO"
-
- if use test ; then
- tc-export AR CXX
- fi
-
- find "${S}" -type f -name .gitignore -print0 \
- | xargs -0 --no-run-if-empty -- \
- rm
-
- rm -r resources/ssl
- rm -r scripts/daemon/torture
- rm scripts/build_xhpast.php
- rm src/parser/xhpast/bin/xhpast.exe
-
- # Replace 'env' shebang to files it point to
- find "${S}" -type f \
- | sort \
- | xargs -n 1 --no-run-if-empty -- \
- awk 'NR == 1 && /^#!\/usr\/bin\/env/ {print FILENAME}' \
- | while read ; do
- set -- $(sed -ne '1 s:^#!\([^ ]*\) ::p;q' ${REPLY})
- cmd="$1" ; shift ; args="$@"
-
- case "${cmd}" in
- bash|php) ;;
- *) continue ;;
- esac
-
- path="$(type -p ${cmd})" || continue
- [[ -z "${path}" ]] && continue
-
- einfo "Replace ${REPLY/#${S}\/} shebang to #!${path} ${args}"
- sed -i \
- -e "1 s:^#!.*:#!${path} ${args}:" \
- "${REPLY}"
- eend $?
- done
-}
-
-src_compile() {
- if use test ; then
- cd support/xhpast
-
- # Avoid sandbox violation for dev-lang/php[snmp]
- # php -f generate_nodes.php'
- #
- # * ACCESS DENIED: open_wr: /var/lib/net-snmp/mib_indexes/0
- # abs_path: /var/lib/net-snmp/mib_indexes/0
- # res_path: /var/lib/net-snmp/mib_indexes/0
- # /usr/lib64/libsandbox.so(+0xd9d1)[0x7f226c8899d1]
- # /usr/lib64/libsandbox.so(+0xdaf8)[0x7f226c889af8]
- # /usr/lib64/libsandbox.so(+0x59cf)[0x7f226c8819cf]
- # /usr/lib64/libsandbox.so(fopen+0x7c)[0x7f226c8843ec]
- # /usr/lib64/libnetsnmp.so.30(netsnmp_mibindex_new+0x48)[0x7f22695f55e8]
- # /usr/lib64/libnetsnmp.so.30(add_mibdir+0x9c)[0x7f226960a00c]
- # /usr/lib64/libnetsnmp.so.30(netsnmp_init_mib+0xca)[0x7f22695f4bea]
- # /usr/lib64/libnetsnmp.so.30(init_snmp+0x32d)[0x7f226961c2dd]
- # php(zm_startup_snmp+0x51)[0x7f226cf81e11]
- # php(zend_startup_module_ex+0x11a)[0x7f226d0bccea]
- # /proc/15834/cmdline: php -f generate_nodes.php
- #
- # See snmp_config(5)
- export SNMP_PERSISTENT_DIR="${T}"
-
- emake
- emake install
- fi
-}
-
-src_test() {
- arc unit --everything --no-coverage || die "arc unit failed"
-}
-
-src_install() {
- insinto "/usr/share/${PN}"
- doins GIT_COMMIT_INFO GIT_REMOTE_INFO
-
- insinto "/usr/share/php/${PN}"
- doins -r externals resources scripts src
-
- if use test ; then
- fperms 755 "/usr/share/php/${PN}/src/parser/xhpast/bin/xhpast"
- dosym "../share/php/${PN}/src/parser/xhpast/bin/xhpast" /usr/bin/xhpast
- fi
-
- # Make executable all shebanged files
- find "${ED}" -type f \
- | xargs -n 1 --no-run-if-empty -- \
- awk 'NR == 1 && /^#!/ {print FILENAME}' \
- | sed -e "s:${ED}:/:" \
- | xargs --no-run-if-empty -- \
- fperms 755
-
- dodoc NOTICE README.md
-}
diff --git a/dev-php/libphutil/libphutil-9999.ebuild b/dev-php/libphutil/libphutil-9999.ebuild
deleted file mode 100644
index 491cd686..00000000
--- a/dev-php/libphutil/libphutil-9999.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit eutils toolchain-funcs git-r3
-
-DESCRIPTION="Collection of utility classes and functions for PHP used by phabricator"
-HOMEPAGE="https://www.phacility.com"
-EGIT_REPO_URI="https://github.com/phacility/libphutil.git"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS=""
-IUSE="ssl test"
-
-DEPEND="!${CATEGORY}/${PN}:stable
- virtual/awk:0
- test? (
- sys-devel/bison:0
- >=sys-devel/flex-2.5.35:0
- =www-client/arcanist-${PV}:0
- dev-lang/php[cli]
- )"
-RDEPEND="dev-lang/php[curl,iconv,json,mysql,mysqli,pcntl,ssl?,unicode]"
-
-PATCHES=(
- "${FILESDIR}/${PV}-Remove-the-usage-of-local-SSL-certificates-and-use-s.patch"
-)
-
-src_prepare() {
- default
-
- git log --format='%H %ct' -n 1 > "${S}/GIT_COMMIT_INFO"
- git remote add origin "${EGIT_REPO_URI}"
- git remote -v > "${S}/GIT_REMOTE_INFO"
-
- if use test ; then
- tc-export AR CXX
- fi
-
- find "${S}" -type f -name .gitignore -print0 \
- | xargs -0 --no-run-if-empty -- \
- rm
-
- rm -r resources/ssl
- rm -r scripts/daemon/torture
- rm scripts/build_xhpast.sh
- rm src/parser/xhpast/bin/xhpast.exe
-
- # Replace 'env' shebang to files it point to
- find "${S}" -type f \
- | sort \
- | xargs -n 1 --no-run-if-empty -- \
- awk 'NR == 1 && /^#!\/usr\/bin\/env/ {print FILENAME}' \
- | while read ; do
- set -- $(sed -ne '1 s:^#!\([^ ]*\) ::p;q' ${REPLY})
- cmd="$1" ; shift ; args="$@"
-
- case "${cmd}" in
- bash|php) ;;
- *) continue ;;
- esac
-
- path="$(type -p ${cmd})" || continue
- [[ -z "${path}" ]] && continue
-
- einfo "Replace ${REPLY/#${S}\/} shebang to #!${path} ${args}"
- sed -i \
- -e "1 s:^#!.*:#!${path} ${args}:" \
- "${REPLY}"
- eend $?
- done
-}
-
-src_compile() {
- if use test ; then
- cd support/xhpast
-
- # Avoid sandbox violation for dev-lang/php[snmp]
- # php -f generate_nodes.php'
- #
- # * ACCESS DENIED: open_wr: /var/lib/net-snmp/mib_indexes/0
- # abs_path: /var/lib/net-snmp/mib_indexes/0
- # res_path: /var/lib/net-snmp/mib_indexes/0
- # /usr/lib64/libsandbox.so(+0xd9d1)[0x7f226c8899d1]
- # /usr/lib64/libsandbox.so(+0xdaf8)[0x7f226c889af8]
- # /usr/lib64/libsandbox.so(+0x59cf)[0x7f226c8819cf]
- # /usr/lib64/libsandbox.so(fopen+0x7c)[0x7f226c8843ec]
- # /usr/lib64/libnetsnmp.so.30(netsnmp_mibindex_new+0x48)[0x7f22695f55e8]
- # /usr/lib64/libnetsnmp.so.30(add_mibdir+0x9c)[0x7f226960a00c]
- # /usr/lib64/libnetsnmp.so.30(netsnmp_init_mib+0xca)[0x7f22695f4bea]
- # /usr/lib64/libnetsnmp.so.30(init_snmp+0x32d)[0x7f226961c2dd]
- # php(zm_startup_snmp+0x51)[0x7f226cf81e11]
- # php(zend_startup_module_ex+0x11a)[0x7f226d0bccea]
- # /proc/15834/cmdline: php -f generate_nodes.php
- #
- # See snmp_config(5)
- export SNMP_PERSISTENT_DIR="${T}"
-
- emake
- emake install
- fi
-}
-
-src_test() {
- arc unit --everything --no-coverage || die "arc unit failed"
-}
-
-src_install() {
- insinto "/usr/share/${PN}"
- doins GIT_COMMIT_INFO GIT_REMOTE_INFO
-
- insinto "/usr/share/php/${PN}"
- doins -r externals resources scripts src
-
- if use test ; then
- fperms 755 "/usr/share/php/${PN}/src/parser/xhpast/bin/xhpast"
- dosym "../share/php/${PN}/src/parser/xhpast/bin/xhpast" /usr/bin/xhpast
- fi
-
- # Make executable all shebanged files
- find "${ED}" -type f \
- | xargs -n 1 --no-run-if-empty -- \
- awk 'NR == 1 && /^#!/ {print FILENAME}' \
- | sed -e "s:${ED}:/:" \
- | xargs --no-run-if-empty -- \
- fperms 755
-
- dodoc NOTICE README.md
-}
diff --git a/dev-php/libphutil/metadata.xml b/dev-php/libphutil/metadata.xml
deleted file mode 100644
index 82f7232e..00000000
--- a/dev-php/libphutil/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>bertrand@jacquin.bzh</email>
- <name>Bertrand Jacquin</name>
- </maintainer>
-</pkgmetadata>