summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-10-01 10:35:48 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-10-01 10:35:48 +0200
commit98f6b438d30a49cd29a4f14d9e19773709bc094b (patch)
tree09c7245a04c07639ee7cc4ac47e7c763c417c716
parentwww-apps/mediawiki: bump to 1.42.3 (diff)
downloadgentoo-98f6b438d30a49cd29a4f14d9e19773709bc094b.tar.gz
gentoo-98f6b438d30a49cd29a4f14d9e19773709bc094b.tar.bz2
gentoo-98f6b438d30a49cd29a4f14d9e19773709bc094b.zip
www-apps/mediawiki: bump to 1.41.4
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--www-apps/mediawiki/Manifest1
-rw-r--r--www-apps/mediawiki/mediawiki-1.41.4.ebuild92
2 files changed, 93 insertions, 0 deletions
diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest
index d13f7e76fa5a..1861d32f7d96 100644
--- a/www-apps/mediawiki/Manifest
+++ b/www-apps/mediawiki/Manifest
@@ -1,4 +1,5 @@
DIST mediawiki-1.39.8.tar.gz 58857901 BLAKE2B 3d3bbc238b0d6fbbbc57886c0b99db728fe03ba34bfcfddd8e1ae6226683ee3cb8825b618730153ca8fb822deabd4e26cf8a6ab7769049b3a4c3bd22022a7d76 SHA512 1f5c44ef9cdd6e37c551e4c75ad59b10ce6babe019df9aba2edbd4665497a8209906cfdbaf0e34ef8c17468be19e58da24bfc9875cd654aaafd23285eedcb932
DIST mediawiki-1.41.2.tar.gz 116284183 BLAKE2B 6f3644cbcea4b4d535416a0a9ba338b0defe1c5596c88c6b05b002735079e96dabc31baa0e94c1432be279dad31ba055dc1214e57b76c2b0c6ee86ee132dddb2 SHA512 9d99e1f317822f84aade70ddd67bcee53cf79f3d85c4924b376e290ff07fada7a2f28db7c944f39f5dea86990688926be0de13619f8217e50baa15eded0728a4
+DIST mediawiki-1.41.4.tar.gz 116745261 BLAKE2B 32639732635111e74de0f75af0d8e88d074bb39409dfa15b33288772f82921343fae2c57c8f1e717731d4dfb7f896702acc0ea28e2ef8eacef5e8e60ff60b151 SHA512 d6d9d1894a523cf6688c0c4cd1122a8b4fe2cfb7ece32d9c027e58c2b8998a58e1bf93d259a4fc524330eab4ce199f8fe4d9426611a6a4d567176b34b85f8c24
DIST mediawiki-1.42.1.tar.gz 89149379 BLAKE2B 694b73fce98c70ba073dfcf4ccaa71caa1946b024bd35ecdce6e5804bd35ceca19f5d2c60965757ccecf1cc7b6e07583551220f49e752942e016449fae316050 SHA512 867472d0f1d462f1bcc7f52aa92ee161ddd100fbe70c7ab7dea6e01209ff81fa51990d53a0e07c34da8601af5994bdace784549bd843bedb34615609055bf73b
DIST mediawiki-1.42.3.tar.gz 89632118 BLAKE2B c66fd061e36866d2dda5b5a6866bb48ba322c46ba8d12b02b2fd02549a0e95b2371fd0b91bd58351f2eb8445ae292a126361b9d135acd06bba5f4728ebaedae9 SHA512 3d8e65cf58df61ab9d9d4e90751d795c22215a91ae670687480a274a036cf124fa0bfb9487c50ca8c4a16f78e74976509f94537533321769853e583a2dbfeae2
diff --git a/www-apps/mediawiki/mediawiki-1.41.4.ebuild b/www-apps/mediawiki/mediawiki-1.41.4.ebuild
new file mode 100644
index 000000000000..097b61eead1e
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.41.4.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit webapp
+
+MY_BRANCH=$(ver_cut 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"
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+RDEPEND="dev-lang/php[calendar,ctype,fileinfo,iconv,intl,json(+),postgres?,session,ssl,unicode,xml,xmlreader]
+ imagemagick? ( virtual/imagemagick-tools )
+ !imagemagick? ( dev-lang/php[gd] )
+ mysql? ( dev-lang/php[mysql,mysqli] )
+ sqlite? (
+ dev-db/sqlite[fts3(+)]
+ dev-lang/php[pdo,sqlite]
+ )
+ virtual/httpd-php"
+
+need_httpd_cgi
+
+RESTRICT="test"
+
+src_unpack() {
+ default
+
+ # remove lua binaries (bug #631554)
+ rm -r "${S}"/extensions/Scribunto/includes/Engines/LuaStandalone/binaries || die "Failed to remove Lua binaries"
+}
+
+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.md RELEASE-NOTES-${PV:0:4} UPGRADE"
+ dodoc ${DOCS} docs/*.txt
+ docinto databases
+ dodoc docs/databases/*
+
+ # Clean everything not used at the site...
+ rm -r ${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
+ elog "If you plan to use the Scribunto extension with Lua, make sure to configure"
+ elog "path to Lua executable using this documentation:"
+ elog "https://www.mediawiki.org/wiki/Extension:Scribunto#Lua_binary"
+ 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
+}