summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Allanos <dju@gentoo.org>2005-07-05 22:35:45 +0000
committerJulien Allanos <dju@gentoo.org>2005-07-05 22:35:45 +0000
commit1c397f132eca037bc54177f2811810f7aa21da48 (patch)
tree01938507bc35bcee8ec12719eb6549342de2eb9f /www-apps
parentFix for security bug #97458 (diff)
downloadgentoo-2-1c397f132eca037bc54177f2811810f7aa21da48.tar.gz
gentoo-2-1c397f132eca037bc54177f2811810f7aa21da48.tar.bz2
gentoo-2-1c397f132eca037bc54177f2811810f7aa21da48.zip
Fixed dependencies, updated postinst instructions.
(Portage version: 2.0.51.19)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/trac/ChangeLog7
-rw-r--r--www-apps/trac/files/0.8.4-postinst-en.txt37
-rw-r--r--www-apps/trac/metadata.xml2
-rw-r--r--www-apps/trac/trac-0.8.4.ebuild19
4 files changed, 49 insertions, 16 deletions
diff --git a/www-apps/trac/ChangeLog b/www-apps/trac/ChangeLog
index a3d97df5d801..064bd4fc238c 100644
--- a/www-apps/trac/ChangeLog
+++ b/www-apps/trac/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/trac
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.16 2005/06/21 22:12:12 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.17 2005/07/05 22:35:45 dju Exp $
+
+ 05 Jul 2005; Julien Allanos <dju@gentoo.org> +files/0.8.4-postinst-en.txt,
+ metadata.xml, trac-0.8.4.ebuild:
+ Fixed dependencies, updated post-installation instructions.
+ Added myself as the maintainer.
21 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> trac-0.8.4.ebuild:
Stable on ppc (#96572).
diff --git a/www-apps/trac/files/0.8.4-postinst-en.txt b/www-apps/trac/files/0.8.4-postinst-en.txt
new file mode 100644
index 000000000000..5ac65f64f07c
--- /dev/null
+++ b/www-apps/trac/files/0.8.4-postinst-en.txt
@@ -0,0 +1,37 @@
+Install Instructions
+====================
+
+To complete the install, run this commands:
+
+ trac-admin ${MY_HOSTROOT}/trac/<project-name> initenv
+
+To add security, create a password database. This command is for Apache 2;
+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_ENV ${MY_HOSTROOT}/trac/<project-name>
+ </Location>
+ <Location "/cgi-bin/trac.cgi/login">
+ AuthType Basic
+ AuthName "trac"
+ AuthUserFile ${MY_HOSTROOT}/trac.passwd
+ Require valid-user
+ </Location>
+
+More information (multiple projects setup, installation with mod_python...)
+can be found on the Trac wiki:
+
+ http://projects.edgewall.com/trac/wiki/
+
+Upgrade Instructions
+====================
+
+If you are upgrading from a previous Trac version, please follow the
+instructions here:
+
+ http://projects.edgewall.com/trac/wiki/TracUpgrade
diff --git a/www-apps/trac/metadata.xml b/www-apps/trac/metadata.xml
index bee101f41174..f1850ed53c18 100644
--- a/www-apps/trac/metadata.xml
+++ b/www-apps/trac/metadata.xml
@@ -3,6 +3,6 @@
<pkgmetadata>
<herd>web-apps</herd>
<maintainer>
- <email>web-apps@gentoo.org</email>
+ <email>dju@gentoo.org</email>
</maintainer>
</pkgmetadata>
diff --git a/www-apps/trac/trac-0.8.4.ebuild b/www-apps/trac/trac-0.8.4.ebuild
index bf8ab9ae28f0..0c5d07949ac1 100644
--- a/www-apps/trac/trac-0.8.4.ebuild
+++ b/www-apps/trac/trac-0.8.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.8.4.ebuild,v 1.2 2005/06/21 22:12:12 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.8.4.ebuild,v 1.3 2005/07/05 22:35:45 dju Exp $
inherit distutils webapp
@@ -16,19 +16,12 @@ DEPEND="$DEPEND
>=dev-lang/python-2.3
>=dev-python/docutils-0.3.3
=dev-db/sqlite-2.8*
- <=dev-python/pysqlite-1.0
- >=dev-libs/clearsilver-0.9.3
+ <dev-python/pysqlite-1.1
+ dev-libs/clearsilver
app-text/silvercity
- >=dev-util/subversion-1.0.3"
+ >=dev-util/subversion-1.0"
-POSTINST_PV="0.8.1"
-
-# need choice between enscript/silvercity/nothing
-# need choice between sqlite-3 + pysqlite-1.1 / sqlite-2.8 + pysqlite-1.0
-# need choice between mod_python/nothing
-#
-# NOTE: could someone please enlight me in why ${who} wrote those notes above?
-# What's been ${who}'s goals? -- trapni (2005-06-02 07:17 UTC)
+POSTINST_PV="0.8.4"
DOCS="AUTHORS COPYING ChangeLog INSTALL MANIFEST.in PKG-INFO README README.tracd RELEASE THANKS UPGRADE"
@@ -41,7 +34,6 @@ 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
@@ -54,7 +46,6 @@ src_install () {
# 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