Add b2evo
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@412 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
16fedac8c1
commit
f79c1ae43f
4
www-apps/b2evolution/Manifest
Normal file
4
www-apps/b2evolution/Manifest
Normal file
@ -0,0 +1,4 @@
|
||||
AUX postinstall-en.txt 611 RMD160 2bb9baca0780104f37d09efb45cb2534b3be2c34 SHA1 d4df4c12b9e2e0856bae24657f31f2875e1bc528 SHA256 2333fda76f492a6700bccd4b1121cec4a02f2e419141fa11b9555ff4ef25aa99
|
||||
AUX postupgrade-en.txt 214 RMD160 ba1b754812b59c158c9e89a3d4b6e174ec4791e2 SHA1 a6b022e64f47932744858bf03f24a35c8ccaebc0 SHA256 312ce51eb9413b0a127a63dad962a7de17a0a3c99d64abeeb282e9f6edbcb837
|
||||
DIST b2evolution-2.4.2-stable-2008-04-27.zip 2933207 RMD160 dd96c70381134fc9b601f79e939164cbd1dff9a6 SHA1 ddd2c25b1e2b4310fcbe172eefb1af07e0f8e02f SHA256 5e6fddad28bf967651785b64920ad6ec3afbba77a5eb3ec8b3583814dffab733
|
||||
EBUILD b2evolution-2.4.2.ebuild 1303 RMD160 7b4928b55e30d7b240613cc5de7e8082051b6936 SHA1 909ad5ce78589e8c41bac2e460db03cd57aa2b65 SHA256 28fa2b3f29637f0d0475016cb668582e6ff42294f71b12a621326a19443576ca
|
54
www-apps/b2evolution/b2evolution-2.4.2.ebuild
Normal file
54
www-apps/b2evolution/b2evolution-2.4.2.ebuild
Normal file
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/b2evolution/b2evolution-2.4.0_rc2.ebuild,v 1.3 2008/02/22 15:43:09 hollow Exp $
|
||||
|
||||
inherit webapp eutils depend.php
|
||||
|
||||
MY_EXT="stable-2008-04-27"
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
DESCRIPTION="Multilingual multiuser multi-blog engine"
|
||||
HOMEPAGE="http://www.b2evolution.net"
|
||||
SRC_URI="mirror://sourceforge/evocms/${PN}-${MY_PV}-${MY_EXT}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
need_httpd_cgi
|
||||
need_php_httpd
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
pkg_setup() {
|
||||
webapp_pkg_setup
|
||||
has_php
|
||||
if [[ ${PHP_VERSION} == "4" ]]; then
|
||||
require_php_with_use expat tokenizer mysql
|
||||
else
|
||||
require_php_with_use xml tokenizer mysql
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r blogs/*
|
||||
|
||||
rm doc/*.*-*.html doc/*.src.html
|
||||
dohtml doc/*.html
|
||||
|
||||
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
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
|
||||
webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
|
||||
|
||||
webapp_src_install
|
||||
}
|
17
www-apps/b2evolution/files/postinstall-en.txt
Normal file
17
www-apps/b2evolution/files/postinstall-en.txt
Normal file
@ -0,0 +1,17 @@
|
||||
You will need to provide a database for your b2evolution installation.
|
||||
|
||||
This assumes you have some knowledge of MySQL, and already have it
|
||||
installed and configured. If not, please refer to the Gentoo MySQL
|
||||
guide at the following URL:
|
||||
|
||||
http://www.gentoo.org/doc/en/mysql-howto.xml
|
||||
|
||||
Once you have a database ready all you need to do is to go to this
|
||||
location
|
||||
|
||||
http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install
|
||||
|
||||
and provide the credentials required for the database access.
|
||||
|
||||
Note the administrator password b2evolution will provide and after
|
||||
logging in with these credentials you can start to use the application.
|
6
www-apps/b2evolution/files/postupgrade-en.txt
Normal file
6
www-apps/b2evolution/files/postupgrade-en.txt
Normal file
@ -0,0 +1,6 @@
|
||||
Please go to this location
|
||||
|
||||
http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install/index.php
|
||||
|
||||
and select "Upgrade from a previous version of b2evolution" after
|
||||
providing the credentials required for the database acces.
|
Loading…
Reference in New Issue
Block a user