version bumpS
authorPhilippe Trottier <tchiwam@gentoo.org>
Wed, 21 Feb 2007 15:44:13 +0000 (15:44 +0000)
committerPhilippe Trottier <tchiwam@gentoo.org>
Wed, 21 Feb 2007 15:44:13 +0000 (15:44 +0000)
Package-Manager: portage-2.1.2-r9

www-apps/mediawiki/ChangeLog
www-apps/mediawiki/Manifest
www-apps/mediawiki/files/digest-mediawiki-1.6.10 [new file with mode: 0644]
www-apps/mediawiki/files/digest-mediawiki-1.7.3 [new file with mode: 0644]
www-apps/mediawiki/files/digest-mediawiki-1.8.4 [new file with mode: 0644]
www-apps/mediawiki/files/digest-mediawiki-1.9.3 [new file with mode: 0644]
www-apps/mediawiki/mediawiki-1.6.10.ebuild [new file with mode: 0644]
www-apps/mediawiki/mediawiki-1.7.3.ebuild [new file with mode: 0644]
www-apps/mediawiki/mediawiki-1.8.4.ebuild [new file with mode: 0644]
www-apps/mediawiki/mediawiki-1.9.3.ebuild [new file with mode: 0644]

index 7c0c7498bca6b0171edb2738e9d5ee8b9d49ed18..fa2d9af3d932c3ff05bf022f4d12e22615ff6590 100644 (file)
@@ -1,6 +1,15 @@
 # ChangeLog for www-apps/mediawiki
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.79 2007/02/14 16:12:44 tchiwam Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.80 2007/02/21 15:44:13 tchiwam Exp $
+
+*mediawiki-1.9.3 (21 Feb 2007)
+*mediawiki-1.8.4 (21 Feb 2007)
+*mediawiki-1.7.3 (21 Feb 2007)
+*mediawiki-1.6.10 (21 Feb 2007)
+
+  21 Feb 2007; <tchiwam@gentoo.org> +mediawiki-1.6.10.ebuild,
+  +mediawiki-1.7.3.ebuild, +mediawiki-1.8.4.ebuild, +mediawiki-1.9.3.ebuild:
+  Security fix in many versions
 
   14 Feb 2007; <tchiwam@gentoo.org> mediawiki-1.8.3.ebuild,
   mediawiki-1.9.2.ebuild:
index 039b34d73528a3d74a4b4058bdd583c4c0960e57..76d2b9786826bf93290d3b613258538625c6eadb 100644 (file)
@@ -22,12 +22,20 @@ AUX postinstall-en.txt 1731 RMD160 c6c370d046facf6a73c4827cd3f8510e63a442f3 SHA1
 MD5 85f32b5fca9afd6479cdcea022c096f2 files/postinstall-en.txt 1731
 RMD160 c6c370d046facf6a73c4827cd3f8510e63a442f3 files/postinstall-en.txt 1731
 SHA256 cb0067f6f3fb8366f499ef5f81a07ac236620bf5792a6b4497a34d9302779a71 files/postinstall-en.txt 1731
+DIST mediawiki-1.6.10.tar.gz 2729006 RMD160 91e9010c5881192e852bd2ed4f583204a00381ce SHA1 c38d65e7d52c1c18412e32b291feb328ea7ca7c0 SHA256 e0fe47444df671691378048804730a69d930d1ac1514359a91d72c8a33586ed7
 DIST mediawiki-1.6.9.tar.gz 2729054 RMD160 869c0f382b833937926e27193dc73818867f7a4c SHA1 a00bcc6b306a92234da0c2cd3d564869a15045a0 SHA256 faa5a0b03a96555f25b7d9a12d2d1fab646a75486cab4107117e282559a89c53
 DIST mediawiki-1.7.2.tar.gz 3256639 RMD160 722354c5da8efe3c753f7ed2a2adce921ec10e24 SHA1 f63468ce745bbda6d42f66fc64c713b4fd000ef2 SHA256 4323abd31c1d5d149bee1f74fa70173d0cc651bd5fe8bf0b1452705ede4743e0
+DIST mediawiki-1.7.3.tar.gz 3256345 RMD160 edc93aa5a92712a39f1f7aa8e90faef0bc85fbdd SHA1 d2380728620138121a7d8de98500b6789dba4ed1 SHA256 5429f202005aeeec25fe91f981513875b4762812d3cafae8aaf4cd259587625e
 DIST mediawiki-1.8.3.tar.gz 3492474 RMD160 bcee8bec9fbb7d9189c39e32ccc0c1ed3601305c SHA1 fa4daa4376b80f61be5925e6172daa76938d9bad SHA256 0fe4d5177e75a52e2a68090813944a283e9c5178305bea1852f410edc93879d3
+DIST mediawiki-1.8.4.tar.gz 3492824 RMD160 cdd2e4d51319596a935b493ca00b579cc29ba050 SHA1 6d41d6fc1df7920e4eb2a9fc963379d1ee34a07c SHA256 52c586d7dbc0653d4114194330222b1761af4f249f413a90919384a6dbcf17f7
 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
+DIST mediawiki-1.9.3.tar.gz 3858149 RMD160 5974decbf340f04bb97342d59c92ebdf57bd9f47 SHA1 a2f56a22241ad65b4f2130c87525108b80cf03e4 SHA256 711f168f5755f0153c64e8647035fb917cb6403d7b77593ab3eec234b0f650d9
+EBUILD mediawiki-1.6.10.ebuild 3144 RMD160 2796d50b879d666c56bf331e45f216fdd1164903 SHA1 6829ac811fa3b2d4d134254a569f3af681add060 SHA256 0d7d03d9bbbfc8ae15ff2b8e054ba204975f4b392c69eafed5b4625f7f91dbf5
+MD5 504c464581303f368745ed3aa311f660 mediawiki-1.6.10.ebuild 3144
+RMD160 2796d50b879d666c56bf331e45f216fdd1164903 mediawiki-1.6.10.ebuild 3144
+SHA256 0d7d03d9bbbfc8ae15ff2b8e054ba204975f4b392c69eafed5b4625f7f91dbf5 mediawiki-1.6.10.ebuild 3144
 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
@@ -36,10 +44,18 @@ EBUILD mediawiki-1.7.2.ebuild 3287 RMD160 ee2252b7c24ae0c636e9b3ec61f74ed4018f11
 MD5 16526da7d2624f785a3759b3a89a0f1a mediawiki-1.7.2.ebuild 3287
 RMD160 ee2252b7c24ae0c636e9b3ec61f74ed4018f1177 mediawiki-1.7.2.ebuild 3287
 SHA256 dcc6e322300e37798be63ec3bf7463bda22191c993368dae15490804a19be924 mediawiki-1.7.2.ebuild 3287
+EBUILD mediawiki-1.7.3.ebuild 3287 RMD160 8de713c7a4c7926a8ba6cb2de89c8e7c39d79466 SHA1 5d3f23b824469516df3c3e7c0490ffbbb56c1285 SHA256 406398106bf2d8ced1490884897107555ccd6e9398435ebd48f4c265aca3769f
+MD5 de1aae157736d18cc3533591dcdcb899 mediawiki-1.7.3.ebuild 3287
+RMD160 8de713c7a4c7926a8ba6cb2de89c8e7c39d79466 mediawiki-1.7.3.ebuild 3287
+SHA256 406398106bf2d8ced1490884897107555ccd6e9398435ebd48f4c265aca3769f mediawiki-1.7.3.ebuild 3287
 EBUILD mediawiki-1.8.3.ebuild 3485 RMD160 0973695166611bfb60d5cac103443bb635f13a9c SHA1 6f702cab603bd91436ceda97fca23ca4e917588e SHA256 98ee4bd2d2f86bb24ac6cb371587586579282381ef13727d6577fcba067e6687
 MD5 af28d87164ea9c4b2735a105f54626d6 mediawiki-1.8.3.ebuild 3485
 RMD160 0973695166611bfb60d5cac103443bb635f13a9c mediawiki-1.8.3.ebuild 3485
 SHA256 98ee4bd2d2f86bb24ac6cb371587586579282381ef13727d6577fcba067e6687 mediawiki-1.8.3.ebuild 3485
+EBUILD mediawiki-1.8.4.ebuild 3485 RMD160 849d04ff2df141d5c8b373b5e444f82a96b21872 SHA1 694fc890ae2c6a9a75764a37b57cf696c3c475e0 SHA256 eca1960ae0c7f79779406ca6c71cca5177f11d622ce51c8da57150f416c9b658
+MD5 ec5b70ae24a7a045e3a583e651f2ad3a mediawiki-1.8.4.ebuild 3485
+RMD160 849d04ff2df141d5c8b373b5e444f82a96b21872 mediawiki-1.8.4.ebuild 3485
+SHA256 eca1960ae0c7f79779406ca6c71cca5177f11d622ce51c8da57150f416c9b658 mediawiki-1.8.4.ebuild 3485
 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
@@ -52,23 +68,36 @@ EBUILD mediawiki-1.9.2.ebuild 3489 RMD160 e698b64b312b580e8049d7ab2a5b4333cddc41
 MD5 359468beecd7c11a7e7673537e880653 mediawiki-1.9.2.ebuild 3489
 RMD160 e698b64b312b580e8049d7ab2a5b4333cddc418b mediawiki-1.9.2.ebuild 3489
 SHA256 f38bd44869515b9f81e12eed226567837c22e610ffb18b6a1fc67cc6e6dbb1f9 mediawiki-1.9.2.ebuild 3489
-MISC ChangeLog 13664 RMD160 6a92d6b554c41097c0590f74a51977108791c406 SHA1 6bf6f92cf3c82a56eeb3d7c4f9ffe63b3c02e891 SHA256 a44821ef8e211cac181843c901f0380d2784c94ea6df1e9cdc3f08a684a034da
-MD5 c4fdca13a912ce86fdbd63f403dd49a9 ChangeLog 13664
-RMD160 6a92d6b554c41097c0590f74a51977108791c406 ChangeLog 13664
-SHA256 a44821ef8e211cac181843c901f0380d2784c94ea6df1e9cdc3f08a684a034da ChangeLog 13664
+EBUILD mediawiki-1.9.3.ebuild 3489 RMD160 c973967c1b98ed8540f4a4a925a213ec2fa2a810 SHA1 f8be3a3c5b87cfa6402ad5c86ae8782196f3dae7 SHA256 1843d63ddb38cff4c7b108284a7628b8230d4cab3bafbabd3864d1d6b941a0fb
+MD5 7e91e0962e3f0a6aaab00f3d073f37c7 mediawiki-1.9.3.ebuild 3489
+RMD160 c973967c1b98ed8540f4a4a925a213ec2fa2a810 mediawiki-1.9.3.ebuild 3489
+SHA256 1843d63ddb38cff4c7b108284a7628b8230d4cab3bafbabd3864d1d6b941a0fb mediawiki-1.9.3.ebuild 3489
+MISC ChangeLog 13962 RMD160 28fd2add052662a9d4e906864a9aa58aa9acf0ad SHA1 9c5779b3015dddbdfdb0037c400d54876e70da7d SHA256 1c51cd77debeed7a4ed384adf3f87d1f365b07f6f5470da8695702b47c954af3
+MD5 e13187a5a405f03744108a77733c0c94 ChangeLog 13962
+RMD160 28fd2add052662a9d4e906864a9aa58aa9acf0ad ChangeLog 13962
+SHA256 1c51cd77debeed7a4ed384adf3f87d1f365b07f6f5470da8695702b47c954af3 ChangeLog 13962
 MISC metadata.xml 366 RMD160 8be6da5afadbc6c6e57d589097d8f702d951bde3 SHA1 4c3b825388a712b4452ba16912b38b9aba76b78e SHA256 dddc4891c17811953d2cae412c4b1a713dc00b3629cd38a5b530c15a0acebcc2
 MD5 6e1b02a80fc901d2eaadf52a50e0b905 metadata.xml 366
 RMD160 8be6da5afadbc6c6e57d589097d8f702d951bde3 metadata.xml 366
 SHA256 dddc4891c17811953d2cae412c4b1a713dc00b3629cd38a5b530c15a0acebcc2 metadata.xml 366
+MD5 8a5bb645824cc8ebd352d21e80972ade files/digest-mediawiki-1.6.10 253
+RMD160 0f29015fd61257b3760ea1970550794248d773fc files/digest-mediawiki-1.6.10 253
+SHA256 40280fa38d3e74db58af4c8b4d8cbd0f69ad526364215e4e2df76401aca01646 files/digest-mediawiki-1.6.10 253
 MD5 e01281394c8e4eae816f4797e1c47681 files/digest-mediawiki-1.6.9 250
 RMD160 eac662a2d5144e0fb5099978bdc3247be477f6ec files/digest-mediawiki-1.6.9 250
 SHA256 428e3904e5cd48938b64ad71e7bd97e1d905c07c1ca149305e327dbbedf06392 files/digest-mediawiki-1.6.9 250
 MD5 70e64d6eff1da787880f69d5cbe940ff files/digest-mediawiki-1.7.2 250
 RMD160 02debce0b88be3a774bf335d40faa3332f2753d5 files/digest-mediawiki-1.7.2 250
 SHA256 c4effda5d654961d90d85e1a757830973925e83c446640a5cbf03c4dff196080 files/digest-mediawiki-1.7.2 250
+MD5 8ffab01f1f3b6ef0522c8518c7550a33 files/digest-mediawiki-1.7.3 250
+RMD160 d0fe5c821cd13a72b12f2170d58d701c02fb5398 files/digest-mediawiki-1.7.3 250
+SHA256 66e29dfb2cf9710674cf014017713aafe20e77d4eb81ea351d776f61f31a7be0 files/digest-mediawiki-1.7.3 250
 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
+MD5 c72b065a4832c4b3ddacab2bab2789e1 files/digest-mediawiki-1.8.4 250
+RMD160 3ad69f69466ca17172d5ff657e7990592210575d files/digest-mediawiki-1.8.4 250
+SHA256 4129a7cd38519a410b3c7addfe2f939a890e1992970967f8e7c7f95a61e4cc2e files/digest-mediawiki-1.8.4 250
 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
@@ -78,3 +107,6 @@ SHA256 5b3c40118b1809298b08e6ced32be672dff7d15d1c05d77ea31fd58c18129eff files/di
 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
+MD5 d72b30d8e8a26e965af5b902098680c0 files/digest-mediawiki-1.9.3 250
+RMD160 705b4abcfca9ac5a64d24a738972add48e2dae90 files/digest-mediawiki-1.9.3 250
+SHA256 d1b046683c1acf97a9677f2ee54ec064913b760d9b2a36b1562cf6a2f3021c4a files/digest-mediawiki-1.9.3 250
diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.6.10 b/www-apps/mediawiki/files/digest-mediawiki-1.6.10
new file mode 100644 (file)
index 0000000..74a1e59
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 e8b70d4d40e67cc5ea6f0de396fa5254 mediawiki-1.6.10.tar.gz 2729006
+RMD160 91e9010c5881192e852bd2ed4f583204a00381ce mediawiki-1.6.10.tar.gz 2729006
+SHA256 e0fe47444df671691378048804730a69d930d1ac1514359a91d72c8a33586ed7 mediawiki-1.6.10.tar.gz 2729006
diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.7.3 b/www-apps/mediawiki/files/digest-mediawiki-1.7.3
new file mode 100644 (file)
index 0000000..4176311
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 5c0e20609c2249d183b43e7fdf611b51 mediawiki-1.7.3.tar.gz 3256345
+RMD160 edc93aa5a92712a39f1f7aa8e90faef0bc85fbdd mediawiki-1.7.3.tar.gz 3256345
+SHA256 5429f202005aeeec25fe91f981513875b4762812d3cafae8aaf4cd259587625e mediawiki-1.7.3.tar.gz 3256345
diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.8.4 b/www-apps/mediawiki/files/digest-mediawiki-1.8.4
new file mode 100644 (file)
index 0000000..b564d85
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 deda96c093bc0f16df5ded6228e6275a mediawiki-1.8.4.tar.gz 3492824
+RMD160 cdd2e4d51319596a935b493ca00b579cc29ba050 mediawiki-1.8.4.tar.gz 3492824
+SHA256 52c586d7dbc0653d4114194330222b1761af4f249f413a90919384a6dbcf17f7 mediawiki-1.8.4.tar.gz 3492824
diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.9.3 b/www-apps/mediawiki/files/digest-mediawiki-1.9.3
new file mode 100644 (file)
index 0000000..1022f9c
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 3b522510b3a80212ba8dcdc51c938128 mediawiki-1.9.3.tar.gz 3858149
+RMD160 5974decbf340f04bb97342d59c92ebdf57bd9f47 mediawiki-1.9.3.tar.gz 3858149
+SHA256 711f168f5755f0153c64e8647035fb917cb6403d7b77593ab3eec234b0f650d9 mediawiki-1.9.3.tar.gz 3858149
diff --git a/www-apps/mediawiki/mediawiki-1.6.10.ebuild b/www-apps/mediawiki/mediawiki-1.6.10.ebuild
new file mode 100644 (file)
index 0000000..ecba2ba
--- /dev/null
@@ -0,0 +1,144 @@
+# 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.6.10.ebuild,v 1.1 2007/02/21 15:44:13 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"
+
+S="${WORKDIR}/${P/.0_/}"
+
+DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )"
+
+RDEPEND="
+               >=virtual/mysql-4.0
+               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 mysql
+       require_gd
+}
+
+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/cbt"
+               "includes/normal"
+               "includes/templates"
+               "includes/zhtable"
+               "languages"
+               "locale"
+               "maintenance"
+               "maintenance/archives"
+               "maintenance/dtrace"
+               "maintenance/mysql5"
+               "maintenance/oracle"
+               "maintenance/oracle/archive"
+               "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
+}
diff --git a/www-apps/mediawiki/mediawiki-1.7.3.ebuild b/www-apps/mediawiki/mediawiki-1.7.3.ebuild
new file mode 100644 (file)
index 0000000..d0b10fc
--- /dev/null
@@ -0,0 +1,151 @@
+# 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.7.3.ebuild,v 1.1 2007/02/21 15:44:13 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"
+KEYWORDS="amd64 ppc sparc x86"
+IUSE="imagemagick math"
+
+S="${WORKDIR}/${P/.0_/}"
+
+DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )"
+
+RDEPEND="
+               >=dev-lang/php-5.1.4-r6
+               >=virtual/mysql-4.0
+               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 mysql
+       require_gd
+}
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/jobindexlength-mysql4.patch
+       epatch ${FILESDIR}/jobindexlength-mysql5.patch
+}
+
+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/cbt"
+               "includes/normal"
+               "includes/templates"
+               "includes/zhtable"
+               "languages"
+               "locale"
+               "maintenance"
+               "maintenance/archives"
+               "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
+}
diff --git a/www-apps/mediawiki/mediawiki-1.8.4.ebuild b/www-apps/mediawiki/mediawiki-1.8.4.ebuild
new file mode 100644 (file)
index 0000000..46536fe
--- /dev/null
@@ -0,0 +1,162 @@
+# 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.8.4.ebuild,v 1.1 2007/02/21 15:44:13 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"
+               "serialized"
+               "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
+}
diff --git a/www-apps/mediawiki/mediawiki-1.9.3.ebuild b/www-apps/mediawiki/mediawiki-1.9.3.ebuild
new file mode 100644 (file)
index 0000000..9d0597c
--- /dev/null
@@ -0,0 +1,162 @@
+# 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.3.ebuild,v 1.1 2007/02/21 15:44:13 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"
+               "serialized"
+               "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
+}