summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2017-12-01 12:13:16 -0500
committerCraig Andrews <candrews@gentoo.org>2017-12-07 10:27:27 -0500
commit7b43bd49cf249fe7b9923304f0d521b1f29866a6 (patch)
tree69b7107cc1265b3bb357eceef39d54f8b71b0ddf /dev-db
parentnet-analyzer/prometheus-node_exporter: Version bump to 0.15.2 (diff)
downloadgentoo-7b43bd49cf249fe7b9923304f0d521b1f29866a6.tar.gz
gentoo-7b43bd49cf249fe7b9923304f0d521b1f29866a6.tar.bz2
gentoo-7b43bd49cf249fe7b9923304f0d521b1f29866a6.zip
dev-db/phpmyadmin: Don't depend on dev-lang/php[crypt]
The crypt use flag was removed in dev-lang/php-7.2 and isn't used Closes: https://bugs.gentoo.org/639396 Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/phpmyadmin/Manifest8
-rw-r--r--dev-db/phpmyadmin/phpmyadmin-4.7.5-r1.ebuild61
2 files changed, 65 insertions, 4 deletions
diff --git a/dev-db/phpmyadmin/Manifest b/dev-db/phpmyadmin/Manifest
index 8cb4778e8802..c8e8d1155f97 100644
--- a/dev-db/phpmyadmin/Manifest
+++ b/dev-db/phpmyadmin/Manifest
@@ -1,5 +1,5 @@
DIST phpMyAdmin-4.0.10.20-all-languages.tar.xz 4323896 SHA256 16595dd62c8256caa999beb722d793674da86054e117b9968f82352d84233b24 SHA512 e1d8b8a503eaa19a090d24d5ad011241aab06c2767138424d875edd82a868b4ebcdf5bba154b7eefef23b41d1949dcd021defe17e9047d0bf5fcfd0d6a5f4d27 WHIRLPOOL 80983dbeeca9cf1a279c35c652f4c5c0f239ba2aa9456a0707a1686b1f0322a949cd42fa8d949efce1d9e849ee3030c8487faccc79c1f65458ac73b205f119a6
-DIST phpMyAdmin-4.7.0-all-languages.tar.xz 7600296 SHA256 6378d1f45f5356fda2d18a923c56a495e03bc1e7694e7b7c004dd688d2178f90 SHA512 03f3b56d3fed846e8e27e38a1bf32175b267a3cc2784ee499b64a48b6a37f0352302a9c150e1db1c99f633aabd8a373a834ad7ab2b694146b0ac13dd05bd27e3 WHIRLPOOL b7c65a1e47ef0358057052ca9d5b0a4a40f17157ba8b711b6c54b3e3a244da50b23840f67def30c13fabd0b4be7b03785dbbd69a31fa27cece19f256acbf4af2
-DIST phpMyAdmin-4.7.1-all-languages.tar.xz 5665344 SHA256 f94ed0fc5df38e049746e40852135bf55b9af0fd9fcee07f175919c463ad58a5 SHA512 583ad8c8ee871fedd4df79e49845554f2f6182a343439fff8f91f61428964a85f3305590792096ede95a2ea675f065a4a4cdee31d365c03d2cc3aa721b0aeb6e WHIRLPOOL 9fbb781dac0087eb2100e213f2e4c2048a0358f0272fa4f05105ac7fa50333e617376f9580adcc11e8c8d269b6b8cc7dbb4d7c6c0050f9224fa4892261315c49
-DIST phpMyAdmin-4.7.2-all-languages.tar.xz 6270116 SHA256 4f5e474d826ae2fcb704aaade9422592595a2b41046b13e625aa3d00d4d00eee SHA512 ed0b26fd53d1a7d77dcaac98c8570282855b967aee23814fb61737484ea899ede7d900fd0baa27c20fa8ae9a55009db6037b1be42bd6a24d471d672f138d1761 WHIRLPOOL ab3eb4f8b970b53decf63bb6abeab25fbe76103361d04918346f81aabfac236fede780cd94348cd4552952b20db1ea67e8e6eee8e06cc7a6fb091f6ad73df246
-DIST phpMyAdmin-4.7.5-all-languages.tar.xz 6254188 SHA256 e4f53b8a5a8e32cea389718c6f6f282e9ac22ed5f31f67d88266aa27ae0a1ca3 SHA512 f79a6779d3cd216e53c14faad74fcd35f4e89865c2b91cc6fb7599cc16c9a273143a6a491e960c0c902d29dd9e85f123f61bdef5c7b0cef45b827296f50d3d82 WHIRLPOOL 6b71e14aec8224c738251e45e4771f2490fef6630b43397fb761ebd8a893e248e7027a4c440a4a617c26fa59294410afbdf0155e4581c436a2ea2ba7c0ac0342
+DIST phpMyAdmin-4.7.0-all-languages.tar.xz 7600296 BLAKE2B 10e1168ab7a1d8dfccf5837c211a2e6455d767e27f11aec870a9c4a1a19e8a4a1df67b82a7a83ff3c184c8a111dc272da5c876150615a9fd9a32a643bba84007 SHA512 03f3b56d3fed846e8e27e38a1bf32175b267a3cc2784ee499b64a48b6a37f0352302a9c150e1db1c99f633aabd8a373a834ad7ab2b694146b0ac13dd05bd27e3
+DIST phpMyAdmin-4.7.1-all-languages.tar.xz 5665344 BLAKE2B 6fc7570badf6496da6d038a117f7ebc523c3bbd4c7bd5193b5350df69b21f1b631391bc5ab0845193c2dabe2b9c54e16c6173495d0f383d17dac5734492166e4 SHA512 583ad8c8ee871fedd4df79e49845554f2f6182a343439fff8f91f61428964a85f3305590792096ede95a2ea675f065a4a4cdee31d365c03d2cc3aa721b0aeb6e
+DIST phpMyAdmin-4.7.2-all-languages.tar.xz 6270116 BLAKE2B 6ce9d6940f8e6e9fce73b4177cb85283c8719fe080082a5f3c493493133e05deba76a6ee57843f9e01d4ba15109f1d56a73f436eba1d105bcd59b4b914a7723b SHA512 ed0b26fd53d1a7d77dcaac98c8570282855b967aee23814fb61737484ea899ede7d900fd0baa27c20fa8ae9a55009db6037b1be42bd6a24d471d672f138d1761
+DIST phpMyAdmin-4.7.5-all-languages.tar.xz 6254188 BLAKE2B eaa4ace63f6f74fd36249d23c839f574a2a78373f831aaf89fd42013684242e1454005bf2b8acb10d49893288ef660767e869d38e6e255592626aec895037bb8 SHA512 f79a6779d3cd216e53c14faad74fcd35f4e89865c2b91cc6fb7599cc16c9a273143a6a491e960c0c902d29dd9e85f123f61bdef5c7b0cef45b827296f50d3d82
diff --git a/dev-db/phpmyadmin/phpmyadmin-4.7.5-r1.ebuild b/dev-db/phpmyadmin/phpmyadmin-4.7.5-r1.ebuild
new file mode 100644
index 000000000000..3e718bb6b1e7
--- /dev/null
+++ b/dev-db/phpmyadmin/phpmyadmin-4.7.5-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 ~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
+}