commit: f7f7b667b022f153e4160aba2326e0172c6d2565 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> AuthorDate: Fri Oct 3 18:57:07 2025 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Fri Oct 3 18:57:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7f7b667
www-apps/mediawiki: security bump to 1.44.2, 1.43.5 & 1.39.15 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> www-apps/mediawiki/Manifest | 3 + www-apps/mediawiki/mediawiki-1.39.15.ebuild | 90 ++++++++++++++++++++++++++++ www-apps/mediawiki/mediawiki-1.43.5.ebuild | 92 +++++++++++++++++++++++++++++ www-apps/mediawiki/mediawiki-1.44.2.ebuild | 92 +++++++++++++++++++++++++++++ 4 files changed, 277 insertions(+) diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest index 9b326ab38fe8..6aa4b1cdd2b1 100644 --- a/www-apps/mediawiki/Manifest +++ b/www-apps/mediawiki/Manifest @@ -1,3 +1,6 @@ DIST mediawiki-1.39.13.tar.gz 59844264 BLAKE2B 89337facec8563625c73e5859ae89fcf4cab7b0b73e13cfdcb1857a0ab4da2f131702ad82551357552b3635de55f9875d481e25cc044c1f4d7b0f311be27a90d SHA512 797eeceff5afa40f5202881aa38e5f52446c733b46045a308e6ba8b1a49ce7749d0a2477d57a3a11addd5429e3ac77d2cfb518c464f5e86220362bfee45ffcd2 +DIST mediawiki-1.39.15.tar.gz 60138466 BLAKE2B e2d6e59abc427b4a5546f9d020db7a7b752c0238798f73ad93988a5c6268d62212dd26dbde7bcf66508c6a9dda33b31f3746497e45c3099333b40eda2cc857c5 SHA512 25b6e1794fbdd7033332244db0cd1ab3993a90e3d00c9180777bcfb188e368db2108f09b75a8cb91ec9b4f451e6ebd8052138e45ab8b07394236a6f12ca823dc DIST mediawiki-1.43.3.tar.gz 91773363 BLAKE2B a5a05751446ae4ed1540067e9e79ef28197f6ab36213fcef5672ea8073cff7be2c20bf83b65b4072904dca9fbcb0cc03faef67e010b07b8304d2525995fb817f SHA512 c257cb059829d44902e85565f963ebbfaab38ab63f9eaaa23b0ed0679ba808bb65076431394471e088c4a61909eacade471bffcbbb4db6b60c2d2683c3de2785 +DIST mediawiki-1.43.5.tar.gz 92288699 BLAKE2B b4a490ec302e8144cd822e831d3cdfd8c89cac80757eaa5635c5b88252b7d7301aa22a1c200cd3a24b14ae5304778b4f94652950cb1eef45eb71ddc82cdf492f SHA512 a1e01378c67aa869467b8e31d80dcd608da5dd9cfcb94da8c174b18a995af4026069b3667c05c95bad97f6cdd3d398a1690d433ce3ae5c951ebfcc019526304a DIST mediawiki-1.44.0.tar.gz 94130335 BLAKE2B 219973fc3ff40f22e408da73bdb6244519432bc93fc50fb2e72cf63b70a91d160b7c54ffd270d73786deefdc4e8bc6840ec32f87761b8b242f82892e95ea3756 SHA512 410e7c5816ca266763e9e5937dbd966322a71c42072e1290373cc4bf5bda51b5a86a2c2cb11db39e7d8426aac72e7d65c3c7b01cb2be0faa242435588ba26437 +DIST mediawiki-1.44.2.tar.gz 94523311 BLAKE2B 07b7aca6f20d4ad2686315cf09f3a97005288243d325121f46e5c991cfa445466b11a4f502b1aa15edc786f7ec0ac29ae227d050e3fd6c445c73ac70205b6fa6 SHA512 650e0ba162a3990e379bf32ad6a2d3a0f7f8bcfce2f97f6367c6a94f41332cc22a94929ef2dab58a0db9ba5573b17e5ba09bcebcae161320177ae6bacc0b09c4 diff --git a/www-apps/mediawiki/mediawiki-1.39.15.ebuild b/www-apps/mediawiki/mediawiki-1.39.15.ebuild new file mode 100644 index 000000000000..e499885ef339 --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.39.15.ebuild @@ -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 +} diff --git a/www-apps/mediawiki/mediawiki-1.43.5.ebuild b/www-apps/mediawiki/mediawiki-1.43.5.ebuild new file mode 100644 index 000000000000..0cd744558731 --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.43.5.ebuild @@ -0,0 +1,92 @@ +# 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 +} diff --git a/www-apps/mediawiki/mediawiki-1.44.2.ebuild b/www-apps/mediawiki/mediawiki-1.44.2.ebuild new file mode 100644 index 000000000000..0cd744558731 --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.44.2.ebuild @@ -0,0 +1,92 @@ +# 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 +}
