version bump
authorPhilippe Trottier <tchiwam@gentoo.org>
Wed, 24 Jan 2007 14:24:34 +0000 (14:24 +0000)
committerPhilippe Trottier <tchiwam@gentoo.org>
Wed, 24 Jan 2007 14:24:34 +0000 (14:24 +0000)
Package-Manager: portage-2.1.1-r2

www-apps/mediawiki/ChangeLog
www-apps/mediawiki/Manifest
www-apps/mediawiki/files/digest-mediawiki-1.9.1 [new file with mode: 0644]
www-apps/mediawiki/mediawiki-1.9.1.ebuild [new file with mode: 0644]

index 08d2efb7dfad8c16a8b0927e9f4987cdd7c120d7..2450867d1816c12cd3eafcfd3e05614f4216a716 100644 (file)
@@ -1,5 +1,10 @@
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.74 2007/01/12 00:13:16 tchiwam Exp $
+# 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 $
+
+*mediawiki-1.9.1 (24 Jan 2007)
+
+  24 Jan 2007; Philippe Trottier <tchiwam@gentoo.org> +mediawiki-1.9.1.ebuild:
+  New version, bug fixes and one security fix.
 
   08 Jan 2007; Philippe Trottier <tchiwam@gentoo.org> -mediawiki-1.7.1,
   -mediawiki-1.6.8, -mediawiki-1.8.2:
index c3f711512821fdac1455c2eb43faa8eafc1080ac..913d8fc78c0647c6b900116a6c75730f2a7df69e 100644 (file)
@@ -26,6 +26,7 @@ DIST mediawiki-1.6.9.tar.gz 2729054 RMD160 869c0f382b833937926e27193dc73818867f7
 DIST mediawiki-1.7.2.tar.gz 3256639 RMD160 722354c5da8efe3c753f7ed2a2adce921ec10e24 SHA1 f63468ce745bbda6d42f66fc64c713b4fd000ef2 SHA256 4323abd31c1d5d149bee1f74fa70173d0cc651bd5fe8bf0b1452705ede4743e0
 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
 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
@@ -42,10 +43,14 @@ EBUILD mediawiki-1.9.0.ebuild 3474 RMD160 fabcee49494b782928a4d0757f3be521b819ef
 MD5 06ff3791fa12b5703eb2fbf04e5364d7 mediawiki-1.9.0.ebuild 3474
 RMD160 fabcee49494b782928a4d0757f3be521b819efe4 mediawiki-1.9.0.ebuild 3474
 SHA256 92d9afb959ff49581d5c4db78b4d602257b3b8fbb3c4c465df155ebd3b12cd0c mediawiki-1.9.0.ebuild 3474
-MISC ChangeLog 13070 RMD160 861b7744fd5962ecc80a99de0d2ce0a06c706fbd SHA1 3cbd1a5403e17cda22c98835da947f21d51ad3a2 SHA256 96b33a00338a959b436db6b1bc5944fb9abe3ce37c87ac5591bb3e5eec3936a1
-MD5 32aa0e01acb92c0ca8407efe72d49195 ChangeLog 13070
-RMD160 861b7744fd5962ecc80a99de0d2ce0a06c706fbd ChangeLog 13070
-SHA256 96b33a00338a959b436db6b1bc5944fb9abe3ce37c87ac5591bb3e5eec3936a1 ChangeLog 13070
+EBUILD mediawiki-1.9.1.ebuild 3474 RMD160 d762b13609437e2a72fd9865961c1767d4c1ef1e SHA1 1ddb4663752ab9027f9e31829aad028556d231b8 SHA256 61793aa37cb38a849fb20d212b1ca08578eb63e64e3b1503497cbd335d98fda6
+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
 MISC metadata.xml 366 RMD160 8be6da5afadbc6c6e57d589097d8f702d951bde3 SHA1 4c3b825388a712b4452ba16912b38b9aba76b78e SHA256 dddc4891c17811953d2cae412c4b1a713dc00b3629cd38a5b530c15a0acebcc2
 MD5 6e1b02a80fc901d2eaadf52a50e0b905 metadata.xml 366
 RMD160 8be6da5afadbc6c6e57d589097d8f702d951bde3 metadata.xml 366
@@ -62,3 +67,6 @@ SHA256 51c3173513ff30b763048803a9f399ec25780b5c5a910399e6819463476a892f files/di
 MD5 9e631d1856a4d36b014dafc37e1aeb0b files/digest-mediawiki-1.9.0 250
 RMD160 74b81a97025acc9e27ea4a1abe3db8da8513c7d3 files/digest-mediawiki-1.9.0 250
 SHA256 99f368c6a5d0893100fbcbbbe4bd9617b247c630b6bea588c6ae6753c73325db files/digest-mediawiki-1.9.0 250
+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
diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.9.1 b/www-apps/mediawiki/files/digest-mediawiki-1.9.1
new file mode 100644 (file)
index 0000000..15f2155
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 89f77d8f39fbefa4325e0fe4d06746c7 mediawiki-1.9.1.tar.gz 3858336
+RMD160 d2f206bdbec459c7d127b89d8d7afb5686fb9b42 mediawiki-1.9.1.tar.gz 3858336
+SHA256 dd7eb7af02a637d0312b60beb822550e0c1354598c7f564f84868a57bfabbb7d mediawiki-1.9.1.tar.gz 3858336
diff --git a/www-apps/mediawiki/mediawiki-1.9.1.ebuild b/www-apps/mediawiki/mediawiki-1.9.1.ebuild
new file mode 100644 (file)
index 0000000..c4b76a7
--- /dev/null
@@ -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.1.ebuild,v 1.1 2007/01/24 14:24:34 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
+}