Version Bump 1.9.0
authorPhilippe Trottier <tchiwam@gentoo.org>
Fri, 12 Jan 2007 00:05:43 +0000 (00:05 +0000)
committerPhilippe Trottier <tchiwam@gentoo.org>
Fri, 12 Jan 2007 00:05:43 +0000 (00:05 +0000)
Package-Manager: portage-2.1.1-r2

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

index 05edf6a8a85186a222832df37e9f529b065e9c7e..fa8ea8b99fe1c198b642189c6ce1dd8345cfd8cc 100644 (file)
@@ -1,6 +1,10 @@
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.72 2007/01/09 10:27:00 tchiwam Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.73 2007/01/12 00:05:43 tchiwam Exp $
 
+*mediawiki-1.8.3 (12 Jan 2007)
+  12 Jan 2007; Philippe Trottier <tchiwam@gentoo.org> +mediawiki-1.9.0:
+  Version Bump
+  
 *mediawiki-1.8.3 (08 Jan 2007)
   08 Jan 2007; Philippe Trottier <tchiwam@gentoo.org> +mediawiki-1.8.3:
   Security update and upstream bug fixes. bug#161091
index 6a487e647ebcc757cc59c4fc459c2bf9491b4340..a4f262218d776fb29041ede7def4429f69a53bd0 100644 (file)
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX access_restrict.patch 1240 RMD160 29e27a84951daf447da1ecba3e929e94d02e0fb1 SHA1 1ec89557c26b682b2550ff95201a233eca471bec SHA256 22ca5d7e4cd6f3b03f2eb01a5e2ba0a1931998ff56ba3f1ebaa0a60cec436829
 MD5 b7ea14f1e781b80c0915604ac97140ac files/access_restrict.patch 1240
 RMD160 29e27a84951daf447da1ecba3e929e94d02e0fb1 files/access_restrict.patch 1240
@@ -31,6 +28,7 @@ DIST mediawiki-1.7.1.tar.gz 3256428 RMD160 b1117b385971e6e02908e2cf4b610d082d75b
 DIST mediawiki-1.7.2.tar.gz 3256639 RMD160 722354c5da8efe3c753f7ed2a2adce921ec10e24 SHA1 f63468ce745bbda6d42f66fc64c713b4fd000ef2 SHA256 4323abd31c1d5d149bee1f74fa70173d0cc651bd5fe8bf0b1452705ede4743e0
 DIST mediawiki-1.8.2.tar.gz 3491471 RMD160 85399c70d20d2a68a8e37944a84079655cc1b434 SHA1 d04c9d4c297c7707462626d88cf04d190bd9772b SHA256 1ff1ae27049e77db1af149d6bca193d13dd39a7586f3c14617e14abc46db129d
 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
 EBUILD mediawiki-1.6.8.ebuild 3140 RMD160 5848c9afd98908d907f3743f677585f38ff4298b SHA1 43273904bdb8867b1011ff48325d8a4175dbd87d SHA256 c062f671252e4723bd105c4a1756c614d73f11867de5b05b1ff803b85e4d56e9
 MD5 d2aa1a1aab1197cb7059e67733f3c194 mediawiki-1.6.8.ebuild 3140
 RMD160 5848c9afd98908d907f3743f677585f38ff4298b mediawiki-1.6.8.ebuild 3140
@@ -55,10 +53,14 @@ EBUILD mediawiki-1.8.3.ebuild 3474 RMD160 60df867701a02625b7296fdb3a11c6e41b1558
 MD5 0ca21fd81dcca7280408c1721dca1ec8 mediawiki-1.8.3.ebuild 3474
 RMD160 60df867701a02625b7296fdb3a11c6e41b155857 mediawiki-1.8.3.ebuild 3474
 SHA256 e84514c8067bd92874f5c74d892fcca59c7e719e541e8378188ed1a7b64515c0 mediawiki-1.8.3.ebuild 3474
-MISC ChangeLog 12790 RMD160 b6a52d07516848d26161177549016e4b36d3981e SHA1 e925d9257ff02db5891cf188c9e8da4db4af55b7 SHA256 6e6d4ade51f0f7e6cfedfeee542e38b75faa1a07ffae2e1c7db942313b99bbed
-MD5 007ae3b5176fad3bbb0182579e598acd ChangeLog 12790
-RMD160 b6a52d07516848d26161177549016e4b36d3981e ChangeLog 12790
-SHA256 6e6d4ade51f0f7e6cfedfeee542e38b75faa1a07ffae2e1c7db942313b99bbed ChangeLog 12790
+EBUILD mediawiki-1.9.0.ebuild 3474 RMD160 fabcee49494b782928a4d0757f3be521b819efe4 SHA1 20082eb7d5d40bfae1723790f79ad3100717f5a4 SHA256 92d9afb959ff49581d5c4db78b4d602257b3b8fbb3c4c465df155ebd3b12cd0c
+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 12911 RMD160 e19c4b0f65bbb89c5423d2cb27fe18a44429de11 SHA1 958860da4008648a014a7f89b185959ca47bb05b SHA256 7d1aa6644d6af1e098ca0b9e81dee7faa2e231c1ba22ccff0c07132a39c43dd2
+MD5 45ef025754becba3d9ce0594d4e63799 ChangeLog 12911
+RMD160 e19c4b0f65bbb89c5423d2cb27fe18a44429de11 ChangeLog 12911
+SHA256 7d1aa6644d6af1e098ca0b9e81dee7faa2e231c1ba22ccff0c07132a39c43dd2 ChangeLog 12911
 MISC metadata.xml 366 RMD160 8be6da5afadbc6c6e57d589097d8f702d951bde3 SHA1 4c3b825388a712b4452ba16912b38b9aba76b78e SHA256 dddc4891c17811953d2cae412c4b1a713dc00b3629cd38a5b530c15a0acebcc2
 MD5 6e1b02a80fc901d2eaadf52a50e0b905 metadata.xml 366
 RMD160 8be6da5afadbc6c6e57d589097d8f702d951bde3 metadata.xml 366
@@ -81,10 +83,6 @@ SHA256 4112a96ead6a4a7c8863887f48191ff8e4cc9c0725eb0378d9947fd05fba083d files/di
 MD5 8da40986d7d15f63d406870084136fd4 files/digest-mediawiki-1.8.3 250
 RMD160 e6b933608c56327eba5b6c8b911f76da026f14ab files/digest-mediawiki-1.8.3 250
 SHA256 51c3173513ff30b763048803a9f399ec25780b5c5a910399e6819463476a892f files/digest-mediawiki-1.8.3 250
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
-
-iD8DBQFFo/t0I1lqEGTUzyQRAtR8AKCHPRfRrYhClCZod1pxpfnZgYUgOwCfVOIL
-xwHx5gjBdbKLYowm/v3+Bzs=
-=l7gV
------END PGP SIGNATURE-----
+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
diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.9.0 b/www-apps/mediawiki/files/digest-mediawiki-1.9.0
new file mode 100644 (file)
index 0000000..35a8224
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 cb58560858e2b85ac7b94097ad3e4531 mediawiki-1.9.0.tar.gz 3857967
+RMD160 4ef05456f28b9a60e484e8b48c8f06e14c8ebc24 mediawiki-1.9.0.tar.gz 3857967
+SHA256 3f8be730746b9fb19d41bade7aec3911464ab3babbdefe189f2c826cd2830027 mediawiki-1.9.0.tar.gz 3857967
diff --git a/www-apps/mediawiki/mediawiki-1.9.0.ebuild b/www-apps/mediawiki/mediawiki-1.9.0.ebuild
new file mode 100644 (file)
index 0000000..af13f97
--- /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.0.ebuild,v 1.1 2007/01/12 00:05:43 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
+}