summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Allanos <dju@gentoo.org>2006-06-01 22:13:56 +0000
committerJulien Allanos <dju@gentoo.org>2006-06-01 22:13:56 +0000
commit546e7af2635bbf8d6a32eeedf6cbf686fff55e34 (patch)
treea11345164ecdda297069e18b4ccae3ad21cd2b8c /www-apps/trac
parentPrevent lazy bindings in cons.saver binary (bug #135009, opened by me). (diff)
downloadhistorical-546e7af2635bbf8d6a32eeedf6cbf686fff55e34.tar.gz
historical-546e7af2635bbf8d6a32eeedf6cbf686fff55e34.tar.bz2
historical-546e7af2635bbf8d6a32eeedf6cbf686fff55e34.zip
Removed old vulnerable ebuilds.
Package-Manager: portage-2.0.54-r2
Diffstat (limited to 'www-apps/trac')
-rw-r--r--www-apps/trac/ChangeLog7
-rw-r--r--www-apps/trac/Manifest53
-rw-r--r--www-apps/trac/files/0.8.4-postinst-en.txt37
-rw-r--r--www-apps/trac/files/0.9.3-postinst-en.txt63
-rw-r--r--www-apps/trac/files/0.9.4-postinst-en.txt63
-rw-r--r--www-apps/trac/files/digest-trac-0.8.41
-rw-r--r--www-apps/trac/files/digest-trac-0.9.31
-rw-r--r--www-apps/trac/files/digest-trac-0.9.41
-rw-r--r--www-apps/trac/trac-0.8.4.ebuild53
-rw-r--r--www-apps/trac/trac-0.9.3.ebuild80
-rw-r--r--www-apps/trac/trac-0.9.4.ebuild88
11 files changed, 7 insertions, 440 deletions
diff --git a/www-apps/trac/ChangeLog b/www-apps/trac/ChangeLog
index eafba2c90473..2fab29dbad8b 100644
--- a/www-apps/trac/ChangeLog
+++ b/www-apps/trac/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/trac
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.35 2006/04/22 01:56:33 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.36 2006/06/01 22:13:56 dju Exp $
+
+ 01 Jun 2006; Julien Allanos <dju@gentoo.org> -files/0.9.3-postinst-en.txt,
+ -files/0.9.4-postinst-en.txt, -files/0.8.4-postinst-en.txt,
+ -trac-0.8.4.ebuild, -trac-0.9.3.ebuild, -trac-0.9.4.ebuild:
+ Removed old vulnerable ebuilds.
22 Apr 2006; Mark Loeser <halcy0n@gentoo.org> trac-0.9.5.ebuild:
Stable on x86; bug #130399
diff --git a/www-apps/trac/Manifest b/www-apps/trac/Manifest
index e2f3fc23285a..8a0b89984aaa 100644
--- a/www-apps/trac/Manifest
+++ b/www-apps/trac/Manifest
@@ -1,58 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 80b027d4bc042737e5c6ec94b5fd1037 ChangeLog 6792
-RMD160 493725a76cc663d343d5fb822080ff769ea14b56 ChangeLog 6792
-SHA256 82be765c8259e293c69ec0af19ea9df8f3804d7bf913d4f91d8153b4c0194f49 ChangeLog 6792
-MD5 469236380f880bdb92903ecee4587ae3 files/0.8.4-postinst-en.txt 1035
-RMD160 75cd65ba73d0e822a95fea1cedd865f95befb6de files/0.8.4-postinst-en.txt 1035
-SHA256 c073653e3abf0173eecb381c19760d4b6ad4d380b9caaf47797c419feb9db4b0 files/0.8.4-postinst-en.txt 1035
-MD5 1ef68ae7232130e8152d6e007afc4352 files/0.9.3-postinst-en.txt 2275
-RMD160 5434d1d4174621455f3983daf56b6d60b071bee2 files/0.9.3-postinst-en.txt 2275
-SHA256 1b89d5b0d69da1aad5be058096e4237ddef9e0b1fd46909495f9297b6b63f85d files/0.9.3-postinst-en.txt 2275
-MD5 1ef68ae7232130e8152d6e007afc4352 files/0.9.4-postinst-en.txt 2275
-RMD160 5434d1d4174621455f3983daf56b6d60b071bee2 files/0.9.4-postinst-en.txt 2275
-SHA256 1b89d5b0d69da1aad5be058096e4237ddef9e0b1fd46909495f9297b6b63f85d files/0.9.4-postinst-en.txt 2275
+MD5 4fd69735194d319feab359371f2d7eb6 ChangeLog 7024
MD5 1ef68ae7232130e8152d6e007afc4352 files/0.9.5-postinst-en.txt 2275
-RMD160 5434d1d4174621455f3983daf56b6d60b071bee2 files/0.9.5-postinst-en.txt 2275
-SHA256 1b89d5b0d69da1aad5be058096e4237ddef9e0b1fd46909495f9297b6b63f85d files/0.9.5-postinst-en.txt 2275
-MD5 8923e5fb9575c109266bbab2350940ff files/digest-trac-0.8.4 62
-RMD160 8b0e3f93f8e864db17e31b07ad0de75256ff4ef4 files/digest-trac-0.8.4 62
-SHA256 a0a30280b7caa2cbe426aa43b6c66aba6c63cd55013c9922f43829b4ae2fbc41 files/digest-trac-0.8.4 62
-MD5 34f51a4e22b9c551e4d20d56daf45c85 files/digest-trac-0.9.3 62
-RMD160 9f155b7b6525b6a227bc53a15e51b44bd5b4f8fc files/digest-trac-0.9.3 62
-SHA256 dcc4e175b7cfd4742063e5ee57ee3c6070582a109bce86ae6dd0f0258067d6c8 files/digest-trac-0.9.3 62
-MD5 4bb7201947635e068560898c42ada2b5 files/digest-trac-0.9.4 62
-RMD160 f0e5410df2c3d37b07a8fa5d7e20e0db4180b782 files/digest-trac-0.9.4 62
-SHA256 e5e4b0c7ef33f92e92fe437ff373e9e5d440120d1b8b694bc6d41e155f6dcf8f files/digest-trac-0.9.4 62
MD5 d79dfe3a7f4a8e6a1d365df766bcb3c8 files/digest-trac-0.9.5 62
-RMD160 0f374006f0871928ba9abee6c11df5346dd3a644 files/digest-trac-0.9.5 62
-SHA256 de0057039cb4619b66be5f9631f9e1e95a9de1343220d4211c47293572fe1e87 files/digest-trac-0.9.5 62
MD5 95b1311ca65e1ffcd51a191542f45ba4 files/tracd.confd 359
-RMD160 7328dd041576abbc76130ce220041d837289dd00 files/tracd.confd 359
-SHA256 6ae50c887d18f8eeda7d59c4d3fd1b5e07e407711c4e4679fef3583f7be8ed6e files/tracd.confd 359
MD5 4dc8d28369a56b8efd84fd118c2cb28b files/tracd.initd 743
-RMD160 ddc2bcf9dc907054882f35b5cc0f835c6fb450be files/tracd.initd 743
-SHA256 c55b46edae5e7600890c426362f7e00b3a5fd5290fe3616d189f809b8626265d files/tracd.initd 743
MD5 fc3b5dec4ccef02547c54bf840024aa6 metadata.xml 220
-RMD160 dcc7b97d4b6eb6a017014b427fa9fd9c2ce04583 metadata.xml 220
-SHA256 09bece3580791397bbf0b4d68ff9ac4abbc37150cf11fe7848f924119ca76b84 metadata.xml 220
-MD5 f605a49aef73a61cbcc7527da21fd418 trac-0.8.4.ebuild 1511
-RMD160 d069973898472a9cb7da225557625134e54d86bc trac-0.8.4.ebuild 1511
-SHA256 18b7fdb72e13daf9c8e41509145055ae1efe96836973f7a0e67bcfb2836af1e4 trac-0.8.4.ebuild 1511
-MD5 77a1c85e49192f2beab5eaed1a331785 trac-0.9.3.ebuild 2486
-RMD160 5844d0d85e3c8e48825e7a8857538dc1a41489e9 trac-0.9.3.ebuild 2486
-SHA256 e9828a9e96f2179feb22b3149be18ae603d2dbd72b1fab188f606a3af97b67b8 trac-0.9.3.ebuild 2486
-MD5 c326214db79b5b93ee26a324371e186d trac-0.9.4.ebuild 2711
-RMD160 47de0355a37f66a56884aff0f15ce484ea8f1222 trac-0.9.4.ebuild 2711
-SHA256 05cafec6ab59464cc0bd5e5e0c98c4baf595dc13815ced28c5d3320c6d1a9c95 trac-0.9.4.ebuild 2711
MD5 106a9f94e78c56bca94a3e6434680ecf trac-0.9.5.ebuild 2706
-RMD160 ad75382046264d3a42b33fd00ff8305d865f4a25 trac-0.9.5.ebuild 2706
-SHA256 16e442b7c412d109abff836845b2414b3b484a03e071079440abd84ca615ce8a trac-0.9.5.ebuild 2706
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.2 (GNU/Linux)
-
-iD8DBQFESY1bCRZPokWLroQRAqZOAKDUWbD+htVPdQOijdBlgxafWEGq3ACfeh/2
-YML+8YGlksf3CRtanSVLP6o=
-=ZNle
------END PGP SIGNATURE-----
diff --git a/www-apps/trac/files/0.8.4-postinst-en.txt b/www-apps/trac/files/0.8.4-postinst-en.txt
deleted file mode 100644
index 5ac65f64f07c..000000000000
--- a/www-apps/trac/files/0.8.4-postinst-en.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-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/files/0.9.3-postinst-en.txt b/www-apps/trac/files/0.9.3-postinst-en.txt
deleted file mode 100644
index f052d00c3855..000000000000
--- a/www-apps/trac/files/0.9.3-postinst-en.txt
+++ /dev/null
@@ -1,63 +0,0 @@
-Install Instructions
-====================
-
-To complete the install, create your first Trac environment by running this command:
-
- trac-admin /var/lib/trac/<project-name> initenv
-
-For security, trac relies on the webserver for authentication. The following command
-creates a password database for Basic Authentication with Apache 2:
-
- htpasswd2 -c /etc/apache2/trac.htpasswd <user-name>
-
-Please adjust for the webserver of your choice, and refer to your webserver's
-documentation.
-
-Now, all you need to do is to configure your webserver. The following is a configuration
-example for CGI and Apache:
-
- <Location "/cgi-bin/trac.cgi">
- SetEnv TRAC_ENV "/var/lib/trac/<project-name>"
- </Location>
- <Location "/cgi-bin/trac.cgi/login">
- AuthType Basic
- AuthName "trac"
- AuthUserFile /etc/apache2/trac.htpasswd
- Require valid-user
- </Location>
-
-Again, please adjust for the webserver of your choice.
-
-Fast-CGI users: you have to emerge and configure your Fast-CGI engine separately.
-
-You can also use Trac without having to install a webserver. See
-http://projects.edgewall.com/trac/wiki/TracStandalone to know more.
-
-Don't forget to update the configuration file! It is located at
-/var/lib/trac/<project-name>/conf/trac.ini. See its reference at
-http://projects.edgewall.com/trac/wiki/TracIni.
-
-More information (multiple projects setup, installation with Apache 2's mod_python,
-lighttpd...) 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
-
-Trac 0.9.x now uses sqlite-3 instead of sqlite-2. If you were using Trac 0.8.x or below,
-you have to upgrade your database files or else you won't be able to use Trac. You can
-issue the following commands, for each environment you have:
-
- mv /var/lib/trac/<project-name>/db/trac.db /var/lib/trac/<project-name>/db/trac2.db
- sqlite /var/lib/trac/<project-name>/db/trac2.db .dump | sqlite3 /var/lib/trac/<project-name>/db/trac.db
- trac-admin /var/lib/trac/<project-name> upgrade
- trac-admin /var/lib/trac/<project-name> resync
- trac-admin /var/lib/trac/<project-name> wiki upgrade
-
-And review the trac.ini configuration file.
diff --git a/www-apps/trac/files/0.9.4-postinst-en.txt b/www-apps/trac/files/0.9.4-postinst-en.txt
deleted file mode 100644
index f052d00c3855..000000000000
--- a/www-apps/trac/files/0.9.4-postinst-en.txt
+++ /dev/null
@@ -1,63 +0,0 @@
-Install Instructions
-====================
-
-To complete the install, create your first Trac environment by running this command:
-
- trac-admin /var/lib/trac/<project-name> initenv
-
-For security, trac relies on the webserver for authentication. The following command
-creates a password database for Basic Authentication with Apache 2:
-
- htpasswd2 -c /etc/apache2/trac.htpasswd <user-name>
-
-Please adjust for the webserver of your choice, and refer to your webserver's
-documentation.
-
-Now, all you need to do is to configure your webserver. The following is a configuration
-example for CGI and Apache:
-
- <Location "/cgi-bin/trac.cgi">
- SetEnv TRAC_ENV "/var/lib/trac/<project-name>"
- </Location>
- <Location "/cgi-bin/trac.cgi/login">
- AuthType Basic
- AuthName "trac"
- AuthUserFile /etc/apache2/trac.htpasswd
- Require valid-user
- </Location>
-
-Again, please adjust for the webserver of your choice.
-
-Fast-CGI users: you have to emerge and configure your Fast-CGI engine separately.
-
-You can also use Trac without having to install a webserver. See
-http://projects.edgewall.com/trac/wiki/TracStandalone to know more.
-
-Don't forget to update the configuration file! It is located at
-/var/lib/trac/<project-name>/conf/trac.ini. See its reference at
-http://projects.edgewall.com/trac/wiki/TracIni.
-
-More information (multiple projects setup, installation with Apache 2's mod_python,
-lighttpd...) 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
-
-Trac 0.9.x now uses sqlite-3 instead of sqlite-2. If you were using Trac 0.8.x or below,
-you have to upgrade your database files or else you won't be able to use Trac. You can
-issue the following commands, for each environment you have:
-
- mv /var/lib/trac/<project-name>/db/trac.db /var/lib/trac/<project-name>/db/trac2.db
- sqlite /var/lib/trac/<project-name>/db/trac2.db .dump | sqlite3 /var/lib/trac/<project-name>/db/trac.db
- trac-admin /var/lib/trac/<project-name> upgrade
- trac-admin /var/lib/trac/<project-name> resync
- trac-admin /var/lib/trac/<project-name> wiki upgrade
-
-And review the trac.ini configuration file.
diff --git a/www-apps/trac/files/digest-trac-0.8.4 b/www-apps/trac/files/digest-trac-0.8.4
deleted file mode 100644
index ee7f7441130e..000000000000
--- a/www-apps/trac/files/digest-trac-0.8.4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e2b1d0e49deea72928d59ed406a8fc87 trac-0.8.4.tar.gz 216950
diff --git a/www-apps/trac/files/digest-trac-0.9.3 b/www-apps/trac/files/digest-trac-0.9.3
deleted file mode 100644
index 34152769a8c0..000000000000
--- a/www-apps/trac/files/digest-trac-0.9.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 fce39070081f259020b4d60f044d9082 trac-0.9.3.tar.gz 337714
diff --git a/www-apps/trac/files/digest-trac-0.9.4 b/www-apps/trac/files/digest-trac-0.9.4
deleted file mode 100644
index e036aad3105a..000000000000
--- a/www-apps/trac/files/digest-trac-0.9.4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 df752bd5ca8790e9735300c9e0be9bef trac-0.9.4.tar.gz 337759
diff --git a/www-apps/trac/trac-0.8.4.ebuild b/www-apps/trac/trac-0.8.4.ebuild
deleted file mode 100644
index 0c5d07949ac1..000000000000
--- a/www-apps/trac/trac-0.8.4.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# 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.3 2005/07/05 22:35:45 dju Exp $
-
-inherit distutils 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="~amd64 ppc ~sparc x86"
-IUSE="vhosts"
-
-DEPEND="$DEPEND
- >=dev-lang/python-2.3
- >=dev-python/docutils-0.3.3
- =dev-db/sqlite-2.8*
- <dev-python/pysqlite-1.1
- dev-libs/clearsilver
- app-text/silvercity
- >=dev-util/subversion-1.0"
-
-POSTINST_PV="0.8.4"
-
-DOCS="AUTHORS COPYING ChangeLog INSTALL MANIFEST.in PKG-INFO README README.tracd RELEASE THANKS UPGRADE"
-
-src_install () {
- # project databases go in here
- dodir /var/lib/trac
-
- 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
-
- for lang in en; do
- webapp_postinst_txt ${lang} ${FILESDIR}/${POSTINST_PV}-postinst-${lang}.txt
- done
-
- # 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
-}
diff --git a/www-apps/trac/trac-0.9.3.ebuild b/www-apps/trac/trac-0.9.3.ebuild
deleted file mode 100644
index 44a404a0cdef..000000000000
--- a/www-apps/trac/trac-0.9.3.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.9.3.ebuild,v 1.4 2006/02/07 19:09:40 dju Exp $
-
-inherit distutils 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="trac"
-KEYWORDS="~amd64 ppc ~sparc x86"
-IUSE="cgi fastcgi postgres sqlite enscript silvercity"
-
-# doing so because utils (such as trac-admin), manpages... overlap
-SLOT="0"
-WEBAPP_MANUAL_SLOT="yes"
-
-# we need to depend on virtual/httpd-cgi to bring apache/lighttpd/whatever in when USE cgi
-# we need to depend on virtual/httpd-fcgi to bring mod_fastcgi/lighttpd/whatever in when USE fastcgi
-# we need to depend on virtual/httpd-python to bring mod_python/whatever in when USE python (python
-# is rather confusing here, as dev-lang/python is a required dependency, but httpd-python isn't)
-DEPEND="${DEPEND}
- >=dev-lang/python-2.3
- app-text/pytextile
- >=dev-python/docutils-0.3.3
- dev-libs/clearsilver
- >=dev-util/subversion-1.1
- sqlite? ( >=dev-python/pysqlite-2 )
- postgres? ( dev-python/psycopg )
- enscript? ( app-text/enscript )
- silvercity? ( app-text/silvercity )"
-
-pkg_setup () {
- if ! use postgres && ! use sqlite ; then
- eerror "You must select at least one database backend,"
- eerror "using sqlite or postgres USE flags."
- die "no database backend selected"
- fi
-
- if ! built_with_use dev-util/subversion python ; then
- eerror "Your subversion has been built without python bindings,"
- eerror "please enable the 'python' useflag and recompile"
- eerror "dev-util/subversion."
- die "pkg_setup failed"
- fi
-
- webapp_pkg_setup
-}
-
-src_install () {
- # project environments might go in here
- keepdir /var/lib/trac
-
- webapp_src_preinst
- distutils_src_install
-
- dodoc AUTHORS INSTALL RELEASE THANKS UPGRADE
- rm ${D}/usr/share/doc/${P}/MANIFEST.in.gz
- rm ${D}/usr/share/doc/${P}/PKG-INFO.gz
-
- docinto contrib
- dodoc contrib/*
-
- # if needed, install cgi/fcgi scripts for webapp-config
- local my_dir=${D}/usr/share/trac
- if use cgi ; then
- mv ${my_dir}/cgi-bin/trac.cgi ${D}${MY_CGIBINDIR} || die
- fi
- if use fastcgi ; then
- mv ${my_dir}/cgi-bin/trac.fcgi ${D}${MY_CGIBINDIR} || die
- fi
- rm -rf ${my_dir}/cgi-bin || die
-
- for lang in en; do
- webapp_postinst_txt ${lang} ${FILESDIR}/${PV}-postinst-${lang}.txt
- done
-
- webapp_src_install
-}
diff --git a/www-apps/trac/trac-0.9.4.ebuild b/www-apps/trac/trac-0.9.4.ebuild
deleted file mode 100644
index 8ea4c6380aeb..000000000000
--- a/www-apps/trac/trac-0.9.4.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.9.4.ebuild,v 1.2 2006/03/09 22:09:41 dju Exp $
-
-inherit distutils 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="trac"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="cgi fastcgi postgres sqlite enscript silvercity"
-
-# doing so because utils (such as trac-admin), manpages... overlap
-SLOT="0"
-WEBAPP_MANUAL_SLOT="yes"
-
-# we need to depend on virtual/httpd-cgi to bring apache/lighttpd/whatever in when USE cgi
-# we need to depend on virtual/httpd-fcgi to bring mod_fastcgi/lighttpd/whatever in when USE fastcgi
-# we need to depend on virtual/httpd-python to bring mod_python/whatever in when USE python (python
-# is rather confusing here, as dev-lang/python is a required dependency, but httpd-python isn't)
-DEPEND="${DEPEND}
- >=dev-lang/python-2.3
- app-text/pytextile
- >=dev-python/docutils-0.3.3
- dev-libs/clearsilver
- >=dev-util/subversion-1.1
- sqlite? ( >=dev-python/pysqlite-2 )
- postgres? ( dev-python/psycopg )
- enscript? ( app-text/enscript )
- silvercity? ( app-text/silvercity )"
-
-pkg_setup () {
- if ! use postgres && ! use sqlite ; then
- eerror "You must select at least one database backend,"
- eerror "using sqlite or postgres USE flags."
- die "no database backend selected"
- fi
-
- if ! built_with_use dev-util/subversion python ; then
- eerror "Your subversion has been built without python bindings,"
- eerror "please enable the 'python' useflag and recompile"
- eerror "dev-util/subversion."
- die "pkg_setup failed"
- fi
-
- ebegin "Creating tracd group and user"
- enewgroup tracd
- enewuser tracd -1 -1 -1 tracd
- eend ${?}
-
- webapp_pkg_setup
-}
-
-src_install () {
- # project environments might go in here
- keepdir /var/lib/trac
-
- webapp_src_preinst
- distutils_src_install
-
- dodoc AUTHORS INSTALL RELEASE THANKS UPGRADE
- rm ${D}/usr/share/doc/${P}/MANIFEST.in.gz
- rm ${D}/usr/share/doc/${P}/PKG-INFO.gz
-
- docinto contrib
- dodoc contrib/*
-
- # if needed, install cgi/fcgi scripts for webapp-config
- local my_dir=${D}/usr/share/trac
- if use cgi ; then
- mv ${my_dir}/cgi-bin/trac.cgi ${D}${MY_CGIBINDIR} || die
- fi
- if use fastcgi ; then
- mv ${my_dir}/cgi-bin/trac.fcgi ${D}${MY_CGIBINDIR} || die
- fi
- rm -rf ${my_dir}/cgi-bin || die
-
- for lang in en; do
- webapp_postinst_txt ${lang} ${FILESDIR}/${PV}-postinst-${lang}.txt
- done
-
- webapp_src_install
-
- cp ${FILESDIR}/tracd.confd ${T}/tracd && doconfd ${T}/tracd
- cp ${FILESDIR}/tracd.initd ${T}/tracd && doinitd ${T}/tracd
-}