From 28ff884ee447917d218180c379481502215316bb Mon Sep 17 00:00:00 2001 From: Francisco Javier FĂ©lix Date: Mon, 18 Sep 2023 11:16:35 +0200 Subject: dev-db/phppgadmin: update to 7.14.5 and support for PHP 8.x * Support for PHP 8.x * use a new fork, the old one has not been updated for 2 years * remove old versions, they are incompatible with PHP 8.x Closes: https://bugs.gentoo.org/762514 Signed-off-by: INODE64 Closes: https://github.com/gentoo/gentoo/pull/32895 Signed-off-by: Alfredo Tupone --- dev-db/phppgadmin/Manifest | 3 +-- dev-db/phppgadmin/metadata.xml | 2 +- dev-db/phppgadmin/phppgadmin-7.12.1.ebuild | 38 ------------------------------ dev-db/phppgadmin/phppgadmin-7.13.0.ebuild | 38 ------------------------------ dev-db/phppgadmin/phppgadmin-7.14.5.ebuild | 38 ++++++++++++++++++++++++++++++ 5 files changed, 40 insertions(+), 79 deletions(-) delete mode 100644 dev-db/phppgadmin/phppgadmin-7.12.1.ebuild delete mode 100644 dev-db/phppgadmin/phppgadmin-7.13.0.ebuild create mode 100644 dev-db/phppgadmin/phppgadmin-7.14.5.ebuild (limited to 'dev-db') diff --git a/dev-db/phppgadmin/Manifest b/dev-db/phppgadmin/Manifest index 949156fb576b..ed40a199d3ec 100644 --- a/dev-db/phppgadmin/Manifest +++ b/dev-db/phppgadmin/Manifest @@ -1,2 +1 @@ -DIST phpPgAdmin-7.12.1.tar.bz2 579723 BLAKE2B 58d4992424fb6c9bf8565843c6d76ceecb68212cc311d15d43303fd6b63fe2a611ce146761b8f6b8f992798060d065a0b0e528aed5df217a3078cef9e56c49da SHA512 d64b4796c5acad990ef81b12ebd377474d04c1a65adc41a91a2d278bb975812389bb6eae23490de3f5ce09502d36adea3cacfdec0e868c6a0e0bcb639b8a94db -DIST phpPgAdmin-7.13.0.tar.bz2 620530 BLAKE2B 09aa0fe9eeded2caac78847f01774a988e8b086cb362bcce2a3a9139fb28cd43b749c3b13ea1cc9064ef1bee2c4c7bc93eed7e41a72bcaa4479d63e7e748d710 SHA512 1a3d51d0f3b5a3857664c37e5df21070b81dfc0db8844d0af784ff09f644e6a61a9607f4a87f865c5c40bb55445db187b73b9ccceff4a0293c26a6bfeb5953ac +DIST phppgadmin-7.14.5.tar.gz 1153991 BLAKE2B 52f52e02305814a149cdde7498bdffe281c78198241c436182bdebce7e2597aea8ac1e0ae04900073355dbe4da7f41f0f0b83c5ec28a5b476ce6f3249dfff6b7 SHA512 1983b7d98623def3aa0d83f7ea507026abe1699dba3104fddf743fb581a4f1226be8d784990984ebcc22e92c2bed3cacfbec13ed7387d7b87b2662fc66fe0ac6 diff --git a/dev-db/phppgadmin/metadata.xml b/dev-db/phppgadmin/metadata.xml index 935ffaf44a18..3e9cef899440 100644 --- a/dev-db/phppgadmin/metadata.xml +++ b/dev-db/phppgadmin/metadata.xml @@ -6,6 +6,6 @@ Tupone Alfredo - phppgadmin/phppgadmin + ReimuHakurei/phppgadmin diff --git a/dev-db/phppgadmin/phppgadmin-7.12.1.ebuild b/dev-db/phppgadmin/phppgadmin-7.12.1.ebuild deleted file mode 100644 index e0ec4521ab80..000000000000 --- a/dev-db/phppgadmin/phppgadmin-7.12.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit webapp - -MY_P="phpPgAdmin-${PV}" - -DESCRIPTION="Web-based administration for Postgres database in php" -HOMEPAGE="http://phppgadmin.sourceforge.net/" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/REL_$(ver_rs 1- -)/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64" -IUSE="" - -RDEPEND="dev-lang/php[postgres,session]" - -S="${WORKDIR}/${MY_P}" - -src_install() { - webapp_src_preinst - - local doc - local docs="CREDITS DEVELOPERS FAQ HISTORY INSTALL TODO TRANSLATORS" - dodoc ${docs} - mv conf/config.inc.php-dist conf/config.inc.php - - cp -r * "${D}"${MY_HTDOCSDIR} - for doc in ${docs} INSTALL LICENSE; do - rm -f "${D}"${MY_HTDOCSDIR}/${doc} - done - - webapp_configfile ${MY_HTDOCSDIR}/conf/config.inc.php - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt - webapp_src_install -} diff --git a/dev-db/phppgadmin/phppgadmin-7.13.0.ebuild b/dev-db/phppgadmin/phppgadmin-7.13.0.ebuild deleted file mode 100644 index e0ec4521ab80..000000000000 --- a/dev-db/phppgadmin/phppgadmin-7.13.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit webapp - -MY_P="phpPgAdmin-${PV}" - -DESCRIPTION="Web-based administration for Postgres database in php" -HOMEPAGE="http://phppgadmin.sourceforge.net/" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/REL_$(ver_rs 1- -)/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64" -IUSE="" - -RDEPEND="dev-lang/php[postgres,session]" - -S="${WORKDIR}/${MY_P}" - -src_install() { - webapp_src_preinst - - local doc - local docs="CREDITS DEVELOPERS FAQ HISTORY INSTALL TODO TRANSLATORS" - dodoc ${docs} - mv conf/config.inc.php-dist conf/config.inc.php - - cp -r * "${D}"${MY_HTDOCSDIR} - for doc in ${docs} INSTALL LICENSE; do - rm -f "${D}"${MY_HTDOCSDIR}/${doc} - done - - webapp_configfile ${MY_HTDOCSDIR}/conf/config.inc.php - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt - webapp_src_install -} diff --git a/dev-db/phppgadmin/phppgadmin-7.14.5.ebuild b/dev-db/phppgadmin/phppgadmin-7.14.5.ebuild new file mode 100644 index 000000000000..e0f1422ca113 --- /dev/null +++ b/dev-db/phppgadmin/phppgadmin-7.14.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit webapp + +MY_P="phpPgAdmin-${PV}-mod" + +DESCRIPTION="Web-based administration for Postgres database in php" +HOMEPAGE="http://phppgadmin.sourceforge.net/" +SRC_URI="https://github.com/ReimuHakurei/phpPgAdmin/archive/refs/tags/v${PV}-mod.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-lang/php[postgres,session,unicode]" + +S="${WORKDIR}/${MY_P}" + +src_install() { + webapp_src_preinst + + local doc + local docs="BUGS CREDITS DEVELOPERS FAQ HISTORY INSTALL TODO TRANSLATORS" + dodoc ${docs} + mv conf/config.inc.php-dist conf/config.inc.php || die + + cp -r * "${D}${MY_HTDOCSDIR}" + for doc in ${docs} INSTALL LICENSE; do + rm -f "${D}${MY_HTDOCSDIR}/${doc}" || die + done + + webapp_configfile "${MY_HTDOCSDIR}"/conf/config.inc.php + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + webapp_src_install +} -- cgit v1.2.3-65-gdbad