diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2008-08-08 07:02:41 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2008-08-08 07:02:41 +0000 |
commit | 6fe6c8ef800c55e993a9a8bf692837df510978de (patch) | |
tree | 81b561b7940f1ee710cfef1e52c62791cc669e8d | |
parent | Add sys-block as converted category, GLEP 56. (diff) | |
download | historical-6fe6c8ef800c55e993a9a8bf692837df510978de.tar.gz historical-6fe6c8ef800c55e993a9a8bf692837df510978de.tar.bz2 historical-6fe6c8ef800c55e993a9a8bf692837df510978de.zip |
Added trac-0.11.1 (#234216).
Package-Manager: portage-2.1.4.4
-rw-r--r-- | www-apps/trac/ChangeLog | 7 | ||||
-rw-r--r-- | www-apps/trac/Manifest | 10 | ||||
-rw-r--r-- | www-apps/trac/trac-0.11.1.ebuild | 148 |
3 files changed, 160 insertions, 5 deletions
diff --git a/www-apps/trac/ChangeLog b/www-apps/trac/ChangeLog index 1ac1e0ebf686..029d0e1cf695 100644 --- a/www-apps/trac/ChangeLog +++ b/www-apps/trac/ChangeLog @@ -1,6 +1,11 @@ # 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.76 2008/08/05 07:55:43 wrobel Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.77 2008/08/08 07:02:41 wrobel Exp $ + +*trac-0.11.1 (08 Aug 2008) + + 08 Aug 2008; wrobel@gentoo.org +trac-0.11.1.ebuild: + Added trac-0.11.1 (#234216). 05 Aug 2008; wrobel@gentoo.org -trac-0.10.4.ebuild: Removed vulnerable trac-0.10.4 (#233175). diff --git a/www-apps/trac/Manifest b/www-apps/trac/Manifest index bd96d902ec13..553b4da05747 100644 --- a/www-apps/trac/Manifest +++ b/www-apps/trac/Manifest @@ -5,16 +5,18 @@ AUX postinst-en.txt 1349 RMD160 019db0eb917956b84e2afe621edcba501e83a105 SHA1 33 AUX postupgrade-en.txt 674 RMD160 088b1b590ebd7876347b06e71f9dda549238eda1 SHA1 f45997b23c35eec1188003b21dd971d28961ab98 SHA256 4ce5f023f0f2312ac6b6162b2db510397d204cc168db1d5c09ad3aae678ea6b0 AUX tracd.confd 359 RMD160 7328dd041576abbc76130ce220041d837289dd00 SHA1 91a6077f1baf9301082826697e8828c6039f7648 SHA256 6ae50c887d18f8eeda7d59c4d3fd1b5e07e407711c4e4679fef3583f7be8ed6e AUX tracd.initd 881 RMD160 c215a990133d5b655bc94e13ab4de9d1c938a163 SHA1 2c1a9dbae7e4890c2fb71f22091786ba7396c940 SHA256 6e76bfffe7f6928bff24d79b97aa8bbd27dafdfbb16fe8c79b7ad298e202d950 +DIST Trac-0.11.1.tar.gz 687225 RMD160 9d6e595df064e3dfe08299da44ae18c8a51b961f SHA1 92be092d45bb03bc01d39983966d7a89a1b47e29 SHA256 360a02a0e2f6180ba6cc6de7d24556e66123253180036c67e9ba2b709c37c942 DIST Trac-0.11.tar.gz 684359 RMD160 c59ee652c69bf916c44113b0a3a6559585716cb8 SHA1 309f40c1cd8ff7a4f2d133f61d1a17a7c53650c2 SHA256 bfdfd4d8385c1ebb1e63ea285953ba36ed68fcb2fd8205b8f3de6d4212b55bea DIST trac-0.10.5.tar.gz 452253 RMD160 c9632030624471f6c456cdc34f2a23cfe2ccdde9 SHA1 3e1e3ea3edd76be7761359ffc7f080cc3fd5c4dc SHA256 157707cd8244e002a94f6880d948ad046b561c232ff04ab35893ab3f2e1a6ec7 EBUILD trac-0.10.5.ebuild 4431 RMD160 fb457366720108645aa7f6391a99c7c82bcfe199 SHA1 36305a17aacf380bb956faaa4d93716840817460 SHA256 de5cfa66016e6dd7139756501c9653ffc0a5b90897b742e5aa1c786323f03625 +EBUILD trac-0.11.1.ebuild 3824 RMD160 426ca7cc0f13d7af83d54c11d0a81feb39d5293f SHA1 36e021009189e90fd58ecb7774d00f568ecacc6c SHA256 977918d64a972c97d571a348b1bbf3d89fba903bb1617e63d9dcfe0b67fc22a2 EBUILD trac-0.11.ebuild 3824 RMD160 acebdd5177e4977cd3635f9ccd55809f74f6cda4 SHA1 069be2bdcc8523f0e8914111e602634d8afef783 SHA256 67d98c6c6e1f4fea2cfab401e97e02939af7913defd176220e01a804c59f884a -MISC ChangeLog 12687 RMD160 8385dd2a0f51f121174cc5e9540faf359f07a0fb SHA1 19bec6f3d2e28045e23024f65c77ede26b71d99a SHA256 6d959f6b7e6085b71ad206307ce6f84125278765dd6b14b00d15a41293dc02d2 +MISC ChangeLog 12801 RMD160 0c1535d2e7b81c55d197eba1aaf763b6a44d6079 SHA1 ff30dbd36d4b97e86fcdb8c5faf5e41dbd9ad7a1 SHA256 902f1b577b1744cec05a722924d2113f5ac125ec52706958b5df9adf21ff4778 MISC metadata.xml 161 RMD160 d47e924599b33a35a50f4c9f5564d325c271f83b SHA1 5b91a6d8d06d3dca2d774425befba30caca51507 SHA256 9cd891fcf0af580e98b62d2f4ded9e53671599f5a7aafd5dce692b996d2a83f4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFImAeOEEcxCpcDQ74RAp4RAJ0T2nkcWD1jvX0v57BLQtL7Tq/XJQCdEKPJ -qoxcCfkgIHtMqdyBn/01Hi4= -=1sLi +iD8DBQFIm++gEEcxCpcDQ74RAjpaAJ0Z/6Hv9SJigvhHNkeSDcKyaVlGMACeJYdb +tiTBD+2DFHMES1PNFD4GuTg= +=Sq2p -----END PGP SIGNATURE----- diff --git a/www-apps/trac/trac-0.11.1.ebuild b/www-apps/trac/trac-0.11.1.ebuild new file mode 100644 index 000000000000..8064f88c595a --- /dev/null +++ b/www-apps/trac/trac-0.11.1.ebuild @@ -0,0 +1,148 @@ +# 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.11.1.ebuild,v 1.1 2008/08/08 07:02:41 wrobel Exp $ + +inherit distutils webapp + +MY_PV=${PV/_beta/b} +MY_P=Trac-${MY_PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system." +HOMEPAGE="http://trac.edgewall.com/" +LICENSE="trac" +SRC_URI="http://ftp.edgewall.com/pub/trac/${MY_P}.tar.gz" + +IUSE="cgi fastcgi mysql postgres sqlite subversion" + +KEYWORDS="~amd64 ~ppc64 ~sparc ~x86" + +# doing so because tools, python packages... overlap +SLOT="0" +WEBAPP_MANUAL_SLOT="yes" + +DEPEND=" + ${DEPEND} + dev-python/setuptools + " + +RDEPEND=" + ${RDEPEND} + >=dev-python/genshi-0.5 + dev-python/pygments + >=dev-python/docutils-0.3.9 + dev-python/pytz + cgi? ( + virtual/httpd-cgi + ) + fastcgi? ( + virtual/httpd-fastcgi + ) + mysql? ( + >=dev-python/mysql-python-1.2.1 + >=virtual/mysql-4.1 + ) + postgres? ( + >=dev-python/psycopg-2 + ) + sqlite? ( + >=dev-db/sqlite-3.3.4 + || ( + >=dev-lang/python-2.5 + >=dev-python/pysqlite-2.3.2 + ) + ) + subversion? ( + >=dev-util/subversion-1.4.2 + ) + !www-apps/trac-webadmin + " + +# 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() { + webapp_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 use subversion && \ + ! built_with_use dev-util/subversion python ; then + built_with_use_die dev-util/subversion python + fi + + enewgroup tracd + enewuser tracd -1 -1 -1 tracd +} + +src_install() { + webapp_src_preinst + distutils_src_install + + # project environments might go in here + keepdir /var/lib/trac + + # documentation + cp -r contrib "${D}"/usr/share/doc/${P}/ + + # tracd init script + newconfd "${FILESDIR}"/tracd.confd tracd + newinitd "${FILESDIR}"/tracd.initd tracd + + if use cgi ; then + cp cgi-bin/trac.cgi "${D}"/${MY_CGIBINDIR} || die + fi + if use fastcgi ; then + cp cgi-bin/trac.fcgi "${D}"/${MY_CGIBINDIR} || die + fi + + for lang in en; do + webapp_postinst_txt ${lang} "${FILESDIR}"/postinst-${lang}.txt + webapp_postupgrade_txt ${lang} "${FILESDIR}"/postupgrade-${lang}.txt + done + + webapp_src_install +} |