diff options
author | Philippe Trottier <tchiwam@gentoo.org> | 2007-02-08 10:10:38 +0000 |
---|---|---|
committer | Philippe Trottier <tchiwam@gentoo.org> | 2007-02-08 10:10:38 +0000 |
commit | 0f65d88233e46fc41d671abd3fa294d0d5b2eca2 (patch) | |
tree | cee5095b152bb527de2bb21e377c601f7d584284 /www-apps/mediawiki | |
parent | games herd (diff) | |
download | historical-0f65d88233e46fc41d671abd3fa294d0d5b2eca2.tar.gz historical-0f65d88233e46fc41d671abd3fa294d0d5b2eca2.tar.bz2 historical-0f65d88233e46fc41d671abd3fa294d0d5b2eca2.zip |
Version bump
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'www-apps/mediawiki')
-rw-r--r-- | www-apps/mediawiki/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/mediawiki/Manifest | 16 | ||||
-rw-r--r-- | www-apps/mediawiki/files/digest-mediawiki-1.9.2 | 3 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.9.2.ebuild | 161 |
4 files changed, 183 insertions, 5 deletions
diff --git a/www-apps/mediawiki/ChangeLog b/www-apps/mediawiki/ChangeLog index 2450867d1816..89932450a865 100644 --- a/www-apps/mediawiki/ChangeLog +++ b/www-apps/mediawiki/ChangeLog @@ -1,5 +1,11 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.75 2007/01/24 14:24:34 tchiwam Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.76 2007/02/08 10:10:38 tchiwam Exp $ + +*mediawiki-1.9.2 (05 Feb 2007) + + 05 Feb 2007; Philippe Trottier <tchiwam@gentoo.org> + +mediawiki-1.9.2.ebuild: + Version bump and security fix. *mediawiki-1.9.1 (24 Jan 2007) diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest index 913d8fc78c06..cc29502b2bb6 100644 --- a/www-apps/mediawiki/Manifest +++ b/www-apps/mediawiki/Manifest @@ -27,6 +27,7 @@ DIST mediawiki-1.7.2.tar.gz 3256639 RMD160 722354c5da8efe3c753f7ed2a2adce921ec10 DIST mediawiki-1.8.3.tar.gz 3492474 RMD160 bcee8bec9fbb7d9189c39e32ccc0c1ed3601305c SHA1 fa4daa4376b80f61be5925e6172daa76938d9bad SHA256 0fe4d5177e75a52e2a68090813944a283e9c5178305bea1852f410edc93879d3 DIST mediawiki-1.9.0.tar.gz 3857967 RMD160 4ef05456f28b9a60e484e8b48c8f06e14c8ebc24 SHA1 c60e212ae5c02501405d91014db6c53499fafa39 SHA256 3f8be730746b9fb19d41bade7aec3911464ab3babbdefe189f2c826cd2830027 DIST mediawiki-1.9.1.tar.gz 3858336 RMD160 d2f206bdbec459c7d127b89d8d7afb5686fb9b42 SHA1 11418c10ac59c044ece1cc0dd20a32c74b96ec86 SHA256 dd7eb7af02a637d0312b60beb822550e0c1354598c7f564f84868a57bfabbb7d +DIST mediawiki-1.9.2.tar.gz 3858074 RMD160 bd99555ddc95c9d7a24667041cbf7207e2afbe31 SHA1 2f63cba903444b0dc6559df29c57d1789c1284d1 SHA256 fdd66e163200652ae39971f7732b484ea4d3fffad3f2338a12fa74e92fa0e83e EBUILD mediawiki-1.6.9.ebuild 3143 RMD160 56648707d5f8734130eb79b2d71969e05f45eec8 SHA1 f533254fca622a7a64e870887c9b8d485bc5a70e SHA256 23f14c7e26c0beb5cac4f2cb4d5894850e30ed3bf4f2ffb712284a60d597f6ef MD5 ce06b6a0a99a72bd4b53ae48bd835b3a mediawiki-1.6.9.ebuild 3143 RMD160 56648707d5f8734130eb79b2d71969e05f45eec8 mediawiki-1.6.9.ebuild 3143 @@ -47,10 +48,14 @@ EBUILD mediawiki-1.9.1.ebuild 3474 RMD160 d762b13609437e2a72fd9865961c1767d4c1ef MD5 99c00f041a2cac0cd3c60dbc018d6df1 mediawiki-1.9.1.ebuild 3474 RMD160 d762b13609437e2a72fd9865961c1767d4c1ef1e mediawiki-1.9.1.ebuild 3474 SHA256 61793aa37cb38a849fb20d212b1ca08578eb63e64e3b1503497cbd335d98fda6 mediawiki-1.9.1.ebuild 3474 -MISC ChangeLog 13229 RMD160 e4ca59322e3fa611db82e3e00adb17d342b47736 SHA1 ae81d722927976c89d580a9218c91d74d9542448 SHA256 6ab4793b48086a24de637d2e58130edb921ad4f9f15d4b228252f56447c1b49d -MD5 8b616375ee8be50244ca3beb6ac54450 ChangeLog 13229 -RMD160 e4ca59322e3fa611db82e3e00adb17d342b47736 ChangeLog 13229 -SHA256 6ab4793b48086a24de637d2e58130edb921ad4f9f15d4b228252f56447c1b49d ChangeLog 13229 +EBUILD mediawiki-1.9.2.ebuild 3474 RMD160 697a30f9de897d1e316e1dfc3fc066a2696e01d2 SHA1 26fadf24946351ff825c657e182b9b69633be69e SHA256 a7f53b7aa2229b4d7416489e3497cf528d7cd00d927e5c6dd275c250afac0c9c +MD5 9d6f05e567507012570c4c2e1913f4bd mediawiki-1.9.2.ebuild 3474 +RMD160 697a30f9de897d1e316e1dfc3fc066a2696e01d2 mediawiki-1.9.2.ebuild 3474 +SHA256 a7f53b7aa2229b4d7416489e3497cf528d7cd00d927e5c6dd275c250afac0c9c mediawiki-1.9.2.ebuild 3474 +MISC ChangeLog 13377 RMD160 2d7c37e25c5592dff644590c4e9fc8b7b0b2695d SHA1 db136143adac1ad728b1c587570171dc6f621fc8 SHA256 a3ffe4320424f05e18f5b52a10202164928fdab3a2dde0c3c079a46a6e2893b4 +MD5 244b14186659f9d0a3b454a25e525073 ChangeLog 13377 +RMD160 2d7c37e25c5592dff644590c4e9fc8b7b0b2695d ChangeLog 13377 +SHA256 a3ffe4320424f05e18f5b52a10202164928fdab3a2dde0c3c079a46a6e2893b4 ChangeLog 13377 MISC metadata.xml 366 RMD160 8be6da5afadbc6c6e57d589097d8f702d951bde3 SHA1 4c3b825388a712b4452ba16912b38b9aba76b78e SHA256 dddc4891c17811953d2cae412c4b1a713dc00b3629cd38a5b530c15a0acebcc2 MD5 6e1b02a80fc901d2eaadf52a50e0b905 metadata.xml 366 RMD160 8be6da5afadbc6c6e57d589097d8f702d951bde3 metadata.xml 366 @@ -70,3 +75,6 @@ SHA256 99f368c6a5d0893100fbcbbbe4bd9617b247c630b6bea588c6ae6753c73325db files/di MD5 6f23172df05c7c31875b3ab70c747be4 files/digest-mediawiki-1.9.1 250 RMD160 cc400a4b994109152d69a29d15a513dce9e09904 files/digest-mediawiki-1.9.1 250 SHA256 5b3c40118b1809298b08e6ced32be672dff7d15d1c05d77ea31fd58c18129eff files/digest-mediawiki-1.9.1 250 +MD5 a8391ba7f9980c3d1050848db29db3a4 files/digest-mediawiki-1.9.2 250 +RMD160 db1be381881599d9cf4b29d53384c4aeb00ed0d5 files/digest-mediawiki-1.9.2 250 +SHA256 0f62d9100ac8c953ac8fab0eced0a97bc5121347976cdd43f6a0f44c04ed4cf3 files/digest-mediawiki-1.9.2 250 diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.9.2 b/www-apps/mediawiki/files/digest-mediawiki-1.9.2 new file mode 100644 index 000000000000..dc87dab45dfa --- /dev/null +++ b/www-apps/mediawiki/files/digest-mediawiki-1.9.2 @@ -0,0 +1,3 @@ +MD5 c11aa0fd7ac10529606511913649a411 mediawiki-1.9.2.tar.gz 3858074 +RMD160 bd99555ddc95c9d7a24667041cbf7207e2afbe31 mediawiki-1.9.2.tar.gz 3858074 +SHA256 fdd66e163200652ae39971f7732b484ea4d3fffad3f2338a12fa74e92fa0e83e mediawiki-1.9.2.tar.gz 3858074 diff --git a/www-apps/mediawiki/mediawiki-1.9.2.ebuild b/www-apps/mediawiki/mediawiki-1.9.2.ebuild new file mode 100644 index 000000000000..d4d2d9d0f862 --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.9.2.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.9.2.ebuild,v 1.1 2007/02/08 10:10:38 tchiwam Exp $ + +inherit webapp depend.php + +DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)" +HOMEPAGE="http://www.mediawiki.org" +SRC_URI="mirror://sourceforge/wikipedia/${P/.0_/}.tar.gz" +RESTRICT="nomirror" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="imagemagick math mysql postgres restrict" + +S="${WORKDIR}/${P/.0_/}" + +DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )" + +RDEPEND=" + >=dev-lang/php-5.1.4-r6 + math? ( + virtual/tetex + virtual/ghostscript + media-gfx/imagemagick + ) + imagemagick? ( + media-gfx/imagemagick + ) +" + +need_php + +pkg_setup() { + webapp_pkg_setup + require_php_with_use pcre session + if use mysql ; then + require_php_with_use mysql + fi + if use postgres ; then + require_php_with_use postgres + fi + require_gd +} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/jobindexlength-mysql.patch + if use restrict ; then + epatch ${FILESDIR}/access_restrict.patch + fi +} + +src_compile() { + if use math; then + einfo "Compiling math support" + cd math || die + emake || die + else + einfo "No math support enabled. Skipping." + fi + + # TODO: think about includes/zhtable/ support +} + +src_install() { + webapp_src_preinst + + # copy the app's main files excluding math support, docs, and tests + local DIRS=( + "bin" + "config" + "extensions" + "images" + "includes" + "includes/api" + "includes/cbt" + "includes/normal" + "includes/templates" + "includes/zhtable" + "languages" + "languages/classes" + "languages/messages" + "locale" + "maintenance" + "maintenance/archives" + "maintenance/postgres" + "maintenance/dtrace" + "maintenance/mysql5" + "maintenance/storage" + "skins" + "skins/chick" + "skins/common" + "skins/common/images" + "skins/common/images/icons" + "skins/disabled" + "skins/htmldump" + "skins/monobook" + "skins/myskin" + "skins/simple" + ) + insinto ${MY_HTDOCSDIR} + doins *.php *.inc *.phtml + for DIR in ${DIRS[*]}; do + dodir ${MY_HTDOCSDIR}/${DIR} + insinto ${MY_HTDOCSDIR}/${DIR} + doins ${DIR}/* + test -f ${DIR}/.htaccess && doins ${DIR}/.htaccess + done + + # installing some docs + local DOCS=( + "AdminSettings.sample" + "COPYING" + "FAQ" + "HISTORY" + "INSTALL" + "README" + "RELEASE-NOTES" + "UPGRADE" + ) + for DOC in ${DOCS[*]}; do + dodoc "${DOC}" + rm -f "${DOC}" + done + dodoc docs/*.txt + rm -f docs/*.txt + + docinto php-memcached + dodoc docs/php-memcached/* + + # If imagemagick is enabled then setup for image upload. + # We ensure the directory is prepared for writing. The post- + # install instructions guide the user to enable the feature. + if use imagemagick; then + webapp_serverowned ${MY_HTDOCSDIR}/images + fi + + # 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" + dodir ${MY_HTDOCSDIR}/math + exeinto ${MY_HTDOCSDIR}/math + doexe math/texvc + + # Docs + docinto math + dodoc math/README math/TODO + + # 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 + + webapp_postinst_txt en ${FILESDIR}/postinstall-1.5-en.txt + webapp_src_install +} |