summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-09-04 16:34:21 +0200
committerManuel Rüger <mrueg@gentoo.org>2016-09-04 16:34:21 +0200
commit8103e969f43ae4daf1845d37e0cec7fcbb4575bb (patch)
tree1ca6f559ed95f201a8ced6312053caab64f54a60 /www-apps/mediawiki
parentapp-shells/thefuck: Remove old (diff)
downloadgentoo-8103e969f43ae4daf1845d37e0cec7fcbb4575bb.tar.gz
gentoo-8103e969f43ae4daf1845d37e0cec7fcbb4575bb.tar.bz2
gentoo-8103e969f43ae4daf1845d37e0cec7fcbb4575bb.zip
www-apps/mediawiki: Version bump to 1.27.1
Package-Manager: portage-2.3.0
Diffstat (limited to 'www-apps/mediawiki')
-rw-r--r--www-apps/mediawiki/Manifest1
-rw-r--r--www-apps/mediawiki/mediawiki-1.27.1.ebuild80
2 files changed, 81 insertions, 0 deletions
diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest
index 6c8e65331430..f48f2af541cb 100644
--- a/www-apps/mediawiki/Manifest
+++ b/www-apps/mediawiki/Manifest
@@ -2,3 +2,4 @@ DIST mediawiki-1.23.10.tar.gz 21044267 SHA256 d25a5cfaeb78abe2b86c10404d321f18cf
DIST mediawiki-1.23.15.tar.gz 20872294 SHA256 05e56839ef9df1229b1a4f66ff3309100e81366d551603530eff99827ae79de6 SHA512 ac2986a9798b32025aadddecca8aedc67f055a98511a79c38958205caebd64599225f7bb4062d07de96a1d00d6907d41d3e896b82cf1f0eb04510fcbcf61bd22 WHIRLPOOL 7517bd3efdb1a86235cf93434665518e1767584ab6e03d0b24a67c192d57d4d502b15f912b276387794b11c26f4c0ed37035c9becb5eb0fcbc84862a23826ebc
DIST mediawiki-1.25.2.tar.gz 24018158 SHA256 539fecfe3d0c7de8130b0c3b548fe1f862f60df76396dc54ee0548c87e5f2482 SHA512 a24bd0179f313ddd4c24fcf6920584a7bb7fe78c060d8abd0c616f444da8e595075b336e813da16a997cf2e9aa442b29d23f714c187816f9a39f5b5ac6b45e6b WHIRLPOOL 90e2112a62b73f4fc50504ee8394c86f15549335a35940889e713c4155bc27f2161e28364711fd52eb6d50dc77867faaf003c30d6e2ae1dbcd841bcf0d4fc169
DIST mediawiki-1.25.6.tar.gz 23788254 SHA256 1b7fe3f431b25657e98459a25e9d58a2a0e1b3d9361c81ad0562f8fe56f18d17 SHA512 7daadaff27db35fb2485ad122ac5d2c216a4a7941cb0d7ab0f56b9462785ca8ef4e7cca45fe9a2784f0e44db0306e5a5c41bb51b805bf3a7491724f5d165c992 WHIRLPOOL 7f7d409a6899b6bb35197322beb8d5d0b17dd7258ce288e81df01b24b9a080ec57fe31414dba6a391bc3092b371f8bfb7f2a07500c6e69cd0647e9394319ff5d
+DIST mediawiki-1.27.1.tar.gz 31504507 SHA256 08a676c392625cf3c5730a6c1b9390ab1e11dcc17cfd0ff97a2ae3917ef5a36a SHA512 0bf3df06af8251729e9c01106a3eea7bdb4b6f27388501c627cb714cbff722f408ade725d7223ab69e79e036cf2a09b1f9a0659f45898508347638b50d440cda WHIRLPOOL 8621c0a788422b82f15a4702f8cc8869ca08bf76bef0cf4b26c003882a4310b6960d877299ad1995b1f6c02dc177856b9745696f78d6205884772761efd666f1
diff --git a/www-apps/mediawiki/mediawiki-1.27.1.ebuild b/www-apps/mediawiki/mediawiki-1.27.1.ebuild
new file mode 100644
index 000000000000..2c2376d87fa0
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.27.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )
+ !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
+}