www-apps/mediawiki: bump to 1.39.13

Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Miroslav Šulc
2025-06-30 22:12:36 +02:00
parent a8c0ca569d
commit 4d245bf64f
2 changed files with 91 additions and 0 deletions
+1
View File
@@ -1,4 +1,5 @@
DIST mediawiki-1.39.12.tar.gz 59683778 BLAKE2B 2317a2e3a99bb5bd870e51d378569c69e07e2796bbce7290d66e9a8c87a765cb1a5ff77e18a76f62807db2ce7a80493beb6a56b456a4dafb3e963ed2ed7dad1f SHA512 ca479f858e41ff3d1832ad5c55077cc5b2a2767ac173dfc802e695c2ed6e587a4b52ce0c248964b908667fa82a3bb6f49196c4bd6ebb55ed9fb33449b1f77f24
DIST mediawiki-1.39.13.tar.gz 59844264 BLAKE2B 89337facec8563625c73e5859ae89fcf4cab7b0b73e13cfdcb1857a0ab4da2f131702ad82551357552b3635de55f9875d481e25cc044c1f4d7b0f311be27a90d SHA512 797eeceff5afa40f5202881aa38e5f52446c733b46045a308e6ba8b1a49ce7749d0a2477d57a3a11addd5429e3ac77d2cfb518c464f5e86220362bfee45ffcd2
DIST mediawiki-1.42.6.tar.gz 90292297 BLAKE2B 70bde77c32f1973787311c45fd3f84acb1dbe40470e342265e1d783cb8dbf7527ecdbb7de9fec509c4b37861bd1011aca43492f8d42a13cd7babbe48e19bed72 SHA512 e8a71052dda0c76c8707334f4ef9f30660bda8944a0b03ac9aabee61997230953508103ce27d94bb43057d0951cd7fda37923c7556691c6cdbc310ab36cd1bf9
DIST mediawiki-1.42.7.tar.gz 90513428 BLAKE2B 7692780353808b552e2aa38e7f6bc37f38d0b6b522057b2bf6e3b8a6f76b4dc84075776c310b917d7b329058797a17cd25046d42181f47c6b3cf87379f5c1f7f SHA512 701f76d687179916deca91e2616f15d385e7e6da0b710a108919dee3d601071eadbd60821479ec887e2168262213bc5aa63ad187bfc0024f3709465e230011b1
DIST mediawiki-1.43.1.tar.gz 92667428 BLAKE2B d0c066b2bd925ae0053cd1b630f28ce5ff1cd8352bc11ee1c057ce81e208bac90617c93fb86e8a3503a0e1b13f68591dafdeee6bbc28087609a9b25a51bbea5f SHA512 5d02eac493b9e0334175799bf85e9ab62f30de7c2335c6fa94d02f4dc5e732af6e1c79300f6e5071ec7d1c2e2525c22a16cabb0f682278046977574d8508e91d
@@ -0,0 +1,90 @@
# Copyright 1999-2025 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
}