summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2014-02-09 22:49:59 +0000
committerJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2014-02-09 22:49:59 +0000
commit5e73b201dce53e3cac2c47d9eaffeb088b4e4950 (patch)
treecedc0699a805a1c4a86fe25ea5e9b20454654758 /dev-db
parentvanilla-3.13.2 + genpatches-3.13-5 + grsecurity-3.0-3.13.2-201402090002 (diff)
downloadgentoo-2-5e73b201dce53e3cac2c47d9eaffeb088b4e4950.tar.gz
gentoo-2-5e73b201dce53e3cac2c47d9eaffeb088b4e4950.tar.bz2
gentoo-2-5e73b201dce53e3cac2c47d9eaffeb088b4e4950.zip
Version bump to 4.1.7 release
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key BB0E6E98)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/phpmyadmin/ChangeLog8
-rw-r--r--dev-db/phpmyadmin/metadata.xml4
-rw-r--r--dev-db/phpmyadmin/phpmyadmin-4.1.7.ebuild61
3 files changed, 72 insertions, 1 deletions
diff --git a/dev-db/phpmyadmin/ChangeLog b/dev-db/phpmyadmin/ChangeLog
index c72c9920eefb..5510b41a0c33 100644
--- a/dev-db/phpmyadmin/ChangeLog
+++ b/dev-db/phpmyadmin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/phpmyadmin
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.501 2014/01/14 01:45:34 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.502 2014/02/09 22:49:59 jmbsvicetto Exp $
+
+*phpmyadmin-4.1.7 (09 Feb 2014)
+
+ 09 Feb 2014; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +phpmyadmin-4.1.7.ebuild, metadata.xml:
+ Version bump to 4.1.7 release
14 Jan 2014; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
files/postinstall-en-3.1.txt:
diff --git a/dev-db/phpmyadmin/metadata.xml b/dev-db/phpmyadmin/metadata.xml
index fb25c5886ffe..e887d194c210 100644
--- a/dev-db/phpmyadmin/metadata.xml
+++ b/dev-db/phpmyadmin/metadata.xml
@@ -6,6 +6,10 @@
<email>a3li@gentoo.org</email>
<name>Alex Legler</name>
</maintainer>
+ <maintainer>
+ <email>jmbsvicetto@gentoo.org</email>
+ <name>Jorge Manuel B. S. Vicetto</name>
+ </maintainer>
<use>
<flag name="setup">
Installs the phpMyAdmin setup utility.
diff --git a/dev-db/phpmyadmin/phpmyadmin-4.1.7.ebuild b/dev-db/phpmyadmin/phpmyadmin-4.1.7.ebuild
new file mode 100644
index 000000000000..f4a8b868aa05
--- /dev/null
+++ b/dev-db/phpmyadmin/phpmyadmin-4.1.7.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.1.7.ebuild,v 1.1 2014/02/09 22:49:59 jmbsvicetto Exp $
+
+EAPI="4"
+
+inherit eutils webapp depend.php
+
+MY_PV=${PV/_/-}
+MY_P="phpMyAdmin-${MY_PV}-all-languages"
+
+DESCRIPTION="Web-based administration for MySQL database in PHP"
+HOMEPAGE="http://www.phpmyadmin.net/"
+SRC_URI="mirror://sourceforge/${PN}/${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]
+ )
+"
+
+need_httpd_cgi
+need_php_httpd
+
+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
+}