summaryrefslogtreecommitdiff
path: root/www-apps/mediawiki
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
commite748ba9741f6540f4675c23e3e37b73e822c13a4 (patch)
tree23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /www-apps/mediawiki
parent908778078736bd36f7a60a2d576d415cb8e000fa (diff)
gentoo resync : 31.05.2021
Diffstat (limited to 'www-apps/mediawiki')
-rw-r--r--www-apps/mediawiki/Manifest2
-rw-r--r--www-apps/mediawiki/mediawiki-1.36.0.ebuild86
2 files changed, 88 insertions, 0 deletions
diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest
index 6a114165a31d..b760f7b338d7 100644
--- a/www-apps/mediawiki/Manifest
+++ b/www-apps/mediawiki/Manifest
@@ -1,5 +1,7 @@
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.35.2.tar.gz 48109666 BLAKE2B 913eac591bc33a37003ac65934128e4c2f318ff4a4e8cf0afc455c978871bd53de4b15848b82f94e6613222f28faf6c2d8573413c48aef637d05e5703a3e587d SHA512 2d2e2e0307fa0b8bc52088431301a2fd1aeacc2347a55f663267154c3639b478789c7105454204136b83d070a6cc37045ce4a072846ad2f298a63379712d2da7
+DIST mediawiki-1.36.0.tar.gz 49645867 BLAKE2B b4deba550448aed5773d825d5e5a78d03e2b91f317cd0f842f164ba7e3aac3a999e45f799abc3c909519f909b4b6cfdf6642364259cf96cf5a811a909bc2d6a0 SHA512 3429b8781102e2da21c67f3d31bfdb07af0924d579521b4f1a89ddc195e20a6f19f2fa073ddbd2093d4debd19eb595c2eb096a67a6566c3e5fa7260b6f23e3aa
EBUILD mediawiki-1.35.2.ebuild 2562 BLAKE2B 2d8d6a99b214f4d28bf1e7f250cd0dbdf2482ee6422a4ba2f0f5b656317a7909f8e7c37dc3afaedb02999f3c11e69f98fa584950a2b86c2c8b4adb134ff40cf0 SHA512 6962022476690a86a1554d994bb1c13ff382a84042e5e91c7089b0494b0c45b487cb3975413dfa2d37fef2c0d539c66c0092d432b0ca3337b20848f58118873c
+EBUILD mediawiki-1.36.0.ebuild 2570 BLAKE2B 6fab5279bef31daea0a6d0077c708cab758d34675f1ff707cdd5527e34b47449f083ee8958718fe89d98e29fc364f459c265fc8c2515aaa0f114e1567113fd81 SHA512 3addd9e6f8a4026ef14d4020f9d8b2ec7f96e4b076aaf3a8faba0a11e0b215c1454638c0a2a9c7cab6e1ad9c1fe81d5f8a7fb876afcb01db1e226506ac394e62
MISC metadata.xml 269 BLAKE2B b5fe1916a519f7f4dab2a7eafc819ccd487169cc055360ffa0376411629fa03bed0bb3a9fad9e54143ca0294edf56a4ea53569afb0cdd191ef8cba7fd6d4deb0 SHA512 399d848eb675167467ee711ad74bd73c6fccf5a31928ee86cf88ed65ee1fbfe8cb1b8b868d0a8d18a6f36d1b9449353b556e201d09ac5dccc2995b956a2c7c4c
diff --git a/www-apps/mediawiki/mediawiki-1.36.0.ebuild b/www-apps/mediawiki/mediawiki-1.36.0.ebuild
new file mode 100644
index 000000000000..b2781106013a
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.36.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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-7.3.19[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
+}