diff options
author | Renat Lumpau <rl03@gentoo.org> | 2005-12-19 16:32:31 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2005-12-19 16:32:31 +0000 |
commit | 9b0dffcf9e13cf3be94f558577b650003394bae0 (patch) | |
tree | 48ebac1d6efc6681498760a7e21652ab2eedb166 /www-apps/tutos | |
parent | Added link to source for sugarcrm (diff) | |
download | webapps-experimental-9b0dffcf9e13cf3be94f558577b650003394bae0.tar.gz webapps-experimental-9b0dffcf9e13cf3be94f558577b650003394bae0.tar.bz2 webapps-experimental-9b0dffcf9e13cf3be94f558577b650003394bae0.zip |
Added tutos
svn path=/experimental/; revision=53
Diffstat (limited to 'www-apps/tutos')
-rw-r--r-- | www-apps/tutos/ChangeLog | 7 | ||||
-rw-r--r-- | www-apps/tutos/Manifest | 5 | ||||
-rw-r--r-- | www-apps/tutos/files/digest-tutos-1.2.20050306 | 1 | ||||
-rw-r--r-- | www-apps/tutos/files/postinstall-en.txt | 20 | ||||
-rw-r--r-- | www-apps/tutos/files/reconfig | 15 | ||||
-rw-r--r-- | www-apps/tutos/tutos-1.2.20050306.ebuild | 45 |
6 files changed, 93 insertions, 0 deletions
diff --git a/www-apps/tutos/ChangeLog b/www-apps/tutos/ChangeLog new file mode 100644 index 0000000..9737289 --- /dev/null +++ b/www-apps/tutos/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for www-apps/tutos +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 19 Dec 2005; Renat Lumpau <rl03@gentoo.org> ChangeLog: + Initial ebuild wrt bug #39133. + diff --git a/www-apps/tutos/Manifest b/www-apps/tutos/Manifest new file mode 100644 index 0000000..a113830 --- /dev/null +++ b/www-apps/tutos/Manifest @@ -0,0 +1,5 @@ +MD5 4bac09499c7135fd82e1cc28f9e60efa ChangeLog 206 +MD5 116d0ac6ed5ee7e16094eb710134c28a files/digest-tutos-1.2.20050306 75 +MD5 471cfc7fcf7ed45bd4d9593e42a78486 files/postinstall-en.txt 631 +MD5 129b84b5e43e9a2fd8ca05f1d3c966cd files/reconfig 219 +MD5 60761584d9d99427fd951ba9ae2563e6 tutos-1.2.20050306.ebuild 1033 diff --git a/www-apps/tutos/files/digest-tutos-1.2.20050306 b/www-apps/tutos/files/digest-tutos-1.2.20050306 new file mode 100644 index 0000000..6cebb02 --- /dev/null +++ b/www-apps/tutos/files/digest-tutos-1.2.20050306 @@ -0,0 +1 @@ +MD5 45febad16ed94206fdb61817e82114c4 TUTOS-php-1.2.20050306.tar.bz2 682278 diff --git a/www-apps/tutos/files/postinstall-en.txt b/www-apps/tutos/files/postinstall-en.txt new file mode 100644 index 0000000..b8222d6 --- /dev/null +++ b/www-apps/tutos/files/postinstall-en.txt @@ -0,0 +1,20 @@ + 0. Create a new MySQL database: + mysqladmin create tutos + + 1. Edit ${MY_INSTALLDIR}/php/config.php and set database settings. + + 2. Review ${MY_INSTALLDIR}/apache.conf and include it into your Apache + config. + + 3. Login on + http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/php/admin/scheme.php + and follow the directions. + + user: superuser, password: tutos + + Then login on http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/php/mytutos.php + + 3. Don't forget to disable ${MY_INSTALLDIR}/{scheme,update}.php + + 4. Make sure that http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/php/config.php + is not readable. A .htaccess file is provided in php/ diff --git a/www-apps/tutos/files/reconfig b/www-apps/tutos/files/reconfig new file mode 100644 index 0000000..44eabb0 --- /dev/null +++ b/www-apps/tutos/files/reconfig @@ -0,0 +1,15 @@ +#!/bin/bash + +die() { + echo "#####" + echo $1 + echo "#####" + exit 1 +} + +if [ $1 = "install" ]; then + sed -e "s|/usr/share/tutos|${MY_INSTALLDIR}/|g" -i ${MY_INSTALLDIR}/apache.conf + +elif [ $1 = "clean" ]; then + echo $1 +fi diff --git a/www-apps/tutos/tutos-1.2.20050306.ebuild b/www-apps/tutos/tutos-1.2.20050306.ebuild new file mode 100644 index 0000000..76180a5 --- /dev/null +++ b/www-apps/tutos/tutos-1.2.20050306.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +# Source: http://bugs.gentoo.org/show_bug.cgi?id=39133 +# Submitted-By: Christophe Lefebvre +# Reviewed-By: rl03 2005-12-18 + +inherit webapp + +DESCRIPTION="TUTOS is a tool to manage the organizational needs of small groups, teams, departments" +HOMEPAGE="http://www.tutos.org" +SRC_URI="mirror://sourceforge/${PN}/TUTOS-php-${PV}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~x86" +S=${WORKDIR}/${PN} + +IUSE="" + +RDEPEND="|| ( dev-db/mysql dev-db/postgresql ) + virtual/php + net-www/apache" + +src_unpack() { + unpack ${A} + cd ${S} + cp php/config_default.pinc php/config.php + dodir repository + keepdir repository +} + +src_install () { + webapp_src_preinst + dodoc ChangeLog INSTALL README* + + cp -R . ${D}/${MY_HTDOCSDIR} + + webapp_serverowned ${MY_HTDOCSDIR}/repository + webapp_configfile ${MY_HTDOCSDIR}/php/config.php + webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt + webapp_hook_script ${FILESDIR}/reconfig + + webapp_src_install +} |