diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2006-03-04 09:27:50 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2006-03-04 09:27:50 +0000 |
commit | 12e02456b581fe6b40915f4704e31e4dd010b06e (patch) | |
tree | 5757227487f3c54a3fc9219a1344a197c3521b18 /www-apps/knowledgetree/files | |
parent | Fixed HOMEPAGEs. (diff) | |
download | gentoo-2-12e02456b581fe6b40915f4704e31e4dd010b06e.tar.gz gentoo-2-12e02456b581fe6b40915f4704e31e4dd010b06e.tar.bz2 gentoo-2-12e02456b581fe6b40915f4704e31e4dd010b06e.zip |
Added knowledgetree-3.0.0 to the tree.
(Portage version: 2.0.54)
Diffstat (limited to 'www-apps/knowledgetree/files')
5 files changed, 77 insertions, 1 deletions
diff --git a/www-apps/knowledgetree/files/config-hook-2.0.0.sh b/www-apps/knowledgetree/files/config-hook-2.0.0.sh index cd86b6ae34c8..8be92a226aba 100644 --- a/www-apps/knowledgetree/files/config-hook-2.0.0.sh +++ b/www-apps/knowledgetree/files/config-hook-2.0.0.sh @@ -1,7 +1,7 @@ #!/bin/bash # Sets installation directory and hostname when installing knowledgeTree -if [ "x$1"=="xinstall" ]; then +if [ "x$1"="xinstall" ]; then cd ${MY_INSTALLDIR}/config sed -i -e "s#default->rootUrl = \"\"#default->rootUrl = \"${VHOST_APPDIR}\"#" environment.php fi diff --git a/www-apps/knowledgetree/files/config-hook-3.0.0.sh b/www-apps/knowledgetree/files/config-hook-3.0.0.sh new file mode 100644 index 000000000000..c6fe2e9e6968 --- /dev/null +++ b/www-apps/knowledgetree/files/config-hook-3.0.0.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# Sets installation directory and hostname when installing knowledgeTree + +if [ $1 = "install" ]; then + cd ${MY_INSTALLDIR}/config + sed -i -e "s#rootUrl = default#rootUrl = \"${VHOST_APPDIR}\"#" config.ini +fi diff --git a/www-apps/knowledgetree/files/digest-knowledgetree-3.0.0 b/www-apps/knowledgetree/files/digest-knowledgetree-3.0.0 new file mode 100644 index 000000000000..a63acd0efaae --- /dev/null +++ b/www-apps/knowledgetree/files/digest-knowledgetree-3.0.0 @@ -0,0 +1 @@ +MD5 a140c9be7cfabff4c53ec2efac633152 knowledgeTree-3.0.0.tgz 2210780 diff --git a/www-apps/knowledgetree/files/postinstall-en-3.0.0.txt b/www-apps/knowledgetree/files/postinstall-en-3.0.0.txt new file mode 100644 index 000000000000..507e697921d7 --- /dev/null +++ b/www-apps/knowledgetree/files/postinstall-en-3.0.0.txt @@ -0,0 +1,46 @@ +------------------------------------------------------------------------ +INSTALLATION + +The ebuild installs most parts of knowledgeTree automatically, but +you will have to create a database for the document management system. + +You can do this using the following commands as the mysql root user: + +> mysql -u root -p <<EOF + CREATE DATABASE dms; + GRANT SELECT, INSERT, UPDATE, DELETE ON dms.* TO 'dms'@'localhost' IDENTIFIED BY 'djw9281js'; + FLUSH PRIVILEGES; +EOF + +> mysql -u root -p <<EOF + GRANT ALL PRIVILEGES ON dms.* TO 'dmsadmin'@'localhost' IDENTIFIED BY 'js9281djw'; + FLUSH PRIVILEGES; +EOF + +Please do not forget to choose a different password than +'js9281djw'. This is just the standard password stored as a default in +${MY_INSTALLDIR}/config/config.ini. + +Now as user "dmsadmin": + +> mysql -u dmsadmin -pjs9281djw dms < ${MY_HTDOCSDIR}/sql/mysql/install/structure.sql +> mysql -u dmsadmin -pjs9281djw dms < ${MY_HTDOCSDIR}/sql/mysql/install/data.sql + +Now you need to set the MySQL passwords for the dms and dmsadmin user +in the ${MY_INSTALLDIR}/config/config.ini file so that knowledgeTree +can access the database. + +Finally you can go to http://${VHOST_HOSTNAME}/${VHOST_APPDIR} and log in +as user "admin" with the password "admin". + +------------------------------------------------------------------------ +!!! PHP4 !!! + +This is a php4 application. Do not try to run it under php5. It will fail! + +------------------------------------------------------------------------ +POSTGRES + +You can also use knowledgtree with postgres. This ebuild currently +does not provide support for it but if there is a need for it, please +submit a feature request to the gentoo buzilla system. diff --git a/www-apps/knowledgetree/files/postupgrade-en-3.0.0.txt b/www-apps/knowledgetree/files/postupgrade-en-3.0.0.txt new file mode 100644 index 000000000000..19fd912e2944 --- /dev/null +++ b/www-apps/knowledgetree/files/postupgrade-en-3.0.0.txt @@ -0,0 +1,22 @@ +------------------------------------------------------------------------ +UPGRADE + +If you had customizations in your environment.php you will need to +transfer these to the new config.ini which now holds all configuration +values. + +NOW BACKUP YOUR OLD DATABASE!!! + +This is extremely important since the automatic upgrade process provided +by knowledgetree managed to break my database. + +Finally go to http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/setup/upgrade.php +and press the "upgrade" button. + +------------------------------------------------------------------------ +!!! PHP4 !!! + +This is still a php4 application. Do not try to run it under php5. It +will fail! +------------------------------------------------------------------------ + |