summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2014-02-23 18:01:18 +0000
committerJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2014-02-23 18:01:18 +0000
commiteba2f1f3c4ba869123650a5633057700134eb8e7 (patch)
treea7de748c0e0cfddee1697942903cb49ae27f022e /dev-db/phpmyadmin
parentAdded new drives to hddgentoo.db. Rels bug #500924. (diff)
downloadgentoo-2-eba2f1f3c4ba869123650a5633057700134eb8e7.tar.gz
gentoo-2-eba2f1f3c4ba869123650a5633057700134eb8e7.tar.bz2
gentoo-2-eba2f1f3c4ba869123650a5633057700134eb8e7.zip
4.1.8 version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key BB0E6E98)
Diffstat (limited to 'dev-db/phpmyadmin')
-rw-r--r--dev-db/phpmyadmin/ChangeLog8
-rw-r--r--dev-db/phpmyadmin/phpmyadmin-4.1.8.ebuild61
2 files changed, 68 insertions, 1 deletions
diff --git a/dev-db/phpmyadmin/ChangeLog b/dev-db/phpmyadmin/ChangeLog
index 5510b41a0c33..aba5d79e493c 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.502 2014/02/09 22:49:59 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.503 2014/02/23 18:01:18 jmbsvicetto Exp $
+
+*phpmyadmin-4.1.8 (23 Feb 2014)
+
+ 23 Feb 2014; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +phpmyadmin-4.1.8.ebuild:
+ 4.1.8 version bump.
*phpmyadmin-4.1.7 (09 Feb 2014)
diff --git a/dev-db/phpmyadmin/phpmyadmin-4.1.8.ebuild b/dev-db/phpmyadmin/phpmyadmin-4.1.8.ebuild
new file mode 100644
index 000000000000..d5f42e08021d
--- /dev/null
+++ b/dev-db/phpmyadmin/phpmyadmin-4.1.8.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.8.ebuild,v 1.1 2014/02/23 18:01:18 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
+}