diff options
author | Stuart Herbert <stuart@gentoo.org> | 2004-08-15 15:44:07 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2004-08-15 15:44:07 +0000 |
commit | 7391e03e9c71a75341023d0bdd7099c77d287043 (patch) | |
tree | 97925cdf95ee77d1f5f9dc10f3d36fe5c5ea7f50 /www-apps/tikiwiki | |
parent | Moved from net-www/swish-e to www-apps/swish-e (diff) | |
download | gentoo-2-7391e03e9c71a75341023d0bdd7099c77d287043.tar.gz gentoo-2-7391e03e9c71a75341023d0bdd7099c77d287043.tar.bz2 gentoo-2-7391e03e9c71a75341023d0bdd7099c77d287043.zip |
Moved from net-www/tikiwiki to www-apps/tikiwiki.
Diffstat (limited to 'www-apps/tikiwiki')
-rw-r--r-- | www-apps/tikiwiki/ChangeLog | 55 | ||||
-rw-r--r-- | www-apps/tikiwiki/Manifest | 9 | ||||
-rw-r--r-- | www-apps/tikiwiki/files/digest-tikiwiki-1.8.2 | 1 | ||||
-rw-r--r-- | www-apps/tikiwiki/files/digest-tikiwiki-1.8.2-r1 | 1 | ||||
-rw-r--r-- | www-apps/tikiwiki/files/digest-tikiwiki-1.8.3 | 1 | ||||
-rw-r--r-- | www-apps/tikiwiki/files/postinstall-en.txt | 54 | ||||
-rw-r--r-- | www-apps/tikiwiki/metadata.xml | 9 | ||||
-rw-r--r-- | www-apps/tikiwiki/tikiwiki-1.8.2-r1.ebuild | 81 | ||||
-rw-r--r-- | www-apps/tikiwiki/tikiwiki-1.8.2.ebuild | 64 | ||||
-rw-r--r-- | www-apps/tikiwiki/tikiwiki-1.8.3.ebuild | 81 |
10 files changed, 356 insertions, 0 deletions
diff --git a/www-apps/tikiwiki/ChangeLog b/www-apps/tikiwiki/ChangeLog new file mode 100644 index 000000000000..bf38e2b028d8 --- /dev/null +++ b/www-apps/tikiwiki/ChangeLog @@ -0,0 +1,55 @@ +# ChangeLog for net-www/tikiwiki +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/ChangeLog,v 1.1 2004/08/15 15:44:07 stuart Exp $ + +*tikiwiki-1.8.3 (15 Aug 2004) + + 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml, + +files/postinstall-en.txt, +tikiwiki-1.8.2-r1.ebuild, + +tikiwiki-1.8.2.ebuild, +tikiwiki-1.8.3.ebuild: + Moved from net-www/tikiwiki to www-apps/tikiwiki. + +*tikiwiki-1.8.3 (05 Aug 2004) + + 05 Aug 2004; Martin Holzer <mholzer@gentoo.org> +tikiwiki-1.8.3.ebuild: + Version bumped and using webapp.eclass based ebuilds submitted by + gentoo@psychogeeks.com in 52143 + + 17 Apr 2004; Jason Wever <weeve@gentoo.org> tikiwiki-1.8.2.ebuild: + Added ~sparc keyword. + +*tikiwiki-1.8.2 (13 Apr 2004) + + 13 Apr 2004; Martin Holzer <mholzer@gentoo.org> tikiwiki-1.8.2.ebuild: + Version bumped. Security release. + +*tikiwiki-1.8.1 (14 Mar 2004) + + 14 Mar 2004; Martin Holzer <mholzer@gentoo.org> tikiwiki-1.8.1.ebuild: + Version bumped. + +*tikiwiki-1.7.6 (14 Mar 2004) + + 14 Mar 2004; Martin Holzer <mholzer@gentoo.org> tikiwiki-1.7.6.ebuild: + Version added + +*tikiwiki-1.8 (02 Mar 2004) + + 02 Mar 2004; Martin Holzer <mholzer@gentoo.org> tikiwiki-1.8.ebuild: + Version bumped. + + 02 Mar 2004; Martin Holzer <mholzer@gentoo.org> tikiwiki-1.7.4.ebuild, + tikiwiki-1.7.5.ebuild: + moving webapp-detect inside functions. + +*tikiwiki-1.7.5 (27 Jan 2004) + + 27 Jan 2004; Martin Holzer <mholzer@gentoo.org> tikiwiki-1.7.5.ebuild: + Version bumped. + +*tikiwiki-1.7.4 (30 Dec 2003) + + 30 Dec 2003; Martin Holzer <mholzer@gentoo.org> tikiwiki-1.7.4.ebuild: + Inital ebuild submitted by Gualter Barbas Baptista <gualter@gaia.org.pt> in + 32435 + diff --git a/www-apps/tikiwiki/Manifest b/www-apps/tikiwiki/Manifest new file mode 100644 index 000000000000..9372afe4dd1a --- /dev/null +++ b/www-apps/tikiwiki/Manifest @@ -0,0 +1,9 @@ +MD5 10e700f5e72d5bd98db8aed8aa037f99 tikiwiki-1.8.2.ebuild 1635 +MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280 +MD5 0bbd5547d7480794de55335296ba3768 ChangeLog 1467 +MD5 d4b710d3f2d93edbaea90bfbc3342031 tikiwiki-1.8.2-r1.ebuild 1978 +MD5 18e65d6c028b0b174d1836e2044345e2 tikiwiki-1.8.3.ebuild 1950 +MD5 02710bef8251c7989bb55efc5628bcc6 files/digest-tikiwiki-1.8.2 68 +MD5 bd86652016f6c4480eda7199fa25ebd9 files/postinstall-en.txt 1407 +MD5 02710bef8251c7989bb55efc5628bcc6 files/digest-tikiwiki-1.8.2-r1 68 +MD5 a0ee80f78f566fc992524890c3222b78 files/digest-tikiwiki-1.8.3 68 diff --git a/www-apps/tikiwiki/files/digest-tikiwiki-1.8.2 b/www-apps/tikiwiki/files/digest-tikiwiki-1.8.2 new file mode 100644 index 000000000000..acfd5c768999 --- /dev/null +++ b/www-apps/tikiwiki/files/digest-tikiwiki-1.8.2 @@ -0,0 +1 @@ +MD5 8be27c5de293d005ae8fba00b4a25b70 tikiwiki-1.8.2.tar.bz2 5382427 diff --git a/www-apps/tikiwiki/files/digest-tikiwiki-1.8.2-r1 b/www-apps/tikiwiki/files/digest-tikiwiki-1.8.2-r1 new file mode 100644 index 000000000000..acfd5c768999 --- /dev/null +++ b/www-apps/tikiwiki/files/digest-tikiwiki-1.8.2-r1 @@ -0,0 +1 @@ +MD5 8be27c5de293d005ae8fba00b4a25b70 tikiwiki-1.8.2.tar.bz2 5382427 diff --git a/www-apps/tikiwiki/files/digest-tikiwiki-1.8.3 b/www-apps/tikiwiki/files/digest-tikiwiki-1.8.3 new file mode 100644 index 000000000000..069daf18fdb7 --- /dev/null +++ b/www-apps/tikiwiki/files/digest-tikiwiki-1.8.3 @@ -0,0 +1 @@ +MD5 e6bece62491af58453648ed53c7edbd3 tikiwiki-1.8.3.tar.bz2 5388215 diff --git a/www-apps/tikiwiki/files/postinstall-en.txt b/www-apps/tikiwiki/files/postinstall-en.txt new file mode 100644 index 000000000000..fab991414186 --- /dev/null +++ b/www-apps/tikiwiki/files/postinstall-en.txt @@ -0,0 +1,54 @@ +Setup Completion +--- + +If there is no existing TikiWiki install and database you will need to +create an empty database for TikiWiki before starting setup. For +example (MySQL): + +mysql -p -u root mysql <<__EOSQL + CREATE DATABASE tiki; + GRANT CREATE, DROP, INDEX, ALTER, SELECT, INSERT, UPDATE, DELETE + ON tiki.* + TO tikiuser@localhost + IDENTIFIED BY 'a_good_password'; + FLUSH PRIVILEGES; +__EOSQL + + +TikiWiki likes to have a generous PHP environment. Please edit +/etc/php4/php.ini or arrange the settings through another mechanism such as +Apache .htaccess files. + +Tiki requires PHP to have : + ==> 'memory_limit = 16M' + ==> 'max_execution_time = 60' +Tiki likes PHP to have : + ==> 'default_charset = utf-8' + ==> 'file_uploads = On' + + +Please read the files in: +${G_HTDOCSDIR}${G_INSTALLDIR}doc +especially if you want clean URLS under Apache. + +You may find further information on the Tiki website + ==> http://tikiwiki.org/InstallGettingStarted + +Note: The equivalent of running setup.sh has already been completed. + + +Now, point your browser to the location of tiki-install.php to complete the +setup/upgrade. For example: + +http://${G_HOSTNAME}/${G_INSTALLDIR}/tiki-install.php + + +You may need to manually rename tiki-install.php to tiki-install.done to +secure your system. For example: + +cd ${G_HTDOCSDIR}${G_INSTALLDIR} +mv tiki-install.php tiki-install.done + + +Enjoy your TikiWiki site. + diff --git a/www-apps/tikiwiki/metadata.xml b/www-apps/tikiwiki/metadata.xml new file mode 100644 index 000000000000..13bc126c7d91 --- /dev/null +++ b/www-apps/tikiwiki/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>web-apps</herd> +<maintainer> +<email>web-apps@gentoo.org</email> +<name>Gentoo Web Application Packages Maintainers</name> +</maintainer> +</pkgmetadata> diff --git a/www-apps/tikiwiki/tikiwiki-1.8.2-r1.ebuild b/www-apps/tikiwiki/tikiwiki-1.8.2-r1.ebuild new file mode 100644 index 000000000000..12e58895cf2f --- /dev/null +++ b/www-apps/tikiwiki/tikiwiki-1.8.2-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/tikiwiki-1.8.2-r1.ebuild,v 1.1 2004/08/15 15:44:07 stuart Exp $ + +inherit webapp + +DESCRIPTION="Full featured Web Content Management System using Php and Smarty Templates" +HOMEPAGE="http://tikiwiki.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +IUSE="" +KEYWORDS="~x86 ~ppc ~sparc" + +RDEPEND="virtual/php + media-gfx/graphviz" + +src_install() { + webapp_src_preinst + + local DIR + local DIRENTRY + local DIRS="backups db dump img/wiki + img/wiki_up modules/cache temp temp/cache + templates_c var var/log var/log/irc templates + styles lib/Galaxia/processes" + + + # Ensure that directories exist, some don't. + # (part of setup.sh) + # + for DIR in ${DIRS}; do + mkdir -p ${DIR} + done + + # Remove the execute permission from the setup.sh script + # and rename it. Its actions have been incorporated here. + # + chmod a-x setup.sh + mv setup.sh setup.sh.done + + # Install the minimal doc (points to web page) + # + dodoc doc/readme.txt + dodoc doc/htaccess + dodoc doc/htaccess.readme + dodoc INSTALL + dodoc README + rm INSTALL README + + # The bulk goes into htdocs + # + cp -a . ${D}/${MY_HTDOCSDIR} + + # Recursively set server ownership to allow server to write + # This is the rough equivalent of the setup.sh script + # provided in the distribution. + # Note: Cannot use xargs or find -exec here because + # these don't work with shell functions. + # + webapp_serverowned ${MY_HTDOCSDIR} + for DIR in ${DIRS}; do + find ${DIR} | while read DIRENTRY; do + webapp_serverowned ${MY_HTDOCSDIR}/${DIRENTRY} + done + done + + # Flag files for scripting engine + # + find . -name '*.php' -a ! -name '*.inc.php' | while read DIRENTRY; do + webapp_runbycgibin php ${MY_HTDOCSDIR}/${DIRENTRY} + done + + # Setup some post-install notes for webapp-config + # + webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt + + webapp_src_install +} + + diff --git a/www-apps/tikiwiki/tikiwiki-1.8.2.ebuild b/www-apps/tikiwiki/tikiwiki-1.8.2.ebuild new file mode 100644 index 000000000000..58f88531bd47 --- /dev/null +++ b/www-apps/tikiwiki/tikiwiki-1.8.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/tikiwiki-1.8.2.ebuild,v 1.1 2004/08/15 15:44:07 stuart Exp $ + +inherit webapp-apache + +DESCRIPTION="Full featured Web Content Management System using Php and Smarty Templates" +HOMEPAGE="http://tikiwiki.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc" + +RDEPEND="virtual/php + media-gfx/graphviz" + +pkg_setup() { + webapp-detect || NO_WEBSERVER=1 + webapp-pkg_setup "${NO_WEBSERVER}" + einfo "Installing for ${WEBAPP_SERVER}" +} + +src_unpack() { + unpack ${A} + cd ${S} +} + + +src_install() { + webapp-detect || NO_WEBSERVER=1 + webapp-mkdirs + + local DocumentRoot=${HTTPD_ROOT} + local destdir=${DocumentRoot}/${PN} + + dodir ${destdir} + cp -r . ${D}${destdir} + + cd ${D}/${HTTPD_ROOT} + dodoc ${S}/doc/readme.txt + chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${PN} +} + +pkg_postinst() { + einfo "Tiki requires PHP to have :" + einfo " ==> 'memory_limit = 16M'" + einfo " ==> 'max_execution_time = 60'" + einfo "Tiki likes PHP to have :" + einfo " ==> 'default_charset = utf-8'" + einfo " ==> 'file_uploads enabled = On'" + einfo "Please edit /etc/php4/php.ini." + einfo "" + einfo "" + einfo "Please read ${HTTPD_ROOT}/${PN}/doc/readme.txt !" + einfo "" + einfo "You may find further information on the Tiki website" + einfo " ==> http://tikiwiki.org/InstallGettingStarted" + einfo "" + einfo "" + einfo "Now, point your browser to the location of tiki-install.php" + einfo " ==> e.g. http://localhost/tikiwiki/tiki-install.php" + einfo "" +} diff --git a/www-apps/tikiwiki/tikiwiki-1.8.3.ebuild b/www-apps/tikiwiki/tikiwiki-1.8.3.ebuild new file mode 100644 index 000000000000..b5c330e0d5ea --- /dev/null +++ b/www-apps/tikiwiki/tikiwiki-1.8.3.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/tikiwiki-1.8.3.ebuild,v 1.1 2004/08/15 15:44:07 stuart Exp $ + +inherit webapp + +DESCRIPTION="Full featured Web Content Management System using Php and Smarty Templates" +HOMEPAGE="http://tikiwiki.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +IUSE="" +KEYWORDS="~x86 ~ppc ~sparc" + +RDEPEND="virtual/php + media-gfx/graphviz" + + +src_install() { + webapp_src_preinst + + local DIR + local DIRENTRY + local DIRS="backups db dump img/wiki + img/wiki_up modules/cache temp temp/cache + templates_c templates styles lib/Galaxia/processes" + + + # Ensure that directories exist, some don't. + # (part of setup.sh) + # + for DIR in ${DIRS}; do + mkdir -p ${DIR} + done + + # Remove the execute permission from the setup.sh script + # and rename it. Its actions have been incorporated here. + # + chmod a-x setup.sh + mv setup.sh setup.sh.done + + # Install the minimal doc (points to web page) + # + dodoc doc/readme.txt + dodoc doc/htaccess + dodoc doc/htaccess.readme + dodoc INSTALL + dodoc README + rm INSTALL README + + # The bulk goes into htdocs + # + cp -a . ${D}/${MY_HTDOCSDIR} + + # Recursively set server ownership to allow server to write + # This is the rough equivalent of the setup.sh script + # provided in the distribution. + # Note: Cannot use xargs or find -exec here because + # these don't work with shell functions. + # + webapp_serverowned ${MY_HTDOCSDIR} + for DIR in ${DIRS}; do + find ${DIR} | while read DIRENTRY; do + webapp_serverowned ${MY_HTDOCSDIR}/${DIRENTRY} + done + done + + # Flag files for scripting engine + # + find . -name '*.php' -a ! -name '*.inc.php' | while read DIRENTRY; do + webapp_runbycgibin php ${MY_HTDOCSDIR}/${DIRENTRY} + done + + # Setup some post-install notes for webapp-config + # + webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt + + webapp_src_install +} + + |