diff options
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/trac/ChangeLog | 40 | ||||
-rw-r--r-- | www-apps/trac/Manifest | 11 | ||||
-rw-r--r-- | www-apps/trac/files/0.7-postinst-en.txt | 34 | ||||
-rw-r--r-- | www-apps/trac/files/0.7.1-postinst-en.txt | 42 | ||||
-rw-r--r-- | www-apps/trac/files/digest-trac-0.6.1 | 1 | ||||
-rw-r--r-- | www-apps/trac/files/digest-trac-0.7 | 1 | ||||
-rw-r--r-- | www-apps/trac/files/digest-trac-0.7.1 | 1 | ||||
-rw-r--r-- | www-apps/trac/files/postinst-en.txt | 22 | ||||
-rw-r--r-- | www-apps/trac/metadata.xml | 8 | ||||
-rw-r--r-- | www-apps/trac/trac-0.6.1.ebuild | 47 | ||||
-rw-r--r-- | www-apps/trac/trac-0.7.1.ebuild | 47 | ||||
-rw-r--r-- | www-apps/trac/trac-0.7.ebuild | 47 |
12 files changed, 301 insertions, 0 deletions
diff --git a/www-apps/trac/ChangeLog b/www-apps/trac/ChangeLog new file mode 100644 index 000000000000..b1878de5bae5 --- /dev/null +++ b/www-apps/trac/ChangeLog @@ -0,0 +1,40 @@ +# ChangeLog for net-www/trac +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.1 2004/08/15 15:47:05 stuart Exp $ + +*trac-0.7 (15 Aug 2004) + + 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml, + +files/0.7-postinst-en.txt, +files/0.7.1-postinst-en.txt, + +files/postinst-en.txt, +trac-0.6.1.ebuild, +trac-0.7.1.ebuild, + +trac-0.7.ebuild: + Moved from net-www/trac to www-apps/trac. + + 13 Aug 2004; Stuart Herbert <stuart@gentoo.org> trac-0.7.1.ebuild: + Fixed problem where webapp.eclass's pkg_postinst() wasn't getting + automatically called; thanks to ferringb@gentoo.org for the fix + +*trac-0.7.1 (09 Aug 2004) + + 09 Aug 2004; Stuart Herbert <stuart@gentoo.org> + +files/0.7.1-postinst-en.txt, +trac-0.7.1.ebuild: + Version bump; thanks to dju` <dju@elegiac.net>; see bug #52929 + + 26 May 2004; Stuart Herbert <stuart@gentoo.org> trac-0.7.ebuild: + Added ~sparc + +*trac-0.7 (26 May 2004) + + 26 May 2004; Stuart Herbert <stuart@gentoo.org> trac-0.7.ebuild, + files/0.7-postinst-en.txt: + Version bump + + 29 Apr 2004; David Holm <dholm@gentoo.org> trac-0.6.1.ebuild: + Added to ~ppc. + +*trac-0.6.1 (28 Apr 2004) + + 28 Apr 2004; Stuart Herbert <stuart@gentoo.org> metadata.xml, + trac-0.6.1.ebuild, files/postinst-en.txt: + Initial import; thanks to dju` <dju@elegiac.net>; see bug #48818 + diff --git a/www-apps/trac/Manifest b/www-apps/trac/Manifest new file mode 100644 index 000000000000..30cf40f335d4 --- /dev/null +++ b/www-apps/trac/Manifest @@ -0,0 +1,11 @@ +MD5 ffadd359fa0dcd3d9c265724e8b9052a trac-0.6.1.ebuild 1298 +MD5 73efcf8035a4dff6d640d950c848cb70 ChangeLog 1101 +MD5 3d182d43f7f0341a9a42f96694f04e72 metadata.xml 224 +MD5 dc74981c85ac42ee8aebd1be004bc779 trac-0.7.ebuild 1309 +MD5 e51a0203ad1bdcf333331e8ca61a6ee3 trac-0.7.1.ebuild 1334 +MD5 e48341b7627ee627a13e0ea41a0ef826 files/digest-trac-0.6.1 62 +MD5 76a6e6911b2d58e07f08566da7298f3f files/postinst-en.txt 631 +MD5 e5e17601cd3677a53e87ea4887302f81 files/0.7-postinst-en.txt 1013 +MD5 51f89a9fb89c4b1433da0db051f04147 files/digest-trac-0.7 60 +MD5 94e075de9e02819d253096d0527de6d8 files/digest-trac-0.7.1 62 +MD5 043ef6a77428424a22fb762977533416 files/0.7.1-postinst-en.txt 1252 diff --git a/www-apps/trac/files/0.7-postinst-en.txt b/www-apps/trac/files/0.7-postinst-en.txt new file mode 100644 index 000000000000..bdce2bf696ac --- /dev/null +++ b/www-apps/trac/files/0.7-postinst-en.txt @@ -0,0 +1,34 @@ +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; +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> + +Upgrade Instructions +==================== + +If you are upgrading from 0.6.1, please follow the instructions here: + + http://projects.edgewall.com/trac/file/trunk/UPGRADE?rev=487 + +Note that the single .db file has been replaced by a directory, and that +the TRAC_DB environment variable has been renamed as TRAC_ENV. diff --git a/www-apps/trac/files/0.7.1-postinst-en.txt b/www-apps/trac/files/0.7.1-postinst-en.txt new file mode 100644 index 000000000000..7757730d62e8 --- /dev/null +++ b/www-apps/trac/files/0.7.1-postinst-en.txt @@ -0,0 +1,42 @@ +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> + +Upgrade Instructions +==================== + +If you are upgrading from 0.6.1, please follow the instructions here: + + http://projects.edgewall.com/trac/file/trunk/UPGRADE?rev=487 + +Note that the single .db file has been replaced by a directory, and that +the TRAC_DB environment variable has been renamed as TRAC_ENV. + +Running Multiple Copies Of Trac +=============================== + +If you want to run multiple copies of trac on your website, please see Dju's +excellent instructions here: + + http://wiki.dju.elegiac.net/wiki/MultipleTracInstancesOnGentoo diff --git a/www-apps/trac/files/digest-trac-0.6.1 b/www-apps/trac/files/digest-trac-0.6.1 new file mode 100644 index 000000000000..53ea2005b160 --- /dev/null +++ b/www-apps/trac/files/digest-trac-0.6.1 @@ -0,0 +1 @@ +MD5 ecf7295b24d67f1cfb745e233d5a7d7f trac-0.6.1.tar.gz 113146 diff --git a/www-apps/trac/files/digest-trac-0.7 b/www-apps/trac/files/digest-trac-0.7 new file mode 100644 index 000000000000..2bf1e527ab27 --- /dev/null +++ b/www-apps/trac/files/digest-trac-0.7 @@ -0,0 +1 @@ +MD5 c512754b5c812bfab2c4ac5b77cf4fc2 trac-0.7.tar.gz 161831 diff --git a/www-apps/trac/files/digest-trac-0.7.1 b/www-apps/trac/files/digest-trac-0.7.1 new file mode 100644 index 000000000000..a892a809cabd --- /dev/null +++ b/www-apps/trac/files/digest-trac-0.7.1 @@ -0,0 +1 @@ +MD5 3175fb9e4b29c1284c3cd88db3c7f76a trac-0.7.1.tar.gz 168895 diff --git a/www-apps/trac/files/postinst-en.txt b/www-apps/trac/files/postinst-en.txt new file mode 100644 index 000000000000..0b463b7d05a7 --- /dev/null +++ b/www-apps/trac/files/postinst-en.txt @@ -0,0 +1,22 @@ +To complete the install, run this commands: + + trac-admin ${MY_HOSTROOT}/trac.db initdb + +To add security, create a password database. This command is for Apache; +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_DB ${MY_HOSTROOT}/trac.db + </Location> + <Location "/cgi-bin/trac.cgi/login"> + AuthType Basic + AuthName "trac" + AuthUserFile ${MY_HOSTROOT}/trac.passwd + Require valid-user + </Location> diff --git a/www-apps/trac/metadata.xml b/www-apps/trac/metadata.xml new file mode 100644 index 000000000000..0d59c319c3eb --- /dev/null +++ b/www-apps/trac/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>webapps</herd> +<maintainer> + <email>web-apps@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/www-apps/trac/trac-0.6.1.ebuild b/www-apps/trac/trac-0.6.1.ebuild new file mode 100644 index 000000000000..a77a302c155a --- /dev/null +++ b/www-apps/trac/trac-0.6.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.6.1.ebuild,v 1.1 2004/08/15 15:47:05 stuart Exp $ + +inherit 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="~x86 ~ppc" +IUSE="" + +inherit distutils + +DEPEND="$DEPEND + >=dev-lang/python-2.1 + >=dev-util/subversion-1.0.0 + >=dev-python/pysqlite-0.4.3 + >=dev-libs/clearsilver-0.9.3" + +DOCS="AUTHORS COPYING ChangeLog INSTALL PKG-INFO README RELEASE THANKS UPGRADE" + +src_install () { + 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 + + webapp_postinst_txt en ${FILESDIR}/postinst-en.txt + + # 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.7.1.ebuild b/www-apps/trac/trac-0.7.1.ebuild new file mode 100644 index 000000000000..64e6e49d14e9 --- /dev/null +++ b/www-apps/trac/trac-0.7.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.7.1.ebuild,v 1.1 2004/08/15 15:47:05 stuart 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="~x86" +IUSE="" + +DEPEND="$DEPEND + >=dev-lang/python-2.3 + >=dev-python/docutils + >=dev-python/pysqlite-0.4.3 + >=dev-libs/clearsilver-0.9.3 + >=app-text/silvercity + >=dev-util/subversion-1.0.3" + +DOCS="AUTHORS COPYING ChangeLog INSTALL PKG-INFO README RELEASE THANKS UPGRADE" + +src_install () { + 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 + + webapp_postinst_txt en ${FILESDIR}/${PV}-postinst-en.txt + + # 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.7.ebuild b/www-apps/trac/trac-0.7.ebuild new file mode 100644 index 000000000000..4fc996b6e0de --- /dev/null +++ b/www-apps/trac/trac-0.7.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.7.ebuild,v 1.1 2004/08/15 15:47:05 stuart Exp $ + +inherit 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="~x86 ~ppc ~sparc" +IUSE="" + +inherit distutils + +DEPEND="$DEPEND + >=dev-lang/python-2.1 + >=dev-util/subversion-1.0.0 + >=dev-python/pysqlite-0.4.3 + >=dev-libs/clearsilver-0.9.3" + +DOCS="AUTHORS COPYING ChangeLog INSTALL PKG-INFO README RELEASE THANKS UPGRADE" + +src_install () { + 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 + + webapp_postinst_txt en ${FILESDIR}/${PV}-postinst-en.txt + + # 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 +} |