diff options
author | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2019-07-29 12:47:16 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2019-07-29 12:47:16 +0000 |
commit | 643cfb47deb505bfbcc5d3cd82e5fad5210f39b9 (patch) | |
tree | 88132ee3f2ee96dd465d278f3b4b9a1284c5f6ef /dev-db | |
parent | www-apps/drupal: Security bump to release 8.7.5 - SA-CORE-2019-008. (diff) | |
download | jmbsvicetto-643cfb47deb505bfbcc5d3cd82e5fad5210f39b9.tar.gz jmbsvicetto-643cfb47deb505bfbcc5d3cd82e5fad5210f39b9.tar.bz2 jmbsvicetto-643cfb47deb505bfbcc5d3cd82e5fad5210f39b9.zip |
dev-db/phpmyadmin: Add 5.0.0_alpha1 release.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/phpmyadmin/Manifest | 1 | ||||
-rw-r--r-- | dev-db/phpmyadmin/phpmyadmin-5.0.0_alpha1.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-db/phpmyadmin/Manifest b/dev-db/phpmyadmin/Manifest index 3675afd..51613c1 100644 --- a/dev-db/phpmyadmin/Manifest +++ b/dev-db/phpmyadmin/Manifest @@ -1 +1,2 @@ DIST phpMyAdmin-4.9.0.1-all-languages.tar.xz 6066680 BLAKE2B fc949684e97bef1be832968a9c0a3a893e0a81d7984953e694f41ff15deb82bffe3116ff7ec3c832bf2cfd4e24cefec4ce703baa9404bc0740b7231480165a4f SHA512 92fc032ba44e84f6c6a62bb658c2c7ea984bfd8c963b18bf19c26c3991cfe635771376ad8aebf90140bb1bd723b62a5adaca35d88f7bb68169fd0d07c3995356 +DIST phpMyAdmin-5.0.0-alpha1-all-languages.tar.xz 8200540 BLAKE2B 3baffd8942849cb7f6273e46a538d35f1fe7c3bad9b9f7c6dd197f47cd9273469f6b125838caaa0692b479f41f6f1ace48b51b37b0301a131cc91a9b4c7d9108 SHA512 3159e8324997e9584a54aabeb8d9f61b794f64385e915073fe20062f315672536fd482d01056fdcd55ea240bb0b0997b28ec0f023ceb8ae7f2a9affebf666a29 diff --git a/dev-db/phpmyadmin/phpmyadmin-5.0.0_alpha1.ebuild b/dev-db/phpmyadmin/phpmyadmin-5.0.0_alpha1.ebuild new file mode 100644 index 0000000..b0e6be3 --- /dev/null +++ b/dev-db/phpmyadmin/phpmyadmin-5.0.0_alpha1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils webapp + +MY_PV=${PV/_/-} +MY_PN="phpMyAdmin" +MY_P="${MY_PN}-${MY_PV}-all-languages" + +DESCRIPTION="Web-based administration for MySQL database in PHP" +HOMEPAGE="https://www.phpmyadmin.net/" +SRC_URI="https://files.phpmyadmin.net/${MY_PN}/${MY_PV}/${MY_P}.tar.xz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos" +IUSE="setup" + +RDEPEND=" + dev-lang/php[ctype,filter,json,session,unicode] + || ( + dev-lang/php[mysqli] + dev-lang/php[mysql] + ) + virtual/httpd-php:* +" + +need_httpd_cgi + +S="${WORKDIR}"/${MY_P} + +pkg_setup() { + webapp_pkg_setup +} + +src_install() { + webapp_src_preinst + + dodoc README RELEASE-DATE-${MY_PV} ChangeLog || die + rm -f LICENSE README* RELEASE-DATE-${MY_PV} + + if ! use setup; then + rm -rf setup || die "Cannot remove setup utility" + elog "The phpMyAdmin setup utility has been removed." + elog "It is a regular target of various exploits. If you need it, set USE=setup." + else + elog "You should consider disabling the setup USE flag" + elog "to exclude the setup utility if you don't use it." + elog "It regularly is the target of various exploits." + fi + + insinto "${MY_HTDOCSDIR#${EPREFIX}}" + doins -r . + + webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php + webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt + webapp_src_install +} |