1 |
commit: 8773d06fa788fcfa6f0f4210c17f98351ff37007 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 2 07:31:46 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 2 07:31:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8773d06f |
7 |
|
8 |
www-apps/mediawiki: removed vulnerable 1.36.1 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/815376 |
11 |
Package-Manager: Portage-3.0.26, 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.36.1.ebuild | 86 ------------------------------ |
16 |
2 files changed, 87 deletions(-) |
17 |
|
18 |
diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest |
19 |
index 346b3b8eb20..728aac381c3 100644 |
20 |
--- a/www-apps/mediawiki/Manifest |
21 |
+++ b/www-apps/mediawiki/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST mediawiki-1.36.1.tar.gz 49645517 BLAKE2B 48325d3155721571a7df7b295d4df342b4d2ad59c14e995c79205c3eb71530a80172ff595bb15ba1d90f90841197099fd6cb8da0f42f82549971b9d3a4d7ec1a SHA512 1b84c0ac2160e2a04e7b8da2ffa2bbbda32e6306ca30f6794e4298ac8085ddee4cc2d755394e49af3a00eac393d8e79fdff284b665fba33629fbd1af1f8413d1 |
24 |
DIST mediawiki-1.36.2.tar.gz 49653546 BLAKE2B 3b5a286848973a5f7f1794e834e056ac3d49f61df7c524d8e67bc559b39cfd8c69bc4dcd31a9e6ea3ec6a004ba6331846d32e9b941041bf70d73b8c7c323378e SHA512 e4f18425dad547c547cac4926d5bcb2f996fcedc5df84b1a55773954c9c98ea0db075e65d5352ae92e2040b5154393c0dfb4d25e48a44272233008b61d29df78 |
25 |
|
26 |
diff --git a/www-apps/mediawiki/mediawiki-1.36.1.ebuild b/www-apps/mediawiki/mediawiki-1.36.1.ebuild |
27 |
deleted file mode 100644 |
28 |
index 14b37df2d8f..00000000000 |
29 |
--- a/www-apps/mediawiki/mediawiki-1.36.1.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,intl,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 |
-} |