mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
www-apps/mediawiki: dropped obsolete 1.44.0
Bug: https://bugs.gentoo.org/966128 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
parent
b3e256dc73
commit
e2f5bdf3ea
@ -1,4 +1,3 @@
|
||||
DIST mediawiki-1.39.15.tar.gz 60138466 BLAKE2B e2d6e59abc427b4a5546f9d020db7a7b752c0238798f73ad93988a5c6268d62212dd26dbde7bcf66508c6a9dda33b31f3746497e45c3099333b40eda2cc857c5 SHA512 25b6e1794fbdd7033332244db0cd1ab3993a90e3d00c9180777bcfb188e368db2108f09b75a8cb91ec9b4f451e6ebd8052138e45ab8b07394236a6f12ca823dc
|
||||
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
|
||||
|
||||
@ -1,92 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user