diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-12-30 17:12:11 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-12-30 17:12:11 +0000 |
commit | 2a2d02c61d0e2a9d585f6f92c6132eee09eb4bea (patch) | |
tree | d5a70ba7f06af3f0af1dcae1ce449227706f1c50 /net-www | |
parent | Initial ebuild by myself. Closes 25969 (diff) | |
download | historical-2a2d02c61d0e2a9d585f6f92c6132eee09eb4bea.tar.gz historical-2a2d02c61d0e2a9d585f6f92c6132eee09eb4bea.tar.bz2 historical-2a2d02c61d0e2a9d585f6f92c6132eee09eb4bea.zip |
Initial ebuild by myself. Closes 25969
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/twiki/Manifest | 6 | ||||
-rw-r--r-- | net-www/twiki/files/digest-twiki-20030201 | 1 | ||||
-rw-r--r-- | net-www/twiki/metadata.xml | 9 | ||||
-rw-r--r-- | net-www/twiki/twiki-20030201.ebuild | 53 |
4 files changed, 65 insertions, 4 deletions
diff --git a/net-www/twiki/Manifest b/net-www/twiki/Manifest index 8246ef83e08b..1fb9348026ca 100644 --- a/net-www/twiki/Manifest +++ b/net-www/twiki/Manifest @@ -1,6 +1,4 @@ -MD5 2cf6f3e0e253f1476541b18351a1b040 wget-log 7587 MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280 -MD5 2d608deb443c35b37a7175efe36b705d ChangeLog 406 -MD5 452c3f70d9a5092549a8b28b3915fee0 twiki-20030201.ebuild 1564 -MD5 1571ca96cc5ccb0e5ce43b05883e4933 files/digest-tikiwiki-1.7.4 68 +MD5 ea2a214c39a6f6114ae45318b832252c ChangeLog 371 +MD5 a3799bc2baeab6925960138a5cdb246d twiki-20030201.ebuild 1122 MD5 03289224ed6b4fd47078e353bc05c650 files/digest-twiki-20030201 65 diff --git a/net-www/twiki/files/digest-twiki-20030201 b/net-www/twiki/files/digest-twiki-20030201 new file mode 100644 index 000000000000..40830cd4aea3 --- /dev/null +++ b/net-www/twiki/files/digest-twiki-20030201 @@ -0,0 +1 @@ +MD5 cbbd937b51b56c5343b5e72f1be6a0cf TWiki20030201.tar.gz 892554 diff --git a/net-www/twiki/metadata.xml b/net-www/twiki/metadata.xml new file mode 100644 index 000000000000..13bc126c7d91 --- /dev/null +++ b/net-www/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/net-www/twiki/twiki-20030201.ebuild b/net-www/twiki/twiki-20030201.ebuild new file mode 100644 index 000000000000..ca03210359b3 --- /dev/null +++ b/net-www/twiki/twiki-20030201.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /home/cvsroot/gentoo-x86/net-www/tiki/tiki-1.6.ebuild + +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" + +webapp-detect || NO_WEBSERVER=1 + +pkg_setup() { + webapp-pkg_setup "${NO_WEBSERVER}" + einfo "Installing for ${WEBAPP_SERVER}" +} + +src_unpack() { + mkdir ${P} + cd ${S} + unpack ${A} + sed -i -e 's:\/home\/httpd:\/var\/www\/localhost\/htdocs:g' lib/TWiki.cfg + echo "Options ExecCGI" >> bin/.htaccess.txt +} + + +src_install() { + webapp-mkdirs + + local DocumentRoot=${HTTPD_ROOT} + local destdir=${DocumentRoot}/${PN} + + dodir ${destdir} + cp -r . ${D}${destdir} + + cd ${D}/${HTTPD_ROOT} + dodoc readme.txt license.txt + chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${PN} +} + +pkg_postinst() { + einfo "now go to your ${HTTPD_ROOT}," + einfo "copy bin/.htaccess.txt to bin/.htaccess" + einfo "and edit the paths" +} |