commit: e786868c985d5cd210937050d82fc46b679410f3 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> AuthorDate: Sat Mar 19 14:37:50 2016 +0000 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> CommitDate: Sat Mar 19 14:37:50 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e786868c
Add new 4.6.0_rc1 release. Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org> dev-db/phpmyadmin/Manifest | 2 +- dev-db/phpmyadmin/phpmyadmin-4.6.0_rc1.ebuild | 62 +++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) diff --git a/dev-db/phpmyadmin/Manifest b/dev-db/phpmyadmin/Manifest index 3ff887e..8eafdb5 100644 --- a/dev-db/phpmyadmin/Manifest +++ b/dev-db/phpmyadmin/Manifest @@ -4,4 +4,4 @@ DIST phpMyAdmin-4.4.15.4-all-languages.tar.xz 5597144 SHA256 692b70dfbf46884ae52 DIST phpMyAdmin-4.4.15.5-all-languages.tar.xz 5783216 SHA256 6160724fa90ef5cccb67ad897a83586be28e64f5d6acf9bcb3313bc3d7638d8c SHA512 987d95f8352f58d7081aead10ccc7494b054d4041e0cb7454633e885c3217a7c63778d45c2dbf399e82c76159ab6651efeaf9c3cabc96982de83d5a041065e7a WHIRLPOOL b5fb8365817d1521f9e6ad5c60fa1a1ee941fb77062d63975d9f340c4abc681948fb6cd240c4943714d855f6f113baf46241bacf4d421b78f8f740c8bd9ade73 DIST phpMyAdmin-4.5.4.1-all-languages.tar.xz 5810548 SHA256 4f79a1e3687ed6976903b0fab6a29f960e657e4eb4c9e8a9b92bcf4f1d57194d SHA512 e3e9669c90610a441901854a4c1e91f1312eba55821bd8b73bbfa5589ca321cb4f6c1893a0f62d0a6cc644ff28b6066cd77f2a7f30641afd4f1547bd427403cb WHIRLPOOL d0f60c55b250b7cfd1f3a4f8c0d1e6afc484394687052fe298bf2db897dfedb663566c345ff2ec2f43fd1cddbf1dba85f3521a78b19fab7cb88d7bbf9678a7e4 DIST phpMyAdmin-4.5.5.1-all-languages.tar.xz 5987876 SHA256 bf8ab258d5c6ce5cfaf7ff330827599c1cfd29b0cc4c9b83f4263ee143c00ef4 SHA512 636d29b9799e6ec0a1484c277187bb1ca24c8cea93c49f30c8c40bf34e4b64ed7e832b5d0e903310e8f08036dbf66724c1b28ab08133cbdf5cec475a430a64d7 WHIRLPOOL b84ae72f306263d36aa700772f47febd1296cad3ccc2b003d551e3b11d0345ff72eeba9af7aca6c54243c3d3c805e035c8a64cfbb7bfe76a3d31d8bcc0980243 - +DIST phpMyAdmin-4.6.0-rc1-all-languages.tar.xz 6128788 SHA256 c193a50c01b4c29ce5628581e930798172c9ef683902de302da5fd038e9167f6 SHA512 e52a3cbea1c4684289cb4a4a42f8e0d6ac90138b2d16c0d831ac4df36c4816ea26f98032c1636fe05c59e31ccf658a0fd8593d8fb2ddd7b9d08ce2f33f47346d WHIRLPOOL b52697bb280037da275ee3d6dbd01dcf372838d8f3c5f72cb760f9b590d2e56bea6d7b45a1aa3b1a59acb4e1986631d4df68a7c59d420a74a59c31c1a1a0e580 diff --git a/dev-db/phpmyadmin/phpmyadmin-4.6.0_rc1.ebuild b/dev-db/phpmyadmin/phpmyadmin-4.6.0_rc1.ebuild new file mode 100644 index 0000000..943e93c --- /dev/null +++ b/dev-db/phpmyadmin/phpmyadmin-4.6.0_rc1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 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 +}