diff options
Diffstat (limited to 'www-apps/mediawiki')
-rw-r--r-- | www-apps/mediawiki/Manifest | 4 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.34.0.ebuild | 2 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.34.1.ebuild | 79 |
3 files changed, 83 insertions, 2 deletions
diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest index 3bea8a794844..5f47afd6d22e 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.34.0.tar.gz 40344724 BLAKE2B 899620db50337aeb6189dbf33ba54e06aae68923c43022f6590e46380907e884d9ab606b69cef5087e1b2f273a2fa962883f4e6524682db28b4be350f8d77410 SHA512 b6b1aeec26a1c114eeec0bdf18d4b3160fe02dac2920a39a045acb74e62aa8f8a28e6a81c01fedba7976e4dd0c96463e0f1badfddd3015eef9197b01586a236d -EBUILD mediawiki-1.34.0.ebuild 2360 BLAKE2B 17b4411c0ba994d1b9864a69d540478ac9e9cf77810aa0a484afd6288d66cceb37a100cef3e79fd1e47be7c3fcec9ec852b5042db40ded8e68c7c253a0fcb2bd SHA512 a6074fb4648e15e108a94ed4ba4000ee8056dd9bbd8fb6e7f1c27aa25e2cae0b4bbf6c82eb8b1a23dccf52d96da10cddf9bcacb5c86a3e137788b039647a9748 +DIST mediawiki-1.34.1.tar.gz 40346153 BLAKE2B 394c23e7d507aef6e47971e265b70826046e954b7f694f32a94d7c5358775e0ee8a17188de1f395fbb19457267650eaffd3586c0f73df8cfad721560d563cbfd SHA512 3a03ac696e2d5300faba0819ba0d876a21798c8dcdc64cc2792c6db0aa81d4feaced8dc133b6ca3e476c770bf51516b0a624cb336784ae3d2b51c8c0aa5987a0 +EBUILD mediawiki-1.34.0.ebuild 2331 BLAKE2B 402a0948b5e00fc8be08109a0156a1c2e6a0b75443f394de2f9f00d6f4b380d8d4c8c02111a03fe3055ed525bef630ba94145e0712d1b4ab5178e999cb41f675 SHA512 738f6c00380ef79f38b8ff07eecabda9a89c76a30e78c460f208d76773be1f8e9e51c327471eff17bfd221ffadddbe4100c26340bc875efb4c3060c621d7b411 +EBUILD mediawiki-1.34.1.ebuild 2315 BLAKE2B 1a7420b1f2fa0e3be3b9e256cd83d8947bc802bbe6cb5499de504b5e3c11974d64274483a6f14a7df154564629af1be318b5d9e66d403f6498056d409f47bfc6 SHA512 012694d132f48d9be9fd66405d79fa7e28ce4a19c8c02fffa01f664e97949f3edb482eea2eb8f6e94ec92255a3ce89d63ae9cf2fbfb13b34c9a3d5551f9147f9 MISC metadata.xml 246 BLAKE2B 6bdcea4d16a06756a1ab24fb076af6d88134c134f9239e658b7e5facb8cf6ed2f30d98938fd92bc8a3690e54273fd7f72420ccab04e7a6f7319e257a9f9ed618 SHA512 1181711d3b020b2ca7beae0a539a9b7f1abe70962cd8561900e5f06e14c9c871c61ca6088fb674de19ef3b844a1b3c29cf0f84f638b2d0cb7c030f60cd1d42ed diff --git a/www-apps/mediawiki/mediawiki-1.34.0.ebuild b/www-apps/mediawiki/mediawiki-1.34.0.ebuild index 7b3c6904caee..cb3c0f49ef7e 100644 --- a/www-apps/mediawiki/mediawiki-1.34.0.ebuild +++ b/www-apps/mediawiki/mediawiki-1.34.0.ebuild @@ -20,7 +20,7 @@ RDEPEND=">=dev-lang/php-7.2.9[ctype,fileinfo,iconv,json,mysql?,postgres?,session sqlite? ( dev-db/sqlite[fts3(+)] >=dev-lang/php-7.2.9[pdo] - || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] ) + dev-lang/php[sqlite] ) virtual/httpd-php" diff --git a/www-apps/mediawiki/mediawiki-1.34.1.ebuild b/www-apps/mediawiki/mediawiki-1.34.1.ebuild new file mode 100644 index 000000000000..550d710e49b3 --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.34.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2020 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" + +RDEPEND="dev-lang/php[ctype,fileinfo,iconv,json,mysql?,postgres?,session,ssl,unicode,xml,xmlreader] + imagemagick? ( virtual/imagemagick-tools ) + !imagemagick? ( dev-lang/php[gd] ) + sqlite? ( + dev-db/sqlite[fts3(+)] + dev-lang/php[pdo] + dev-lang/php[sqlite] + ) + virtual/httpd-php" + +need_httpd_cgi + +RESTRICT="test" + +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 RELEASE-NOTES-${PV:0:4} UPGRADE" + dodoc ${DOCS} docs/*.txt + docinto php-memcached + dodoc docs/php-memcached/* + + # 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 +} |