git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1585 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-11-30 19:13:55 +00:00
parent 0babac3016
commit 5232ea3883
2 changed files with 106 additions and 0 deletions

View File

@ -6,8 +6,10 @@ AUX tracd.initd.2 939 RMD160 2991a7a8d2d1a2911a899ed5f356fd88de872b5d SHA1 c8d00
DIST Trac-0.11.2.1.tar.gz 713838 RMD160 aeb8e861f144c2b91698c0e6d25d06778345842c SHA1 30643926822ea2185307ee21993abe59ee357564 SHA256 bc95802880a9a4b430286812ff848f72e652603fc2cc5be05844f70c0fccab3a DIST Trac-0.11.2.1.tar.gz 713838 RMD160 aeb8e861f144c2b91698c0e6d25d06778345842c SHA1 30643926822ea2185307ee21993abe59ee357564 SHA256 bc95802880a9a4b430286812ff848f72e652603fc2cc5be05844f70c0fccab3a
DIST Trac-0.11.3.tar.gz 722747 RMD160 39c980f158120e49ccf01a1ac00262bec8f02d43 SHA1 3d0424a065efc16abd8ba50aeefd3926bb2d1056 SHA256 f50a1c1dd0fc10020ef903296846a85276e588036d49a00b1f557ca8f0048ad9 DIST Trac-0.11.3.tar.gz 722747 RMD160 39c980f158120e49ccf01a1ac00262bec8f02d43 SHA1 3d0424a065efc16abd8ba50aeefd3926bb2d1056 SHA256 f50a1c1dd0fc10020ef903296846a85276e588036d49a00b1f557ca8f0048ad9
DIST Trac-0.11.4.tar.gz 724708 RMD160 dffe20cb4f1cda2d8feaed5746a9701c24ccaeef SHA1 392f5fc0bc8e29ebea07182707ad31a55b9ec46f SHA256 40a8e633fd05b0468f9bce5e426a83a4ad1e42d1c59c29c6182e238efd811920 DIST Trac-0.11.4.tar.gz 724708 RMD160 dffe20cb4f1cda2d8feaed5746a9701c24ccaeef SHA1 392f5fc0bc8e29ebea07182707ad31a55b9ec46f SHA256 40a8e633fd05b0468f9bce5e426a83a4ad1e42d1c59c29c6182e238efd811920
DIST Trac-0.11.6.tar.gz 749517 RMD160 ff384a4774da3631b1763efa76943450406710ef SHA1 9bb360cd86dcb16ec139a8ef10dd1b346adcaa18 SHA256 4c4151fecfbf6ed3defdf94be9262a44076e40f544eb191cc6e73c0e4b83e05a
EBUILD trac-0.11.2.1.ebuild 3977 RMD160 d3cb051a711d6d3bdc0d685736611285faf0b544 SHA1 ede3cad1b08ccdc2bc5160b5c78d9a95a199e692 SHA256 b46aa874abe5d72319a033a7ea5d48b06ca8adff66b43a042903cf08fdf36873 EBUILD trac-0.11.2.1.ebuild 3977 RMD160 d3cb051a711d6d3bdc0d685736611285faf0b544 SHA1 ede3cad1b08ccdc2bc5160b5c78d9a95a199e692 SHA256 b46aa874abe5d72319a033a7ea5d48b06ca8adff66b43a042903cf08fdf36873
EBUILD trac-0.11.3.ebuild 3977 RMD160 ad65bdead4b898f9e81d24d2515a7f91b1a09e0d SHA1 19fe7047d551d91700f2c36a21ea14efe19ae855 SHA256 94df7dfad3bf7243e74588bb00faaf69efdce1c7df856857295a0e16ea3fadfc EBUILD trac-0.11.3.ebuild 3977 RMD160 ad65bdead4b898f9e81d24d2515a7f91b1a09e0d SHA1 19fe7047d551d91700f2c36a21ea14efe19ae855 SHA256 94df7dfad3bf7243e74588bb00faaf69efdce1c7df856857295a0e16ea3fadfc
EBUILD trac-0.11.4.ebuild 3980 RMD160 bfad49ee89e5dedfeee57e5c2388e407ffce3cea SHA1 568f5fe6c10c6cc600003a07d840a07feda9c395 SHA256 8aeaf3cd1b23562ffa130d46c8798bf5a0b2f0508e26f300541fc0cd6dc037b0 EBUILD trac-0.11.4.ebuild 3980 RMD160 bfad49ee89e5dedfeee57e5c2388e407ffce3cea SHA1 568f5fe6c10c6cc600003a07d840a07feda9c395 SHA256 8aeaf3cd1b23562ffa130d46c8798bf5a0b2f0508e26f300541fc0cd6dc037b0
EBUILD trac-0.11.6.ebuild 2335 RMD160 c68084d36eac6180429c378e6ef617ba70c4c1fa SHA1 3b1277104479eb3f9f2ea96bf913a7aa541b8d61 SHA256 d9d872eada771962a2036294858c2dbb13c37d4cbba3e1192de6a71fd92053c8
MISC ChangeLog 14078 RMD160 a0894775e7d4c358ee971378930128d2c4fb76e0 SHA1 9fbfadf6785ca04b1caa1249d122259a639a1042 SHA256 43787350dda1db19e1a3a4ca36773dc2a2571afa1fce67cc151e3ad504dc8ec9 MISC ChangeLog 14078 RMD160 a0894775e7d4c358ee971378930128d2c4fb76e0 SHA1 9fbfadf6785ca04b1caa1249d122259a639a1042 SHA256 43787350dda1db19e1a3a4ca36773dc2a2571afa1fce67cc151e3ad504dc8ec9
MISC metadata.xml 294 RMD160 583b0b68a78884cf52e3a16a0aa9195dbb50654d SHA1 f73728c47f88df1bd4b4760b28c4f48c63a30ebb SHA256 a77b23b4cddd5cd048cbe2c0fdd3950d53ef2b48d30cdf1b1f501ee25a690e08 MISC metadata.xml 294 RMD160 583b0b68a78884cf52e3a16a0aa9195dbb50654d SHA1 f73728c47f88df1bd4b4760b28c4f48c63a30ebb SHA256 a77b23b4cddd5cd048cbe2c0fdd3950d53ef2b48d30cdf1b1f501ee25a690e08

View File

@ -0,0 +1,104 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.11.5.ebuild,v 1.5 2009/10/17 08:26:29 djc Exp $
EAPI="2"
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 ppc ~ppc64 ~sparc x86"
# doing so because tools, python packages... overlap
SLOT="0"
WEBAPP_MANUAL_SLOT="yes"
RDEPEND="
dev-python/setuptools
>=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[sqlite]
>=dev-python/pysqlite-2.3.2
)
)
subversion? (
>=dev-util/subversion-1.4.2[python]
)
!www-apps/trac-webadmin
"
DEPEND="${RDEPEND}"
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
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
# Use this as the egg-cache for tracd
dodir /var/lib/trac/egg-cache
keepdir /var/lib/trac/egg-cache
fowners tracd:tracd /var/lib/trac/egg-cache
# documentation
cp -r contrib "${D}"/usr/share/doc/${P}/
# tracd init script
newconfd "${FILESDIR}"/tracd.confd tracd
newinitd "${FILESDIR}"/tracd.initd.2 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
}