diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2007-09-07 14:04:30 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2007-09-07 14:04:30 +0000 |
commit | 10455d4fb11b99e53d848801638054a1e07b6485 (patch) | |
tree | dd6a4457b706d7d2331a5bbce06b73b507b4dbcb /www-apps/knowledgetree | |
parent | Unmasked ssse3 USE flag. (diff) | |
download | historical-10455d4fb11b99e53d848801638054a1e07b6485.tar.gz historical-10455d4fb11b99e53d848801638054a1e07b6485.tar.bz2 historical-10455d4fb11b99e53d848801638054a1e07b6485.zip |
Added knowledgetree-3.4.3 to the tree. Ebuild provided by Kevin G. Fourie
<kevin@4e.co.za> (#179576). Closes sec issue #188257.
Package-Manager: portage-2.1.2.12
Diffstat (limited to 'www-apps/knowledgetree')
-rw-r--r-- | www-apps/knowledgetree/ChangeLog | 13 | ||||
-rw-r--r-- | www-apps/knowledgetree/Manifest | 54 | ||||
-rw-r--r-- | www-apps/knowledgetree/files/config-hook-3.4.3.sh | 7 | ||||
-rw-r--r-- | www-apps/knowledgetree/files/digest-knowledgetree-2.0.7 | 3 | ||||
-rw-r--r-- | www-apps/knowledgetree/files/digest-knowledgetree-3.0.3 | 3 | ||||
-rw-r--r-- | www-apps/knowledgetree/files/digest-knowledgetree-3.4.3 | 3 | ||||
-rw-r--r-- | www-apps/knowledgetree/files/postinstall-en-3.4.3.txt | 46 | ||||
-rw-r--r-- | www-apps/knowledgetree/files/postupgrade-en-3.4.3.txt | 19 | ||||
-rw-r--r-- | www-apps/knowledgetree/knowledgetree-2.0.7.ebuild | 88 | ||||
-rw-r--r-- | www-apps/knowledgetree/knowledgetree-3.4.3.ebuild (renamed from www-apps/knowledgetree/knowledgetree-3.0.3.ebuild) | 38 |
10 files changed, 138 insertions, 136 deletions
diff --git a/www-apps/knowledgetree/ChangeLog b/www-apps/knowledgetree/ChangeLog index 10c6687d8096..e1e6a5dd103d 100644 --- a/www-apps/knowledgetree/ChangeLog +++ b/www-apps/knowledgetree/ChangeLog @@ -1,6 +1,15 @@ # 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.10 2006/11/23 17:13:59 vivo Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/knowledgetree/ChangeLog,v 1.11 2007/09/07 14:04:30 wrobel Exp $ + +*knowledgetree-3.4.3 (07 Sep 2007) + + 07 Sep 2007; <wrobel@gentoo.org> +files/config-hook-3.4.3.sh, + +files/postinstall-en-3.4.3.txt, +files/postupgrade-en-3.4.3.txt, + -knowledgetree-2.0.7.ebuild, -knowledgetree-3.0.3.ebuild, + +knowledgetree-3.4.3.ebuild: + Added knowledgetree-3.4.3 to the tree. Ebuild provided by Kevin G. Fourie + <kevin@4e.co.za> (#179576). Closes sec issue #188257. 23 Nov 2006; Francesco Riosa <vivo@gentoo.org> knowledgetree-2.0.7.ebuild, knowledgetree-3.0.3.ebuild: diff --git a/www-apps/knowledgetree/Manifest b/www-apps/knowledgetree/Manifest index d48af9cd3e1e..69d188b3aa53 100644 --- a/www-apps/knowledgetree/Manifest +++ b/www-apps/knowledgetree/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX config-hook-2.0.0.sh 250 RMD160 0d5ded8440fe1dfd3e6082bc8f6703b302ccbf6a SHA1 0eade10f9a9b9b356947cd4f5fab3608a62897b6 SHA256 5f44bb121476243bf4ae9fc0886c39d46057f28033f41d3feaea76a6a584f5c8 MD5 22b449239fb78913844ae3b6e0dffc0e files/config-hook-2.0.0.sh 250 RMD160 0d5ded8440fe1dfd3e6082bc8f6703b302ccbf6a files/config-hook-2.0.0.sh 250 @@ -10,6 +13,10 @@ AUX config-hook-3.0.3.sh 226 RMD160 a678c8d8c2084c5de8b4d8c95209eb64b114aeb2 SHA MD5 6666e69e804d1d4ea85830dd5802d02e files/config-hook-3.0.3.sh 226 RMD160 a678c8d8c2084c5de8b4d8c95209eb64b114aeb2 files/config-hook-3.0.3.sh 226 SHA256 29dce509223735eacc2613806c6e47e7ef46c2d8e7cb90ff018ed3782eb49a61 files/config-hook-3.0.3.sh 226 +AUX config-hook-3.4.3.sh 226 RMD160 a678c8d8c2084c5de8b4d8c95209eb64b114aeb2 SHA1 eaf67a85134b07863ee0c84a675931b3521bc6d7 SHA256 29dce509223735eacc2613806c6e47e7ef46c2d8e7cb90ff018ed3782eb49a61 +MD5 6666e69e804d1d4ea85830dd5802d02e files/config-hook-3.4.3.sh 226 +RMD160 a678c8d8c2084c5de8b4d8c95209eb64b114aeb2 files/config-hook-3.4.3.sh 226 +SHA256 29dce509223735eacc2613806c6e47e7ef46c2d8e7cb90ff018ed3782eb49a61 files/config-hook-3.4.3.sh 226 AUX postinstall-en-2.0.7.txt 1848 RMD160 7dea7e67e2482e39ef135a06bf3281b82c3a4c60 SHA1 2c3fbd863c6098bfae733b6d3fd8d056b7190fe6 SHA256 689195e4ac3f1b40c8d3328ba9236b3118c857ba71ad90f83e62682c295e74d4 MD5 cdffaf0b390060eab7ac6e2146e91123 files/postinstall-en-2.0.7.txt 1848 RMD160 7dea7e67e2482e39ef135a06bf3281b82c3a4c60 files/postinstall-en-2.0.7.txt 1848 @@ -18,31 +25,38 @@ AUX postinstall-en-3.0.3.txt 1681 RMD160 d0408d1d5601df671a7d68e1fd841606e85153a MD5 c13cb36f79f0a40c499cd2b3f402e988 files/postinstall-en-3.0.3.txt 1681 RMD160 d0408d1d5601df671a7d68e1fd841606e85153a1 files/postinstall-en-3.0.3.txt 1681 SHA256 e3901c3ef977b2cbc61f89f21837c073806fe6582618ad73072376888a8b7ef4 files/postinstall-en-3.0.3.txt 1681 +AUX postinstall-en-3.4.3.txt 1681 RMD160 d0408d1d5601df671a7d68e1fd841606e85153a1 SHA1 03b8efd7cdcb975f125b2acb0863bb82a3e08db1 SHA256 e3901c3ef977b2cbc61f89f21837c073806fe6582618ad73072376888a8b7ef4 +MD5 c13cb36f79f0a40c499cd2b3f402e988 files/postinstall-en-3.4.3.txt 1681 +RMD160 d0408d1d5601df671a7d68e1fd841606e85153a1 files/postinstall-en-3.4.3.txt 1681 +SHA256 e3901c3ef977b2cbc61f89f21837c073806fe6582618ad73072376888a8b7ef4 files/postinstall-en-3.4.3.txt 1681 AUX postupgrade-en-3.0.3.txt 681 RMD160 bfd248ca2a5d0c7ccef6202a60961afbea8e0575 SHA1 154262ff17ba8435002f2fdb15b611850f674896 SHA256 30af6a13d4e5b922d8643a9b2c7db82fbde113dc21d2e41e746cb966a2ccdf01 MD5 74c339e2cae7428170cffffc458ebc1f files/postupgrade-en-3.0.3.txt 681 RMD160 bfd248ca2a5d0c7ccef6202a60961afbea8e0575 files/postupgrade-en-3.0.3.txt 681 SHA256 30af6a13d4e5b922d8643a9b2c7db82fbde113dc21d2e41e746cb966a2ccdf01 files/postupgrade-en-3.0.3.txt 681 -DIST knowledgeTree-2.0.7.tgz 806523 RMD160 00ee883977553275be5894b5eca7263124995f30 SHA1 00ded0ec7229ee80feaf1910b50eddf530b6f675 SHA256 c7ca2094da6d70f54bf72df855343c1edecf1ed9ea54e1007160f5b559bd6a6e -DIST knowledgeTree-3.0.3.tgz 2019857 RMD160 dab80463ec326b8d653ba2800a539c19a45024fa SHA1 a5cc047ffee769bf4e19014c9f8badc07a0f9a9e SHA256 7e2235c88196317b8d99d608ab6427ba12fa8fa9407ac55ed0c1f8cb98a5ed94 -EBUILD knowledgetree-2.0.7.ebuild 2086 RMD160 0b6df65c98c607b3ffdf54c38b27de1b407b7946 SHA1 50d93223f800ca7bd8d7ae7530041df085c028a0 SHA256 585978e5264a760a957b6690c193daf5b843850310826c9192799ea857f12899 -MD5 21224e7b2c2499dc733650ebe8f14c41 knowledgetree-2.0.7.ebuild 2086 -RMD160 0b6df65c98c607b3ffdf54c38b27de1b407b7946 knowledgetree-2.0.7.ebuild 2086 -SHA256 585978e5264a760a957b6690c193daf5b843850310826c9192799ea857f12899 knowledgetree-2.0.7.ebuild 2086 -EBUILD knowledgetree-3.0.3.ebuild 2142 RMD160 e001b334042a153d93cc75bb5f904bf99acfc141 SHA1 1ed4567e6100372c01493639617bef75b7bffd2e SHA256 a4e523594872ca59473fd55464b4a4546b688bc0178f71f814f5b34ee94c67e6 -MD5 4aafa0f3f10371c7a67185a9254025ff knowledgetree-3.0.3.ebuild 2142 -RMD160 e001b334042a153d93cc75bb5f904bf99acfc141 knowledgetree-3.0.3.ebuild 2142 -SHA256 a4e523594872ca59473fd55464b4a4546b688bc0178f71f814f5b34ee94c67e6 knowledgetree-3.0.3.ebuild 2142 -MISC ChangeLog 2390 RMD160 97ca3e04dbaf6317a4e83b15841a294fc48a6771 SHA1 13a5dc74ed7febb57c598aba8641a93a1608273d SHA256 86ce921ed989e1a874b5e119c6a2933ce14b0e32844bf85d32a752b2a361079a -MD5 31b48ed0b78c7995079bb5811918ca1a ChangeLog 2390 -RMD160 97ca3e04dbaf6317a4e83b15841a294fc48a6771 ChangeLog 2390 -SHA256 86ce921ed989e1a874b5e119c6a2933ce14b0e32844bf85d32a752b2a361079a ChangeLog 2390 +AUX postupgrade-en-3.4.3.txt 681 RMD160 bfd248ca2a5d0c7ccef6202a60961afbea8e0575 SHA1 154262ff17ba8435002f2fdb15b611850f674896 SHA256 30af6a13d4e5b922d8643a9b2c7db82fbde113dc21d2e41e746cb966a2ccdf01 +MD5 74c339e2cae7428170cffffc458ebc1f files/postupgrade-en-3.4.3.txt 681 +RMD160 bfd248ca2a5d0c7ccef6202a60961afbea8e0575 files/postupgrade-en-3.4.3.txt 681 +SHA256 30af6a13d4e5b922d8643a9b2c7db82fbde113dc21d2e41e746cb966a2ccdf01 files/postupgrade-en-3.4.3.txt 681 +DIST ktdms-src-oss-3.4.3.tgz 3493828 RMD160 934e080bf1ae28f22a74ba15fb6a319b7b3e29b7 SHA1 a1d09620726234fbe9fcdb0ce1ca8332b84453ea SHA256 cde11cb812acc0c0aca78955c410be6ea0afef6a4a605f77f10bc517f5926533 +EBUILD knowledgetree-3.4.3.ebuild 2192 RMD160 f05e1b17e35693161e2bdf9a427b8a45dbf272cd SHA1 ed218a8cc5f58fb38dd30e80ef519be5ff046adb SHA256 e4f63f9dd543be6b9f43dfc7357a84ab24e8e81743dfdaa3aa7ccb3581545015 +MD5 9c77e008f92fa48e54c72c573ab075a8 knowledgetree-3.4.3.ebuild 2192 +RMD160 f05e1b17e35693161e2bdf9a427b8a45dbf272cd knowledgetree-3.4.3.ebuild 2192 +SHA256 e4f63f9dd543be6b9f43dfc7357a84ab24e8e81743dfdaa3aa7ccb3581545015 knowledgetree-3.4.3.ebuild 2192 +MISC ChangeLog 2784 RMD160 7eaf1908702d123e34a4955dc1d7cf50d756e2d6 SHA1 55bde448540c17469fed170012f53883482c4bf7 SHA256 4ef8189d5f28a9db38544aabc7f425a3bc4e9f9ddc0aa3aeb694df7a50f932bc +MD5 9688f738f277195598a9b0014fc186bb ChangeLog 2784 +RMD160 7eaf1908702d123e34a4955dc1d7cf50d756e2d6 ChangeLog 2784 +SHA256 4ef8189d5f28a9db38544aabc7f425a3bc4e9f9ddc0aa3aeb694df7a50f932bc ChangeLog 2784 MISC metadata.xml 161 RMD160 d47e924599b33a35a50f4c9f5564d325c271f83b SHA1 5b91a6d8d06d3dca2d774425befba30caca51507 SHA256 9cd891fcf0af580e98b62d2f4ded9e53671599f5a7aafd5dce692b996d2a83f4 MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161 RMD160 d47e924599b33a35a50f4c9f5564d325c271f83b metadata.xml 161 SHA256 9cd891fcf0af580e98b62d2f4ded9e53671599f5a7aafd5dce692b996d2a83f4 metadata.xml 161 -MD5 ab8a30dbda16d1de7a893594a48a8b6f files/digest-knowledgetree-2.0.7 250 -RMD160 21e5d450e1724fd92bc7a935684b0d8191b05f62 files/digest-knowledgetree-2.0.7 250 -SHA256 c17449ccb96e2330d53ecb4a97bd0d7f4f0d569cd7959f02f1ca0a4392a91199 files/digest-knowledgetree-2.0.7 250 -MD5 beee4d0f5316c5fee3b70703de3261b8 files/digest-knowledgetree-3.0.3 253 -RMD160 c8de942d6489b121d5966a5eb224b5c936337557 files/digest-knowledgetree-3.0.3 253 -SHA256 787283b7a9aa0e687c897ffa9e9aae79602a5186efae03e0560c1f3a938639be files/digest-knowledgetree-3.0.3 253 +MD5 60e011845294baf59449e6f03734225b files/digest-knowledgetree-3.4.3 253 +RMD160 f89b0868c5962f2802be689e006d5920ddfe2f31 files/digest-knowledgetree-3.4.3 253 +SHA256 1a69f098b85592cd6085baf7e7ffd1eb08e002ef3c8d878925cbbf125e1614d1 files/digest-knowledgetree-3.4.3 253 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQFG4Vp0EEcxCpcDQ74RApeiAJ9KDPpN8cTOj4DXnb4uiks4Tn5zBwCfe6Ha +gahJPIq94opf8oJUOhjRg3A= +=0PYg +-----END PGP SIGNATURE----- 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! +------------------------------------------------------------------------ + diff --git a/www-apps/knowledgetree/knowledgetree-2.0.7.ebuild b/www-apps/knowledgetree/knowledgetree-2.0.7.ebuild deleted file mode 100644 index 59c22ebf8e1a..000000000000 --- a/www-apps/knowledgetree/knowledgetree-2.0.7.ebuild +++ /dev/null @@ -1,88 +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-2.0.7.ebuild,v 1.3 2006/11/23 17:13:59 vivo Exp $ - -inherit webapp - -MY_PN=${PN/tree/Tree} -MY_P=${MY_PN}-${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/php - virtual/mysql - >=dev-php/PEAR-DB-1.6.4 - >=dev-php/PEAR-Log-1.8.3 - " -S=${WORKDIR}/${MY_PN} - -src_unpack() { - - unpack ${A} && cd "${S}" - - ## The ebuild depends on PEAR-DB and PEAR-Log. - ## No need for additional PEAR library files - rm -rf thirdparty - - ## not running any tests - rm -rf tests - - ## Example apache, php and mysql config files - cd etc - for FL in * - do - mv ${FL} example-${FL} - done -} - -src_install() { - webapp_src_preinst - - local docs="docs/CREDITS.txt - docs/ChangeLog.txt - docs/INSTALL.txt - docs/README.txt - docs/TODO.txt - docs/UPGRADE.txt - docs/faq.txt - docs/i18n.txt - docs/SearchPermissions.txt - sql/mysql/install/user.sql - " - - dodoc ${docs} etc/* - - ## Main application - cp -r . ${D}${MY_HTDOCSDIR} - - ## Docs installed, remove unnecessary files - rm -rf ${D}${MY_HTDOCSDIR}/etc - for doc in ${docs} - do - rm ${D}${MY_HTDOCSDIR}/${doc} - done - - for CFG in ${MY_HTDOCSDIR}/config/{browsers.inc,dmsDefaults.php,environment.php,siteMap.inc,tableMappings.inc} - do - webapp_configfile ${CFG} - done - - ## Documents will be saved here - webapp_serverowned ${MY_HTDOCSDIR}/log - webapp_serverowned ${MY_HTDOCSDIR}/Documents - webapp_serverowned ${MY_HTDOCSDIR}/Documents/Root\ Folder - webapp_serverowned ${MY_HTDOCSDIR}/Documents/Root\ Folder/Default\ Unit - - webapp_postinst_txt en ${FILESDIR}/postinstall-en-2.0.7.txt - - ## Fix for the root folder - webapp_hook_script ${FILESDIR}/config-hook-2.0.0.sh - - webapp_src_install -} diff --git a/www-apps/knowledgetree/knowledgetree-3.0.3.ebuild b/www-apps/knowledgetree/knowledgetree-3.4.3.ebuild index bf1b4ac1140d..8def0f2ac1a8 100644 --- a/www-apps/knowledgetree/knowledgetree-3.0.3.ebuild +++ b/www-apps/knowledgetree/knowledgetree-3.4.3.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/knowledgetree/knowledgetree-3.0.3.ebuild,v 1.3 2006/11/23 17:13:59 vivo Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/knowledgetree/knowledgetree-3.4.3.ebuild,v 1.1 2007/09/07 14:04:30 wrobel Exp $ -inherit webapp +inherit webapp depend.php -MY_PN=${PN/tree/Tree} +MY_PN=ktdms-src-oss MY_PV=${PV/_/} MY_P=${MY_PN}-${MY_PV} @@ -16,25 +16,20 @@ LICENSE="GPL-2" KEYWORDS="~x86 ~amd64" IUSE="office opendoc pdf ps" -DEPEND="virtual/httpd-php - virtual/mysql - office? ( >=app-text/catdoc-0.94.1 ) - ps? ( app-text/pstotext ) - pdf? ( app-text/poppler ) - opendoc? ( app-arch/unzip )" +DEPEND="office? ( >=app-text/catdoc-0.94.1 ) + ps? ( app-text/pstotext ) + pdf? ( app-text/poppler ) + opendoc? ( app-arch/unzip )" -S=${WORKDIR}/${MY_PN} +need_php4_httpd + +S=${WORKDIR}/knowledgeTree-OSS 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 - " + # Local docs have been dropped in favour of online docs + local docs="docs/README.txt" dodoc ${docs} @@ -52,6 +47,8 @@ src_install() { webapp_configfile ${CFG} done + keepdir ${MY_HTDOCSDIR}/var/cache + ## Documents will be saved here webapp_serverowned ${MY_HTDOCSDIR}/var/cache webapp_serverowned ${MY_HTDOCSDIR}/var/log @@ -62,8 +59,9 @@ src_install() { 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 +# We don't currently support postgres anymore. Coming soon. +# 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 |