--- trac-0.9.2.orig/debian/package-it +++ trac-0.9.2/debian/package-it @@ -0,0 +1,16 @@ +#!/bin/sh + +VERSION=$(dpkg-parsechangelog | grep Version | sed 's,^Version: \(.*\)\-.*$,\1,g') + +if [ ! -f ../trac_${VERSION}.orig.tar.gz ]; then + (cd .. ; svn export http://svn.edgewall.com/repos/trac/tags/trac-${VERSION} && \ + tar -czf trac_${VERSION}.orig.tar.gz trac-${VERSION} && \ + echo "Created trac_${VERSION}.orig.tar.gz") +fi + +[ ! -f ../trac-${VERSION} ] && (cd .. ; svn export http://svn.edgewall.com/repos/trac/tags/trac-${VERSION}) +[ -f ../trac-${VERSION}/debian ] && rm -rf ../trac-${VERSION}/debian +svn export --force . ../ +mv ../debian ../trac-${VERSION}/ + + --- trac-0.9.2.orig/debian/control +++ trac-0.9.2/debian/control @@ -0,0 +1,18 @@ +Source: trac +Section: web +Priority: optional +Build-Depends-Indep: debhelper (>= 4.0.0), python-dev (>= 2.4), cdbs +Maintainer: Jesus Climent +Uploaders: Otavio Salvador +Standards-Version: 3.6.2 + +Package: trac +Architecture: all +Depends: ${python:Depends}, python-clearsilver (>= 0.9.3), python-pysqlite2 | python-sqlite (>=0.4.3) | python2.4-psycopg, python2.4-subversion (>=0.37), subversion (>= 1.0.1) +Recommends: apache2 | httpd, python2.4-setuptools (>= 0.5a13) +Suggests: enscript, python-docutils, libapache2-mod-python +Description: Enhanced wiki and issue tracking system for software development projects + Trac uses a minimalistic approach to web-based software project management. + Our mission; to help developers write great software while staying out of + the way. Trac should impose as little as possible on a team's established + development process and policies. --- trac-0.9.2.orig/debian/compat +++ trac-0.9.2/debian/compat @@ -0,0 +1 @@ +5 --- trac-0.9.2.orig/debian/man/tracdb2env.1 +++ trac-0.9.2/debian/man/tracdb2env.1 @@ -0,0 +1,26 @@ +.\" You can view this file with: +.\" nroff -man [filename] +.\" +.TH tracdb2env 1 +.SH NAME +tracdb2env \- Tool to convert old Trac databases to Trac environments. +.Sh SYNOPSIS +.TP +\fBtracdb2env\fP <\fIdb-file\fP> <\fIenv-dir\fP> +.SH OVERVIEW + +Starting with version 0.7 Trac stores project specific information in project +environment directories instead of in database files. \fBtracdb2env\fP can extract +information from an old database file and insert that into a newly created +project environment directory. + +Trac is a minimalistic web-based software project management and bug/issue +tracking system. It provides an interface to the Subversion revision control +systems, an integrated wiki, flexible issue tracking and convenient report +facilities. + +Documentation for Trac in general, including detailed usage explanations +and tutorials can be be found in the Trac wiki at +http://trac.edgewall.com/. + +Run `tracdb2env -h' to access the built-in tool documentation. --- trac-0.9.2.orig/debian/man/tracd.1 +++ trac-0.9.2/debian/man/tracd.1 @@ -0,0 +1,24 @@ +.\" You can view this file with: +.\" nroff -man [filename] +.\" +.TH tracd 1 +.SH NAME +tracd \- Stand alone Trac HTTP server +.SH SYNOPSIS +.TP +\fBtracd\fP \fI[options]\fP <\fIprojenv\fP> [\fIprojenv\fP] ... +.SH OVERVIEW + +\fBtracd\fP is a simple stand alone Trac HTTP server. It can be used as an +alternative to using \fBtrac.cgi\fP with apache. + +Trac is a minimalistic web-based software project management and bug/issue +tracking system. It provides an interface to the Subversion revision control +systems, an integrated wiki, flexible issue tracking and convenient report +facilities. + +Documentation for tracd, Trac in general, including detailed usage explanations +and tutorials can be be found in the Trac wiki at +http://trac.edgewall.com/. + +Run `tracd -h' to access the built-in tool documentation. --- trac-0.9.2.orig/debian/man/trac-admin.1 +++ trac-0.9.2/debian/man/trac-admin.1 @@ -0,0 +1,20 @@ +.\" You can view this file with: +.\" nroff -man [filename] +.\" +.TH trac-admin 1 +.SH NAME +trac-admin \- Trac administration tool +.SH SYNOPSIS +.TP +\fBtrac-admin\fP \fI\fP [\fIcommand\fP [\fIsubcommand\fP] [\fIoption ...\fP]] +.SH OVERVIEW +Trac is a minimalistic web-based software project management and bug/issue +tracking system. It provides an interface to the Subversion revision control +systems, an integrated wiki, flexible issue tracking and convenient report +facilities. + +Documentation for Trac, including detailed usage explanations and +tutorials can be be found in the Trac wiki at +http://trac.edgewall.com/. + +Run `trac-admin help' to access the built-in tool documentation. --- trac-0.9.2.orig/debian/changelog +++ trac-0.9.2/debian/changelog @@ -0,0 +1,160 @@ +trac (0.9.2-1ubuntu1) dapper; urgency=low + + * Merge with Debian. + + -- Christian Bjälevik Tue, 13 Dec 2005 02:34:05 +0100 + +trac (0.9.2-1) unstable; urgency=high + + * New upstream release. + * Security update (urgency high), fixing: + - an SQL injection vulnerability in the search module. + - broken email ticket notifications. + + -- Jesus Climent Mon, 5 Dec 2005 19:36:02 +0000 + +trac (0.9.1-2) unstable; urgency=low + + * The new version solves upgrade problems from experimental + (Closes: #338122) + * Tras was relicensed as with a modified BSD license. Change "copyright" + accordingly. + * Added ${python:Depends} to handle dependencies. + * Compat updated to 5. + + -- Jesus Climent Thu, 1 Dec 2005 21:46:10 +0000 + +trac (0.9.1-1) unstable; urgency=HIGH + + * New upstream release + - Fix a SQL injection security bug. + + -- Otavio Salvador Thu, 1 Dec 2005 20:02:37 -0200 + +trac (0.9-1ubuntu1) dapper; urgency=low + + * Merge with Debian. + - We use python2.4. + + -- Christian Bjälevik Sat, 12 Nov 2005 12:37:34 +0100 + +trac (0.9-1) unstable; urgency=low + + * New upstream release + - 10_stolen_from_0.8-branch.patch: not need anymore. + - 11_fix_misleading_error.patch: not need anymore. + - Fix leak of temporary files; (Closes: #327803) + - Apache configuration snip was improved; (Closes: #327206) + * debian/control: + - Add recommends of python2.3-setuptools to support plugins; + - Add python2.3-pysqlite2 and python2.3-psycopg as alternatives to + python2.3-sqlite; + - Add suggests of libapache2-mod-python; + - Add depends of python2.3 package to leave lintain happy. + * debian/README.Debian: cite the need of a ready to use Subversion + repository to setup Trac environment. (Closes: #327205) + + -- Otavio Salvador Mon, 31 Oct 2005 18:02:30 -0200 + +trac (0.8.4-2) unstable; urgency=low + + * Add 10_stolen_from_0.8-branch.patch sync with r2041. + * Add 11_fix_misleading_error.patch. (Closes: #320926) + * Bumb Standards-Version to 3.6.2. + + -- Otavio Salvador Tue, 2 Aug 2005 07:18:11 -0300 + +trac (0.8.4-1ubuntu1) breezy; urgency=low + + * Resynchronise with Debian. + + -- Stephan Hermann Sun, 24 Jul 2005 12:21:52 +0200 + +trac (0.8.4-1) unstable; urgency=critical + + * New upstream release. + - Fixed file upload vulnerability. Trac could be tricked into uploading + files outside the environment directory. + + -- Otavio Salvador Sun, 19 Jun 2005 16:06:42 -0300 + +trac (0.8.3-1) unstable; urgency=low + + * New upstream release: + - 01_sync_from_0.8-branch.diff droped since all patches was included + on this release. + - Support Subversion 1.2 was add (Closes: #314200) + + -- Otavio Salvador Wed, 15 Jun 2005 19:57:06 -0300 + +trac (0.8.1-3) unstable; urgency=low + + * debian/patches/01_sync_from_0.8-branch.diff: + - Sync with r1520. This have all previous fixes and more. + + -- Otavio Salvador Sun, 17 Apr 2005 19:09:59 -0300 + +trac (0.8.1-2) unstable; urgency=low + + * debian/rules: + - Add support for patching in build process; + - Include contrib/ on doc directory. (Closes: #298969) + * debian/patches/01_sync_from_0.8-branch.diff: + - Added in sync with r1461. This include the fix for AssertionError + raised when visiting WikiRestructuredTextLinks after clean install + bug. (Closes: #301151) + + -- Otavio Salvador Tue, 29 Mar 2005 20:44:07 -0300 + +trac (0.8.1-1) unstable; urgency=low + + * debian/control: + - Add suggestion of enscript and python-docutils (Closes: #284094) + - Change debhelper build-dependencie to build-depends-indep and set it + to be (>= 4.0.0) + - Recommends a http server instead of depends of it (Closes: #294674) + * New upstream release (Closes: #298011) + + -- Otavio Salvador Sat, 5 Mar 2005 17:29:21 -0300 + +trac (0.8-1ubuntu1) hoary; urgency=low + + * Compiled against Python 2.4 for Ubuntu Hoary. + + -- Aaron Lake Tue, 1 Mar 2005 17:11:02 -0500 + +trac (0.8-1) unstable; urgency=low + + * New upstream release (Closes: #282010) + + -- Otavio Salvador Mon, 20 Dec 2004 22:49:48 -0200 + +trac (0.7.1-4) unstable; urgency=low + + * debian/control + - changed the order httpd<>apache2 + - added python as build-dependency (Closes: #270180) + + -- Jesus Climent Mon, 6 Sep 2004 09:06:28 +0000 + +trac (0.7.1-3) unstable; urgency=low + + * debian/control: Depends: changed to include virtual httpd (Closes: #267890) + + -- Jesus Climent Sat, 28 Aug 2004 17:48:55 +0300 + +trac (0.7.1-2) unstable; urgency=low + + * debian/control: + - Fixed typo (Closes: #266868) + + -- Jesus Climent Thu, 19 Aug 2004 17:03:39 +0000 + +trac (0.7.1-1) unstable; urgency=low + + * First package upload. + * Man pages taken from trunk. + + -- Jesus Climent Mon, 19 Jul 2004 12:01:17 +0000 + + --- trac-0.9.2.orig/debian/copyright +++ trac-0.9.2/debian/copyright @@ -0,0 +1,32 @@ +Trac is Copyright (C) 2003-2005 Edgewall Software + +Trac can be downloaded from: +http://projects.edgewall.com/trac/wiki/TracDownload + +Tras is licensed under a modified BSD license, which follows: + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS +OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --- trac-0.9.2.orig/debian/rules +++ trac-0.9.2/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_INSTALL_DOCS_ALL=$(filter-out $(DEB_INSTALL_CHANGELOGS_ALL),$(shell for f in contrib README RELEASE UPGRADE AUTHORS THANKS; do if test -s $(DEB_SRCDIR)/$$f; then echo $(DEB_SRCDIR)/$$f; fi; done)) + +clean:: + rm trac/__init__.pyc + +binary-post-install/trac:: + chmod 755 debian/trac/usr/lib/python2.4/site-packages/trac/test.py + chmod 644 debian/trac/usr/share/trac/htdocs/css/code.css + install -d debian/trac/usr/share/man/man1/ + install -m 644 debian/man/* debian/trac/usr/share/man/man1/ --- trac-0.9.2.orig/debian/README.debian +++ trac-0.9.2/debian/README.debian @@ -0,0 +1,102 @@ +Trac for Debian +--------------- + +This package, which was created initially by Jonas Borgstrom, has been updated +for Debian unstable by Jesus Climent on July the +22nd. + +Trac Installation Guide +======================= +The Trac web-based project management tool is implemented as a server side +cgi-program. Trac is written in the Python programming language and uses SQLite +as an embedded database. For HTML rendering, Trac uses the Clearsilver template +system. + +Creating a Project Environment +------------------------------ +Trac Environment is the backend storage format where Trac stores information +like wiki pages, tickets, reports, settings, etc. A Trac environment consist of +a directory containing an SQLite database, human-readable configuration file, +log-files and attachments. + +Before create a Trac environment, you need to have a Subversion +repository. This can be made with: + + $ mkdir /path/to/repos + $ svnadmin create /path/to/repos + +A new Trac environment is created with trac-admin: + + $ trac-admin /path/to/projectenv initenv + +NOTE: The web server user need write permission to the environment directory +and all the files inside. After creating the environment you would need to +execute "chown -R www-data /path/to/projectenv" if trac-admin was executed as +another user. + +trac-admin will ask you where your subversion repository is located and where +it can find the trac templates directory (the default value should be fine). + +Configuring Apache +------------------ +Copy (or symlink) "trac/cgi-bin/trac.cgi" to you web servers /cgi-bin/ +directory. You can also configure apache to use the "trac/cgi-bin/" directory +directly if you like, it's a matter of taste. + +Finally edit the apache config and add this config snippet, with filenams +edited to match your installation: + +Alias /trac/ "/usr/share/trac/htdocs/" #or where you installed the trac docs +#You have to allow people to read the files in htdocs + + Options Indexes MultiViews + AllowOverride None + Order allow,deny + Allow from all + + + +# Trac need to know where the database is located + + SetEnv TRAC_ENV "/path/to/projectenv" + + +# You need this to allow users to authenticate +# trac.htpasswd can be created with +# cmd 'htpasswd -c trac.htpasswd' (UNIX) +# do 'man htpasswd' to see all the options + + AuthType Basic + AuthName "trac" + AuthUserFile /somewhere/trac.htpasswd + Require valid-user + + +Note: When creating a new environment, trac-admin will print a config snippet +customized for your project. + +Using Trac +---------- +You should now have a working Trac installation at: + +http:///cgi-bin/trac.cgi + +There you should be able to browse your subversion repository, create tickets, +view the timeline etc. Keep in mind that anonymous users (not logged in) can +only access a restricted subset of all Trac features. + +Please continue to TracPermissions to learn how to grant additional privileges +to authenticated users. + +For further user-documentation, see TracGuide. + +Enjoy! + +/The Trac Team + +Please also consider joining the mailing list at +. + +Visit the Trac open source project at + +Jonas Borgstrom , Sat, 22 May 2004 20:49:22 +0200