summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-07-18 08:49:48 +0000
committerPeter Volkov <pva@gentoo.org>2008-07-18 08:49:48 +0000
commit6060f10c9d99e7b47504db83982ce1bd67cb706d (patch)
tree65e6e43eee1516e3b8f9594e2aa7516657532df3 /www-apps/trac
parentmask sctp for dev-lang/erlang, requires a library too close to the linux kernel (diff)
downloadhistorical-6060f10c9d99e7b47504db83982ce1bd67cb706d.tar.gz
historical-6060f10c9d99e7b47504db83982ce1bd67cb706d.tar.bz2
historical-6060f10c9d99e7b47504db83982ce1bd67cb706d.zip
Another version bump, thank m4rku5 who noticed that eclipse plugin does not support trac-0.11 yet.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.22-ovz005 i686
Diffstat (limited to 'www-apps/trac')
-rw-r--r--www-apps/trac/ChangeLog8
-rw-r--r--www-apps/trac/Manifest4
-rw-r--r--www-apps/trac/trac-0.10.5.ebuild141
3 files changed, 151 insertions, 2 deletions
diff --git a/www-apps/trac/ChangeLog b/www-apps/trac/ChangeLog
index 001a764e739b..38cd8b57dbb6 100644
--- a/www-apps/trac/ChangeLog
+++ b/www-apps/trac/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-apps/trac
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.69 2008/07/17 19:34:19 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.70 2008/07/18 08:49:48 pva Exp $
+
+*trac-0.10.5 (18 Jul 2008)
+
+ 18 Jul 2008; Peter Volkov <pva@gentoo.org> +trac-0.10.5.ebuild:
+ Another version bump, thank m4rku5 who noticed that eclipse plugin does
+ not support trac-0.11 yet.
17 Jul 2008; Markus Rothe <corsair@gentoo.org> trac-0.11.ebuild:
Added ~ppc64; bug #232008
diff --git a/www-apps/trac/Manifest b/www-apps/trac/Manifest
index 5487bb8cbc9e..cde32ec4fb72 100644
--- a/www-apps/trac/Manifest
+++ b/www-apps/trac/Manifest
@@ -4,7 +4,9 @@ AUX tracd.confd 359 RMD160 7328dd041576abbc76130ce220041d837289dd00 SHA1 91a6077
AUX tracd.initd 881 RMD160 c215a990133d5b655bc94e13ab4de9d1c938a163 SHA1 2c1a9dbae7e4890c2fb71f22091786ba7396c940 SHA256 6e76bfffe7f6928bff24d79b97aa8bbd27dafdfbb16fe8c79b7ad298e202d950
DIST Trac-0.11.tar.gz 684359 RMD160 c59ee652c69bf916c44113b0a3a6559585716cb8 SHA1 309f40c1cd8ff7a4f2d133f61d1a17a7c53650c2 SHA256 bfdfd4d8385c1ebb1e63ea285953ba36ed68fcb2fd8205b8f3de6d4212b55bea
DIST trac-0.10.4.tar.gz 449116 RMD160 9eb843eabf5f986b3d08cd2081f02fe9033abd1e SHA1 2b6db96665cb7753d02de4f7f75beef9a1d97afc SHA256 0061cf11d6d259505ff64252c40baf53e845095437eb56f98d3493fad9701100
+DIST trac-0.10.5.tar.gz 452253 RMD160 c9632030624471f6c456cdc34f2a23cfe2ccdde9 SHA1 3e1e3ea3edd76be7761359ffc7f080cc3fd5c4dc SHA256 157707cd8244e002a94f6880d948ad046b561c232ff04ab35893ab3f2e1a6ec7
EBUILD trac-0.10.4.ebuild 4412 RMD160 7db2ea97952c39d33abd9e336fb70c0cb5cd5a82 SHA1 2385bd43b4e21d3bbc9041d1182e8a3f0230eaeb SHA256 ba1079c039ae198ccb21b4570ff47ead6f248129d61e19f7b35cf6a4d461713b
+EBUILD trac-0.10.5.ebuild 4413 RMD160 9a24228c216f4d28ea58c821739f7b951c2d5553 SHA1 8e28e01b3aff71c81541d708e7203cdc0119fd3f SHA256 c44a25ae34870faad0fec5eca0ff45f1bec1693d6d5b95945edc9a84d27b9084
EBUILD trac-0.11.ebuild 3816 RMD160 396ae58d6f248ede223e44366a613884e418cc28 SHA1 1b4c7815f1b8c6e7751685dacf04340ddaaa7f76 SHA256 4badb918f9d30b8d26d0df7c5eb86d12dba26a107e528093198d81dcbe6b20c0
-MISC ChangeLog 11863 RMD160 6250d3cba65fa9e38543c02577ef4731473a3745 SHA1 e31733452f7a38e1da86bf73752f57e5a2f96ebb SHA256 23ca74326d813a9bfb6f2edf2301d0496030beab2bd04a8427a1d0d5cd099829
+MISC ChangeLog 12057 RMD160 10598907231a8a47174de336366a366ac813eff0 SHA1 25f9cc6267aedeb67c650bd404be7b75f45f4dfe SHA256 1c649430c9c8dded1630afdc750c327cfc57391dedce57b33399c8321da8e2ee
MISC metadata.xml 161 RMD160 d47e924599b33a35a50f4c9f5564d325c271f83b SHA1 5b91a6d8d06d3dca2d774425befba30caca51507 SHA256 9cd891fcf0af580e98b62d2f4ded9e53671599f5a7aafd5dce692b996d2a83f4
diff --git a/www-apps/trac/trac-0.10.5.ebuild b/www-apps/trac/trac-0.10.5.ebuild
new file mode 100644
index 000000000000..71834d48bc38
--- /dev/null
+++ b/www-apps/trac/trac-0.10.5.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.10.5.ebuild,v 1.1 2008/07/18 08:49:48 pva 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 ~ppc64 ~sparc ~x86"
+IUSE="cgi fastcgi mysql 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 pull apache/lighttpd/whatever in when USE cgi
+# we need to depend on virtual/httpd-fcgi to pull mod_fastcgi/lighttpd/whatever in when USE fastcgi
+# we need to depend on virtual/httpd-python to pull 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.9
+ dev-libs/clearsilver
+ >=dev-util/subversion-1.3.2
+ mysql? (
+ >=virtual/mysql-4.1
+ >=dev-python/mysql-python-1.2.1
+ )
+ sqlite? (
+ >=dev-db/sqlite-3.3.4
+ || ( >=dev-lang/python-2.5 >=dev-python/pysqlite-2.3 )
+ )
+ postgres? ( >=dev-python/psycopg-2 )
+ enscript? ( app-text/enscript )
+ silvercity? ( app-text/silvercity )"
+
+# The following function should be added to eutils.eclass (see bug #143572):
+
+# Generate an standard error message for missing USE flags
+# in existing packages, and die.
+#
+# Usage: built_with_use_die <category/package> <functionality> [<USE flag>]
+# ex: built_with_use_die dev-util/subversion python
+# or: built_with_use_die www-servers/apache LDAP ldap
+#
+# Typical usage:
+# if ! built_with_use dev-util/subversion python ; then
+# built_with_use_die dev-util/subversion python
+# fi
+#
+# Note: when <USE flag> is not specified, <functionality> is used for the USE flag name.
+built_with_use_die() {
+ local package=$1
+ local func=$2
+ local use_flag=$3
+
+ [[ -z ${use_flag} ]] && use_flag=${func}
+
+ eerror "Your ${package} package has been built without"
+ eerror "${func} support, please enable the '${use_flag}' USE flag and"
+ eerror "re-emerge ${package}."
+ elog "You can enable this USE flag either globally in /etc/make.conf,"
+ elog "or just for specific packages in /etc/portage/package.use."
+ die "${package} missing ${func} support"
+}
+
+pkg_setup () {
+ if ! use mysql && ! use postgres && ! use sqlite ; then
+ eerror "You must select at least one database backend, by enabling"
+ eerror "at least one of the 'mysql', 'postgres' or 'sqlite' USE flags."
+ die "no database backend selected"
+ fi
+
+ # python has built-in sqlite support starting from 2.5
+ if use sqlite && \
+ has_version ">=dev-lang/python-2.5" && \
+ ! has_version ">=dev-python/pysqlite-2.3" && \
+ ! built_with_use dev-lang/python sqlite ; then
+ eerror "To use the sqlite database backend, you must either:"
+ eerror "- build dev-lang/python with sqlite support, using the 'sqlite'"
+ eerror " USE flag, or"
+ eerror "- emerge dev-python/pysqlite"
+ die "missing python sqlite support"
+ fi
+
+ if ! built_with_use dev-util/subversion python ; then
+ built_with_use_die dev-util/subversion python
+ fi
+
+ if ! built_with_use dev-libs/clearsilver python ; then
+ built_with_use_die dev-libs/clearsilver python
+ 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*
+ rm ${D}/usr/share/doc/${P}/PKG-INFO*
+
+ 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}/postinst-${lang}.txt
+ done
+
+ # copy graphics, css & js
+ cp -r htdocs/* ${D}/${MY_HTDOCSDIR}
+
+ webapp_src_install
+
+ newconfd "${FILESDIR}"/tracd.confd tracd
+ newinitd "${FILESDIR}"/tracd.initd tracd
+}