diff options
author | Stuart Herbert <stuart@gentoo.org> | 2004-08-15 15:49:56 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2004-08-15 15:49:56 +0000 |
commit | b2c8bc00250c692d89567469b02da6a34c1c8576 (patch) | |
tree | 8a52d2ed29351bfee1bfdad1cf356a6d9a365598 /www-apps/twiki | |
parent | Moved from net-www/trac to www-apps/trac (diff) | |
download | historical-b2c8bc00250c692d89567469b02da6a34c1c8576.tar.gz historical-b2c8bc00250c692d89567469b02da6a34c1c8576.tar.bz2 historical-b2c8bc00250c692d89567469b02da6a34c1c8576.zip |
Moved from net-www/twiki to www-apps/twiki.
Diffstat (limited to 'www-apps/twiki')
-rw-r--r-- | www-apps/twiki/.#twiki-20030201.ebuild.1.4 | 67 | ||||
-rw-r--r-- | www-apps/twiki/.#twiki-20030201.ebuild.1.6 | 75 | ||||
-rw-r--r-- | www-apps/twiki/.#twiki-20030201.ebuild.1.8 | 79 | ||||
-rw-r--r-- | www-apps/twiki/ChangeLog | 31 | ||||
-rw-r--r-- | www-apps/twiki/Manifest | 5 | ||||
-rw-r--r-- | www-apps/twiki/files/digest-twiki-20030201 | 1 | ||||
-rw-r--r-- | www-apps/twiki/files/twiki.conf | 26 | ||||
-rw-r--r-- | www-apps/twiki/metadata.xml | 9 | ||||
-rw-r--r-- | www-apps/twiki/twiki-20030201.ebuild | 68 |
9 files changed, 361 insertions, 0 deletions
diff --git a/www-apps/twiki/.#twiki-20030201.ebuild.1.4 b/www-apps/twiki/.#twiki-20030201.ebuild.1.4 new file mode 100644 index 000000000000..8cab89e63b78 --- /dev/null +++ b/www-apps/twiki/.#twiki-20030201.ebuild.1.4 @@ -0,0 +1,67 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/twiki/.#twiki-20030201.ebuild.1.4,v 1.1 2004/08/15 15:49:56 stuart Exp $ + +inherit webapp-apache + +DESCRIPTION="A Web Based Collaboration Platform" +HOMEPAGE="http://twiki.org/" +SRC_URI="http://twiki.org/swd/TWiki${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~ppc" + +RDEPEND="virtual/php + media-gfx/graphviz + dev-db/mysql" + +IUSE="apache2" +S="${WORKDIR}" + +pkg_setup() { + webapp-detect || NO_WEBSERVER=1 + webapp-pkg_setup "${NO_WEBSERVER}" + einfo "Installing for ${WEBAPP_SERVER}" +} + +src_unpack() { + unpack ${A} + + sed -i -e 's:\/home\/httpd:\/var\/www:g' lib/TWiki.cfg +# sed -i -e 's:urlpath\/to:var\/www\/localhost\/htdocs:g' \ +# bin/.htaccess.txt +# echo "Options ExecCGI" >> bin/.htaccess.txt +} + + +src_install() { + local destdir=/var/www/twiki + + dodir ${destdir} + cp -r . ${D}${destdir} + + if [ "`use apache2`" ]; then + dodir /etc/apache2/conf/modules.d + insinto /etc/apache2/conf/modules.d + newins ${FILESDIR}/twiki.conf 97_twiki.conf + else + dodir /etc/apache/conf/addon-modules + insinto /etc/apache/conf/addon-modules + doins ${FILESDIR}/twiki.conf + fi + + dodoc readme.txt license.txt + chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${D}${destdir} + chmod 0775 -R ${D}${destdir}/pub ${D}${destdir}/data + chown nobody -R ${D}${destdir}/pub ${D}${destdir}/data + #find ${D}/${HTTPD_ROOT}/${PN}/templates -type d -exec chmod 0440 {} \; +# chmod 0444 -R ${PN}/templates +} + +pkg_postinst() { + einfo "now go to your ${HTTPD_ROOT}/{PN}," + einfo "copy bin/.htaccess.txt to bin/.htaccess" + einfo "and be sure to read" + einfo "http://localhost/twiki/bin/view/TWiki/TWikiDocumentation#TWiki_Installation_Guide" +} diff --git a/www-apps/twiki/.#twiki-20030201.ebuild.1.6 b/www-apps/twiki/.#twiki-20030201.ebuild.1.6 new file mode 100644 index 000000000000..4f99875035e9 --- /dev/null +++ b/www-apps/twiki/.#twiki-20030201.ebuild.1.6 @@ -0,0 +1,75 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/twiki/.#twiki-20030201.ebuild.1.6,v 1.1 2004/08/15 15:49:56 stuart Exp $ + +inherit webapp-apache + +DESCRIPTION="A Web Based Collaboration Platform" +HOMEPAGE="http://twiki.org/" +SRC_URI="http://twiki.org/swd/TWiki${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~ppc" + +S=${WORKDIR} + +RDEPEND="virtual/php + media-gfx/graphviz + dev-db/mysql" + +IUSE="apache2" +S="${WORKDIR}" + +pkg_setup() { + webapp-detect || NO_WEBSERVER=1 + webapp-pkg_setup "${NO_WEBSERVER}" + einfo "Installing for ${WEBAPP_SERVER}" +} + +src_unpack() { + unpack ${A} + + sed -i -e 's:\/home\/httpd:\/var\/www:g' lib/TWiki.cfg +# sed -i -e 's:urlpath\/to:var\/www\/localhost\/htdocs:g' \ +# bin/.htaccess.txt +# echo "Options ExecCGI" >> bin/.htaccess.txt +} + + +src_install() { + local destdir=/var/www/twiki + + dodir ${destdir} + cp -r . ${D}${destdir} + + if [ "`use apache2`" ]; then + dodir /etc/apache2/conf/modules.d + insinto /etc/apache2/conf/modules.d + newins ${FILESDIR}/twiki.conf 97_twiki.conf + else + dodir /etc/apache/conf/addon-modules + insinto /etc/apache/conf/addon-modules + doins ${FILESDIR}/twiki.conf + fi + + dodoc readme.txt license.txt +<<<<<<< twiki-20030201.ebuild + chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${D}${destdir} + chmod 0775 -R ${D}${destdir}/pub ${D}${destdir}/data + chown nobody -R ${D}${destdir}/pub ${D}${destdir}/data +======= + chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${D}${destdir} + chmod 0775 -R ${D}${destdir}/pub ${D}${destdir}/data + chown nobody -R ${D}${destdir}/pub ${D}${destdir}/data +>>>>>>> 1.6 + #find ${D}/${HTTPD_ROOT}/${PN}/templates -type d -exec chmod 0440 {} \; +# chmod 0444 -R ${PN}/templates +} + +pkg_postinst() { + einfo "now go to your ${HTTPD_ROOT}/{PN}," + einfo "copy bin/.htaccess.txt to bin/.htaccess" + einfo "and be sure to read" + einfo "http://localhost/twiki/bin/view/TWiki/TWikiDocumentation#TWiki_Installation_Guide" +} diff --git a/www-apps/twiki/.#twiki-20030201.ebuild.1.8 b/www-apps/twiki/.#twiki-20030201.ebuild.1.8 new file mode 100644 index 000000000000..b9d3050a21e5 --- /dev/null +++ b/www-apps/twiki/.#twiki-20030201.ebuild.1.8 @@ -0,0 +1,79 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +<<<<<<< twiki-20030201.ebuild +# $Header: /var/cvsroot/gentoo-x86/www-apps/twiki/.#twiki-20030201.ebuild.1.8,v 1.1 2004/08/15 15:49:56 stuart Exp $ +======= +# $Header: /var/cvsroot/gentoo-x86/www-apps/twiki/.#twiki-20030201.ebuild.1.8,v 1.1 2004/08/15 15:49:56 stuart Exp $ +>>>>>>> 1.8 + +inherit webapp-apache + +DESCRIPTION="A Web Based Collaboration Platform" +HOMEPAGE="http://twiki.org/" +SRC_URI="http://twiki.org/swd/TWiki${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~ppc" + +S=${WORKDIR} + +RDEPEND="virtual/php + media-gfx/graphviz + dev-db/mysql" + +IUSE="apache2" +S="${WORKDIR}" + +pkg_setup() { + webapp-detect || NO_WEBSERVER=1 + webapp-pkg_setup "${NO_WEBSERVER}" + einfo "Installing for ${WEBAPP_SERVER}" +} + +src_unpack() { + unpack ${A} + + sed -i -e 's:\/home\/httpd:\/var\/www:g' lib/TWiki.cfg +# sed -i -e 's:urlpath\/to:var\/www\/localhost\/htdocs:g' \ +# bin/.htaccess.txt +# echo "Options ExecCGI" >> bin/.htaccess.txt +} + + +src_install() { + local destdir=/var/www/twiki + + dodir ${destdir} + cp -r . ${D}${destdir} + + if use apache2; then + dodir /etc/apache2/conf/modules.d + insinto /etc/apache2/conf/modules.d + newins ${FILESDIR}/twiki.conf 97_twiki.conf + else + dodir /etc/apache/conf/addon-modules + insinto /etc/apache/conf/addon-modules + doins ${FILESDIR}/twiki.conf + fi + + dodoc readme.txt license.txt +<<<<<<< twiki-20030201.ebuild + chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${D}${destdir} + chmod 0775 -R ${D}${destdir}/pub ${D}${destdir}/data + chown nobody -R ${D}${destdir}/pub ${D}${destdir}/data +======= + chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${D}${destdir} + chmod 0775 -R ${D}${destdir}/pub ${D}${destdir}/data + chown nobody -R ${D}${destdir}/pub ${D}${destdir}/data +>>>>>>> 1.6 + #find ${D}/${HTTPD_ROOT}/${PN}/templates -type d -exec chmod 0440 {} \; +# chmod 0444 -R ${PN}/templates +} + +pkg_postinst() { + einfo "now go to your ${HTTPD_ROOT}/{PN}," + einfo "copy bin/.htaccess.txt to bin/.htaccess" + einfo "and be sure to read" + einfo "http://localhost/twiki/bin/view/TWiki/TWikiDocumentation#TWiki_Installation_Guide" +} diff --git a/www-apps/twiki/ChangeLog b/www-apps/twiki/ChangeLog new file mode 100644 index 000000000000..b3cb231e6363 --- /dev/null +++ b/www-apps/twiki/ChangeLog @@ -0,0 +1,31 @@ +# ChangeLog for net-www/twiki +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/twiki/ChangeLog,v 1.1 2004/08/15 15:49:56 stuart Exp $ + +*twiki-20030201 (15 Aug 2004) + + 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> + +.#twiki-20030201.ebuild.1.4, +.#twiki-20030201.ebuild.1.6, + +.#twiki-20030201.ebuild.1.8, +metadata.xml, +files/twiki.conf, + +twiki-20030201.ebuild: + Moved from net-www/twiki to www-apps/twiki. + + 25 Jun 2004; Aron Griffis <agriffis@gentoo.org> twiki-20030201.ebuild: + QA - fix use invocation + + 02 Jun 2004; Martin Holzer <mholzer@gentoo.org> twiki-20030201.ebuild: + adding S + + 10 Mar 2004; Martin Holzer <mholzer@gentoo.org> twiki-20030201.ebuild: + fixing verbose. closes 44083 + + 23 Jan 2004; Martin Holzer <mholzer@gentoo.org> twiki-20030201.ebuild, + files/twiki.conf: + running outside of apache + +*twiki-20030201 (30 Dec 2003) + + 30 Dec 2003; Martin Holzer <mholzer@gentoo.org> metadata.xml, + twiki-20030201.ebuild: + Initial ebuild by myself. Closes 25969 + diff --git a/www-apps/twiki/Manifest b/www-apps/twiki/Manifest new file mode 100644 index 000000000000..665c6da645e2 --- /dev/null +++ b/www-apps/twiki/Manifest @@ -0,0 +1,5 @@ +MD5 33850a64bd1188ccb1a8f0b578452252 ChangeLog 775 +MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280 +MD5 b839bd2f70cc2a21bcde499547842fed twiki-20030201.ebuild 1740 +MD5 6c6c056f184e8d333ae577837290e282 files/twiki.conf 538 +MD5 03289224ed6b4fd47078e353bc05c650 files/digest-twiki-20030201 65 diff --git a/www-apps/twiki/files/digest-twiki-20030201 b/www-apps/twiki/files/digest-twiki-20030201 new file mode 100644 index 000000000000..40830cd4aea3 --- /dev/null +++ b/www-apps/twiki/files/digest-twiki-20030201 @@ -0,0 +1 @@ +MD5 cbbd937b51b56c5343b5e72f1be6a0cf TWiki20030201.tar.gz 892554 diff --git a/www-apps/twiki/files/twiki.conf b/www-apps/twiki/files/twiki.conf new file mode 100644 index 000000000000..c93d241d6b36 --- /dev/null +++ b/www-apps/twiki/files/twiki.conf @@ -0,0 +1,26 @@ +ScriptAlias /twiki/bin/ "/var/www/twiki/bin/" +Alias /twiki/ "/var/www/twiki/" + +<Directory "/var/www/twiki"> + Options None + AllowOverride None + Order allow,deny + Allow from all +</Directory> +<Directory "/var/www/twiki/bin"> + Options +ExecCGI + SetHandler cgi-script + Allow from all +</Directory> + +<Directory "/var/www/twiki/pub"> + Options FollowSymLinks +Includes + AllowOverride None + Allow from all +</Directory> +<Directory "/var/www/twiki/data"> + deny from all +</Directory> +<Directory "/var/www/twiki/templates"> + deny from all +</Directory> diff --git a/www-apps/twiki/metadata.xml b/www-apps/twiki/metadata.xml new file mode 100644 index 000000000000..13bc126c7d91 --- /dev/null +++ b/www-apps/twiki/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/twiki/twiki-20030201.ebuild b/www-apps/twiki/twiki-20030201.ebuild new file mode 100644 index 000000000000..77079984f0e8 --- /dev/null +++ b/www-apps/twiki/twiki-20030201.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/twiki/twiki-20030201.ebuild,v 1.1 2004/08/15 15:49:56 stuart Exp $ + +inherit webapp-apache + +DESCRIPTION="A Web Based Collaboration Platform" +HOMEPAGE="http://twiki.org/" +SRC_URI="http://twiki.org/swd/TWiki${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~ppc" + +S=${WORKDIR} + +RDEPEND="virtual/php + media-gfx/graphviz + dev-db/mysql" + +IUSE="apache2" + +pkg_setup() { + webapp-detect || NO_WEBSERVER=1 + webapp-pkg_setup "${NO_WEBSERVER}" + einfo "Installing for ${WEBAPP_SERVER}" +} + +src_unpack() { + unpack ${A} + + sed -i -e 's:\/home\/httpd:\/var\/www:g' lib/TWiki.cfg +# sed -i -e 's:urlpath\/to:var\/www\/localhost\/htdocs:g' \ +# bin/.htaccess.txt +# echo "Options ExecCGI" >> bin/.htaccess.txt +} + + +src_install() { + local destdir=/var/www/twiki + + dodir ${destdir} + cp -r . ${D}${destdir} + + if use apache2; then + dodir /etc/apache2/conf/modules.d + insinto /etc/apache2/conf/modules.d + newins ${FILESDIR}/twiki.conf 97_twiki.conf + else + dodir /etc/apache/conf/addon-modules + insinto /etc/apache/conf/addon-modules + doins ${FILESDIR}/twiki.conf + fi + + dodoc readme.txt license.txt + chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${D}${destdir} + chmod 0775 -R ${D}${destdir}/pub ${D}${destdir}/data + chown nobody -R ${D}${destdir}/pub ${D}${destdir}/data + #find ${D}/${HTTPD_ROOT}/${PN}/templates -type d -exec chmod 0440 {} \; +# chmod 0444 -R ${PN}/templates +} + +pkg_postinst() { + einfo "now go to your ${HTTPD_ROOT}/{PN}," + einfo "copy bin/.htaccess.txt to bin/.htaccess" + einfo "and be sure to read" + einfo "http://localhost/twiki/bin/view/TWiki/TWikiDocumentation#TWiki_Installation_Guide" +} |