diff options
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/mediawiki/ChangeLog | 16 | ||||
-rw-r--r-- | www-apps/mediawiki/files/digest-mediawiki-1.7.1 | 3 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.7.1.ebuild | 144 |
3 files changed, 162 insertions, 1 deletions
diff --git a/www-apps/mediawiki/ChangeLog b/www-apps/mediawiki/ChangeLog index 35334e6e515f..4a0cc1b667f7 100644 --- a/www-apps/mediawiki/ChangeLog +++ b/www-apps/mediawiki/ChangeLog @@ -1,7 +1,21 @@ # 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.62 2006/08/30 14:52:36 tchiwam Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.63 2006/08/31 07:17:11 tchiwam Exp $ +*mediawiki-1.7.1 (30 Aug 2006) + 30 Aug 2006; Philippe Trottier <tchiwam@gentoo.org> + +mediawiki-1.7.1: + New major version has come out. Big thanks to Daedius. Bug #139942 + +*mediawiki-1.6.x (30 Aug 2006) + 30 Aug 2006; Philippe Trottier <tchiwam@gentoo.org> + -mediawiki-1.6.4, -mediawiki-1.6.5, -mediawiki-1.6.6, -mediawiki-1.6.7: + Removed versions with GLSA + +*mediawiki-1.5.x (30 Aug 2006) + 30 Aug 2006; Philippe Trottier <tchiwam@gentoo.org> + -mediawiki-1.5.3, -mediawiki-1.5.4, -mediawiki-1.5.6: + Removed versions with GLSA. *mediawiki-1.5.8 (30 Aug 2006) 30 Aug 2006; Philippe Trottier <tchiwam@gentoo.org> diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.7.1 b/www-apps/mediawiki/files/digest-mediawiki-1.7.1 new file mode 100644 index 000000000000..17d82ccbb2e8 --- /dev/null +++ b/www-apps/mediawiki/files/digest-mediawiki-1.7.1 @@ -0,0 +1,3 @@ +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/mediawiki-1.7.1.ebuild b/www-apps/mediawiki/mediawiki-1.7.1.ebuild new file mode 100644 index 000000000000..3b15fd36139c --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.7.1.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.7.1.ebuild,v 1.1 2006/08/31 07:17:11 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="-*" +IUSE="imagemagick math" + +S="${WORKDIR}/${P/.0_/}" + +DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )" + +RDEPEND=" + >=dev-lang/php-5.1.4-r6 + >=dev-db/mysql-4.0.21 + 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/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 +} |