From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C74D615808B for ; Tue, 1 Oct 2024 08:37:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1416E29BE; Tue, 1 Oct 2024 08:37:54 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D99B6E29BE for ; Tue, 1 Oct 2024 08:37:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 22A6E3430CE for ; Tue, 1 Oct 2024 08:37:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AEC93F32 for ; Tue, 1 Oct 2024 08:37:52 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1727771862.8db76c088153f986f4d98f0af03296cb7c10c07e.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/mediawiki/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/mediawiki/Manifest www-apps/mediawiki/mediawiki-1.39.10.ebuild X-VCS-Directories: www-apps/mediawiki/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 8db76c088153f986f4d98f0af03296cb7c10c07e X-VCS-Branch: master Date: Tue, 1 Oct 2024 08:37:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 77e5ccd4-1b09-4529-822e-8e64b4026745 X-Archives-Hash: 05b271dbf5b1e38589dedc86643e934e commit: 8db76c088153f986f4d98f0af03296cb7c10c07e Author: Miroslav Šulc gentoo org> AuthorDate: Tue Oct 1 08:37:42 2024 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Tue Oct 1 08:37:42 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8db76c08 www-apps/mediawiki: bump to 1.39.10 Signed-off-by: Miroslav Šulc gentoo.org> www-apps/mediawiki/Manifest | 1 + www-apps/mediawiki/mediawiki-1.39.10.ebuild | 90 +++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest index 1861d32f7d96..8b27849c25cd 100644 --- a/www-apps/mediawiki/Manifest +++ b/www-apps/mediawiki/Manifest @@ -1,3 +1,4 @@ +DIST mediawiki-1.39.10.tar.gz 59269713 BLAKE2B b7cba0baa498a296bc0f3cba7fe2fb3d089255485fda69546a99ebcd54de855a9689864af56a0e1f0b4650a40f05962594edfc956990c8d07db3b630a43a37d8 SHA512 f1e911668dbc34f290342fa5b845825c02f2505adf336b052b71b7ad7ddc919ea42a684ec82d5639c80c5392e898ace9f02b2b97388556c5da8f611b36d40a98 DIST mediawiki-1.39.8.tar.gz 58857901 BLAKE2B 3d3bbc238b0d6fbbbc57886c0b99db728fe03ba34bfcfddd8e1ae6226683ee3cb8825b618730153ca8fb822deabd4e26cf8a6ab7769049b3a4c3bd22022a7d76 SHA512 1f5c44ef9cdd6e37c551e4c75ad59b10ce6babe019df9aba2edbd4665497a8209906cfdbaf0e34ef8c17468be19e58da24bfc9875cd654aaafd23285eedcb932 DIST mediawiki-1.41.2.tar.gz 116284183 BLAKE2B 6f3644cbcea4b4d535416a0a9ba338b0defe1c5596c88c6b05b002735079e96dabc31baa0e94c1432be279dad31ba055dc1214e57b76c2b0c6ee86ee132dddb2 SHA512 9d99e1f317822f84aade70ddd67bcee53cf79f3d85c4924b376e290ff07fada7a2f28db7c944f39f5dea86990688926be0de13619f8217e50baa15eded0728a4 DIST mediawiki-1.41.4.tar.gz 116745261 BLAKE2B 32639732635111e74de0f75af0d8e88d074bb39409dfa15b33288772f82921343fae2c57c8f1e717731d4dfb7f896702acc0ea28e2ef8eacef5e8e60ff60b151 SHA512 d6d9d1894a523cf6688c0c4cd1122a8b4fe2cfb7ece32d9c027e58c2b8998a58e1bf93d259a4fc524330eab4ce199f8fe4d9426611a6a4d567176b34b85f8c24 diff --git a/www-apps/mediawiki/mediawiki-1.39.10.ebuild b/www-apps/mediawiki/mediawiki-1.39.10.ebuild new file mode 100644 index 000000000000..4bab080ff5a5 --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.39.10.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 +}