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