summaryrefslogtreecommitdiff
path: root/www-apps/mediawiki
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/mediawiki')
-rw-r--r--www-apps/mediawiki/Manifest6
-rw-r--r--www-apps/mediawiki/mediawiki-1.39.11.ebuild90
-rw-r--r--www-apps/mediawiki/mediawiki-1.42.4.ebuild (renamed from www-apps/mediawiki/mediawiki-1.41.4.ebuild)2
3 files changed, 95 insertions, 3 deletions
diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest
index 6502c8acae3e..9fd07822a8f0 100644
--- a/www-apps/mediawiki/Manifest
+++ b/www-apps/mediawiki/Manifest
@@ -1,9 +1,11 @@
AUX postinstall-1.18-en.txt 2611 BLAKE2B c4d110d0d7c3fc270b0dc7f134cf7de8f2ca4595692ac146c2e4cd1c3647e7399d44249059496960ae94490c5b188c986dab64d4b90901bd7fc44203493532a0 SHA512 2b6a0e00160c15466bf70189499816d18a5ea06f040ed79f2361842be93a584ea19033170dc59c1d78c590da85223a61b8d04730084e60bc7906648f2532578b
AUX postupgrade-1.16-en.txt 1519 BLAKE2B 39cf00073c5d12e04dd69126c7671acb5876bcdd592526d6aca475b98f9ed7abcb6d2691cef8642be04d8041fcbdaee0555937f1480f71a82c3f367f2a3d99b6 SHA512 495a2ea3074e96e570ed83e557691786524aea878fa6ee489080245a9bb1669d93e318c3871ce44918225d0e64d09e1e644538627bfb35a4a2a12d27365dc89d
DIST mediawiki-1.39.10.tar.gz 59269713 BLAKE2B b7cba0baa498a296bc0f3cba7fe2fb3d089255485fda69546a99ebcd54de855a9689864af56a0e1f0b4650a40f05962594edfc956990c8d07db3b630a43a37d8 SHA512 f1e911668dbc34f290342fa5b845825c02f2505adf336b052b71b7ad7ddc919ea42a684ec82d5639c80c5392e898ace9f02b2b97388556c5da8f611b36d40a98
-DIST mediawiki-1.41.4.tar.gz 116745261 BLAKE2B 32639732635111e74de0f75af0d8e88d074bb39409dfa15b33288772f82921343fae2c57c8f1e717731d4dfb7f896702acc0ea28e2ef8eacef5e8e60ff60b151 SHA512 d6d9d1894a523cf6688c0c4cd1122a8b4fe2cfb7ece32d9c027e58c2b8998a58e1bf93d259a4fc524330eab4ce199f8fe4d9426611a6a4d567176b34b85f8c24
+DIST mediawiki-1.39.11.tar.gz 59426081 BLAKE2B e18245600cbdfe8b480b5c3baa369daa4e037b00d9d6be8c0272171482fdaa5135d65d93415c6527e2d56b4d25bd0f3f5599bc04c1810b49b2fd7638a51e4016 SHA512 def8271001abe677875b5bf7488d977f8d6af069fac1ba825f5783faca92523956f4fa29c3f372557f36c3d1a279ee05b2b9681760fc2791fcc12e466f697072
DIST mediawiki-1.42.3.tar.gz 89632118 BLAKE2B c66fd061e36866d2dda5b5a6866bb48ba322c46ba8d12b02b2fd02549a0e95b2371fd0b91bd58351f2eb8445ae292a126361b9d135acd06bba5f4728ebaedae9 SHA512 3d8e65cf58df61ab9d9d4e90751d795c22215a91ae670687480a274a036cf124fa0bfb9487c50ca8c4a16f78e74976509f94537533321769853e583a2dbfeae2
+DIST mediawiki-1.42.4.tar.gz 89981117 BLAKE2B 99f07a99be16439c5067c585ce0ee53ec4cef7976757cb2cbe17a8db98f7b60e7e3e8542456d9d0a8fe5d3f0af6947ac7261876930d2e7e87a1b9f5146d5c1e6 SHA512 d2b6f5226a7caebb8bd4788796bf380d635e942b3a3c2e8321007ed5839c63fb72eb2d9a3ac3cd6bb37a844dce95c86c37a11b16d93fc58229008f34670f6443
EBUILD mediawiki-1.39.10.ebuild 2786 BLAKE2B a5defdca5a327b1ec4b9c7b151bfd57efd2f240e0e3cb682a48259bace6c09ea5a371ec204f925920002ed645bbb95343c49c88575ecaafc88504be2877459eb SHA512 dd13685be9be9963f46b9de541a492249d4c8e1d3ff5827eb2302d3d297a48386c113f6c847ca2407b58c6c07ab40f94142dcf32581ba3521b1af62752e8220c
-EBUILD mediawiki-1.41.4.ebuild 2788 BLAKE2B 071750f6a4cd0e9c4b547cced13d21792060a20056cad524c42d28b1f2765b14c9fb4af3e03e0cdc85ae308c2d4a6d31d2fd3dd91cf6e456800d78a796dcb838 SHA512 13097cde4dd9adfd9cce84a6a8c10408d5e1d07c0b2e65f990d134f4fbecf0709ba8d851199ea9dece1a4d8ac07ff42317e9affb9365ee4ba06760350dced855
+EBUILD mediawiki-1.39.11.ebuild 2789 BLAKE2B e00c96e2d22f8b21d5a073dd77185c182bc12d064640ad9574bd561130f1da16b7b7ce013d1285b01901688e95267877c718249e29ac515d2ffc46d10bddb051 SHA512 ccafb8966dbc4431144e9b21a719128d406ce1a1515bf0c516a44143a14d3c9183b93e8c972d03911e6d9d24709dc1abc642e3a7de621ef4ba05ef8a585ad035
EBUILD mediawiki-1.42.3.ebuild 2788 BLAKE2B 071750f6a4cd0e9c4b547cced13d21792060a20056cad524c42d28b1f2765b14c9fb4af3e03e0cdc85ae308c2d4a6d31d2fd3dd91cf6e456800d78a796dcb838 SHA512 13097cde4dd9adfd9cce84a6a8c10408d5e1d07c0b2e65f990d134f4fbecf0709ba8d851199ea9dece1a4d8ac07ff42317e9affb9365ee4ba06760350dced855
+EBUILD mediawiki-1.42.4.ebuild 2791 BLAKE2B 8138df622f56dc3e0c151665776bf36daca7e1180e48df0d44832396df7586a401537937362145b58fbdcaecd857fc4cbec7fe39f05928505442427a1dd61f0b SHA512 50bf5f258f544bf8288c26a3b339e97b7b891c88cb5133beea79f76fc41cc1e0e19537f3a98ce81510d503e912b594c7e5dac13bcb569690141b7d89b37ddec5
MISC metadata.xml 359 BLAKE2B 79703ba1428aafa7d5ab14386601405a4ec03015fe7920b9c8f9bc3e1fbaefce4345a77410acc429689f42610c7526fd501667230d4aa786c3d02b9241f3fd50 SHA512 6d35f7bd19d1af197137a66ac215e25e2e3b551f2b1be1b234fce56f09c3b62c3056810b154a332ce018597d759434c54148e93cc4d6013698bce8cf1d370561
diff --git a/www-apps/mediawiki/mediawiki-1.39.11.ebuild b/www-apps/mediawiki/mediawiki-1.39.11.ebuild
new file mode 100644
index 000000000000..4bab080ff5a5
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.39.11.ebuild
@@ -0,0 +1,90 @@
+# 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
+}
diff --git a/www-apps/mediawiki/mediawiki-1.41.4.ebuild b/www-apps/mediawiki/mediawiki-1.42.4.ebuild
index 3fb4f2d19a77..097b61eead1e 100644
--- a/www-apps/mediawiki/mediawiki-1.41.4.ebuild
+++ b/www-apps/mediawiki/mediawiki-1.42.4.ebuild
@@ -11,7 +11,7 @@ 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"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86"
IUSE="imagemagick mysql postgres +sqlite"
REQUIRED_USE="|| ( mysql postgres sqlite )"