summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2007-09-07 14:04:30 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2007-09-07 14:04:30 +0000
commitc4dad95b2ba907905bc1a46af3475bfeaf1e5557 (patch)
treed869eea68a4182ca8b59c68e77271da4d58ed0ca /www-apps/knowledgetree/files
parentVersion bump. (diff)
downloadgentoo-2-c4dad95b2ba907905bc1a46af3475bfeaf1e5557.tar.gz
gentoo-2-c4dad95b2ba907905bc1a46af3475bfeaf1e5557.tar.bz2
gentoo-2-c4dad95b2ba907905bc1a46af3475bfeaf1e5557.zip
Added knowledgetree-3.4.3 to the tree. Ebuild provided by Kevin G. Fourie
<kevin@4e.co.za> (#179576). Closes sec issue #188257. (Portage version: 2.1.2.12)
Diffstat (limited to 'www-apps/knowledgetree/files')
-rw-r--r--www-apps/knowledgetree/files/config-hook-3.4.3.sh7
-rw-r--r--www-apps/knowledgetree/files/digest-knowledgetree-2.0.73
-rw-r--r--www-apps/knowledgetree/files/digest-knowledgetree-3.0.33
-rw-r--r--www-apps/knowledgetree/files/digest-knowledgetree-3.4.33
-rw-r--r--www-apps/knowledgetree/files/postinstall-en-3.4.3.txt46
-rw-r--r--www-apps/knowledgetree/files/postupgrade-en-3.4.3.txt19
6 files changed, 75 insertions, 6 deletions
diff --git a/www-apps/knowledgetree/files/config-hook-3.4.3.sh b/www-apps/knowledgetree/files/config-hook-3.4.3.sh
new file mode 100644
index 000000000000..c6fe2e9e6968
--- /dev/null
+++ b/www-apps/knowledgetree/files/config-hook-3.4.3.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-2.0.7 b/www-apps/knowledgetree/files/digest-knowledgetree-2.0.7
deleted file mode 100644
index 7790e1711863..000000000000
--- a/www-apps/knowledgetree/files/digest-knowledgetree-2.0.7
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 f17896400535a4ad2159e3ff05a0f1e0 knowledgeTree-2.0.7.tgz 806523
-RMD160 00ee883977553275be5894b5eca7263124995f30 knowledgeTree-2.0.7.tgz 806523
-SHA256 c7ca2094da6d70f54bf72df855343c1edecf1ed9ea54e1007160f5b559bd6a6e knowledgeTree-2.0.7.tgz 806523
diff --git a/www-apps/knowledgetree/files/digest-knowledgetree-3.0.3 b/www-apps/knowledgetree/files/digest-knowledgetree-3.0.3
deleted file mode 100644
index 22d46695c933..000000000000
--- a/www-apps/knowledgetree/files/digest-knowledgetree-3.0.3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 d40ed81cdac783022f8f7b2da3ba3e1f knowledgeTree-3.0.3.tgz 2019857
-RMD160 dab80463ec326b8d653ba2800a539c19a45024fa knowledgeTree-3.0.3.tgz 2019857
-SHA256 7e2235c88196317b8d99d608ab6427ba12fa8fa9407ac55ed0c1f8cb98a5ed94 knowledgeTree-3.0.3.tgz 2019857
diff --git a/www-apps/knowledgetree/files/digest-knowledgetree-3.4.3 b/www-apps/knowledgetree/files/digest-knowledgetree-3.4.3
new file mode 100644
index 000000000000..1fb2fcaf099a
--- /dev/null
+++ b/www-apps/knowledgetree/files/digest-knowledgetree-3.4.3
@@ -0,0 +1,3 @@
+MD5 7105be6511f1171d3914f5b9916fa23b ktdms-src-oss-3.4.3.tgz 3493828
+RMD160 934e080bf1ae28f22a74ba15fb6a319b7b3e29b7 ktdms-src-oss-3.4.3.tgz 3493828
+SHA256 cde11cb812acc0c0aca78955c410be6ea0afef6a4a605f77f10bc517f5926533 ktdms-src-oss-3.4.3.tgz 3493828
diff --git a/www-apps/knowledgetree/files/postinstall-en-3.4.3.txt b/www-apps/knowledgetree/files/postinstall-en-3.4.3.txt
new file mode 100644
index 000000000000..507e697921d7
--- /dev/null
+++ b/www-apps/knowledgetree/files/postinstall-en-3.4.3.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.4.3.txt b/www-apps/knowledgetree/files/postupgrade-en-3.4.3.txt
new file mode 100644
index 000000000000..47a2ba0ea71a
--- /dev/null
+++ b/www-apps/knowledgetree/files/postupgrade-en-3.4.3.txt
@@ -0,0 +1,19 @@
+------------------------------------------------------------------------
+UPGRADE
+
+If you are upgrading from knowledgetree-2.* and had customizations in
+your environment.php you will need to transfer these to the new
+config.ini which now holds all configuration values.
+
+YOU ARE ADVISED TO BACKUP YOUR OLD DATABASE BEFORE UPGRADING!!!
+
+Now 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!
+------------------------------------------------------------------------
+