Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/mediawiki/
Date: Wed, 28 Jun 2017 11:47:19
Message-Id: 1498650430.23de4eadd54c693a3b04d4259dfec87fde0b5ae9.whissi@gentoo
1 commit: 23de4eadd54c693a3b04d4259dfec87fde0b5ae9
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 28 11:46:58 2017 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 28 11:47:10 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23de4ead
7
8 www-apps/mediawiki: Security cleanup (bug #614906)
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 www-apps/mediawiki/Manifest | 1 -
13 www-apps/mediawiki/mediawiki-1.27.1-r1.ebuild | 79 ---------------------------
14 2 files changed, 80 deletions(-)
15
16 diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest
17 index 8bfcd01964e..565f3b69967 100644
18 --- a/www-apps/mediawiki/Manifest
19 +++ b/www-apps/mediawiki/Manifest
20 @@ -1,2 +1 @@
21 -DIST mediawiki-1.27.1.tar.gz 31504507 SHA256 08a676c392625cf3c5730a6c1b9390ab1e11dcc17cfd0ff97a2ae3917ef5a36a SHA512 0bf3df06af8251729e9c01106a3eea7bdb4b6f27388501c627cb714cbff722f408ade725d7223ab69e79e036cf2a09b1f9a0659f45898508347638b50d440cda WHIRLPOOL 8621c0a788422b82f15a4702f8cc8869ca08bf76bef0cf4b26c003882a4310b6960d877299ad1995b1f6c02dc177856b9745696f78d6205884772761efd666f1
22 DIST mediawiki-1.27.3.tar.gz 31509270 SHA256 11d470582b52a471b4e99735b36a44b230681847a97ef032c2fc050fd8aea823 SHA512 bc6228342b589a3acb0f5623b9ef45982d7aab032ff322aaf7bda7ac3ee16a7732b8013698d8f509da4310bbb65c12a73b7bbe4612d5e0e3d93965199efdc8eb WHIRLPOOL 23fd4432a52c454a8354fcd325d9081b888f14f199020e43798eaa3cb904c8b7fff70e5c38ee77fcf982d755deeaea2071cfcb2133b1b88a92a7afdab56577a9
23
24 diff --git a/www-apps/mediawiki/mediawiki-1.27.1-r1.ebuild b/www-apps/mediawiki/mediawiki-1.27.1-r1.ebuild
25 deleted file mode 100644
26 index ce9c6e247e9..00000000000
27 --- a/www-apps/mediawiki/mediawiki-1.27.1-r1.ebuild
28 +++ /dev/null
29 @@ -1,79 +0,0 @@
30 -# Copyright 1999-2017 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=5
34 -inherit webapp versionator
35 -
36 -MY_BRANCH=$(get_version_component_range 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 -
46 -RDEPEND=">=dev-lang/php-5.5.9[json,mysql?,postgres?,session,xml,xmlreader]
47 - imagemagick? ( virtual/imagemagick-tools )
48 - !imagemagick? ( dev-lang/php[gd] )
49 - sqlite? (
50 - dev-db/sqlite:3[fts3(+)]
51 - >=dev-lang/php-5.5.9[pdo]
52 - || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] )
53 - )
54 - virtual/httpd-php"
55 -
56 -need_httpd_cgi
57 -
58 -RESTRICT="test"
59 -
60 -src_install() {
61 - webapp_src_preinst
62 -
63 - # First we install docs and then copy everything left into htdocs dir
64 - # to avoid bugs like #236411.
65 -
66 - # We ensure the directories are prepared for writing. The post-
67 - # install instructions guide the user to enable the feature.
68 - local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE"
69 - dodoc ${DOCS} docs/*.txt
70 - docinto php-memcached
71 - dodoc docs/php-memcached/*
72 -
73 - # Clean everything not used at the site...
74 - rm -rf ${DOCS} COPYING tests docs || die
75 - find . -name Makefile -delete || die
76 - # and install
77 - insinto "${MY_HTDOCSDIR}"
78 - doins -r .
79 -
80 - # If imagemagick is enabled then setup for image upload.
81 - # We ensure the directory is prepared for writing.
82 - if use imagemagick ; then
83 - webapp_serverowned "${MY_HTDOCSDIR}"/images
84 - fi
85 -
86 - webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt"
87 - webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
88 - webapp_src_install
89 -}
90 -
91 -pkg_postinst() {
92 - webapp_pkg_postinst
93 -
94 - if [[ -n ${REPLACING_VERSIONS} ]]; then
95 - echo
96 - elog "=== Consult the release notes ==="
97 - elog "Before doing anything, stop and consult the release notes"
98 - elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2"
99 - echo
100 - elog "These detail bug fixes, new features and functionality, and any"
101 - elog "particular points that may need to be noted during the upgrade procedure."
102 - echo
103 - ewarn "Back up existing files and the database before upgrade."
104 - ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
105 - ewarn "provides an overview of the backup process."
106 - echo
107 - fi
108 -}