diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2019-10-08 17:25:31 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2019-10-08 17:25:52 +0200 |
commit | ae96994eb0f986f6e7f9cc99281b49e72b3d4e23 (patch) | |
tree | d2a9af47f8967e149bdeddee458ca821419ab231 /dev-db/phpmyadmin | |
parent | www-client/opera-developer: Old (diff) | |
download | gentoo-ae96994eb0f986f6e7f9cc99281b49e72b3d4e23.tar.gz gentoo-ae96994eb0f986f6e7f9cc99281b49e72b3d4e23.tar.bz2 gentoo-ae96994eb0f986f6e7f9cc99281b49e72b3d4e23.zip |
dev-db/phpmyadmin-4.9.1: bump
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-db/phpmyadmin')
-rw-r--r-- | dev-db/phpmyadmin/Manifest | 1 | ||||
-rw-r--r-- | dev-db/phpmyadmin/phpmyadmin-4.9.1.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-db/phpmyadmin/Manifest b/dev-db/phpmyadmin/Manifest index 42d99a1742fa..1525f420ad6f 100644 --- a/dev-db/phpmyadmin/Manifest +++ b/dev-db/phpmyadmin/Manifest @@ -1,2 +1,3 @@ DIST phpMyAdmin-4.8.5-all-languages.tar.xz 6026176 BLAKE2B 6fea778544d266ea9950a5764a6c31806bfcc437edbfd190780218d841e55a21cd534fceef9309d2e1d6acbd8a780cb1d120aeb47e2e35705118ceb9d5ae1266 SHA512 590efd46f4ae5a9cafd3b33f3565d74e4bfd535e3de8763e72da7bccea06fabb2f9fb90af3fe144846573507c5eefc20ee412bf6b51adfb494402302dc81aa2f DIST phpMyAdmin-4.9.0.1-all-languages.tar.xz 6066680 BLAKE2B fc949684e97bef1be832968a9c0a3a893e0a81d7984953e694f41ff15deb82bffe3116ff7ec3c832bf2cfd4e24cefec4ce703baa9404bc0740b7231480165a4f SHA512 92fc032ba44e84f6c6a62bb658c2c7ea984bfd8c963b18bf19c26c3991cfe635771376ad8aebf90140bb1bd723b62a5adaca35d88f7bb68169fd0d07c3995356 +DIST phpMyAdmin-4.9.1-all-languages.tar.xz 6146368 BLAKE2B d0a4fdb9bd995f807a0f88c3572f67ddd1df090817b4d32606025b6e7d08c6e05fbcbbc9b3b7edbe5492345c45c454797c9ba0f59498fe5e01d0979148c070ad SHA512 c2804bdb9d8501309e46d66fe4c27c3618de9cbd440928bf6335b3623a7e71608bb02fda17c5f1715b0cb32ecd68e2bbca86565f240b138c3630084225c56f83 diff --git a/dev-db/phpmyadmin/phpmyadmin-4.9.1.ebuild b/dev-db/phpmyadmin/phpmyadmin-4.9.1.ebuild new file mode 100644 index 000000000000..d3478ffd19f7 --- /dev/null +++ b/dev-db/phpmyadmin/phpmyadmin-4.9.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 +} |