diff options
author | 2007-01-22 07:49:38 +0000 | |
---|---|---|
committer | 2007-01-22 07:49:38 +0000 | |
commit | 54ffdad89546a947e6493f8c4804a98022a71791 (patch) | |
tree | 27cce66782b1d22fe0b57c5b6ec042023313b0c1 | |
parent | Small fixes to the zina package. (diff) | |
download | overlay-54ffdad89546a947e6493f8c4804a98022a71791.tar.gz overlay-54ffdad89546a947e6493f8c4804a98022a71791.tar.bz2 overlay-54ffdad89546a947e6493f8c4804a98022a71791.zip |
Paludis compatibility
svn path=/stable/; revision=785
-rw-r--r-- | profiles/categories | 10 | ||||
-rw-r--r-- | profiles/repo_name | 1 | ||||
-rw-r--r-- | www-apps/knowledgetree/Manifest | 48 | ||||
-rw-r--r-- | www-apps/knowledgetree/files/config-hook-3.1.0.sh | 7 | ||||
-rw-r--r-- | www-apps/knowledgetree/files/postinstall-en-3.1.0.txt | 41 | ||||
-rw-r--r-- | www-apps/knowledgetree/files/postupgrade-en-3.1.0.txt | 19 | ||||
-rw-r--r-- | www-apps/knowledgetree/knowledgetree-3.1.0.ebuild | 75 | ||||
-rw-r--r-- | www-apps/knowledgetree/metadata.xml | 5 |
8 files changed, 206 insertions, 0 deletions
diff --git a/profiles/categories b/profiles/categories new file mode 100644 index 0000000..861cfba --- /dev/null +++ b/profiles/categories @@ -0,0 +1,10 @@ +app-admin +app-emacs +app-misc +app-portage +dev-python +net-fs +net-mail +sci-biology +sys-fs +www-apps diff --git a/profiles/repo_name b/profiles/repo_name new file mode 100644 index 0000000..37950bf --- /dev/null +++ b/profiles/repo_name @@ -0,0 +1 @@ +wrobel diff --git a/www-apps/knowledgetree/Manifest b/www-apps/knowledgetree/Manifest new file mode 100644 index 0000000..58d685c --- /dev/null +++ b/www-apps/knowledgetree/Manifest @@ -0,0 +1,48 @@ +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 +SHA256 5f44bb121476243bf4ae9fc0886c39d46057f28033f41d3feaea76a6a584f5c8 files/config-hook-2.0.0.sh 250 +AUX config-hook-3.0.2.sh 226 RMD160 a678c8d8c2084c5de8b4d8c95209eb64b114aeb2 SHA1 eaf67a85134b07863ee0c84a675931b3521bc6d7 SHA256 29dce509223735eacc2613806c6e47e7ef46c2d8e7cb90ff018ed3782eb49a61 +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 config-hook-3.0.3.sh 226 RMD160 a678c8d8c2084c5de8b4d8c95209eb64b114aeb2 SHA1 eaf67a85134b07863ee0c84a675931b3521bc6d7 SHA256 29dce509223735eacc2613806c6e47e7ef46c2d8e7cb90ff018ed3782eb49a61 +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 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 +SHA256 689195e4ac3f1b40c8d3328ba9236b3118c857ba71ad90f83e62682c295e74d4 files/postinstall-en-2.0.7.txt 1848 +AUX postinstall-en-3.0.3.txt 1681 RMD160 d0408d1d5601df671a7d68e1fd841606e85153a1 SHA1 03b8efd7cdcb975f125b2acb0863bb82a3e08db1 SHA256 e3901c3ef977b2cbc61f89f21837c073806fe6582618ad73072376888a8b7ef4 +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 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 2089 RMD160 6afc07dd60f2262220eee20f3d8f70b460d7e475 SHA1 b3383acc8241a76a3c96d490419e783eeb93fb32 SHA256 9749bacb98564ccbc4c6d982be56e55423f8f511cb5b314c323eee1a57e53e5f +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.3.ebuild 2143 RMD160 f43634edf4f7c6a262180d870022843677bad56f SHA1 6ba1e441e2e778ae2c49a78dc623fede0951ed4b SHA256 a5b719e3531314828847b4b59d3b7a5ebaca0a7683ee917f09aeafb42ee40953 +MD5 09d30223570bbee4c0ffa430208f3f30 knowledgetree-3.0.3.ebuild 2143 +RMD160 f43634edf4f7c6a262180d870022843677bad56f knowledgetree-3.0.3.ebuild 2143 +SHA256 a5b719e3531314828847b4b59d3b7a5ebaca0a7683ee917f09aeafb42ee40953 knowledgetree-3.0.3.ebuild 2143 +MISC ChangeLog 2251 RMD160 81e721065d70b4e5ad79e55cd07c907cddefb71c SHA1 31a2dd313d625cbdac9df8b00a2845deae1728fa SHA256 fa5d90eefc9d1e9907cbca84226f82397b86ae7a0cdfb0944aa776ae093afd64 +MD5 5272f43c25946f9014ffe86cbf282374 ChangeLog 2251 +RMD160 81e721065d70b4e5ad79e55cd07c907cddefb71c ChangeLog 2251 +SHA256 fa5d90eefc9d1e9907cbca84226f82397b86ae7a0cdfb0944aa776ae093afd64 ChangeLog 2251 +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 diff --git a/www-apps/knowledgetree/files/config-hook-3.1.0.sh b/www-apps/knowledgetree/files/config-hook-3.1.0.sh new file mode 100644 index 0000000..c6fe2e9 --- /dev/null +++ b/www-apps/knowledgetree/files/config-hook-3.1.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/postinstall-en-3.1.0.txt b/www-apps/knowledgetree/files/postinstall-en-3.1.0.txt new file mode 100644 index 0000000..a7e0c02 --- /dev/null +++ b/www-apps/knowledgetree/files/postinstall-en-3.1.0.txt @@ -0,0 +1,41 @@ +------------------------------------------------------------------------ +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! + +------------------------------------------------------------------------ diff --git a/www-apps/knowledgetree/files/postupgrade-en-3.1.0.txt b/www-apps/knowledgetree/files/postupgrade-en-3.1.0.txt new file mode 100644 index 0000000..47a2ba0 --- /dev/null +++ b/www-apps/knowledgetree/files/postupgrade-en-3.1.0.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.1.0.ebuild b/www-apps/knowledgetree/knowledgetree-3.1.0.ebuild new file mode 100644 index 0000000..61fbadb --- /dev/null +++ b/www-apps/knowledgetree/knowledgetree-3.1.0.ebuild @@ -0,0 +1,75 @@ +# 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.3.ebuild,v 1.2 2006/07/24 08:38:55 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 ~amd64" +IUSE="office opendoc pdf ps" + +DEPEND="virtual/httpd-php + dev-db/mysql + office? ( >=app-text/catdoc-0.94.1 ) + ps? ( app-text/pstotext ) + pdf? ( app-text/poppler ) + opendoc? ( app-arch/unzip )" + +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/cache + 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/metadata.xml b/www-apps/knowledgetree/metadata.xml new file mode 100644 index 0000000..95c06f0 --- /dev/null +++ b/www-apps/knowledgetree/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>web-apps</herd> +</pkgmetadata> |