summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-02-02 08:33:01 +0000
committerTim Harder <radhermit@gentoo.org>2011-02-02 08:33:01 +0000
commit0e3e096dc327cb6a610307914cb8a1200928a992 (patch)
treec7eabef063a1ae0201616eae2af35ce839c4546c /www-apps/mediawiki
parentVersion bump (diff)
downloadhistorical-0e3e096dc327cb6a610307914cb8a1200928a992.tar.gz
historical-0e3e096dc327cb6a610307914cb8a1200928a992.tar.bz2
historical-0e3e096dc327cb6a610307914cb8a1200928a992.zip
Version bump for security bug #353475.
Package-Manager: portage-2.2.0_alpha19/cvs/Linux x86_64
Diffstat (limited to 'www-apps/mediawiki')
-rw-r--r--www-apps/mediawiki/ChangeLog7
-rw-r--r--www-apps/mediawiki/Manifest18
-rw-r--r--www-apps/mediawiki/mediawiki-1.16.2.ebuild127
3 files changed, 150 insertions, 2 deletions
diff --git a/www-apps/mediawiki/ChangeLog b/www-apps/mediawiki/ChangeLog
index da925e10b0cf..1e8aaeec7599 100644
--- a/www-apps/mediawiki/ChangeLog
+++ b/www-apps/mediawiki/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/mediawiki
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.149 2011/01/09 14:01:22 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.150 2011/02/02 08:33:01 radhermit Exp $
+
+*mediawiki-1.16.2 (02 Feb 2011)
+
+ 02 Feb 2011; Tim Harder <radhermit@gentoo.org> +mediawiki-1.16.2.ebuild:
+ Version bump for security bug #353475.
09 Jan 2011; Brent Baude <ranger@gentoo.org> mediawiki-1.16.1.ebuild:
Marking mediawiki-1.16.1 ppc for bug 350917
diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest
index 4d91c8dae3b4..86d579c01d57 100644
--- a/www-apps/mediawiki/Manifest
+++ b/www-apps/mediawiki/Manifest
@@ -1,9 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX postinstall-1.13-en.txt 2751 RMD160 4f6c918bc1b897ed017ab8129a6d5387e982e07a SHA1 a4afb248ab7cb7abe25aa9d69533a7fd52401d73 SHA256 cebfe53c219cd6acacffcf0ed24493c0aa3180c89fa954e4a7e458dd0feb62c9
AUX postupgrade-1.13-en.txt 1651 RMD160 aaae13a05a0984dfb327b9b5e2c6faa0d3c0c037 SHA1 a97fb9f33d964a795ec159df0628e1897b12e257 SHA256 be7ed53ebce19077a55ce3fbd7eafca7843fffc0c5e821549a4e2e1db9c560bf
AUX postupgrade-1.16-en.txt 1512 RMD160 362daf6f25f8a1497209426751aedd4cf78796c7 SHA1 d86a1f9097b4809f3f295e3784d4c4baf79936b6 SHA256 d45dd49ecfd27f3dee9296925befbf334437035e311c985db78ac6132b990877
DIST mediawiki-1.15.5.tar.gz 11595008 RMD160 5113beb1df46c56275a90d5a1cb85c2b01ca541f SHA1 b157fe37bb89c78e5ffa0f27b14beb886db3a5f4 SHA256 f838c94af81e018dcf11f77674d2a363e97b8832d0d66416294fd301db720ab5
DIST mediawiki-1.16.1.tar.gz 12651399 RMD160 4af3d31325682801062b898736eaecd77175d2f9 SHA1 9287498265f2d881e19731fba303bd59bad61fe9 SHA256 ac6b7f40d50aabd10b708f9119118cd404414b137f371192696cebdd32877abd
+DIST mediawiki-1.16.2.tar.gz 13072216 RMD160 27173b5dbdca9733fa9e55b1c04c8d61071f68cd SHA1 cb8565fafc847d8a0d59f4fdb7a09183267c4d5c SHA256 c33be7df9f705df07ab8bdb53cf0ed2c993819b3feaffa96fbcd123b50c78454
EBUILD mediawiki-1.15.5.ebuild 3918 RMD160 a38eaf35d6610935041b9cfe927f696b97e46998 SHA1 c545ae0a1593555cc93884ea42c42cd28676b0d1 SHA256 af766da3d9002d426fe9fd025f5c511b91f42be36c2444ffcecd159c0dda0696
EBUILD mediawiki-1.16.1.ebuild 3738 RMD160 83bf30bf8bb1a24cf8d71e61fc6fd68395ed9ee8 SHA1 9830ae7646b8e6cef1877b8833f5e80c03e419d8 SHA256 50deab1b14108efca16aaca969c1c4280a1d8c4c0bb50a71269b882c8f9f0307
-MISC ChangeLog 26096 RMD160 a7ec48e601183119ece543c3b9c1ea3a4f763eca SHA1 e565f8c5f95ab75bb8c19e7beb4a7b75e82f84eb SHA256 1a8f5a282cedde037fdaf30d9670e487f0444a311fe7d7efe83bdf7f2c9c61e0
+EBUILD mediawiki-1.16.2.ebuild 3744 RMD160 b2a7b7efe16f151eac50cbbfc23123e55732f6fb SHA1 488eaf275da02a512d4607ccc133e953a2272388 SHA256 2b2ed537ecfaa6235f447ab8e53e27eb57b4a8165e1a755f6f4ae457c9364bb4
+MISC ChangeLog 26249 RMD160 fdf8e2882b6e904b03adab0c44d7fc1be11c931c SHA1 7e537b3a858cb3a121347f514286cd968379b33a SHA256 855f2f8e38bce7954fb3a1f3e69c1ceb32be041485a4d8d33175845a90b461c5
MISC metadata.xml 295 RMD160 0e99ed39b17f196d96fa661725f18447202c793a SHA1 3d63cc41895a26fde229f1394541cf6792fbc016 SHA256 ac52057208794d9f818ca0f56f292885eac738678c8fcdf56e099e98ce953593
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQEcBAEBAgAGBQJNSRbFAAoJEEqz6FtPBkyj0p4H/3Gj3jheqWMrL4KyhXztcclA
+QV7uahiP9ypEKMxgCn3gy71NaSiboNSWzu4SPjV3JM723eYU8nYVCWNqceE90XsH
+O6H+7AEa4OagmOMMCgav98awmj/dE/8Lfn2tB7NzGBY+ayxI1WvfsBzJob2NY6PG
+jTFwvjF/inOlMxJKjdtH7WAUGvj5E+O0UKBhXHRKHXylGv89hSc4WvRhUIYgyh/+
+eQ58ZumN4bcw/p8fFLfnPfQmlNjRtMbZP97+zMUCD5wbDEACHTtGEiekUcCJwcD2
+Kqg7e9bGXu7XWv3I1senxDNlidOKhYfSTzHRaG930MlFHEKWQydMFSUQnaLj8C8=
+=gbrY
+-----END PGP SIGNATURE-----
diff --git a/www-apps/mediawiki/mediawiki-1.16.2.ebuild b/www-apps/mediawiki/mediawiki-1.16.2.ebuild
new file mode 100644
index 000000000000..689b1572e317
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.16.2.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.16.2.ebuild,v 1.1 2011/02/02 08:33:01 radhermit Exp $
+
+EAPI="3"
+inherit webapp depend.php versionator eutils
+
+MY_BRANCH=$(get_version_component_range 1-2)
+
+DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
+HOMEPAGE="http://www.mediawiki.org"
+SRC_URI="http://download.wikimedia.org/mediawiki/${MY_BRANCH}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="imagemagick math mysql postgres +ocamlopt sqlite"
+
+DEPEND="math? ( >=dev-lang/ocaml-3.0.6[ocamlopt?] )"
+RDEPEND="${DEPEND}
+ math? (
+ app-text/dvipng
+ virtual/tex-base
+ app-text/ghostscript-gpl
+ || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
+ )
+ imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )
+ !imagemagick? ( || ( dev-lang/php[gd] dev-lang/php[gd-external] ) )
+ || ( <dev-lang/php-5.3[mysql?,pcre,postgres?,session,spl,xml]
+ >=dev-lang/php-5.3[mysql?,postgres?,session,xml] )
+ sqlite? ( dev-db/sqlite:3[fts3]
+ dev-lang/php[sqlite,pdo] )"
+
+RESTRICT="test"
+
+need_httpd_cgi
+need_php_httpd
+
+src_compile() {
+ if use math; then
+ einfo "Compiling math support"
+ cd math || die
+ if ! use ocamlopt; then
+ sed -e "s/ocamlopt/ocamlc/" \
+ -e "s/cmxa/cma/" \
+ -e "s/cmx/cmo/g" -i Makefile || die
+ fi
+ emake || die
+ else
+ einfo "Math support not enabled. Skipping."
+ fi
+
+ # TODO: 1. think about includes/zhtable/ support
+ # 2. generate docs (?): echo '0' | php mwdocgen.php
+}
+
+src_install() {
+ webapp_src_preinst
+
+ # First we install math, docs and then copy everything left into htdocs dir
+ # to avoid bugs like #236411.
+
+ # If we've enabled math USE-flag, install math support.
+ # We ensure the directories are prepared for writing. The post-
+ # install instructions guide the user to enable the feature.
+ if use math; then
+ einfo "Installing math support"
+ exeinto "${MY_HTDOCSDIR}"/math
+ doexe math/texvc || die "Failed to create math support executable."
+
+ docinto math
+ dodoc math/{README,TODO}
+ docinto ""
+
+ # Working directories. Server writeable.
+ dodir "${MY_HTDOCSDIR}"/images/math
+ webapp_serverowned "${MY_HTDOCSDIR}"/images/math
+ dodir "${MY_HTDOCSDIR}"/images/tmp
+ webapp_serverowned "${MY_HTDOCSDIR}"/images/tmp
+ fi
+
+ local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES UPGRADE"
+ dodoc ${DOCS} docs/*.txt
+ docinto php-memcached
+ dodoc docs/php-memcached/*
+
+ # Clean everything not used at the site...
+ rm -rf ${DOCS} COPYING tests math t docs
+ find . -name Makefile -delete
+ # 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.13-en.txt"
+ webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
+ webapp_src_install
+}
+
+pkg_preinst() {
+ prev_instal="false"
+ if has_version ${CATEGORY}/${PN}; then
+ prev_instal="true"
+ fi
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+ if ${prev_instal}; then
+ einfo
+ elog "=== Consult the release notes ==="
+ elog "Before doing anything, stop and consult the release notes"
+ elog "/usr/share/doc/${PF}/RELEASE-NOTES.bz2"
+ elog
+ elog "These detail bug fixes, new features and functionality, and any"
+ elog "particular points that may need to be noted during the upgrade procedure."
+ einfo
+ 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."
+ einfo
+ fi
+}