From 5cc71e0556cce6eb1e8fdb46f6a576d2b08b07ba Mon Sep 17 00:00:00 2001 From: Philippe Trottier Date: Fri, 12 Jan 2007 00:13:27 +0000 Subject: [PATCH] Removing vulnerable versions Package-Manager: portage-2.1.1-r2 --- www-apps/mediawiki/Manifest | 32 +--- .../mediawiki/files/digest-mediawiki-1.6.8 | 3 - .../mediawiki/files/digest-mediawiki-1.7.1 | 3 - .../mediawiki/files/digest-mediawiki-1.8.2 | 3 - www-apps/mediawiki/mediawiki-1.6.8.ebuild | 144 ---------------- www-apps/mediawiki/mediawiki-1.7.1.ebuild | 151 ---------------- www-apps/mediawiki/mediawiki-1.8.2.ebuild | 163 ------------------ 7 files changed, 4 insertions(+), 495 deletions(-) delete mode 100644 www-apps/mediawiki/files/digest-mediawiki-1.6.8 delete mode 100644 www-apps/mediawiki/files/digest-mediawiki-1.7.1 delete mode 100644 www-apps/mediawiki/files/digest-mediawiki-1.8.2 delete mode 100644 www-apps/mediawiki/mediawiki-1.6.8.ebuild delete mode 100644 www-apps/mediawiki/mediawiki-1.7.1.ebuild delete mode 100644 www-apps/mediawiki/mediawiki-1.8.2.ebuild diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest index a4f262218d77..c3f711512821 100644 --- a/www-apps/mediawiki/Manifest +++ b/www-apps/mediawiki/Manifest @@ -22,33 +22,18 @@ 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.8.tar.gz 2728821 RMD160 a73c03f4e9cb9ca857dcba08eb4addc72d0b67f8 SHA1 b2ac945ceef2cac253a1e73b9de1da5f79aa7e77 SHA256 c2cc2e701007ea7a141567fb86e16a4680b17c03ef617e9d081a7af87aa95a39 DIST mediawiki-1.6.9.tar.gz 2729054 RMD160 869c0f382b833937926e27193dc73818867f7a4c SHA1 a00bcc6b306a92234da0c2cd3d564869a15045a0 SHA256 faa5a0b03a96555f25b7d9a12d2d1fab646a75486cab4107117e282559a89c53 -DIST mediawiki-1.7.1.tar.gz 3256428 RMD160 b1117b385971e6e02908e2cf4b610d082d75bad3 SHA1 bdd685d4fe5d7b0d8e0ef2cf9a843bbab60d20ac SHA256 c1b921faedddc14befe1c9593cba80cf6acfe86f21d9eca48617f7a95461bdd2 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 -SHA256 c062f671252e4723bd105c4a1756c614d73f11867de5b05b1ff803b85e4d56e9 mediawiki-1.6.8.ebuild 3140 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 SHA256 23f14c7e26c0beb5cac4f2cb4d5894850e30ed3bf4f2ffb712284a60d597f6ef mediawiki-1.6.9.ebuild 3143 -EBUILD mediawiki-1.7.1.ebuild 3287 RMD160 dc4eefd7230173b4c090f0c776ae7cf86b8f6e68 SHA1 6314b8042c37c5e15e7a14c94e47d2e3d4dc62f5 SHA256 c9509e6cf7106b980e3a42497ceecafe853d061f07d0177995fd57c36cf28f1a -MD5 2ebdbacaadaf1c268fcfd9f81ec5a517 mediawiki-1.7.1.ebuild 3287 -RMD160 dc4eefd7230173b4c090f0c776ae7cf86b8f6e68 mediawiki-1.7.1.ebuild 3287 -SHA256 c9509e6cf7106b980e3a42497ceecafe853d061f07d0177995fd57c36cf28f1a mediawiki-1.7.1.ebuild 3287 EBUILD mediawiki-1.7.2.ebuild 3287 RMD160 ee2252b7c24ae0c636e9b3ec61f74ed4018f1177 SHA1 c9098af210be45583339683f8e30832e3e5e9cc5 SHA256 dcc6e322300e37798be63ec3bf7463bda22191c993368dae15490804a19be924 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.8.2.ebuild 3549 RMD160 914d73b907dee66c0d8c79a42ff42cd270300d75 SHA1 c9d8a19719d45754839a4d36360fb7a8521a9248 SHA256 0ebca13c48b2dfe44417b954fbfb2e8f4d457ed8e1405c6026652f38c1055456 -MD5 fcf2324a8e70da24675951e7a0d099e7 mediawiki-1.8.2.ebuild 3549 -RMD160 914d73b907dee66c0d8c79a42ff42cd270300d75 mediawiki-1.8.2.ebuild 3549 -SHA256 0ebca13c48b2dfe44417b954fbfb2e8f4d457ed8e1405c6026652f38c1055456 mediawiki-1.8.2.ebuild 3549 EBUILD mediawiki-1.8.3.ebuild 3474 RMD160 60df867701a02625b7296fdb3a11c6e41b155857 SHA1 a3b2b8567fa6dfdd9392e55e8a4ef35ecf2d982b SHA256 e84514c8067bd92874f5c74d892fcca59c7e719e541e8378188ed1a7b64515c0 MD5 0ca21fd81dcca7280408c1721dca1ec8 mediawiki-1.8.3.ebuild 3474 RMD160 60df867701a02625b7296fdb3a11c6e41b155857 mediawiki-1.8.3.ebuild 3474 @@ -57,29 +42,20 @@ 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 12911 RMD160 e19c4b0f65bbb89c5423d2cb27fe18a44429de11 SHA1 958860da4008648a014a7f89b185959ca47bb05b SHA256 7d1aa6644d6af1e098ca0b9e81dee7faa2e231c1ba22ccff0c07132a39c43dd2 -MD5 45ef025754becba3d9ce0594d4e63799 ChangeLog 12911 -RMD160 e19c4b0f65bbb89c5423d2cb27fe18a44429de11 ChangeLog 12911 -SHA256 7d1aa6644d6af1e098ca0b9e81dee7faa2e231c1ba22ccff0c07132a39c43dd2 ChangeLog 12911 +MISC ChangeLog 13070 RMD160 861b7744fd5962ecc80a99de0d2ce0a06c706fbd SHA1 3cbd1a5403e17cda22c98835da947f21d51ad3a2 SHA256 96b33a00338a959b436db6b1bc5944fb9abe3ce37c87ac5591bb3e5eec3936a1 +MD5 32aa0e01acb92c0ca8407efe72d49195 ChangeLog 13070 +RMD160 861b7744fd5962ecc80a99de0d2ce0a06c706fbd ChangeLog 13070 +SHA256 96b33a00338a959b436db6b1bc5944fb9abe3ce37c87ac5591bb3e5eec3936a1 ChangeLog 13070 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 f983bc2c8809a6c0e696685ea98505e5 files/digest-mediawiki-1.6.8 250 -RMD160 a2f0ddc4805a50fb74a8c6f3d21640979bf5c89b files/digest-mediawiki-1.6.8 250 -SHA256 ad429d46f83d05cc18445aec8a52afc546df7ad83ace6ce97027f3fea56987a4 files/digest-mediawiki-1.6.8 250 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 578226a99822c123f8b879fbb9b65dd4 files/digest-mediawiki-1.7.1 250 -RMD160 2883d419b27a9786b9b7d6b61a9f51de5c1e1fc5 files/digest-mediawiki-1.7.1 250 -SHA256 8b8c6f5fd02cfce4f54718cc9eb848692635875b5885d9ef705cc5abc486900f files/digest-mediawiki-1.7.1 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 3609db13dffc4eca2c8d3c03065dce74 files/digest-mediawiki-1.8.2 250 -RMD160 fa2388c75160698613b7449d9d2a685ad4ff813b files/digest-mediawiki-1.8.2 250 -SHA256 4112a96ead6a4a7c8863887f48191ff8e4cc9c0725eb0378d9947fd05fba083d files/digest-mediawiki-1.8.2 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 diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.6.8 b/www-apps/mediawiki/files/digest-mediawiki-1.6.8 deleted file mode 100644 index 30e78c4e7b9d..000000000000 --- a/www-apps/mediawiki/files/digest-mediawiki-1.6.8 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 4befcbe776f8585efe705b9bd799a488 mediawiki-1.6.8.tar.gz 2728821 -RMD160 a73c03f4e9cb9ca857dcba08eb4addc72d0b67f8 mediawiki-1.6.8.tar.gz 2728821 -SHA256 c2cc2e701007ea7a141567fb86e16a4680b17c03ef617e9d081a7af87aa95a39 mediawiki-1.6.8.tar.gz 2728821 diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.7.1 b/www-apps/mediawiki/files/digest-mediawiki-1.7.1 deleted file mode 100644 index 17d82ccbb2e8..000000000000 --- a/www-apps/mediawiki/files/digest-mediawiki-1.7.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 50b74e2b5c86fb94c7201b72d2037662 mediawiki-1.7.1.tar.gz 3256428 -RMD160 b1117b385971e6e02908e2cf4b610d082d75bad3 mediawiki-1.7.1.tar.gz 3256428 -SHA256 c1b921faedddc14befe1c9593cba80cf6acfe86f21d9eca48617f7a95461bdd2 mediawiki-1.7.1.tar.gz 3256428 diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.8.2 b/www-apps/mediawiki/files/digest-mediawiki-1.8.2 deleted file mode 100644 index 49287c5870b5..000000000000 --- a/www-apps/mediawiki/files/digest-mediawiki-1.8.2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 79113e7ea8d7e7c5437e633259af4a11 mediawiki-1.8.2.tar.gz 3491471 -RMD160 85399c70d20d2a68a8e37944a84079655cc1b434 mediawiki-1.8.2.tar.gz 3491471 -SHA256 1ff1ae27049e77db1af149d6bca193d13dd39a7586f3c14617e14abc46db129d mediawiki-1.8.2.tar.gz 3491471 diff --git a/www-apps/mediawiki/mediawiki-1.6.8.ebuild b/www-apps/mediawiki/mediawiki-1.6.8.ebuild deleted file mode 100644 index 58e05aaf8e46..000000000000 --- a/www-apps/mediawiki/mediawiki-1.6.8.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.6.8.ebuild,v 1.3 2006/11/23 17:17:48 vivo 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.1.ebuild b/www-apps/mediawiki/mediawiki-1.7.1.ebuild deleted file mode 100644 index 1f3343b35e52..000000000000 --- a/www-apps/mediawiki/mediawiki-1.7.1.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.7.1.ebuild,v 1.5 2006/12/07 09:12:39 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.2.ebuild b/www-apps/mediawiki/mediawiki-1.8.2.ebuild deleted file mode 100644 index 27898bc65347..000000000000 --- a/www-apps/mediawiki/mediawiki-1.8.2.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# 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.2.ebuild,v 1.7 2007/01/09 10:27:00 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 - mysql? ( >=virtual/mysql-4.0 ) - postgres? ( >=dev-db/postgresql-8.1.5 ) - 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 -} -- 2.26.2