summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2010-10-24 19:27:20 +0000
committerTim Harder <radhermit@gentoo.org>2010-10-24 19:27:20 +0000
commit46a7320e8cf190f3cc87e28c3bf974638432538e (patch)
tree0b0c977332d42639bd745005e91e7924c7821b13 /www-apps
parentRemove old versions (diff)
downloadgentoo-2-46a7320e8cf190f3cc87e28c3bf974638432538e.tar.gz
gentoo-2-46a7320e8cf190f3cc87e28c3bf974638432538e.tar.bz2
gentoo-2-46a7320e8cf190f3cc87e28c3bf974638432538e.zip
Remove old versions and patches.
(Portage version: 2.2_rc98/cvs/Linux x86_64)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/mediawiki/ChangeLog8
-rw-r--r--www-apps/mediawiki/files/access_restrict.patch21
-rw-r--r--www-apps/mediawiki/files/access_restrict_1.12.0.patch21
-rw-r--r--www-apps/mediawiki/files/jobindexlength-mysql.patch9
-rw-r--r--www-apps/mediawiki/files/postinstall-1.11-en.txt72
-rw-r--r--www-apps/mediawiki/mediawiki-1.14.1.ebuild141
-rw-r--r--www-apps/mediawiki/mediawiki-1.15.2.ebuild141
7 files changed, 7 insertions, 406 deletions
diff --git a/www-apps/mediawiki/ChangeLog b/www-apps/mediawiki/ChangeLog
index 565bae012b8d..0a3454714222 100644
--- a/www-apps/mediawiki/ChangeLog
+++ b/www-apps/mediawiki/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-apps/mediawiki
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.143 2010/10/24 17:53:25 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.144 2010/10/24 19:27:20 radhermit Exp $
+
+ 24 Oct 2010; Tim Harder <radhermit@gentoo.org>
+ -files/postinstall-1.11-en.txt, -mediawiki-1.14.1.ebuild,
+ -mediawiki-1.15.2.ebuild, -files/access_restrict.patch,
+ -files/access_restrict_1.12.0.patch, -files/jobindexlength-mysql.patch:
+ Remove old versions and patches.
24 Oct 2010; Raúl Porcel <armin76@gentoo.org> mediawiki-1.15.5.ebuild:
sparc stable wrt #324029
diff --git a/www-apps/mediawiki/files/access_restrict.patch b/www-apps/mediawiki/files/access_restrict.patch
deleted file mode 100644
index c4db4eec99a3..000000000000
--- a/www-apps/mediawiki/files/access_restrict.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- mediawiki-1.8.2/config/index.php.orig 2006-12-11 13:44:52.000000000 +0200
-+++ mediawiki-1.8.2/config/index.php 2006-12-11 13:45:22.000000000 +0200
-@@ -1451,6 +1451,18 @@
- # sure that cached pages are cleared.
- \$configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) );
- \$wgCacheEpoch = max( \$wgCacheEpoch, \$configdate );
-+
-+# Added by Gentoo Developer Philippe Trottier <tchiwam@gentoo.org>
-+# This will make the access by default very restricted. This is not supported
-+# by mediawiki themself. Here I make a very gross assumtion that everyone will install in english 1st.
-+# Please read http://meta.wikimedia.org/wiki/Preventing_Access before filing bug reports
-+#
-+\$wgGroupPermissions['*']['createaccount'] = false;
-+\$wgGroupPermissions['*']['edit'] = false;
-+\$wgWhitelistRead = array( \"Main Page\", \"Special:Userlogin\", \"-\", \"MediaWiki:Monobook.css\" );
-+# \$wgWhitelistRead = array( \"Hauptseite\", \"Spezial:Userlogin\", \"-\", \"MediaWiki:Monobook.css\" );
-+# \$wgWhitelistRead = array( \"Pagina principale\", \"Speciale:Userlogin\", \"-\", \"MediaWiki:Monobook.css\" );
-+\$wgGroupPermissions['*']['read'] = false;
- "; ## End of setting the $localsettings string
-
- // Keep things in Unix line endings internally;
diff --git a/www-apps/mediawiki/files/access_restrict_1.12.0.patch b/www-apps/mediawiki/files/access_restrict_1.12.0.patch
deleted file mode 100644
index ccf68b636942..000000000000
--- a/www-apps/mediawiki/files/access_restrict_1.12.0.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- mediawiki-1.12.0/config/index.php.orig 2008-03-20 23:08:49.000000000 +0100
-+++ mediawiki-1.12.0/config/index.php 2008-05-12 19:57:05.000000000 +0200
-@@ -1692,6 +1692,18 @@
- # When you make changes to this configuration file, this will make
- # sure that cached pages are cleared.
- \$wgCacheEpoch = max( \$wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) );
-+
-+# Added by Gentoo Developer Philippe Trottier <tchiwam@gentoo.org>
-+# This will make the access by default very restricted. This is not supported
-+# by mediawiki themself. Here I make a very gross assumtion that everyone will install in english 1st.
-+# Please read http://meta.wikimedia.org/wiki/Preventing_Access before filing bug reports
-+#
-+\$wgGroupPermissions['*']['createaccount'] = false;
-+\$wgGroupPermissions['*']['edit'] = false;
-+\$wgWhitelistRead = array( \"Main Page\", \"Special:Userlogin\", \"-\", \"MediaWiki:Monobook.css\" );
-+# \$wgWhitelistRead = array( \"Hauptseite\", \"Spezial:Userlogin\", \"-\", \"MediaWiki:Monobook.css\" );
-+# \$wgWhitelistRead = array( \"Pagina principale\", \"Speciale:Userlogin\", \"-\", \"MediaWiki:Monobook.css\" );
-+\$wgGroupPermissions['*']['read'] = false;
- "; ## End of setting the $localsettings string
-
- // Keep things in Unix line endings internally;
diff --git a/www-apps/mediawiki/files/jobindexlength-mysql.patch b/www-apps/mediawiki/files/jobindexlength-mysql.patch
deleted file mode 100644
index ad61803eee0e..000000000000
--- a/www-apps/mediawiki/files/jobindexlength-mysql.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- mediawiki-1.7.1/maintenance/archives/patch-job.sql.orig 2006-12-11 12:41:04.000000000 +0200
-+++ mediawiki-1.7.1/maintenance/archives/patch-job.sql 2006-12-11 12:41:17.000000000 +0200
-@@ -16,5 +16,5 @@
- job_params blob NOT NULL default '',
-
- PRIMARY KEY job_id (job_id),
-- KEY (job_cmd, job_namespace, job_title)
-+ KEY (job_cmd(128), job_namespace, job_title(128))
- ) TYPE=InnoDB;
diff --git a/www-apps/mediawiki/files/postinstall-1.11-en.txt b/www-apps/mediawiki/files/postinstall-1.11-en.txt
deleted file mode 100644
index 375599e1ad99..000000000000
--- a/www-apps/mediawiki/files/postinstall-1.11-en.txt
+++ /dev/null
@@ -1,72 +0,0 @@
-1. Completing setup:
-
-To complete installation cd into the MediaWiki install location, but
-make sure to start mysql first.
-
-$ /etc/init.d/mysql start
-$ cd ${MY_INSTALLDIR}
-
-Then temporarily make the MediaWiki /config directory writable
-to the user the web server is running as. The quickest way is
-to make the directory world writable. For example:
-
-$ chmod a+w config
-
-Then access it via a web browser, for example:
-
-lynx http://${VHOST_HOSTNAME}${VHOST_APPDIR}/config/
-
-2. After setup move the newly created LocalSettings.php from the config/
-directory to the main mediawiki directory, for example:
-
-$ mv config/LocalSettings.php .
-
-Remember to restore safe permissions to the MediaWiki config/ and
-LocalSettings.php (which contains clear-text passwords).
-
-$ chmod a-w config
-$ chmod ug=r,o= LocalSettings.php
-$ chown root:apache LocalSettings.php
-
-After these steps MediaWiki should be accesable at
-http://${VHOST_HOSTNAME}${VHOST_APPDIR}/
-
-3. Enabling Optional Features:
-
-If you wish to enable image uploads then you must manually edit the
-LocalSettings.php file to uncomment the \$wgEnableUploads line.
-If MediaWiki was built with the imagemagick USE-flag the directory
-permissions are correct, otherwise you must install ImageMagick and
-also adjust permissions on the images directory to allow the server
-to write. For example:
-
-$ chown apache:apache ${MY_INSTALLDIR}/images
-
-Math Support:
-
-If you wish to enable the math support then you must manually edit"
-the LocalSettings.php file to uncomment the \$wgUseTeX line.
-MediaWiki must have been built with the math USE-flag enabled or the
-necessary support executable will not be present.
-You may also have to execute
-
-$ texconfig dvips printcmd -
-
-if you have not configured tetex before.
-
-
-4. Things you need to have on the server:
-
-- SQL database of your choice and support for that database compiled in PHP
-We check for required PHP features for mysql and postgres use flags in the ebuild;
-you are on your own if you are using a different kind of DB backend.
-- dev-php/PEAR-Mail is needed for using external smtp server.
-
-These are not installed as dependencies since it is possible to run the database
-and other services on other machines.
-
-It is very important that you follow all the major versions upgrade instructions
-from the mediawiki.org web page - http://www.mediawiki.org/wiki/Manual:Upgrading
-
-Do not, I repeat, do not assume that we can upgrade from version to version just
-like this. Make backups before upgrading.
diff --git a/www-apps/mediawiki/mediawiki-1.14.1.ebuild b/www-apps/mediawiki/mediawiki-1.14.1.ebuild
deleted file mode 100644
index 833054fcb33b..000000000000
--- a/www-apps/mediawiki/mediawiki-1.14.1.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.14.1.ebuild,v 1.6 2010/03/14 19:20:51 armin76 Exp $
-
-EAPI="1"
-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"
-
-DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )"
-RDEPEND="${DEPEND}
- math? (
- app-text/dvipng
- virtual/tex-base
- app-text/ghostscript-gpl
- media-gfx/imagemagick
- )
- imagemagick? ( media-gfx/imagemagick )"
-
-RESTRICT="test"
-
-need_httpd_cgi
-need_php_httpd
-
-pkg_setup() {
- webapp_pkg_setup
- local flags="pcre session spl xml"
- use mysql && flags="${flags} mysql"
- use postgres && flags="${flags} postgres"
- if ! PHPCHECKNODIE="yes" require_php_with_use ${flags} || \
- ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ; then
- die "Re-install ${PHP_PKG} with ${flags} and either gd or gd-external"
- fi
-
- # see Bug 204812
- if use ocamlopt && use math && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
- eerror "In order to build ${PN} with native code support from ocaml"
- eerror "You first need to have a native code ocaml compiler."
- eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
- die "Please install ocaml with ocamlopt useflag"
- fi
-}
-
-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 "No math support 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.13-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
-}
diff --git a/www-apps/mediawiki/mediawiki-1.15.2.ebuild b/www-apps/mediawiki/mediawiki-1.15.2.ebuild
deleted file mode 100644
index fe101ab5df7a..000000000000
--- a/www-apps/mediawiki/mediawiki-1.15.2.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.15.2.ebuild,v 1.5 2010/04/15 20:25:15 maekke Exp $
-
-EAPI="1"
-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"
-
-DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )"
-RDEPEND="${DEPEND}
- math? (
- app-text/dvipng
- virtual/tex-base
- app-text/ghostscript-gpl
- media-gfx/imagemagick
- )
- imagemagick? ( media-gfx/imagemagick )"
-
-RESTRICT="test"
-
-need_httpd_cgi
-need_php_httpd
-
-pkg_setup() {
- webapp_pkg_setup
- local flags="pcre session spl xml"
- use mysql && flags="${flags} mysql"
- use postgres && flags="${flags} postgres"
- if ! PHPCHECKNODIE="yes" require_php_with_use ${flags} || \
- ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ; then
- die "Re-install ${PHP_PKG} with ${flags} and either gd or gd-external"
- fi
-
- # see Bug 204812
- if use ocamlopt && use math && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
- eerror "In order to build ${PN} with native code support from ocaml"
- eerror "You first need to have a native code ocaml compiler."
- eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
- die "Please install ocaml with ocamlopt useflag"
- fi
-}
-
-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 "No math support 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.13-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
-}