diff options
author | Julien Allanos <dju@gentoo.org> | 2006-11-13 22:58:36 +0000 |
---|---|---|
committer | Julien Allanos <dju@gentoo.org> | 2006-11-13 22:58:36 +0000 |
commit | dbadc9a059615c4eed939902dd03e9c528168296 (patch) | |
tree | 560d48d9321054b73cd1e0d6a2b69e2c711bfe2e /www-apps | |
parent | Version bump (diff) | |
download | historical-dbadc9a059615c4eed939902dd03e9c528168296.tar.gz historical-dbadc9a059615c4eed939902dd03e9c528168296.tar.bz2 historical-dbadc9a059615c4eed939902dd03e9c528168296.zip |
Version bump, fixes bug #154780.
Package-Manager: portage-2.1.1-r1
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/trac/ChangeLog | 7 | ||||
-rw-r--r-- | www-apps/trac/Manifest | 16 | ||||
-rw-r--r-- | www-apps/trac/files/digest-trac-0.10.2 | 3 | ||||
-rw-r--r-- | www-apps/trac/trac-0.10.2.ebuild | 129 |
4 files changed, 150 insertions, 5 deletions
diff --git a/www-apps/trac/ChangeLog b/www-apps/trac/ChangeLog index 3de7411e36d8..f8f2051ede7d 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.44 2006/11/13 17:43:47 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.45 2006/11/13 22:58:36 dju Exp $ + +*trac-0.10.2 (13 Nov 2006) + + 13 Nov 2006; Julien Allanos <dju@gentoo.org> +trac-0.10.2.ebuild: + Version bump, fixes bug #154780. 13 Nov 2006; Tobias Scherbaum <dertobi123@gentoo.org> trac-0.10.1.ebuild: ppc stable, bug #154574 diff --git a/www-apps/trac/Manifest b/www-apps/trac/Manifest index 4c238ee3f36d..8a52f395044d 100644 --- a/www-apps/trac/Manifest +++ b/www-apps/trac/Manifest @@ -23,6 +23,7 @@ MD5 4dc8d28369a56b8efd84fd118c2cb28b files/tracd.initd 743 RMD160 ddc2bcf9dc907054882f35b5cc0f835c6fb450be files/tracd.initd 743 SHA256 c55b46edae5e7600890c426362f7e00b3a5fd5290fe3616d189f809b8626265d files/tracd.initd 743 DIST trac-0.10.1.tar.gz 439941 RMD160 13fc90cc6023d9279721eaa583be2a09bd42737d SHA1 076b1f71ede1ecce533c71d16f1c0740065cd2ee SHA256 a5528c5e5ca865842628ad5fc6984df774d61b72e13db34a525496e3136c87c7 +DIST trac-0.10.2.tar.gz 440277 RMD160 c7dac7b93d8f06fa3ad22de35c9a2303154a2023 SHA1 251ea65d6dce57dbe78ef36bfb4fd579eaa24a25 SHA256 09286ad24ffcd4f1bdd0d0cb534217728043645d605ac6711a192bebc622408a DIST trac-0.10.tar.gz 442401 RMD160 a015907ac51fc6aff4fae7cf83b2bbdf80db93da SHA1 fc78ed5dd9c72a9a21bf75296ab41fc898ebbce6 SHA256 db2ebfb1acc200e3f71c6404f35c95707c73e3831b485ac66fad3ecbc2d80f13 DIST trac-0.9.5.tar.gz 339170 DIST trac-0.9.6.tar.gz 339647 RMD160 3bf086f8c5a6b3b7d6584359dbc916f6ee61dfdc SHA1 b64b193ec014113341f493149e0de2876a32fc7d SHA256 67862c30c2dd0852ba4778a23bba79ab2387e9b40a85b40865cb76c4fa878dfc @@ -30,6 +31,10 @@ EBUILD trac-0.10.1.ebuild 3936 RMD160 08f3b9bbeefa18c06d47d946f83c6ee82847ec22 S MD5 7cef94ba30d85c0c865965148282f360 trac-0.10.1.ebuild 3936 RMD160 08f3b9bbeefa18c06d47d946f83c6ee82847ec22 trac-0.10.1.ebuild 3936 SHA256 21e0f3736efc1fb41d3e03a1991000c2ed1a7e1873902df438dabd04c4eb3ba3 trac-0.10.1.ebuild 3936 +EBUILD trac-0.10.2.ebuild 3931 RMD160 f86228e1fb7f6bb2f2e9e12774ecb045ee8d561c SHA1 9de6c8088a644c12bcd35a5c0e07258505b7d773 SHA256 5690d63ca01626ac0010d4aaaf6fa0587ebcb61af0512d0a9caf2f5e29c9b0c9 +MD5 6cd5dd01cf68efb437b28c6688592306 trac-0.10.2.ebuild 3931 +RMD160 f86228e1fb7f6bb2f2e9e12774ecb045ee8d561c trac-0.10.2.ebuild 3931 +SHA256 5690d63ca01626ac0010d4aaaf6fa0587ebcb61af0512d0a9caf2f5e29c9b0c9 trac-0.10.2.ebuild 3931 EBUILD trac-0.10.ebuild 3206 RMD160 3cb1dfb1f4e68f07ea9cc4bc741806394473febf SHA1 c4852e49590047ed1e2105ae4c04ed438b5100ba SHA256 380cdefc4b67a7c07570053dec666412020120e2ff4897ee81d0cd3012149f5e MD5 205ad2af6edf3a443d540abda6173d7f trac-0.10.ebuild 3206 RMD160 3cb1dfb1f4e68f07ea9cc4bc741806394473febf trac-0.10.ebuild 3206 @@ -42,10 +47,10 @@ EBUILD trac-0.9.6.ebuild 3165 RMD160 78552ad73e99e2c01d4e1f15dc087f36886240e1 SH MD5 99851d8e651b9abf1d55afdf9fd418bd trac-0.9.6.ebuild 3165 RMD160 78552ad73e99e2c01d4e1f15dc087f36886240e1 trac-0.9.6.ebuild 3165 SHA256 cea05e5c55f86c74c2a7c42ffe7b7b2febb8347a68a424abed7ffa8fc26bd548 trac-0.9.6.ebuild 3165 -MISC ChangeLog 8148 RMD160 bc149dd900ffc46bf1858c174dc244faf8570626 SHA1 2498e0fb0a727bf30d1c37a0b61ab294a8fe8d30 SHA256 a0d0d31a1ba393a626cfb3809809a88a6ea7ffd3d05c501390503c402ab9445e -MD5 9ee73f3001485b121eb35b7e4475ffaa ChangeLog 8148 -RMD160 bc149dd900ffc46bf1858c174dc244faf8570626 ChangeLog 8148 -SHA256 a0d0d31a1ba393a626cfb3809809a88a6ea7ffd3d05c501390503c402ab9445e ChangeLog 8148 +MISC ChangeLog 8273 RMD160 d0108533a0b584c375c89134c15820fb38c6f30a SHA1 25d7c998e457e3ce6910fb60c2c36ab92a7c5562 SHA256 65b14be477a3975386957a12c442795033b4c7c2ce1b220ed2fc55e7c2cd3d1f +MD5 f1d82b51cc29e8b8f93c37e9754f9fb4 ChangeLog 8273 +RMD160 d0108533a0b584c375c89134c15820fb38c6f30a ChangeLog 8273 +SHA256 65b14be477a3975386957a12c442795033b4c7c2ce1b220ed2fc55e7c2cd3d1f ChangeLog 8273 MISC metadata.xml 220 RMD160 dcc7b97d4b6eb6a017014b427fa9fd9c2ce04583 SHA1 2cf693a9408713395fdedb16da9edd6b33e5c2e7 SHA256 09bece3580791397bbf0b4d68ff9ac4abbc37150cf11fe7848f924119ca76b84 MD5 fc3b5dec4ccef02547c54bf840024aa6 metadata.xml 220 RMD160 dcc7b97d4b6eb6a017014b427fa9fd9c2ce04583 metadata.xml 220 @@ -56,6 +61,9 @@ SHA256 7826151417f1b2deb61f228b42c90a12f5d274447e1d5c2bb36fce7fbdb1fb31 files/di MD5 1f3fb495ed3541dea7b8437c3e0bee4e files/digest-trac-0.10.1 235 RMD160 aeb2626e7ecc5ab9d29b491e1357d8f03b63a133 files/digest-trac-0.10.1 235 SHA256 a0cd4933dde76336d6b601e3d2b8454c7dee2f32e88d437a79212094b2095f7f files/digest-trac-0.10.1 235 +MD5 7b8e3fb84cef4975938b01519592c82c files/digest-trac-0.10.2 235 +RMD160 1dc32e1422ec9d88a3f323e8eec6c878c626e6fd files/digest-trac-0.10.2 235 +SHA256 607ebe71ec8775e0596d7f13e94777fc3576f9a6f8f60bc621b654da94c2dd9a files/digest-trac-0.10.2 235 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 diff --git a/www-apps/trac/files/digest-trac-0.10.2 b/www-apps/trac/files/digest-trac-0.10.2 new file mode 100644 index 000000000000..c56d2e27fbe2 --- /dev/null +++ b/www-apps/trac/files/digest-trac-0.10.2 @@ -0,0 +1,3 @@ +MD5 18df3bb6c9699297c6f41a5a1a448ff9 trac-0.10.2.tar.gz 440277 +RMD160 c7dac7b93d8f06fa3ad22de35c9a2303154a2023 trac-0.10.2.tar.gz 440277 +SHA256 09286ad24ffcd4f1bdd0d0cb534217728043645d605ac6711a192bebc622408a trac-0.10.2.tar.gz 440277 diff --git a/www-apps/trac/trac-0.10.2.ebuild b/www-apps/trac/trac-0.10.2.ebuild new file mode 100644 index 000000000000..d27b54c06e85 --- /dev/null +++ b/www-apps/trac/trac-0.10.2.ebuild @@ -0,0 +1,129 @@ +# 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.10.2.ebuild,v 1.1 2006/11/13 22:58:36 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 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? ( + >=dev-db/mysql-4.1 + >=dev-python/mysql-python-1.2.1 + ) + sqlite? ( + >=dev-db/sqlite-3.3.4 + >=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_error <category/package> <functionality> [<USE flag>] +# ex: built_with_use_error dev-util/subversion python +# or: built_with_use_error net-www/apache LDAP ldap +# +# Typical usage: +# if ! built_with_use dev-util/subversion python ; then +# built_with_use_error dev-util/subversion python +# fi +# +# Note: when <USE flag> is not specified, <functionality> is used for the USE flag name. +built_with_use_error_msg() { + 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}." + einfo "You can enable this USE flag either globally in /etc/make.conf," + einfo "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 + + if ! built_with_use dev-util/subversion python ; then + built_with_use_error dev-util/subversion python + fi + + if ! built_with_use dev-libs/clearsilver python ; then + built_with_use_error 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.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}/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 +} |