mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
www-apps/mediawiki: security bump to 1.43.12, 1.45.7 & 1.46.3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
DIST mediawiki-1.43.11.tar.gz 93414748 BLAKE2B 9600fe6956d4b2d11ae5feb33c3550f9d23452286408442dd3826190979db15e214ceefba9ac22ebbc1ec9f652ee007dbfb61af730652c6ea9fb56a61f33a704 SHA512 d60a9920d744cc8f2d0e62b47449e1438d08611fa40e4221d77712c6365e4e83e9e54228a4959c6f5b6d7b1e3f9c45a9e8b473b1d6e340b0e24ee72a12380e52
|
||||
DIST mediawiki-1.43.12.tar.gz 93545531 BLAKE2B f89966999a78455ad5412a0425f6333753e1eea740c4c456c0bd2bdf0bd3e4c12ff8a4e0718d59e4d1f645303a832dbf065a781a9719cb448d89638e0bd67496 SHA512 be25a8e874a5af0b88d2d94331e17cdf3ed7ccb91566dfc2133a118c094d778d73e94ce555570b59a2cde632c4606b883f4c8b23e18e420c02c36b2f87802b3d
|
||||
DIST mediawiki-1.45.6.tar.gz 83223051 BLAKE2B 7bdffd3948fd8b29494f96a98e9bb274ddf8b5a5e4592c2d862f557d0656ee009a50f06270f4b5aa5eb962c50e31f839048ce642bd2a9093d184c2b1de62d31a SHA512 df2e8113d2cd43d3c19fee367ed9f006eeb8f576e7a65d84963fafd83f0ebfdc80da3445933ef32e66c9785ace7b8c18fc1987a9021afe755456f67246894720
|
||||
DIST mediawiki-1.45.7.tar.gz 83401838 BLAKE2B fced6fe9d1759795d8cd50bd4fdf86d781da0faf79df0c894d2c910e5051ca2f3b8456d2166304ef49630a6f2a7a7c64f7a30448bb978def19a8254516d4415d SHA512 df4f8a8ae51de536e794f4e3a383ea4b554692ad3143a11c833f54fb4da89d29ee9bd0544228e34c2db778d97c27259730ea4e3922a46034b3dfbfd0febaba44
|
||||
DIST mediawiki-1.46.2.tar.gz 99029682 BLAKE2B 0d01d7004b6b78e123a9fff173f2846b12da61ad14c01cefa855f2170f4f18692b8b55098a15e3c101453df30d997a98d3f6ac9e917fba2e1d5ae757c1ab7c28 SHA512 05a12ed7059a2764e4a746aae88608147d045314784a9a445a72ad856ada85c4dd1a8f70c8d2154a73d01b0143b3b3e4a434452cb84534682b80ac432312b921
|
||||
DIST mediawiki-1.46.3.tar.gz 99371155 BLAKE2B 6db9cd25bc7d2fe2a89adc79c197558144137775f201f0c554129123992d00cb85eebc5f7a06f484996980a428f1b429c1c7a67075c603f5a608e8545659421c SHA512 d7e40220bacc56c9aac919080f32513f83ab4876db7cd515aa1f81c4959cb8387bda82d903886ffb38e358f1a21a235747529dfc509bc78fb4ffe0487f07fb3b
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2026 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 selinux +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] )
|
||||
selinux? ( sec-policy/selinux-mediawiki )
|
||||
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
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2026 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 selinux +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] )
|
||||
selinux? ( sec-policy/selinux-mediawiki )
|
||||
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
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2026 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 selinux +sqlite"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
RDEPEND=">=dev-lang/php-8.3[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] )
|
||||
selinux? ( sec-policy/selinux-mediawiki )
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user