diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2017-06-04 22:55:26 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2017-06-04 22:55:45 +0200 |
commit | cacce1c76fc3f72971acc28703d0df7059d69936 (patch) | |
tree | 47579f9036f01df4a35f020e54cbfec22a744e17 | |
parent | app-admin/rcm: New package. (diff) | |
download | gentoo-cacce1c76fc3f72971acc28703d0df7059d69936.tar.gz gentoo-cacce1c76fc3f72971acc28703d0df7059d69936.tar.bz2 gentoo-cacce1c76fc3f72971acc28703d0df7059d69936.zip |
www-apps/mediawiki: Security bump to v1.27.3 (bug #614906)
Package-Manager: Portage-2.3.5, Repoman-2.3.2
-rw-r--r-- | www-apps/mediawiki/Manifest | 1 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.27.3.ebuild | 79 |
2 files changed, 80 insertions, 0 deletions
diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest index e894c90ce0cb..8bfcd01964e2 100644 --- a/www-apps/mediawiki/Manifest +++ b/www-apps/mediawiki/Manifest @@ -1 +1,2 @@ DIST mediawiki-1.27.1.tar.gz 31504507 SHA256 08a676c392625cf3c5730a6c1b9390ab1e11dcc17cfd0ff97a2ae3917ef5a36a SHA512 0bf3df06af8251729e9c01106a3eea7bdb4b6f27388501c627cb714cbff722f408ade725d7223ab69e79e036cf2a09b1f9a0659f45898508347638b50d440cda WHIRLPOOL 8621c0a788422b82f15a4702f8cc8869ca08bf76bef0cf4b26c003882a4310b6960d877299ad1995b1f6c02dc177856b9745696f78d6205884772761efd666f1 +DIST mediawiki-1.27.3.tar.gz 31509270 SHA256 11d470582b52a471b4e99735b36a44b230681847a97ef032c2fc050fd8aea823 SHA512 bc6228342b589a3acb0f5623b9ef45982d7aab032ff322aaf7bda7ac3ee16a7732b8013698d8f509da4310bbb65c12a73b7bbe4612d5e0e3d93965199efdc8eb WHIRLPOOL 23fd4432a52c454a8354fcd325d9081b888f14f199020e43798eaa3cb904c8b7fff70e5c38ee77fcf982d755deeaea2071cfcb2133b1b88a92a7afdab56577a9 diff --git a/www-apps/mediawiki/mediawiki-1.27.3.ebuild b/www-apps/mediawiki/mediawiki-1.27.3.ebuild new file mode 100644 index 000000000000..61b793163c63 --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.27.3.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit webapp versionator + +MY_BRANCH=$(get_version_component_range 1-2) + +DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)" +HOMEPAGE="http://www.mediawiki.org" +SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86" +IUSE="imagemagick mysql postgres sqlite" + +RDEPEND=">=dev-lang/php-5.5.9[json,mysql?,postgres?,session,xml,xmlreader] + imagemagick? ( virtual/imagemagick-tools ) + !imagemagick? ( dev-lang/php[gd] ) + sqlite? ( + dev-db/sqlite:3[fts3(+)] + >=dev-lang/php-5.5.9[pdo] + || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] ) + ) + virtual/httpd-php" + +need_httpd_cgi + +RESTRICT="test" + +src_install() { + webapp_src_preinst + + # First we install docs and then copy everything left into htdocs dir + # to avoid bugs like #236411. + + # We ensure the directories are prepared for writing. The post- + # install instructions guide the user to enable the feature. + local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE" + dodoc ${DOCS} docs/*.txt + docinto php-memcached + dodoc docs/php-memcached/* + + # Clean everything not used at the site... + rm -rf ${DOCS} COPYING tests docs || die + find . -name Makefile -delete || die + # and install + insinto "${MY_HTDOCSDIR}" + doins -r . + + # If imagemagick is enabled then setup for image upload. + # We ensure the directory is prepared for writing. + if use imagemagick ; then + webapp_serverowned "${MY_HTDOCSDIR}"/images + fi + + webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt" + webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt" + webapp_src_install +} + +pkg_postinst() { + webapp_pkg_postinst + + if [[ -n ${REPLACING_VERSIONS} ]]; then + echo + elog "=== Consult the release notes ===" + elog "Before doing anything, stop and consult the release notes" + elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2" + echo + elog "These detail bug fixes, new features and functionality, and any" + elog "particular points that may need to be noted during the upgrade procedure." + echo + ewarn "Back up existing files and the database before upgrade." + ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki" + ewarn "provides an overview of the backup process." + echo + fi +} |