diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-10-17 19:33:57 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-10-17 19:33:57 +0000 |
commit | 94248ca8c6d1abeac62c159338297b75cb0119fe (patch) | |
tree | 997df0628f1625ca3cd9da9b8a63fc5b54dba7dc /www-apps | |
parent | Fix building with >=net-misc/neon-0.29.0 (bug #286171). (diff) | |
download | historical-94248ca8c6d1abeac62c159338297b75cb0119fe.tar.gz historical-94248ca8c6d1abeac62c159338297b75cb0119fe.tar.bz2 historical-94248ca8c6d1abeac62c159338297b75cb0119fe.zip |
Non-maintainer commit: Version bump, #275447
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/mediawiki/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/mediawiki/Manifest | 4 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.15.1.ebuild | 141 |
3 files changed, 151 insertions, 2 deletions
diff --git a/www-apps/mediawiki/ChangeLog b/www-apps/mediawiki/ChangeLog index 63726fc8cd5f..a1e256622d0d 100644 --- a/www-apps/mediawiki/ChangeLog +++ b/www-apps/mediawiki/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/mediawiki # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.124 2009/08/09 13:55:26 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.125 2009/10/17 19:33:57 dertobi123 Exp $ + +*mediawiki-1.15.1 (17 Oct 2009) + + 17 Oct 2009; Tobias Scherbaum <dertobi123@gentoo.org> + +mediawiki-1.15.1.ebuild: + Non-maintainer commit: Version bump, #275447 09 Aug 2009; nixnut <nixnut@gentoo.org> mediawiki-1.14.1.ebuild: ppc stable #279189 diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest index 9ed3b6028b63..3ba954808550 100644 --- a/www-apps/mediawiki/Manifest +++ b/www-apps/mediawiki/Manifest @@ -10,11 +10,13 @@ DIST mediawiki-1.13.3.tar.gz 9252548 RMD160 643d18503d0fccfe97d0916b871813863bc3 DIST mediawiki-1.13.5.tar.gz 9562950 RMD160 05d77ced9daab78071c176d644f7fef3d8049447 SHA1 fb49c08038686c572327b8e43f2c6e15bdbd83a1 SHA256 a7720107c609adfcb2c9a4972f0348c15ef92c1da9017e79e074fb11424d4bbd DIST mediawiki-1.14.0.tar.gz 10122254 RMD160 11ef4698412f5ce716fe82e8d8e76742da1f7da1 SHA1 47d98ead3ba1c5c28e7cd30806febf8db650e7f6 SHA256 4a50f891548e0de8d2f12de14dd745f93d798fef0f5de6968385ee7f9b1917ed DIST mediawiki-1.14.1.tar.gz 10359679 RMD160 d4506627c48b95341cb72823080c34fcd9b704bc SHA1 7248752cf937f4c14750bf12eb30736ba060cc17 SHA256 0c41845e069ce1f3a716892e6c8e529ee7a112a7f9e50ec2a9c9c6b34d0ba690 +DIST mediawiki-1.15.1.tar.gz 10826029 RMD160 437c5337e524dc2e3e23ab9bf10fe10f3be5886a SHA1 bc6fa790b7738892c6b415fc76658a976763715d SHA256 044a221b135673b395ca9b253af6eed7196eb991827c35348a683c4bae59da44 EBUILD mediawiki-1.11.2.ebuild 4290 RMD160 a388e21da0ab0ded3c9c3e47ad33e0fb9d67b44a SHA1 eb89e22640fe59833298a76c0a9fbfbc4a7adff5 SHA256 d003e85adb4c5121dc28a5abeacf582c4a71b07398e759f29ba87006ac310282 EBUILD mediawiki-1.12.3.ebuild 4305 RMD160 379e8071eb330704d218ee4beac2ff7f512478b7 SHA1 ac0e92a824e0008b0538f0131bd90f17ec6e4912 SHA256 55653d6d1091cc66c220b3622cac4a535dbbcd9a398fbc5d802e237d62f52eee EBUILD mediawiki-1.13.3.ebuild 4112 RMD160 2fe5dd05e900f64f9ad419610f91a7f617c2e234 SHA1 e02eae76efe67a77a5dbcf1862b33676de441e05 SHA256 802f5a78580db787b466a5718309c14f4e28cdf81e67f007ace0063d9b309c48 EBUILD mediawiki-1.13.5.ebuild 4110 RMD160 d00c2c0761df43fff7fd546c31ecba14669d4107 SHA1 7b7f48a5c6045c83bbc9d457829f1c8d53e25e0f SHA256 ffef16fa482278275558b40696d287091a3bcbd0a3ddc382a824601902fdf6de EBUILD mediawiki-1.14.0.ebuild 4115 RMD160 d27a35dbf7c38da46232938adce5c72d6abebf6d SHA1 3df7b9c42be1ff0c6494a21a04efc4a82c3a1e9e SHA256 97506b83b1fc2b9eb15cb05d677a1b4a8718aca362b5f60d4c8e96a4c01f3dce EBUILD mediawiki-1.14.1.ebuild 4115 RMD160 cbd7d7c7aa58ffa53d3919dcb56abdec2d6b8bd0 SHA1 22961f8d1068d6d822a39a99df863f37b68800e8 SHA256 d067fd94e58b4cfe3303e760803c40036f8acedd4049fcab56706e7eb8bb45a7 -MISC ChangeLog 21751 RMD160 e23fed893e2c2b9c13f0f4c9d987ebbc4ca0c4de SHA1 3c7b2afe214804c24618cbca875e382976a2baf7 SHA256 e099f190803d02ce18980ea212a38fd42339c409c4fc5627ca4e2d357f30e9d9 +EBUILD mediawiki-1.15.1.ebuild 4120 RMD160 7e11c8fed863881c6bb2ce59465d9dbaad84e556 SHA1 0a9275155125f9e1a89ad0910c747aae29c61d3a SHA256 bcad4595f615defc52bca2f02f167aea0cecdda260ff4d0bfddd3240b27ebf1e +MISC ChangeLog 21920 RMD160 b651590fa109b7392ffd98e38bd0fe381726f81c SHA1 e073cfcdbe7cf37ba4cc85ef24ad44302ce48e8d SHA256 f7ae7543fcc2cf86dc58410d858446db214b527c84afae9c2f12414a00976b4d MISC metadata.xml 418 RMD160 337019d783d66bbadf67162c84d6d3b8b3a8f0f4 SHA1 b49b71fd11a91a2e5f8953cf9a1643abee3c67b3 SHA256 68dd9b135528db0c39e306e60b4e910b402ee121fa1b0dc17107d1ba7c66d0eb diff --git a/www-apps/mediawiki/mediawiki-1.15.1.ebuild b/www-apps/mediawiki/mediawiki-1.15.1.ebuild new file mode 100644 index 000000000000..b06adcb01a1a --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.15.1.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.15.1.ebuild,v 1.1 2009/10/17 19:33:57 dertobi123 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 + virtual/ghostscript + 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 +} |