summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2016-02-08 20:05:24 -0100
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2016-02-08 20:05:24 -0100
commit7171efa8f12d90569005fe4af1f55668322308ad (patch)
tree9f9edc7c89bb6ca1805bfa1cb40268712a1d23c1 /dev-db/phpmyadmin
parentwww-servers/apache: Support mod_proxy_html (#572434 by Thomas Beutin) (diff)
downloadgentoo-7171efa8f12d90569005fe4af1f55668322308ad.tar.gz
gentoo-7171efa8f12d90569005fe4af1f55668322308ad.tar.bz2
gentoo-7171efa8f12d90569005fe4af1f55668322308ad.zip
Restore last stable version - dropped it by mistake.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Diffstat (limited to 'dev-db/phpmyadmin')
-rw-r--r--dev-db/phpmyadmin/Manifest1
-rw-r--r--dev-db/phpmyadmin/phpmyadmin-4.5.3.1.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-db/phpmyadmin/Manifest b/dev-db/phpmyadmin/Manifest
index 9cd9a57116de..a6dd1a83373e 100644
--- a/dev-db/phpmyadmin/Manifest
+++ b/dev-db/phpmyadmin/Manifest
@@ -1,3 +1,4 @@
DIST phpMyAdmin-4.0.10.14-all-languages.tar.xz 4717192 SHA256 1bbd9eeb1d6d939cd31e6b8f8a544ab09fae5f0bc58c47c1bfb3287419a9f577 SHA512 91e1c212b67d90da1f85aea1019fd2ecc02db4bf6c0d5bfea971c2eae343de88c322c6aa2732b70970741ba27a48b790b29185a57cd49b8b3e0e281724ceeab9 WHIRLPOOL 8f53d9d2269545e67081b54af75538a7c2141a3e0ebaacfd9d75267f62f6d4fc0e4300eb9de8208d697ad46a4c64e0bf9a1c55b404ae8dede5dd428d2ec2111e
DIST phpMyAdmin-4.4.15.4-all-languages.tar.xz 5597144 SHA256 692b70dfbf46884ae52d57d43e07809ee2319bfa7321be7ae4b00fe3510a3e37 SHA512 eaeaa7d05d6cc4e4f854592993562cdea1a0349064cc3aa5eff4ac9a1aa5a6cb1cca1392d27fb62b33d85fdf12376abbb4bb9233ff5ec9f0074bfb0430625262 WHIRLPOOL aa5bf8cad6da266e649b355e9d1c65fbf736c60130914328b95cd4d34af55d9d37b1c108bb08753d9d6c621a918d2cef2c3c1eb0eeffc1bd6df061113db30527
+DIST phpMyAdmin-4.5.3.1-all-languages.tar.xz 5757736 SHA256 75be3589b5e4800afb21581761478ddc5b888d6a09d5235a0ba997401d04fc00 SHA512 4a53fbc1facdc1b9ff627d2dc29e948793a1998ebe54f67db666abfda65e1eb43b309d548113bb0a140989bc394e51f19b267f3ea639dbcb0ef40126ab77fe48 WHIRLPOOL 4f4b5a659c241ec1ff7e3179cc6e65a9afe4a5d072ea02ec355e980635041f742edcc7133cd641eb419ede15d24c9821170283f052e603c2e13539e41a086e52
DIST phpMyAdmin-4.5.4.1-all-languages.tar.xz 5810548 SHA256 4f79a1e3687ed6976903b0fab6a29f960e657e4eb4c9e8a9b92bcf4f1d57194d SHA512 e3e9669c90610a441901854a4c1e91f1312eba55821bd8b73bbfa5589ca321cb4f6c1893a0f62d0a6cc644ff28b6066cd77f2a7f30641afd4f1547bd427403cb WHIRLPOOL d0f60c55b250b7cfd1f3a4f8c0d1e6afc484394687052fe298bf2db897dfedb663566c345ff2ec2f43fd1cddbf1dba85f3521a78b19fab7cb88d7bbf9678a7e4
diff --git a/dev-db/phpmyadmin/phpmyadmin-4.5.3.1.ebuild b/dev-db/phpmyadmin/phpmyadmin-4.5.3.1.ebuild
new file mode 100644
index 000000000000..b2377eafb5cf
--- /dev/null
+++ b/dev-db/phpmyadmin/phpmyadmin-4.5.3.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+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 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="setup"
+
+RDEPEND="
+ dev-lang/php[crypt,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
+}