Update to latest verison with restriction patch

Package-Manager: portage-2.2.0_alpha166
RepoMan-Options: --force
This commit is contained in:
Mario Fetka 2013-04-16 08:51:30 +02:00
parent 4646337af6
commit deacacfc4f
6 changed files with 29 additions and 1949 deletions

View File

@ -1,7 +1,16 @@
# ChangeLog for www-apps/mediawiki
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.136 2010/04/15 20:25:15 maekke Exp $
*mediawiki-1.18.6-r1 (16 Apr 2013)
16 Apr 2013; Mario Fetka <mario.fetka@gmail.com>
+files/postinstall-1.18-en.txt, +mediawiki-1.18.6-r1.ebuild,
-files/mediawiki-1.16.0-restrict-0.8.4-1.patch,
-files/postinstall-1.13-en.txt, -mediawiki-1.16.5-r1.ebuild,
-mediawiki-1.18.1-r1.ebuild:
Update to latest verison with restriction patch
30 Jan 2012; Mario Fetka <mario.fetka@gmail.com>
-files/postupgrade-1.13-en.txt, +files/postupgrade-1.16-en.txt:
add missing files
@ -756,4 +765,3 @@
16 Nov 2004; Christian Parpart <trapni@gentoo.org> +metadata.xml,
+mediawiki-1.3.8.ebuild:
Initial import of WikiPedia's MediaWiki

View File

@ -1,9 +1,6 @@
AUX mediawiki-1.16.0-restrict-0.8.4-1.patch 84849 RMD160 0e9b75ad1c9affef1c2576b527c61b7ce73997bf SHA1 820c403d59599e4db42cca21933c455fef98636f SHA256 fac5f321d90b0d4ecf4d4f01266b085dc2e06cf0b4738caf604d07167298fa66
AUX postinstall-1.13-en.txt 2751 RMD160 4f6c918bc1b897ed017ab8129a6d5387e982e07a SHA1 a4afb248ab7cb7abe25aa9d69533a7fd52401d73 SHA256 cebfe53c219cd6acacffcf0ed24493c0aa3180c89fa954e4a7e458dd0feb62c9
AUX postupgrade-1.16-en.txt 1512 RMD160 362daf6f25f8a1497209426751aedd4cf78796c7 SHA1 d86a1f9097b4809f3f295e3784d4c4baf79936b6 SHA256 d45dd49ecfd27f3dee9296925befbf334437035e311c985db78ac6132b990877
DIST mediawiki-1.16.5.tar.gz 13235937 RMD160 0a8298051baaf02f400bc6f317508f7b7544ec57 SHA1 2526a5aebeafe49dcbfb1584823e467445daf1ae SHA256 5b451f578d9876f02a1a4363851d1558385290638676680ab33dc26116db20cb
DIST mediawiki-1.18.1.tar.gz 17271798 RMD160 066871f63d38120ba0985f5168351a6a66a45758 SHA1 1c433523a5ae2835e97462053e08ad7c01e178d2 SHA256 d9db16b4f18bc43984f323ad90f724ee5ffa52e1f21e6c453bc8d4b1210e1a34
EBUILD mediawiki-1.16.5-r1.ebuild 3887 RMD160 56b5aa102247414a58d2c3f2244d01c151cd434e SHA1 27e92dcdb786abb8841d6de8c775d2fb55fc67c0 SHA256 d147fe6deff2485561282341445d3238fbb4b6d57ebee3cb805c15302d276d81
EBUILD mediawiki-1.18.1-r1.ebuild 3850 RMD160 c228d34dc33fca73ef0637cb5b3888eeb245353f SHA1 178b13edecceadc037c6070c8786188b2f8826d7 SHA256 8fbb55caf33d6f050260c3e69464ced64b0b26215daace789b6b505c74f90441
MISC ChangeLog 25066 RMD160 fae21c701f54c25b46c447f21145160c539edaed SHA1 63db0bbc2be180e056eca06e84d88c7b39856242 SHA256 1008a739222cf99f0ea1c1df306e3dcd0ccf7b34b81c68005c9038bbb5242c52
MISC metadata.xml 418 RMD160 337019d783d66bbadf67162c84d6d3b8b3a8f0f4 SHA1 b49b71fd11a91a2e5f8953cf9a1643abee3c67b3 SHA256 68dd9b135528db0c39e306e60b4e910b402ee121fa1b0dc17107d1ba7c66d0eb
AUX postinstall-1.18-en.txt 2611 SHA256 8388d74e84d63c40cbc697e25639be5f07108ecc13497346fccf9d89ab0484eb SHA512 2b6a0e00160c15466bf70189499816d18a5ea06f040ed79f2361842be93a584ea19033170dc59c1d78c590da85223a61b8d04730084e60bc7906648f2532578b WHIRLPOOL 254b014ac9a7cf431958ade7827afadbf7e48ec255e1ea39e7ac3fa091f7d321376b760dad39d0be3af3a6cb342aaeac9d4e2329816bf3c6b3e4e55e1ac05d4b
AUX postupgrade-1.16-en.txt 1512 SHA256 d45dd49ecfd27f3dee9296925befbf334437035e311c985db78ac6132b990877 SHA512 4fe42348722d850dfea7dbb3cd11a06dc8d5f5e2f0afbfd077dc39117b3fd7316dc0ea94423e4b08d0e1de50d0e8046f3f90912bbe03a3558e958746d78547c6 WHIRLPOOL e8d57644ddfcad706196c02c5b885ca0f24ec464670e1acc3c2089f8c8fd5dc5210d75c659455b39311db5b149b013562d38e68fb0a6787454935183a7c75efe
DIST mediawiki-1.18.6.tar.gz 17683490 SHA256 6af73915093b791fbb53cece3ebc89530a11f02eeba9762d630805fbb2624e20 SHA512 0effb0f24198090fecc0ed99ea449fa4c9b53599d9804dd7424f5bc010c4e79fbe0aa38ad0382894b35911d00d4bfdd39158d736cc31b0cf5a158bb12f2d53c0 WHIRLPOOL 3d399ef9a9f3697988680a558303a406cdce07b56a79ccb1bf86f2861bf44c8527b00913fdb55714f4467aa91945d89ce9405658a49aa833ef663b199739d98b
EBUILD mediawiki-1.18.6-r1.ebuild 3850 SHA256 b5de08cabbfbe2a78103f90dd325189606d91c4ffb7dcc1d2da721dbd3262c31 SHA512 2f9ed87e8d8f76c72b3aec4a37c2ffd50b04c603e3c1d906071b2e847eebbc55803b8a4bf2f7155fbfaf6fb3314ace34857538faf0e225965c2296438adad12d WHIRLPOOL ec2d1ba4ab69edebf8a4f71bb112e2c5e189860b365ea913048256bacbab48ebed7352ddd3336e07cd51454ac0d28c2351bdf761fc81b15322c72051539eb300
MISC ChangeLog 25410 SHA256 f91ff39a452fe2e4f878825fe74617d43cc758959ea999a74e6dfebe6bd61f4a SHA512 d5f44d0a1d3336457a22c4d1cbe0c9e2622cdfba6c2016f2360b4abe704353a96fffc1cbf88b21d06bf6c1d08a8ea7bb43be036cfa8da808643010235c6b0452 WHIRLPOOL d0db036fcfde7486c49abfc81a42f6c9ced63dc7c925497890de085013c004abcfca66faafffc614aba618fb859c205c6343b6a305da0bba97bc7b13122e742d
MISC metadata.xml 418 SHA256 68dd9b135528db0c39e306e60b4e910b402ee121fa1b0dc17107d1ba7c66d0eb SHA512 53c3a79d3ba11b01ad03f35b0986ea08a7f764d07e53d974003d9f2a4eea4a9a4e662307e47b84439a6d5f3c662efcb433a4bf3a3b9ba4030eeb4fa4b2c1e689 WHIRLPOOL 88043c5cca28f64cad6838dea617a40ebafca4b67a212465ebf0354308ee648965c1599b4d0f2b47fda7b5cd5f36b20b001b22e059293551cd714d920d8cffd9

View File

@ -1,12 +1,12 @@
To complete installation you need to proceed the following steps:
=================================================================
1. 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
1. Temporarily make the "mw-config" directory writable to the user the web
server is running as. The quickest way is to make the directory world
writable. For example:
$ cd ${MY_INSTALLDIR}
$ chmod a+w config
$ chmod a+w mw-config
2. Configure database.
@ -23,23 +23,23 @@ http://www.mediawiki.org/wiki/Manual:Installing_MediaWiki#Create_a_database
3. Now continue the installation through web browser by accessing the
following page:
lynx http://${VHOST_HOSTNAME}${VHOST_APPDIR}/config/
http://${VHOST_HOSTNAME}${VHOST_APPDIR}/mw-config/
4. After the setup script has finished running successfully, a file called
LocalSettings.php is created in the "config" directory. Move this file to the
LocalSettings.php is created in the "mw-config" directory. Move this file to the
root wiki directory (${MY_INSTALLDIR}):
$ mv config/LocalSettings.php .
$ mv mw-config/LocalSettings.php .
Set stringent permissions on the LocalSettings.php file:
$ chown <webserver-user>:root LocalSettings.php
$ chmod 600 LocalSettings.php
And delete the "config" directory:
And delete the "mw-config" directory:
$ rm -rf config
$ rm -rf mw-config
5. Once you have done the above, your wiki should be ready to use!
@ -73,12 +73,9 @@ http://www.mediawiki.org/wiki/Manual:$wgEnableUploads
Math Support
------------
If you wish to enable the math support then you need to build MediaWiki with
'math' USE-flag enabled or required support executable will no be present.
After you've installed MediaWiki with math USE-flag enabled edit
LocalSettings.php file to set the \$wgUseTeX to 'true':
\$wgUseTeX = true;
Math support has been removed from the core mediawiki package from 1.18.0
onwards. See http://www.mediawiki.org/wiki/Extension:Math to enable math
support.
Other

View File

@ -1,132 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.16.5.ebuild,v 1.5 2011/09/27 16:35:57 xarthisius 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?,postgres?,session,xml]
<dev-lang/php-5.3[mysql?,pcre,postgres?,session,spl,xml] )
sqlite? ( dev-db/sqlite:3[fts3]
|| ( >=dev-lang/php-5.3[sqlite3,pdo] <dev-lang/php-5.3[sqlite,pdo] ) )"
RESTRICT="test"
need_httpd_cgi
need_php_httpd
src_prepare() {
epatch "${FILESDIR}"/mediawiki-1.16.0-restrict-0.8.4-1.patch
webapp_src_prepare
}
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
}

View File

@ -1,4 +1,4 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.18.0.ebuild,v 1.2 2011/12/09 22:09:03 radhermit Exp $
@ -102,7 +102,7 @@ src_install() {
webapp_serverowned "${MY_HTDOCSDIR}"/images
fi
webapp_postinst_txt en "${FILESDIR}/postinstall-1.13-en.txt"
webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt"
webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
webapp_src_install
}