diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2005-08-12 08:33:06 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2005-08-12 08:33:06 +0000 |
commit | 98a624f4e68bafb67c17e1fec400e0ea49038fc6 (patch) | |
tree | c8293aec27208439f486203ba1d1004ebebfde88 | |
parent | Added some digests (diff) | |
download | overlay-98a624f4e68bafb67c17e1fec400e0ea49038fc6.tar.gz overlay-98a624f4e68bafb67c17e1fec400e0ea49038fc6.tar.bz2 overlay-98a624f4e68bafb67c17e1fec400e0ea49038fc6.zip |
Bumped claroline ebuild
svn path=/; revision=293
18 files changed, 61 insertions, 390 deletions
@@ -2,9 +2,8 @@ EBUILDS=app-emacs/muse/muse-3.01.package \ app-emacs/muse/muse-3.01.90.package \ app-emacs/planner/planner-3.99.package \ app-office/ledger/ledger-2.3.package \ - dev-python/EaseXML/EaseXML-0.2.0.package \ + www-apps/claroline/claroline-1.6.2.package \ www-apps/hypermail/hypermail-2.2.0.package \ - www-apps/knowledgeTree/knowledgeTree-2.0.7.package \ www-apps/phpicalendar/phpicalendar-2.0b.package \ www-apps/postfixadmin/postfixadmin-2.1.0.package \ www-apps/pyblosxom/pyblosxom-1.2.1.package \ diff --git a/dev-python/EaseXML/EaseXML-0.2.0.ebuild b/dev-python/EaseXML/EaseXML-0.2.0.ebuild deleted file mode 100644 index 9318bd4..0000000 --- a/dev-python/EaseXML/EaseXML-0.2.0.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2005 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# Header: $ - -inherit distutils - -DESCRIPTION="EaseXML tends to be an object-xml mapper. It allows to translate XML to Python objects and vice-versa." -SRC_URI="http://easexml.base-art.net/download/${P}.tar.gz" -HOMEPAGE="http://easexml.base-art.net/" - -LICENSE="PSF-2.1.1" -KEYWORDS="~x86" - -IUSE="" - -DEPEND="virtual/python" diff --git a/dev-python/EaseXML/Manifest b/dev-python/EaseXML/Manifest deleted file mode 100644 index a3be4ba..0000000 --- a/dev-python/EaseXML/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -MD5 ce438c05b7a99b0a0d9e6e1d719b06a3 EaseXML-0.2.0.ebuild 434 -MD5 9e53e31f3c2068323136e5d314b62213 files/digest-EaseXML-0.2.0 65 diff --git a/dev-python/EaseXML/files/digest-EaseXML-0.2.0 b/dev-python/EaseXML/files/digest-EaseXML-0.2.0 deleted file mode 100644 index 9df29a8..0000000 --- a/dev-python/EaseXML/files/digest-EaseXML-0.2.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 6b5eb4fd59639e654fa22fb31a9e4468 EaseXML-0.2.0.tar.gz 198899 diff --git a/www-apps/claroline/claroline-1.6.2.ebuild b/www-apps/claroline/claroline-1.6.2.ebuild new file mode 100644 index 0000000..3a24b43 --- /dev/null +++ b/www-apps/claroline/claroline-1.6.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2005 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit webapp + +MYP=${PN}${PV//./} + +DESCRIPTION="Claroline E-learning System" +HOMEPAGE="http://www.claroline.net/" +SRC_URI="http://www.claroline.net/dlarea/${MYP}.tar.gz" +LICENSE="GPL-2" +KEYWORDS="~x86" + +IUSE="" +RDEPEND="net-www/apache + virtual/php + >=dev-db/mysql-3.23" + +S=${WORKDIR}/${MYP} + +src_install() { + + webapp_src_preinst + + cd ${S} + + ## Install documentation + DOCS="CREDITS.txt INSTALL.txt README.txt" + dodoc ${DOCS} + + ## Install application + cp -R . ${D}/${MY_HTDOCSDIR} + + ## Remove unnecessary documentation from webdir + for file in ${DOCS} LICENCE.txt + do + rm ${D}/${MY_HTDOCSDIR}/${file} + done + + cp ${D}/${MY_HTDOCSDIR}/textzone_right.inc.html.dist ${D}/${MY_HTDOCSDIR}/textzone_right.inc.html + cp ${D}/${MY_HTDOCSDIR}/textzone_top.inc.html.dist ${D}/${MY_HTDOCSDIR}/textzone_top.inc.html + + mkdir ${D}/${MY_HTDOCSDIR}/courses + sed -i -e 's#^\$coursesRepositoryAppend.*#\$coursesRepositoryAppend="courses/";#' ${D}/${MY_HTDOCSDIR}/claroline/install/do_install.inc.php + + SFILES="courses claroline claroline/inc/conf claroline/sql claroline/lang claroline/admin \ + claroline/inc/conf/* textzone_right.inc.html textzone_top.inc.html textzone_right.inc.html.dist \ + textzone_top.inc.html.dist" + + for FILE in ${SFILES} + do + webapp_serverowned ${MY_HTDOCSDIR}/${FILE}; + done + + webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt + + webapp_src_install +} + diff --git a/www-apps/knowledgeTree/Manifest b/www-apps/knowledgeTree/Manifest deleted file mode 100644 index 74d7c40..0000000 --- a/www-apps/knowledgeTree/Manifest +++ /dev/null @@ -1,12 +0,0 @@ -MD5 c4255666dba37e95798facb084c1dd13 knowledgeTree-1.2.3.ebuild 1410 -MD5 73487152d95e30b956315bb5c74a9d05 knowledgeTree-2.0.0.ebuild 2168 -MD5 7a2638bd74bf0c84511f97f8ccbaefb1 knowledgeTree-2.0.7.ebuild 2124 -MD5 1b5ee9cc8ce037fa6ef95e5d1a3646d1 files/digest-knowledgeTree-1.2.3 68 -MD5 3b1ebecb999e40f5b64494b9b9e34096 files/config-hook-2.0.0.sh 251 -MD5 1cd512bd8e65d7530d28408dfefe32fb files/config-hook.sh 399 -MD5 1af8eabe06e7edfa6b9161f6d115dd74 files/knowledgeTree-2.0.0-php5.patch 528 -MD5 f742818675ffcd2f8918768db1f8011b files/digest-knowledgeTree-2.0.0 68 -MD5 74f02fdd8e803af4673121fe6df90ae4 files/digest-knowledgeTree-2.0.7 68 -MD5 d3b71b331d228cf096e90516fb88d61f files/postinstall-en-2.0.0.txt 1506 -MD5 ade7e03bdfa0a98f3bfaf31854217505 files/postinstall-en.txt 843 -MD5 1760f2344d948ddd948f20f8611c4a23 files/postinstall-en-2.0.7.txt 1851 diff --git a/www-apps/knowledgeTree/files/config-hook-2.0.0.sh b/www-apps/knowledgeTree/files/config-hook-2.0.0.sh deleted file mode 100644 index cd86b6a..0000000 --- a/www-apps/knowledgeTree/files/config-hook-2.0.0.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -# Sets installation directory and hostname when installing knowledgeTree - -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.sh b/www-apps/knowledgeTree/files/config-hook.sh deleted file mode 100644 index 4eca443..0000000 --- a/www-apps/knowledgeTree/files/config-hook.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -# Sets installation directory and hostname when installing knowledgeTree - -if [ "x$1"=="xinstall" ]; then - cd ${MY_INSTALLDIR}/config - sed -i -e "s#default->rootUrl = \"\"#default->rootUrl = \"${VHOST_APPDIR}\"#" environment.php - sed -i -e "s#/usr/local/www/dms#${MY_INSTALLDIR}#" environment.php - sed -i -e "s#change.to.your.hostname#${VHOST_HOSTNAME}#" environment.php -fi diff --git a/www-apps/knowledgeTree/files/digest-knowledgeTree-1.2.3 b/www-apps/knowledgeTree/files/digest-knowledgeTree-1.2.3 deleted file mode 100644 index 048f5be..0000000 --- a/www-apps/knowledgeTree/files/digest-knowledgeTree-1.2.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 b85f6435d588224fa416f7aaf8afc709 knowledgeTree-1.2.3.tgz 594686 diff --git a/www-apps/knowledgeTree/files/digest-knowledgeTree-2.0.0 b/www-apps/knowledgeTree/files/digest-knowledgeTree-2.0.0 deleted file mode 100644 index d2f3a95..0000000 --- a/www-apps/knowledgeTree/files/digest-knowledgeTree-2.0.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 b44d977c9211b63efa10527eaba9ba66 knowledgeTree-2.0.0.tgz 801984 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 352d94b..0000000 --- a/www-apps/knowledgeTree/files/digest-knowledgeTree-2.0.7 +++ /dev/null @@ -1 +0,0 @@ -MD5 f17896400535a4ad2159e3ff05a0f1e0 knowledgeTree-2.0.7.tgz 806523 diff --git a/www-apps/knowledgeTree/files/knowledgeTree-2.0.0-php5.patch b/www-apps/knowledgeTree/files/knowledgeTree-2.0.0-php5.patch deleted file mode 100644 index de5f298..0000000 --- a/www-apps/knowledgeTree/files/knowledgeTree-2.0.0-php5.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- lib/database/dbcompat.inc.old 2005-02-08 15:45:54.289059016 +0100 -+++ lib/database/dbcompat.inc 2005-02-08 15:46:23.417630800 +0100 -@@ -14,7 +14,9 @@ - $default->log->error($this->lastResult->toString()); - } else { - $this->lastInsertID = mysql_insert_id($default->_db->connection); -- $this->lastResult->autofree = true; -+ if (get_class($this->lastResult) == "DB_result") { -+ $this->lastResult->autofree = true; -+ } - } - return $this->lastResult; - } diff --git a/www-apps/knowledgeTree/files/postinstall-en-2.0.0.txt b/www-apps/knowledgeTree/files/postinstall-en-2.0.0.txt deleted file mode 100644 index 3a85070..0000000 --- a/www-apps/knowledgeTree/files/postinstall-en-2.0.0.txt +++ /dev/null @@ -1,43 +0,0 @@ ------------------------------------------------------------------------- -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 -e "CREATE DATABASE dms; - GRANT ALL PRIVILEGES ON dms.* TO 'dms'@'localhost' - IDENTIFIED BY 'pass'; - FLUSH PRIVILEGES;" - -Please do not forget to choose a password that is more sensible than -'pass' ;) - -Now as user "dms": - -> mysql -u dms -p dms < ${MY_SQLSCRIPTSDIR}/mysql/${PVR}_create.sql - -You also need to set the MySQL password for the dms user in the -${MY_INSTALLDIR}/config/environment.php file so that knowledgeTree can -access the database. - -Now you can go to http://${VHOST_HOSTNAME}${VHOST_APPDIR} and log in -as user "admin" with the password "admin". - ------------------------------------------------------------------------- -UPGRADE - -To upgrade from version 1.2.3 or 1.2.4 execute - -> mysql -u dms -p dms < ${MY_SQLSCRIPTSDIR}/mysql/1.2.4_to_${PVR}.sql - ------------------------------------------------------------------------- -NOTES - -The application is not yet PHP5 certified. The included patch removes -one problem but there will probably be more. Please add any problems -you might have to the gentoo bug #65083 or send me a mail to -php@gunnarwrobel.de - ------------------------------------------------------------------------- diff --git a/www-apps/knowledgeTree/files/postinstall-en-2.0.7.txt b/www-apps/knowledgeTree/files/postinstall-en-2.0.7.txt deleted file mode 100644 index 119df70..0000000 --- a/www-apps/knowledgeTree/files/postinstall-en-2.0.7.txt +++ /dev/null @@ -1,46 +0,0 @@ ------------------------------------------------------------------------- -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 -e "CREATE DATABASE dms; - GRANT SELECT, INSERT, UPDATE, DELETE ON dms.* TO 'dms'@'localhost' - IDENTIFIED BY 'pass'; - FLUSH PRIVILEGES;" - -> mysql -u root -p -e "GRANT ALL PRIVILEGES ON dms.* TO 'dmsadmin'@'localhost' - IDENTIFIED BY 'pass'; - FLUSH PRIVILEGES;" - -Please do not forget to choose a password that is more sensible than -'pass' ;) - -Now as user "dmsadmin": - -> mysql -u dmsadmin -ppass dms < ${MY_HTDOCSDIR}/sql/mysql/install/structure.sql -> mysql -u dmsadmin -ppass dms < ${MY_HTDOCSDIR}/sql/mysql/install/data.sql - -You also need to set the MySQL passwords for the dms and dmsadmin user in -the ${MY_INSTALLDIR}/config/environment.php file so that knowledgeTree can -access the database. - -Now you can go to http://${VHOST_HOSTNAME}${VHOST_APPDIR} and log in -as user "admin" with the password "admin". - ------------------------------------------------------------------------- -UPGRADE - -To upgrade from version prior to 2.0.2 please run the necessary sql -upgrade scripts. All upgrades after 2.0.2 can be done automatically -from within the web frontend. - -> mysql -u dms -ppass dms < ${MY_HTDOCSDIR}/sql/mysql/upgrade/1.2.4-to-2.0.0.sql -> mysql -u dms -ppass dms < ${MY_HTDOCSDIR}/sql/mysql/upgrade/2.0.0-to-2.0.1.sql -> mysql -u dms -ppass dms < ${MY_HTDOCSDIR}/sql/mysql/upgrade/2.0.1-to-2.0.2.sql - -Please also refer to ${D}/usr/share/doc/knowledgeTree-2.0.7/UPGRADE.txt.gz - ------------------------------------------------------------------------- diff --git a/www-apps/knowledgeTree/files/postinstall-en.txt b/www-apps/knowledgeTree/files/postinstall-en.txt deleted file mode 100644 index 8be3f3a..0000000 --- a/www-apps/knowledgeTree/files/postinstall-en.txt +++ /dev/null @@ -1,22 +0,0 @@ -The ebuild tries to setup up 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 -e "CREATE DATABASE dms; - GRANT ALL PRIVILEGES ON dms.* TO 'dms'@'localhost' IDENTIFIED BY 'pass'; - FLUSH PRIVILEGES;" - -Please do not forget to choose a password that is more sensible than 'pass' ;) - -Now as user "dms": - -> mysql -u dms -p dms < ${MY_HTDOCSDIR}/sql/mysql/install/tables.sql - -You also need to change the MySQL password for the dms user in the -${MY_INSTALLDIR}/config/environment.php file so that knowledgeTree can -access the database. - -Now you can go to http://${VHOST_HOSTNAME}${VHOST_APPDIR} and log in -as user "admin" with the password "admin". diff --git a/www-apps/knowledgeTree/knowledgeTree-1.2.3.ebuild b/www-apps/knowledgeTree/knowledgeTree-1.2.3.ebuild deleted file mode 100644 index 8c53763..0000000 --- a/www-apps/knowledgeTree/knowledgeTree-1.2.3.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit webapp - -DESCRIPTION="KnowledgeTree is an Open Source document management system. The product provides a content repository, workflow and routing of content, content publication and content metrics definition and analysis." -HOMEPAGE="http://knowledgetree.sourceforge.net" -SRC_URI="mirror://sourceforge/kt-dms/${P}.tgz" - -LICENSE="GPL-2" -KEYWORDS="~x86 ~ppc ~sparc ~alpha" -IUSE="" - -DEPEND="virtual/php" -S=${WORKDIR}/${PN} - -src_install() { - webapp_src_preinst - - local docs="docs/COPYING docs/CREDITS.txt docs/ChangeLog.txt docs/INSTALL.txt docs/README.txt docs/TODO.txt docs/codingStandards.txt docs/faq.txt docs/i18n.txt" - - dodoc ${docs} - rm -rf docs - - einfo "Installing main files" - cp -r . ${D}${MY_HTDOCSDIR} - - for CFG in ${MY_HTDOCSDIR}/config/{browsers.inc,dmsDefaults.php,environment.php,siteMap.inc,tableMappings.inc} - do - webapp_configfile ${CFG} - done - - 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_sql_script mysql ${MY_HTDOCSDIR}/sql/mysql/install/tables.sql - - webapp_hook_script ${FILESDIR}/config-hook.sh - webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt - - webapp_src_install -} diff --git a/www-apps/knowledgeTree/knowledgeTree-2.0.0.ebuild b/www-apps/knowledgeTree/knowledgeTree-2.0.0.ebuild deleted file mode 100644 index 3afefb6..0000000 --- a/www-apps/knowledgeTree/knowledgeTree-2.0.0.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils webapp - -DESCRIPTION="KnowledgeTree is an Open Source document management system. The product provides a content repository, workflow and routing of content, content publication and content metrics definition and analysis." -HOMEPAGE="http://knowledgetree.sourceforge.net" -SRC_URI="mirror://sourceforge/kt-dms/${P}.tgz" - -LICENSE="GPL-2" -KEYWORDS="~x86 ~ppc ~sparc ~alpha" -IUSE="" - -DEPEND=" - virtual/php - >=PEAR-DB-1.6.4 - >=PEAR-Log-1.8.3 - " -S=${WORKDIR}/${PN} - -src_install() { - webapp_src_preinst - - ## PHP5 patch - epatch ${FILESDIR}/knowledgeTree-${PV}-php5.patch - - ## Install documentation - cd etc - for FL in * - do - mv ${FL} example-${FL} - done - cd .. - - 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 - etc/* - sql/mysql/install/user.sql - " - - dodoc ${docs} - rm -rf docs etc - - ## The ebuild depends on PEAR-DB and PEAR-Log. - ## No need for additional PEAR library files - rm -rf pear - - ## SQL script files for installing and upgrading - webapp_sqlscript mysql sql/mysql/install/tables.sql - webapp_sqlscript mysql sql/mysql/upgrade/1.2.4-to-2.0.0.sql 1.2.4 - rm -rf sql - - ## Main application - cp -r . ${D}${MY_HTDOCSDIR} - - 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.0.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-2.0.7.ebuild b/www-apps/knowledgeTree/knowledgeTree-2.0.7.ebuild deleted file mode 100644 index 63c5f2d..0000000 --- a/www-apps/knowledgeTree/knowledgeTree-2.0.7.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils webapp - -DESCRIPTION="KnowledgeTree is an Open Source document management system. The product provides a content repository, workflow and routing of content, content publication and content metrics definition and analysis." -HOMEPAGE="http://knowledgetree.sourceforge.net" -SRC_URI="mirror://sourceforge/kt-dms/${P}.tgz" - -LICENSE="GPL-2" -KEYWORDS="~x86" -IUSE="" - -DEPEND=" - virtual/php - dev-db/mysql - >=PEAR-DB-1.6.4 - >=PEAR-Log-1.8.3 - " -S=${WORKDIR}/${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 - cd .. -} - -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 -} |