diff options
author | Ilya Volynets <iluxa@gentoo.org> | 2007-01-03 20:26:10 +0000 |
---|---|---|
committer | Ilya Volynets <iluxa@gentoo.org> | 2007-01-03 20:26:10 +0000 |
commit | 399cba3ae0310747cdc9c8c85ab2f1ae7947bd97 (patch) | |
tree | e0a8541b9448c2f647e21e447a2e691b9f84d15f /www-apps/b2evolution/b2evolution-1.8.6.ebuild | |
parent | Do not call w-c to remove a vhost copy of a web app if USE=vhosts. Bug 136959 (diff) | |
download | gentoo-2-399cba3ae0310747cdc9c8c85ab2f1ae7947bd97.tar.gz gentoo-2-399cba3ae0310747cdc9c8c85ab2f1ae7947bd97.tar.bz2 gentoo-2-399cba3ae0310747cdc9c8c85ab2f1ae7947bd97.zip |
Add an ebuild for 1.8.6, which fixes some security issues in previous 1.8.x releases
(Portage version: 2.1.1-r2)
Diffstat (limited to 'www-apps/b2evolution/b2evolution-1.8.6.ebuild')
-rw-r--r-- | www-apps/b2evolution/b2evolution-1.8.6.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/www-apps/b2evolution/b2evolution-1.8.6.ebuild b/www-apps/b2evolution/b2evolution-1.8.6.ebuild new file mode 100644 index 000000000000..bf15b8e20f65 --- /dev/null +++ b/www-apps/b2evolution/b2evolution-1.8.6.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/b2evolution/b2evolution-1.8.6.ebuild,v 1.1 2007/01/03 20:26:10 iluxa Exp $ + +inherit webapp eutils + +MY_EXT="-2006-12-01" + +DESCRIPTION="Multilingual multiuser multi-blog engine" +HOMEPAGE="http://www.b2evolution.net" +SRC_URI="mirror://sourceforge/evocms/${P}${MY_EXT}.zip" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~x86" +IUSE="" +RDEPEND="virtual/httpd-php + virtual/mysql" + +DEPEND="${DEPEND} ${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}/${PN}" + +pkg_setup() { + webapp_pkg_setup + has_php + if [[ ${PHP_VERSION} == "4" ]]; then + require_php_with_use expat + else + require_php_with_use xml + fi +} + +pkg_setup() { + webapp_pkg_setup + require_php_with_use tokenizer mysql +} + +src_install() { + webapp_src_preinst + + einfo "Installing main files" + cp -r blogs/* ${D}${MY_HTDOCSDIR} + einfo "Done" + + dodoc doc/license.txt doc/install_new.html doc/upgradefrom_b2evo.html doc/upgradefrom_b2.html \ + doc/upgradefrom_gl.html doc/upgradefrom_miniblog.html doc/upgradefrom_mt.html + + # Identify the configuration files that this app uses + # User can want to make changes to these! + webapp_serverowned ${MY_HTDOCSDIR} + webapp_serverowned ${MY_HTDOCSDIR}/conf/_basic_config.php + webapp_configfile ${MY_HTDOCSDIR}/conf/_{basic_config,advanced,locales,formatting,admin,stats,application}.php + + # post-install instructions + webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt + + # now strut stuff + webapp_src_install +} |