summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apps/knowledgetree/ChangeLog10
-rw-r--r--www-apps/knowledgetree/Manifest67
-rw-r--r--www-apps/knowledgetree/files/config-hook-3.0.3.sh7
-rw-r--r--www-apps/knowledgetree/files/digest-knowledgetree-3.0.31
-rw-r--r--www-apps/knowledgetree/files/postinstall-en-3.0.3.txt46
-rw-r--r--www-apps/knowledgetree/files/postupgrade-en-3.0.3.txt19
-rw-r--r--www-apps/knowledgetree/knowledgetree-3.0.1.ebuild73
-rw-r--r--www-apps/knowledgetree/knowledgetree-3.0.3.ebuild (renamed from www-apps/knowledgetree/knowledgetree-3.0.2.ebuild)2
8 files changed, 90 insertions, 135 deletions
diff --git a/www-apps/knowledgetree/ChangeLog b/www-apps/knowledgetree/ChangeLog
index 687b37f9264f..08eb0499cd81 100644
--- a/www-apps/knowledgetree/ChangeLog
+++ b/www-apps/knowledgetree/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for www-apps/knowledgetree
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/knowledgetree/ChangeLog,v 1.5 2006/05/19 09:14:58 wrobel Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/knowledgetree/ChangeLog,v 1.6 2006/06/01 14:50:02 wrobel Exp $
+
+*knowledgetree-3.0.3 (01 Jun 2006)
+
+ 01 Jun 2006; <wrobel@gentoo.org> +files/config-hook-3.0.3.sh,
+ +files/postinstall-en-3.0.3.txt, +files/postupgrade-en-3.0.3.txt,
+ -knowledgetree-3.0.1.ebuild, -knowledgetree-3.0.2.ebuild,
+ +knowledgetree-3.0.3.ebuild:
+ Version bump to knowledgetree-3.0.3
*knowledgetree-3.0.2 (19 May 2006)
diff --git a/www-apps/knowledgetree/Manifest b/www-apps/knowledgetree/Manifest
index 2dcd1f51b07b..c8063de6417b 100644
--- a/www-apps/knowledgetree/Manifest
+++ b/www-apps/knowledgetree/Manifest
@@ -1,64 +1,11 @@
-AUX config-hook-2.0.0.sh 250 RMD160 0d5ded8440fe1dfd3e6082bc8f6703b302ccbf6a SHA1 0eade10f9a9b9b356947cd4f5fab3608a62897b6 SHA256 5f44bb121476243bf4ae9fc0886c39d46057f28033f41d3feaea76a6a584f5c8 size 250
+MD5 71958009d43dcb2ba1de46f926ae4785 ChangeLog 1476
MD5 22b449239fb78913844ae3b6e0dffc0e files/config-hook-2.0.0.sh 250
-RMD160 0d5ded8440fe1dfd3e6082bc8f6703b302ccbf6a files/config-hook-2.0.0.sh 250
-SHA256 5f44bb121476243bf4ae9fc0886c39d46057f28033f41d3feaea76a6a584f5c8 files/config-hook-2.0.0.sh 250
-AUX config-hook-3.0.1.sh 226 RMD160 a678c8d8c2084c5de8b4d8c95209eb64b114aeb2 SHA1 eaf67a85134b07863ee0c84a675931b3521bc6d7 SHA256 29dce509223735eacc2613806c6e47e7ef46c2d8e7cb90ff018ed3782eb49a61 size 226
-MD5 6666e69e804d1d4ea85830dd5802d02e files/config-hook-3.0.1.sh 226
-RMD160 a678c8d8c2084c5de8b4d8c95209eb64b114aeb2 files/config-hook-3.0.1.sh 226
-SHA256 29dce509223735eacc2613806c6e47e7ef46c2d8e7cb90ff018ed3782eb49a61 files/config-hook-3.0.1.sh 226
-AUX config-hook-3.0.2.sh 226 RMD160 a678c8d8c2084c5de8b4d8c95209eb64b114aeb2 SHA1 eaf67a85134b07863ee0c84a675931b3521bc6d7 SHA256 29dce509223735eacc2613806c6e47e7ef46c2d8e7cb90ff018ed3782eb49a61 size 226
-MD5 6666e69e804d1d4ea85830dd5802d02e files/config-hook-3.0.2.sh 226
-RMD160 a678c8d8c2084c5de8b4d8c95209eb64b114aeb2 files/config-hook-3.0.2.sh 226
-SHA256 29dce509223735eacc2613806c6e47e7ef46c2d8e7cb90ff018ed3782eb49a61 files/config-hook-3.0.2.sh 226
-AUX postinstall-en-2.0.7.txt 1848 RMD160 7dea7e67e2482e39ef135a06bf3281b82c3a4c60 SHA1 2c3fbd863c6098bfae733b6d3fd8d056b7190fe6 SHA256 689195e4ac3f1b40c8d3328ba9236b3118c857ba71ad90f83e62682c295e74d4 size 1848
+MD5 6666e69e804d1d4ea85830dd5802d02e files/config-hook-3.0.3.sh 226
+MD5 74f02fdd8e803af4673121fe6df90ae4 files/digest-knowledgetree-2.0.7 68
+MD5 f878e336c3df1670d0335aa42c782687 files/digest-knowledgetree-3.0.3 69
MD5 cdffaf0b390060eab7ac6e2146e91123 files/postinstall-en-2.0.7.txt 1848
-RMD160 7dea7e67e2482e39ef135a06bf3281b82c3a4c60 files/postinstall-en-2.0.7.txt 1848
-SHA256 689195e4ac3f1b40c8d3328ba9236b3118c857ba71ad90f83e62682c295e74d4 files/postinstall-en-2.0.7.txt 1848
-AUX postinstall-en-3.0.1.txt 1681 RMD160 d0408d1d5601df671a7d68e1fd841606e85153a1 SHA1 03b8efd7cdcb975f125b2acb0863bb82a3e08db1 SHA256 e3901c3ef977b2cbc61f89f21837c073806fe6582618ad73072376888a8b7ef4 size 1681
-MD5 c13cb36f79f0a40c499cd2b3f402e988 files/postinstall-en-3.0.1.txt 1681
-RMD160 d0408d1d5601df671a7d68e1fd841606e85153a1 files/postinstall-en-3.0.1.txt 1681
-SHA256 e3901c3ef977b2cbc61f89f21837c073806fe6582618ad73072376888a8b7ef4 files/postinstall-en-3.0.1.txt 1681
-AUX postinstall-en-3.0.2.txt 1681 RMD160 d0408d1d5601df671a7d68e1fd841606e85153a1 SHA1 03b8efd7cdcb975f125b2acb0863bb82a3e08db1 SHA256 e3901c3ef977b2cbc61f89f21837c073806fe6582618ad73072376888a8b7ef4 size 1681
-MD5 c13cb36f79f0a40c499cd2b3f402e988 files/postinstall-en-3.0.2.txt 1681
-RMD160 d0408d1d5601df671a7d68e1fd841606e85153a1 files/postinstall-en-3.0.2.txt 1681
-SHA256 e3901c3ef977b2cbc61f89f21837c073806fe6582618ad73072376888a8b7ef4 files/postinstall-en-3.0.2.txt 1681
-AUX postupgrade-en-3.0.1.txt 681 RMD160 bfd248ca2a5d0c7ccef6202a60961afbea8e0575 SHA1 154262ff17ba8435002f2fdb15b611850f674896 SHA256 30af6a13d4e5b922d8643a9b2c7db82fbde113dc21d2e41e746cb966a2ccdf01 size 681
-MD5 74c339e2cae7428170cffffc458ebc1f files/postupgrade-en-3.0.1.txt 681
-RMD160 bfd248ca2a5d0c7ccef6202a60961afbea8e0575 files/postupgrade-en-3.0.1.txt 681
-SHA256 30af6a13d4e5b922d8643a9b2c7db82fbde113dc21d2e41e746cb966a2ccdf01 files/postupgrade-en-3.0.1.txt 681
-AUX postupgrade-en-3.0.2.txt 681 RMD160 bfd248ca2a5d0c7ccef6202a60961afbea8e0575 SHA1 154262ff17ba8435002f2fdb15b611850f674896 SHA256 30af6a13d4e5b922d8643a9b2c7db82fbde113dc21d2e41e746cb966a2ccdf01 size 681
-MD5 74c339e2cae7428170cffffc458ebc1f files/postupgrade-en-3.0.2.txt 681
-RMD160 bfd248ca2a5d0c7ccef6202a60961afbea8e0575 files/postupgrade-en-3.0.2.txt 681
-SHA256 30af6a13d4e5b922d8643a9b2c7db82fbde113dc21d2e41e746cb966a2ccdf01 files/postupgrade-en-3.0.2.txt 681
-DIST knowledgeTree-2.0.7.tgz 806523 size 806523
-DIST knowledgeTree-3.0.1.tgz 2221732 size 2221732
-DIST knowledgeTree-3.0.2.tgz 1878918 size 1878918
-EBUILD knowledgetree-2.0.7.ebuild 2089 RMD160 6afc07dd60f2262220eee20f3d8f70b460d7e475 SHA1 b3383acc8241a76a3c96d490419e783eeb93fb32 SHA256 9749bacb98564ccbc4c6d982be56e55423f8f511cb5b314c323eee1a57e53e5f size 2089
+MD5 c13cb36f79f0a40c499cd2b3f402e988 files/postinstall-en-3.0.3.txt 1681
+MD5 74c339e2cae7428170cffffc458ebc1f files/postupgrade-en-3.0.3.txt 681
MD5 6bd6ef4ff11bf403c2b526fbda762a76 knowledgetree-2.0.7.ebuild 2089
-RMD160 6afc07dd60f2262220eee20f3d8f70b460d7e475 knowledgetree-2.0.7.ebuild 2089
-SHA256 9749bacb98564ccbc4c6d982be56e55423f8f511cb5b314c323eee1a57e53e5f knowledgetree-2.0.7.ebuild 2089
-EBUILD knowledgetree-3.0.1.ebuild 1992 RMD160 3cb837a1c3c669332aabec79c4a7fde423b8771f SHA1 cda8d590aac7164286c309baa49ab18f2a918094 SHA256 f9d115a536b41636f414242a0c182c58b65963716a0357c626fe88aa453dd3cf size 1992
-MD5 d24e8897790113c2427588f553b25b6a knowledgetree-3.0.1.ebuild 1992
-RMD160 3cb837a1c3c669332aabec79c4a7fde423b8771f knowledgetree-3.0.1.ebuild 1992
-SHA256 f9d115a536b41636f414242a0c182c58b65963716a0357c626fe88aa453dd3cf knowledgetree-3.0.1.ebuild 1992
-EBUILD knowledgetree-3.0.2.ebuild 2139 RMD160 7d7e80b9c71a276fe16723eb755d55174d74a39b SHA1 36490f078eb94655454385e3df1692c0d168d3c0 SHA256 48cdd864ec428ddf3265ae85f1d49e508a6dea4d0cff32b94ba86596a0d2207c size 2139
-MD5 768900044b823d0746a41669d5a805e6 knowledgetree-3.0.2.ebuild 2139
-RMD160 7d7e80b9c71a276fe16723eb755d55174d74a39b knowledgetree-3.0.2.ebuild 2139
-SHA256 48cdd864ec428ddf3265ae85f1d49e508a6dea4d0cff32b94ba86596a0d2207c knowledgetree-3.0.2.ebuild 2139
-MISC ChangeLog 1476 RMD160 af4a688521583015e6d7c7753cd47701daa20777 SHA1 0ca4e630d02677a1aec0aa73bb557241ef5a4090 SHA256 86271c294b492b7cc869f76f54c4a5e865863aa2ecd96aef128dca503928d6eb size 1476
-MD5 71958009d43dcb2ba1de46f926ae4785 ChangeLog 1476
-RMD160 af4a688521583015e6d7c7753cd47701daa20777 ChangeLog 1476
-SHA256 86271c294b492b7cc869f76f54c4a5e865863aa2ecd96aef128dca503928d6eb ChangeLog 1476
-MISC metadata.xml 161 RMD160 d47e924599b33a35a50f4c9f5564d325c271f83b SHA1 5b91a6d8d06d3dca2d774425befba30caca51507 SHA256 9cd891fcf0af580e98b62d2f4ded9e53671599f5a7aafd5dce692b996d2a83f4 size 161
+MD5 768900044b823d0746a41669d5a805e6 knowledgetree-3.0.3.ebuild 2139
MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
-RMD160 d47e924599b33a35a50f4c9f5564d325c271f83b metadata.xml 161
-SHA256 9cd891fcf0af580e98b62d2f4ded9e53671599f5a7aafd5dce692b996d2a83f4 metadata.xml 161
-MD5 74f02fdd8e803af4673121fe6df90ae4 files/digest-knowledgetree-2.0.7 68
-RMD160 bdd987b02bce1ccf2b00d09a36c44e36439e779a files/digest-knowledgetree-2.0.7 68
-SHA256 826bc2bd73d4d20df57bb9ae47b75f00db102eb4e421d5c542f3a0caccb7f267 files/digest-knowledgetree-2.0.7 68
-MD5 463f90c7043a38ac2bba89fa96ad057c files/digest-knowledgetree-3.0.1 69
-RMD160 e5ae026a863942133f4d2f0827fa85b1b8728214 files/digest-knowledgetree-3.0.1 69
-SHA256 114f21a4d8c867b7dd82f85497af633c9698d6b0c3ebf279c15b8c65349d483e files/digest-knowledgetree-3.0.1 69
-MD5 e36a1df48d034e660a423e5d8da83e93 files/digest-knowledgetree-3.0.2 69
-RMD160 734c06f447e8a368776aa4f3dd304ca938434fd7 files/digest-knowledgetree-3.0.2 69
-SHA256 cae8211ca0bc09d05f274ca4c8bc11d367568416d3417cc08fe4fad0a989b0da files/digest-knowledgetree-3.0.2 69
diff --git a/www-apps/knowledgetree/files/config-hook-3.0.3.sh b/www-apps/knowledgetree/files/config-hook-3.0.3.sh
new file mode 100644
index 000000000000..c6fe2e9e6968
--- /dev/null
+++ b/www-apps/knowledgetree/files/config-hook-3.0.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-3.0.3 b/www-apps/knowledgetree/files/digest-knowledgetree-3.0.3
new file mode 100644
index 000000000000..d751a9bdddbe
--- /dev/null
+++ b/www-apps/knowledgetree/files/digest-knowledgetree-3.0.3
@@ -0,0 +1 @@
+MD5 d40ed81cdac783022f8f7b2da3ba3e1f knowledgeTree-3.0.3.tgz 2019857
diff --git a/www-apps/knowledgetree/files/postinstall-en-3.0.3.txt b/www-apps/knowledgetree/files/postinstall-en-3.0.3.txt
new file mode 100644
index 000000000000..507e697921d7
--- /dev/null
+++ b/www-apps/knowledgetree/files/postinstall-en-3.0.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.0.3.txt b/www-apps/knowledgetree/files/postupgrade-en-3.0.3.txt
new file mode 100644
index 000000000000..47a2ba0ea71a
--- /dev/null
+++ b/www-apps/knowledgetree/files/postupgrade-en-3.0.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!
+------------------------------------------------------------------------
+
diff --git a/www-apps/knowledgetree/knowledgetree-3.0.1.ebuild b/www-apps/knowledgetree/knowledgetree-3.0.1.ebuild
deleted file mode 100644
index e6ccf830f12b..000000000000
--- a/www-apps/knowledgetree/knowledgetree-3.0.1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/knowledgetree/knowledgetree-3.0.1.ebuild,v 1.1 2006/03/24 06:47:50 wrobel Exp $
-
-inherit webapp
-
-MY_PN=${PN/tree/Tree}
-MY_PV=${PV/_/}
-MY_P=${MY_PN}-${MY_PV}
-
-DESCRIPTION="KnowledgeTree is a document management system providing a content repository, workflow and routing of content, content publication and content metrics definition and analysis."
-HOMEPAGE="http://www.ktdms.com/"
-SRC_URI="mirror://sourceforge/kt-dms/${MY_P}.tgz"
-
-LICENSE="GPL-2"
-KEYWORDS="~x86"
-IUSE=""
-
-DEPEND="virtual/httpd-php
- dev-db/mysql
- app-text/catdoc
- >=app-text/pstotext-0.94.1
- "
-
-S=${WORKDIR}/${MY_PN}
-
-src_install() {
- webapp_src_preinst
-
- local docs="docs/CREDITS.txt
- docs/INSTALL.txt
- docs/README.txt
- docs/TODO.txt
- docs/UPGRADE.txt
- docs/FAQ.txt
- "
-
- dodoc ${docs}
-
- ## Main application
- cp -r . ${D}${MY_HTDOCSDIR}
-
- ## Docs installed, remove unnecessary files
- for doc in ${docs}
- do
- rm ${D}${MY_HTDOCSDIR}/${doc}
- done
-
- for CFG in ${MY_HTDOCSDIR}/config/{config.ini,dmsDefaults.php,siteMap.inc,tableMappings.inc}
- do
- webapp_configfile ${CFG}
- done
-
- ## Documents will be saved here
- webapp_serverowned ${MY_HTDOCSDIR}/var/log
- webapp_serverowned ${MY_HTDOCSDIR}/var/tmp
- webapp_serverowned ${MY_HTDOCSDIR}/var/Documents
- webapp_serverowned "${MY_HTDOCSDIR}/var/Documents/Root Folder"
- webapp_serverowned "${MY_HTDOCSDIR}/var/Documents/Root Folder/Default Unit"
-
- webapp_sqlscript mysql sql/mysql/install/structure.sql
- webapp_sqlscript mysql sql/mysql/install/data.sql
- webapp_sqlscript postgres sql/pgsql/install/tables.sql
- webapp_sqlscript postgres sql/pgsql/install/functions.sql
-
- webapp_postinst_txt en ${FILESDIR}/postinstall-en-${PV}.txt
- webapp_postupgrade_txt en ${FILESDIR}/postupgrade-en-${PV}.txt
-
- ## Fix for the root folder
- webapp_hook_script ${FILESDIR}/config-hook-${PV}.sh
-
- webapp_src_install
-}
diff --git a/www-apps/knowledgetree/knowledgetree-3.0.2.ebuild b/www-apps/knowledgetree/knowledgetree-3.0.3.ebuild
index c6ab85ea7008..1e532ca59375 100644
--- a/www-apps/knowledgetree/knowledgetree-3.0.2.ebuild
+++ b/www-apps/knowledgetree/knowledgetree-3.0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/knowledgetree/knowledgetree-3.0.2.ebuild,v 1.2 2006/05/20 02:58:42 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/knowledgetree/knowledgetree-3.0.3.ebuild,v 1.1 2006/06/01 14:50:02 wrobel Exp $
inherit webapp