1 |
commit: 39944a453956ca555be520b37119e2d46d2a1270 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 3 10:53:24 2022 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 3 10:53:38 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39944a45 |
7 |
|
8 |
www-apps/mediawiki: dropped 1.36.4 - 1.36 is eol |
9 |
|
10 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
11 |
|
12 |
www-apps/mediawiki/Manifest | 1 - |
13 |
www-apps/mediawiki/mediawiki-1.36.4.ebuild | 86 ------------------------------ |
14 |
2 files changed, 87 deletions(-) |
15 |
|
16 |
diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest |
17 |
index 3b3eeafd00ca..ce7662e8769d 100644 |
18 |
--- a/www-apps/mediawiki/Manifest |
19 |
+++ b/www-apps/mediawiki/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST mediawiki-1.36.4.tar.gz 50642912 BLAKE2B da3a92d55d78f68be3e07d6d8442ff866ab4b839b7f8346737978c5d45686e325cb53f9217a3821f367e07fb67ab75659be87668107f7eeb14836316205afeda SHA512 428ea890a0dc39e0dc98706563abc761849375ad510f758e2541f40164254f5fdec85168e356aa7d55a16dc9e33f930fae9ee43b8b5a30cdc3f6dadb1dfe91b7 |
22 |
DIST mediawiki-1.37.2.tar.gz 51239351 BLAKE2B 01bebdba62e60d910ff046d39d4bc3a9c62fd71818bf766ed47332d843c54309e0e68d2948b1381a395c6e2fbd6c8e96cf04376e7108ea39445cc619cad21856 SHA512 a92cbdf7fd60e91d5690919c3ab301a32b4c9cb5681ba8b6ba74d21d22947aa2da894b1e4f3294684e40cfeb47a529bf1cb253692baa4f9251d47d7c98015844 |
23 |
|
24 |
diff --git a/www-apps/mediawiki/mediawiki-1.36.4.ebuild b/www-apps/mediawiki/mediawiki-1.36.4.ebuild |
25 |
deleted file mode 100644 |
26 |
index 6d430cdf861e..000000000000 |
27 |
--- a/www-apps/mediawiki/mediawiki-1.36.4.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,86 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
-inherit webapp |
35 |
- |
36 |
-MY_BRANCH=$(ver_cut 1-2) |
37 |
- |
38 |
-DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)" |
39 |
-HOMEPAGE="http://www.mediawiki.org" |
40 |
-SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="GPL-2" |
43 |
-KEYWORDS="~alpha amd64 ~arm ~arm64 ppc x86" |
44 |
-IUSE="imagemagick mysql postgres +sqlite" |
45 |
-REQUIRED_USE="|| ( mysql postgres sqlite )" |
46 |
- |
47 |
-RDEPEND=">=dev-lang/php-7.3.19[ctype,fileinfo,iconv,intl,json(+),postgres?,session,ssl,unicode,xml,xmlreader] |
48 |
- imagemagick? ( virtual/imagemagick-tools ) |
49 |
- !imagemagick? ( dev-lang/php[gd] ) |
50 |
- mysql? ( dev-lang/php[mysql,mysqli] ) |
51 |
- sqlite? ( |
52 |
- dev-db/sqlite[fts3(+)] |
53 |
- dev-lang/php[pdo,sqlite] |
54 |
- ) |
55 |
- virtual/httpd-php" |
56 |
- |
57 |
-need_httpd_cgi |
58 |
- |
59 |
-RESTRICT="test" |
60 |
- |
61 |
-src_unpack() { |
62 |
- default |
63 |
- |
64 |
- # remove lua binaries (bug #631554) |
65 |
- rm -fr "${S}"/extensions/Scribunto/includes/engines/LuaStandalone/binaries || die "Failed to remove lua binaries" |
66 |
-} |
67 |
- |
68 |
-src_install() { |
69 |
- webapp_src_preinst |
70 |
- |
71 |
- # First we install docs and then copy everything left into htdocs dir |
72 |
- # to avoid bugs like #236411. |
73 |
- |
74 |
- # We ensure the directories are prepared for writing. The post- |
75 |
- # install instructions guide the user to enable the feature. |
76 |
- local DOCS="FAQ HISTORY INSTALL README.md RELEASE-NOTES-${PV:0:4} UPGRADE" |
77 |
- dodoc ${DOCS} docs/*.txt |
78 |
- docinto databases |
79 |
- dodoc docs/databases/* |
80 |
- # Clean everything not used at the site... |
81 |
- rm -rf ${DOCS} COPYING tests docs || die |
82 |
- find . -name Makefile -delete || die |
83 |
- # and install |
84 |
- insinto "${MY_HTDOCSDIR}" |
85 |
- doins -r . |
86 |
- |
87 |
- # If imagemagick is enabled then setup for image upload. |
88 |
- # We ensure the directory is prepared for writing. |
89 |
- if use imagemagick ; then |
90 |
- webapp_serverowned "${MY_HTDOCSDIR}"/images |
91 |
- fi |
92 |
- |
93 |
- webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt" |
94 |
- webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt" |
95 |
- webapp_src_install |
96 |
-} |
97 |
- |
98 |
-pkg_postinst() { |
99 |
- webapp_pkg_postinst |
100 |
- |
101 |
- if [[ -n ${REPLACING_VERSIONS} ]]; then |
102 |
- echo |
103 |
- elog "=== Consult the release notes ===" |
104 |
- elog "Before doing anything, stop and consult the release notes" |
105 |
- elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2" |
106 |
- echo |
107 |
- elog "These detail bug fixes, new features and functionality, and any" |
108 |
- elog "particular points that may need to be noted during the upgrade procedure." |
109 |
- echo |
110 |
- ewarn "Back up existing files and the database before upgrade." |
111 |
- ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki" |
112 |
- ewarn "provides an overview of the backup process." |
113 |
- echo |
114 |
- fi |
115 |
-} |