diff options
author | Christian Parpart <trapni@gentoo.org> | 2006-05-02 21:41:08 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2006-05-02 21:41:08 +0000 |
commit | 763e1b41dc2b6c8defd4f00c91aab51e339c7f86 (patch) | |
tree | 3b8b3cb74a9bec6c0f7d2b92302df8f8593b00c0 /www-apps | |
parent | 1.01.00 re-marked stable on x86 (diff) | |
download | gentoo-2-763e1b41dc2b6c8defd4f00c91aab51e339c7f86.tar.gz gentoo-2-763e1b41dc2b6c8defd4f00c91aab51e339c7f86.tar.bz2 gentoo-2-763e1b41dc2b6c8defd4f00c91aab51e339c7f86.zip |
initial 1.6.x ebuild
(Portage version: 2.1_pre10-r2)
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/mediawiki/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/mediawiki/files/digest-mediawiki-1.4.14 | 2 | ||||
-rw-r--r-- | www-apps/mediawiki/files/digest-mediawiki-1.4.15 | 2 | ||||
-rw-r--r-- | www-apps/mediawiki/files/digest-mediawiki-1.5.6 | 2 | ||||
-rw-r--r-- | www-apps/mediawiki/files/digest-mediawiki-1.5.8 | 2 | ||||
-rw-r--r-- | www-apps/mediawiki/files/digest-mediawiki-1.6.4 | 3 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.6.4.ebuild | 144 |
7 files changed, 162 insertions, 1 deletions
diff --git a/www-apps/mediawiki/ChangeLog b/www-apps/mediawiki/ChangeLog index 1ccaa8aa59c6..991999fafa18 100644 --- a/www-apps/mediawiki/ChangeLog +++ b/www-apps/mediawiki/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/mediawiki # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.54 2006/04/12 11:31:51 tchiwam Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.55 2006/05/02 21:41:08 trapni Exp $ + +*mediawiki-1.6.4 (02 May 2006) + + 02 May 2006; Christian Parpart <trapni@gentoo.org> + +mediawiki-1.6.4.ebuild: + initial 1.6.x ebuild *mediawiki-1.5.8 (12 Apr 2006) *mediawiki-1.5.3 (12 Apr 2006) diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.4.14 b/www-apps/mediawiki/files/digest-mediawiki-1.4.14 index 2043eace0111..49095324ea14 100644 --- a/www-apps/mediawiki/files/digest-mediawiki-1.4.14 +++ b/www-apps/mediawiki/files/digest-mediawiki-1.4.14 @@ -1 +1,3 @@ MD5 5cafd5f6adea43be0fedd64883d50127 mediawiki-1.4.14.tar.gz 1982629 +RMD160 4efbde962d06c8f012fd6bb1a0707211fb789057 mediawiki-1.4.14.tar.gz 1982629 +SHA256 25e7f30e1da7ad59f6eaf0b05dc234593a06ef779a88a06e5573d903f5a064b5 mediawiki-1.4.14.tar.gz 1982629 diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.4.15 b/www-apps/mediawiki/files/digest-mediawiki-1.4.15 index ec3ac7288f02..ad53807af61d 100644 --- a/www-apps/mediawiki/files/digest-mediawiki-1.4.15 +++ b/www-apps/mediawiki/files/digest-mediawiki-1.4.15 @@ -1 +1,3 @@ MD5 e729190a32d54118d24bec4021b0729e mediawiki-1.4.15.tar.gz 1982704 +RMD160 43b679b16a128ba5e40cf446a3ef47994e1033e0 mediawiki-1.4.15.tar.gz 1982704 +SHA256 7f87c5dd9051a7721fc21a0005d15891273edaa842c8bd1e27c302b96fab6c05 mediawiki-1.4.15.tar.gz 1982704 diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.5.6 b/www-apps/mediawiki/files/digest-mediawiki-1.5.6 index 970cdf688be9..cf13c3121b96 100644 --- a/www-apps/mediawiki/files/digest-mediawiki-1.5.6 +++ b/www-apps/mediawiki/files/digest-mediawiki-1.5.6 @@ -1 +1,3 @@ MD5 adcb318d812af2d2637374a8aadc79c1 mediawiki-1.5.6.tar.gz 2289819 +RMD160 fe634917982cfd415452052450a6d4332ad529ef mediawiki-1.5.6.tar.gz 2289819 +SHA256 9f23aa13ce497758b9327186afac17f547a60e06eb482d725c2d0c2100c81ace mediawiki-1.5.6.tar.gz 2289819 diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.5.8 b/www-apps/mediawiki/files/digest-mediawiki-1.5.8 index 04eff714fee5..ab25b2129a38 100644 --- a/www-apps/mediawiki/files/digest-mediawiki-1.5.8 +++ b/www-apps/mediawiki/files/digest-mediawiki-1.5.8 @@ -1 +1,3 @@ MD5 1eef94157377fa8c3d049877a27c0163 mediawiki-1.5.8.tar.gz 2287928 +RMD160 ecb530a5aa16ac90d87667652fdefc6424a36e38 mediawiki-1.5.8.tar.gz 2287928 +SHA256 28dbfc2c1602b1039a7408457f7774615e92553ac1b276e7aa55c34458708b61 mediawiki-1.5.8.tar.gz 2287928 diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.6.4 b/www-apps/mediawiki/files/digest-mediawiki-1.6.4 new file mode 100644 index 000000000000..f86bece24e13 --- /dev/null +++ b/www-apps/mediawiki/files/digest-mediawiki-1.6.4 @@ -0,0 +1,3 @@ +MD5 3afc13074e29db9083fb73435e5e7371 mediawiki-1.6.4.tar.gz 2721966 +RMD160 4967b174fdf4abe978a56f89912f23294cf8ae57 mediawiki-1.6.4.tar.gz 2721966 +SHA256 94a4022189271655183cf6102f7f6940e71438b26f6637bc326f382cb5246065 mediawiki-1.6.4.tar.gz 2721966 diff --git a/www-apps/mediawiki/mediawiki-1.6.4.ebuild b/www-apps/mediawiki/mediawiki-1.6.4.ebuild new file mode 100644 index 000000000000..cec1c253caa8 --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.6.4.ebuild @@ -0,0 +1,144 @@ +# 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.4.ebuild,v 1.1 2006/05/02 21:41:08 trapni 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=" + >=dev-db/mysql-4.0.14 + 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 + 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 +} |