summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-04-28 22:27:38 +0000
committerStuart Herbert <stuart@gentoo.org>2004-04-28 22:27:38 +0000
commit7f16b7b356346747ae2c7a1f46f1e01459c9a731 (patch)
treee8b46e2ef8fff69ae458c4a5fd2935e80f4d7ded /net-www
parentadded fix for bug 49174 (Manifest recommit) (diff)
downloadgentoo-2-7f16b7b356346747ae2c7a1f46f1e01459c9a731.tar.gz
gentoo-2-7f16b7b356346747ae2c7a1f46f1e01459c9a731.tar.bz2
gentoo-2-7f16b7b356346747ae2c7a1f46f1e01459c9a731.zip
Initial import
Diffstat (limited to 'net-www')
-rw-r--r--net-www/trac/ChangeLog10
-rw-r--r--net-www/trac/Manifest5
-rw-r--r--net-www/trac/files/digest-trac-0.6.11
-rw-r--r--net-www/trac/files/postinst-en.txt22
-rw-r--r--net-www/trac/metadata.xml8
-rw-r--r--net-www/trac/trac-0.6.1.ebuild47
6 files changed, 93 insertions, 0 deletions
diff --git a/net-www/trac/ChangeLog b/net-www/trac/ChangeLog
new file mode 100644
index 000000000000..2b5d0c8882eb
--- /dev/null
+++ b/net-www/trac/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-www/trac
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/trac/ChangeLog,v 1.1 2004/04/28 22:27:38 stuart Exp $
+
+*trac-0.6.1 (28 Apr 2004)
+
+ 28 Apr 2004; Stuart Herbert <stuart@gentoo.org> metadata.xml,
+ trac-0.6.1.ebuild, files/postinst-en.txt:
+ Initial import; thanks to dju` <dju@elegiac.net>; see bug #48818
+
diff --git a/net-www/trac/Manifest b/net-www/trac/Manifest
new file mode 100644
index 000000000000..f79e19ce61fe
--- /dev/null
+++ b/net-www/trac/Manifest
@@ -0,0 +1,5 @@
+MD5 73b384bc0bb116a3825cd8f17b14b3dc trac-0.6.1.ebuild 1205
+MD5 e4e4a538398acb6fff63a71a40e7eea2 ChangeLog 324
+MD5 3d182d43f7f0341a9a42f96694f04e72 metadata.xml 224
+MD5 e48341b7627ee627a13e0ea41a0ef826 files/digest-trac-0.6.1 62
+MD5 76a6e6911b2d58e07f08566da7298f3f files/postinst-en.txt 631
diff --git a/net-www/trac/files/digest-trac-0.6.1 b/net-www/trac/files/digest-trac-0.6.1
new file mode 100644
index 000000000000..53ea2005b160
--- /dev/null
+++ b/net-www/trac/files/digest-trac-0.6.1
@@ -0,0 +1 @@
+MD5 ecf7295b24d67f1cfb745e233d5a7d7f trac-0.6.1.tar.gz 113146
diff --git a/net-www/trac/files/postinst-en.txt b/net-www/trac/files/postinst-en.txt
new file mode 100644
index 000000000000..0b463b7d05a7
--- /dev/null
+++ b/net-www/trac/files/postinst-en.txt
@@ -0,0 +1,22 @@
+To complete the install, run this commands:
+
+ trac-admin ${MY_HOSTROOT}/trac.db initdb
+
+To add security, create a password database. This command is for Apache;
+adjust for the webserver of your choice.
+
+ htpasswd2 -c ${MY_HOSTROOT}/trac.passwd <user>
+
+
+Now, all you need to do is to configure your webserver. This would go
+into Apache's .htaccess file; adjust for the webserver of your choice.
+
+ <Location "/cgi-bin/trac.cgi">
+ SetEnv TRAC_DB ${MY_HOSTROOT}/trac.db
+ </Location>
+ <Location "/cgi-bin/trac.cgi/login">
+ AuthType Basic
+ AuthName "trac"
+ AuthUserFile ${MY_HOSTROOT}/trac.passwd
+ Require valid-user
+ </Location>
diff --git a/net-www/trac/metadata.xml b/net-www/trac/metadata.xml
new file mode 100644
index 000000000000..0d59c319c3eb
--- /dev/null
+++ b/net-www/trac/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>webapps</herd>
+<maintainer>
+ <email>web-apps@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-www/trac/trac-0.6.1.ebuild b/net-www/trac/trac-0.6.1.ebuild
new file mode 100644
index 000000000000..6c92db2ca6ce
--- /dev/null
+++ b/net-www/trac/trac-0.6.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit webapp
+
+DESCRIPTION="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system."
+HOMEPAGE="http://trac.edgewall.com/"
+SRC_URI="http://ftp.edgewall.com/pub/trac/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+
+inherit distutils
+
+DEPEND="$DEPEND
+ >=dev-lang/python-2.1
+ >=dev-util/subversion-1.0.0
+ >=dev-python/pysqlite-0.4.3
+ >=dev-libs/clearsilver-0.9.3"
+
+DOCS="AUTHORS COPYING ChangeLog INSTALL PKG-INFO README RELEASE THANKS UPGRADE"
+
+src_install () {
+ webapp_src_preinst
+ distutils_src_install
+ dodoc ${DOCS}
+
+ # now, we have to turn this into something that webapp-config can use
+
+ local my_dir=${D}/usr/share/trac
+ mv ${my_dir}/cgi-bin/trac.cgi ${D}${MY_CGIBINDIR} || die
+ rm -rf ${my_dir}/cgi-bin || die
+ mv ${my_dir}/htdocs/* ${D}${MY_HTDOCSDIR} || die
+ rm -rf ${my_dir}/htdocs || die
+
+ webapp_postinst_txt en ${FILESDIR}/postinst-en.txt
+
+ # the trac dir itself needs to be server-owned
+ # this should do the trick
+
+ webapp_serverowned ${MY_HTDOCSDIR}
+
+ # okay, we're done - let webapp.eclass finish off
+ webapp_src_install
+}