diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-01 13:45:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-01 13:45:28 +0100 |
commit | 676f73d9e2fbb9f03291bae80529ba45f541d3c8 (patch) | |
tree | 4dae0ba3eea1b25e109d944bde85f44e763c6441 /www-apps/mediawiki | |
parent | 910ec713340312b0b8437a7307c8effaa33fb410 (diff) |
gentoo auto-resync : 01:07:2023 - 13:45:28
Diffstat (limited to 'www-apps/mediawiki')
-rw-r--r-- | www-apps/mediawiki/Manifest | 6 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.39.4.ebuild (renamed from www-apps/mediawiki/mediawiki-1.38.6.ebuild) | 4 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.40.0.ebuild | 86 |
3 files changed, 92 insertions, 4 deletions
diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest index 8c85c6334b5e..91f36df5793c 100644 --- a/www-apps/mediawiki/Manifest +++ b/www-apps/mediawiki/Manifest @@ -1,7 +1,9 @@ AUX postinstall-1.18-en.txt 2611 BLAKE2B c4d110d0d7c3fc270b0dc7f134cf7de8f2ca4595692ac146c2e4cd1c3647e7399d44249059496960ae94490c5b188c986dab64d4b90901bd7fc44203493532a0 SHA512 2b6a0e00160c15466bf70189499816d18a5ea06f040ed79f2361842be93a584ea19033170dc59c1d78c590da85223a61b8d04730084e60bc7906648f2532578b AUX postupgrade-1.16-en.txt 1519 BLAKE2B 39cf00073c5d12e04dd69126c7671acb5876bcdd592526d6aca475b98f9ed7abcb6d2691cef8642be04d8041fcbdaee0555937f1480f71a82c3f367f2a3d99b6 SHA512 495a2ea3074e96e570ed83e557691786524aea878fa6ee489080245a9bb1669d93e318c3871ce44918225d0e64d09e1e644538627bfb35a4a2a12d27365dc89d -DIST mediawiki-1.38.6.tar.gz 55889352 BLAKE2B 0f3422244ae481f9855ecf1f38cf13ef5e5fc945e389c06c1a49684d6392812c0d2a9c64b8ac9a5856ec91e3880ec6b2ef3807f2ccb0927e7d74e36e93c7cf43 SHA512 b42c8253bb6d7d038a443007297693851326f0b12e1c16148e39157e5d57ce3b6e71e39eb28d981458799b548a83c052a3f01cd03bcc69180eecfe7300471bc1 DIST mediawiki-1.39.3.tar.gz 55889372 BLAKE2B b7f8e67841e64744d1b670e2bbe3dda972124c418b3325b31c385ff4021f3710c03dfe7cfea27027f7bc71b1c961a1dc359f3e9f802f6d9bdf93bc590934c37e SHA512 393ae204bd556f13b73838748ce8f41f674645348d2c72cb13e340596313327ed317b93aa72dca207129f91d11d28966c5d805fff1d8dcaffd820281bdf2b71b -EBUILD mediawiki-1.38.6.ebuild 2576 BLAKE2B 4a0093317a1eba68c4e2190b276a8ba12ad04f5b8c46671fa5fe9d3d858a2e558f182f9f4b8f3def06acda788f01a39d8eb352c6f91dd004f2d7a800f03eb256 SHA512 fb4a293ccfe8b2e27b1fae07871b18e68f3782f359f566b824e8c12f0a588758333184ea0a800dc36e9a18960e0d3ba73959eb28d39939f8f87ade1cab751a23 +DIST mediawiki-1.39.4.tar.gz 56392316 BLAKE2B 3355bcf7cddb5571b6c9c04f43d1a2e3e4d5f19b02890926194462ec0b98637351cf6707629666971c37790110508e7f3e33d1dc33e6fe3b077a820166818b8b SHA512 869b8bcf7bc94202c409ddb0e4ba52ca9611b287609c1afe5078c8b6dbdd414786461d7eea87008e48c1739199aec84de399d040119a42b4dd075d3d54839940 +DIST mediawiki-1.40.0.tar.gz 65441100 BLAKE2B 810f5bf83347e5d67a59edaeb6eee9684827504272af510783f58da8aa07050c623225acab591fe7195529068773bfa4df5db960e9e60f30bd9bc0161b1fbb85 SHA512 7db5ba96de0b1be99c36b44551816df877d2926ca90042f26d216dcd7ba2d30d45bb7b034c20ee80e8752b9e5b69755c78b2aa5e7feb4e2d3f9d3b60aa1b61b0 EBUILD mediawiki-1.39.3.ebuild 2567 BLAKE2B b192769242e08503728fe67d179f8fffa683b7b198876aaf68e397526309931f0b6aff000470006efca10e74d61b6826956dc42c547324b06a6b9d3596fa254c SHA512 ccaaf108ed039bfeca2880c2380a269fe0b46021588cc3d6326b971a004ccc8eea50ee9c068aa039ed84308f34d2f90244e15ce0e6ec8c4fc829ffc9206d9eb1 +EBUILD mediawiki-1.39.4.ebuild 2570 BLAKE2B ab1b8df85b826d392ec66b69727452ff14ed6444c2bf5e314f1653008287ec5d97b668007b002f80978d7c5df312a3d0b91780a24af2923602413171af1062a9 SHA512 04aa7a1de8e63550a670e6c9b7598417b48aaccfc00d3a0a5ba3328ad1e05870c4019a8c9944b10fa022d592b2368e773c2381ee634f8e41051fbf9c4e9c7441 +EBUILD mediawiki-1.40.0.ebuild 2570 BLAKE2B ab1b8df85b826d392ec66b69727452ff14ed6444c2bf5e314f1653008287ec5d97b668007b002f80978d7c5df312a3d0b91780a24af2923602413171af1062a9 SHA512 04aa7a1de8e63550a670e6c9b7598417b48aaccfc00d3a0a5ba3328ad1e05870c4019a8c9944b10fa022d592b2368e773c2381ee634f8e41051fbf9c4e9c7441 MISC metadata.xml 359 BLAKE2B 79703ba1428aafa7d5ab14386601405a4ec03015fe7920b9c8f9bc3e1fbaefce4345a77410acc429689f42610c7526fd501667230d4aa786c3d02b9241f3fd50 SHA512 6d35f7bd19d1af197137a66ac215e25e2e3b551f2b1be1b234fce56f09c3b62c3056810b154a332ce018597d759434c54148e93cc4d6013698bce8cf1d370561 diff --git a/www-apps/mediawiki/mediawiki-1.38.6.ebuild b/www-apps/mediawiki/mediawiki-1.39.4.ebuild index 0589d0cce9c0..8793331d96b1 100644 --- a/www-apps/mediawiki/mediawiki-1.38.6.ebuild +++ b/www-apps/mediawiki/mediawiki-1.39.4.ebuild @@ -11,11 +11,11 @@ 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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86" IUSE="imagemagick mysql postgres +sqlite" REQUIRED_USE="|| ( mysql postgres sqlite )" -RDEPEND=">=dev-lang/php-7.3.19[calendar,ctype,fileinfo,iconv,intl,json(+),postgres?,session,ssl,unicode,xml,xmlreader] +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] ) diff --git a/www-apps/mediawiki/mediawiki-1.40.0.ebuild b/www-apps/mediawiki/mediawiki-1.40.0.ebuild new file mode 100644 index 000000000000..8793331d96b1 --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.40.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2023 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 -fr "${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 -rf ${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 + 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 +} |