--- request-tracker3.6-3.6.5.orig/debian/rt3.6-clients.README.Debian +++ request-tracker3.6-3.6.5/debian/rt3.6-clients.README.Debian @@ -0,0 +1,87 @@ +Notes for the Debian package rt3.6-clients. + +RT COMMAND-LINE TOOL +-------------------- + +The file /etc/request-tracker3.6/rt.conf should be edited to reflect the +server URL. + + +HTTPS +----- + +If you want mailgate or the RT CLI to talk HTTPS to the server rather +than plain HTTP, you need libio-socket-ssl-perl. + + +MAIL CONFIGURATION +------------------ + +Configure the mail gateway. You may need to cause your MTA to run the +aliases. Add the following lines to the mail aliases (/etc/aliases): + +rt: "|/usr/bin/rt-mailgate --queue General --action correspond --url " +rt-comment: "|/usr/bin/rt-mailgate --queue General --action comment --url " + +where is the base URL of your RT system, +e.g. https://rt.example.com/ or http://www.example.com/rt/. + +If you want your URL to be HTTPS, you need to install +libio-socket-ssl-perl too. + +If you are using exim4 you will probably need to manually turn on pipe +support. There are two options + 1- (using exim split config) + 2- (using exim monolithic config) + +(1) Create a file: + + # echo "SYSTEM_ALIASES_PIPE_TRANSPORT = address_pipe" >> /etc/exim4/conf.d/main/90_exim4-config_requesttracker + +(2) Do this: + + Edit the file /etc/exim4/exim4.conf.template and find the line "begin acl" + before this line, add: + +.ifndef SYSTEM_ALIASES_PIPE_TRANSPORT +SYSTEM_ALIASES_PIPE_TRANSPORT = address_pipe +.endif + +After both (1) and (2), you need to update and reload exim4: + + # /usr/sbin/update-exim4.conf + # /etc/init.d/exim4 reload + +If you are using Sendmail you will need to add rt-mailgate into the +/etc/mail/smrsh/ directory. Do something like: + +ln -s /usr/bin/rt-mailgate /etc/mail/smrsh/rt-mailgate + +The smrsh directory contains all the binaries that Sendmail is +permitted to run via the '|program' syntax in order to improve the +over all security of your system. See smrsh(8) for more details. + +Configuration hints for other MTAs are warmly appreciated! (Please +file wishlist bug-reports.) + +DEBUGGING DEFERRED DELIVERIES +----------------------------- + +If your mails are just getting deferred with temporary failures, running +rt-mailgate from the command line may help to pinpoint the problem. An +example where libio-socket-ssl-perl is missing: + + % echo 'From: ' | rt-mailgate --queue general --action correspond --url https://localhost/rt/ + An Error Occurred + ================= + + 501 Protocol scheme 'https' is not supported + (Crypt::SSLeay not installed) + + +This file was originally written by + +Stephen Quinney , Thu Sep 15 15:23:30 2005 + + -- Niko Tyni Mon, 27 Nov 2006 22:57:00 +0200 + --- request-tracker3.6-3.6.5.orig/debian/dirs +++ request-tracker3.6-3.6.5/debian/dirs @@ -0,0 +1,7 @@ +usr/bin +usr/sbin +usr/share/bug/request-tracker3.6 +usr/share/doc/request-tracker3.6 +usr/share/request-tracker3.6/libexec +etc/request-tracker3.6/upgrade +usr/share/lintian/overrides --- request-tracker3.6-3.6.5.orig/debian/prerm +++ request-tracker3.6-3.6.5/debian/prerm @@ -0,0 +1,18 @@ +#! /bin/sh + +set -e + +alts() { + for bin in /usr/bin/rt-crontool /usr/sbin/rt-setup-database \ + /usr/sbin/rt-dump-database; do + alt=`basename $bin` + update-alternatives --remove $alt $bin-3.6 + done +} + +case "$1" in + "remove") alts + ;; +esac + +#DEBHELPER# --- request-tracker3.6-3.6.5.orig/debian/install +++ request-tracker3.6-3.6.5/debian/install @@ -0,0 +1,3 @@ +debian/bug/* usr/share/bug/request-tracker3.6/ +debian/conf/*.pm etc/request-tracker3.6/ +etc/upgrade/* etc/request-tracker3.6/upgrade/ --- request-tracker3.6-3.6.5.orig/debian/README.build +++ request-tracker3.6-3.6.5/debian/README.build @@ -0,0 +1,10 @@ +Some oddities about building and patching this package: + +We use dpatch, the pristine-source patch system. Refer to +/usr/share/doc/dpatch/README.gz for further information about this. For +practical purposes, this means that your diff.gz must not contain any +diffs outside the debian/ directory; such things must be created as +patches and put in the debian/patches directory instead. + + + -- Stephen Quinney , Thu, 15 Sep 2005 14:30:16 +0100 --- request-tracker3.6-3.6.5.orig/debian/check-deps +++ request-tracker3.6-3.6.5/debian/check-deps @@ -0,0 +1,119 @@ +#! /usr/bin/perl +# +# check-deps -- verify that debian/deps matches the output from +# rt-test-dependencies + +# Return codes: +# 0 = okay +# 1 = module in debian/deps not required by RT +# 2 = version specified in debian/deps too low or unspecified +# 4 = module required by RT absent from debian/deps +# +# These are ORed together. Suggest aborting package build if check-deps +# returns 2 or more. + +use strict; +use warnings; + +my %test; + +sub packageName { + $_ = shift; + s/^/lib/; + s/$/-perl/; + s/::/-/g; + lc; +} + +sub verHigher { + return $_[0] > $_[1]; +} + +sub check { + my ($pkg, $ver) = @_; + print "Checking $pkg".($ver?" ($ver)":''). " ... "; + if (defined $test{$pkg}) { + $_ = $test{$pkg}; + delete $test{$pkg}; + if (defined $_->{'version'}) { + my $needs = "needs >= $_->{'version'} "; + if (!defined $ver) { + print $needs. "but we don't version !\n"; return 2; + } elsif (verHigher($_->{'version'}, $ver)) { + print $needs. "but we say $ver !\n"; return 2 + } else { + print "okay\n"; return 0; + } + } else { + print "okay\n"; return 0; + } + } else { + print "not required (?)\n"; return 1; + } +} + +sub depline { + my $ret = 0; + $_ = shift; + return 0 if /^\w+:\w+$/; # perllib:Depends etc. + my ($pkg, $ver); + if (/^([^\s#]+)(\s+\((.*)\))?/) { + ($pkg, $ver) = ($1, $3); + $ver =~ s/>=\s+// if defined $ver; + } + if (/#\s+(=)\s+(\S*)(\s+\((.*)\))?\s*/) { + my ($op, $mod, $xver) = ($1, $2, $4); + # print "Override ($op) ($mod) ". ($xver?$xver:'') . "\n"; + $ver = $xver if (defined $xver); + # Overrides (=) and extras (+) + my @mods = split /,/, $mod; + for (@mods) { + $ret |= check(packageName($_), $ver); + } + return 0; + } + return 0 unless $pkg; + $ret |= check($pkg, $ver); + return $ret; +} + +my @components = qw(mysql postgresql modperl1); + +my $cmdline = 'perl sbin/rt-test-dependencies ' . + (join ' ', map({"--with-".$_} @components)) + || die "Can't run rt-test-dependencies"; + +open(TEST, $cmdline."|"); + +while () { + if (/\s+(\S+)\s+([\d.]+)?\.\.\.(\S+)/) { + local %_; + ($_{'module'}, $_{'version'}, $_{'result'}) = ($1, $2, $3); + my $pkg = packageName($_{'module'}); +# print "($pkg) ($module) (" . ($version?$version:'') . ") ($result)\n"; + $test{$pkg} = \%_; + } +} + +close TEST; + +my $ret; + +my @depfiles = qw!debian/deps debian/rt3.6-clients.deps!; +my $depfile; + +foreach $depfile (@depfiles) { + open(DEPS, $depfile) || die "Can't open $depfile"; + while() { + $ret |= depline($_); + + } +} + +while ((my ($k, $ref)) = each %test) { + $ret |= 1; + print "Need $ref->{'module'} -- ". + $k.($ref->{'version'} ? " (>= $ref->{'version'})" : '')." !\n"; +} + +exit $ret; --- request-tracker3.6-3.6.5.orig/debian/postrm +++ request-tracker3.6-3.6.5/debian/postrm @@ -0,0 +1,15 @@ +#! /bin/sh + +set -e + +#DEBHELPER# + +# /var/cache is where we keep cached data +# Also remove /var/log/request-tracker3.6 for tidiness. + +case "$1" in + "purge") rm -rf \ + /var/cache/request-tracker3.6/ \ + /var/log/request-tracker3.6/ + ;; +esac --- request-tracker3.6-3.6.5.orig/debian/docs +++ request-tracker3.6-3.6.5/debian/docs @@ -0,0 +1,3 @@ +README +docs/* +debian/NOTES.Debian --- request-tracker3.6-3.6.5.orig/debian/whatis +++ request-tracker3.6-3.6.5/debian/whatis @@ -0,0 +1,5 @@ +bin/rt-mailgate(1) Mail gateway for Request Tracker +bin/rt-crontool(1) Command-line interface to Request Tracker +sbin/rt-setup-database(8) Set-up the database for Request Tracker +sbin/rt-dump-database(8) dump the Request Tracker database +bin/rt(1) Command-line interface to Request Tracker --- request-tracker3.6-3.6.5.orig/debian/rt3.6-clients.postinst +++ request-tracker3.6-3.6.5/debian/rt3.6-clients.postinst @@ -0,0 +1,31 @@ +#!/bin/sh +set -e + +OLDCONF=/etc/rt.conf +NEWCONF=/etc/request-tracker3.6/rt.conf + +if [ -f "$OLDCONF" ] && [ ! -f "$NEWCONF" ]; then + echo "Found $OLDCONF; moving it to $NEWCONF" + mv "$OLDCONF" "$NEWCONF" +fi + +alts() { + update-alternatives --install /usr/bin/rt rt /usr/bin/rt-3.6 260 \ + --slave /usr/share/man/man1/rt.1.gz rt.1.gz \ + /usr/share/man/man1/rt-3.6.1.gz + update-alternatives --install \ + /usr/bin/rt-mailgate rt-mailgate /usr/bin/rt-mailgate-3.6 260 \ + --slave /usr/share/man/man1/rt-mailgate.1.gz rt-mailgate.1.gz \ + /usr/share/man/man1/rt-mailgate-3.6.1.gz +} + +case "$1" in + configure) + alts + ;; + abort-upgrade) + alts + ;; +esac + +#DEBHELPER# --- request-tracker3.6-3.6.5.orig/debian/rt3.6-clients.install +++ request-tracker3.6-3.6.5/debian/rt3.6-clients.install @@ -0,0 +1,2 @@ +debian/bug/presubj usr/share/bug/rt3.6-clients +debian/conf/rt.conf etc/request-tracker3.6/ --- request-tracker3.6-3.6.5.orig/debian/rules +++ request-tracker3.6-3.6.5/debian/rules @@ -0,0 +1,136 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +VER=3.6 + +DEBIAN=$(CURDIR)/debian + +RT3 = request-tracker$(VER) +CLIENTS = rt$(VER)-clients + +RT3_PKG = $(DEBIAN)/$(RT3) +CLIENTS_PKG = $(DEBIAN)/$(CLIENTS) + +RT3_BUGDIR = $(RT3_PKG)/usr/share/bug/$(RT3) +CLIENTS_BUGDIR = $(CLIENTS_PKG)/usr/share/bug/$(CLIENTS) + +build: patch build-stamp + +build-stamp: configure + dh_testdir + + # Although there's a configure stage, we have no make step. + + chmod u+x ./configure + ./configure \ + --enable-layout=Debian \ + --with-rt-group=root \ + --with-web-user=www-data \ + --with-web-group=www-data \ + --with-libs-group=root \ + --with-db-type=Pg \ + --with-db-dba=postgres \ + --with-speedycgi=/usr/bin/speedy + + mkdir man + perl debian/fix-whatis < debian/whatis + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + rm -f config.log config.status config.pld + # Remove automatically generated files + find . -name '*.in' -print | perl -ne 'chomp; s/\.in$$//; unlink' + rm -rf man + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(RT3_PKG) + rm -rf $(RT3_PKG)/usr/share/$(RT3)/lib/t/ + rm -rf $(RT3_PKG)/usr/bin/mason_handler.svc + rm -rf $(RT3_PKG)/usr/sbin/rt-test-dependencies + + for x in webmux.pl mason_handler.fcgi mason_handler.scgi; do \ + mv $(RT3_PKG)/usr/bin/$$x $(RT3_PKG)/usr/share/$(RT3)/libexec/; \ + done +# mv $(RT3_PKG)/usr/bin/standalone_httpd \ +# $(RT3_PKG)/usr/bin/rt-standalone_httpd + rm $(RT3_PKG)/usr/bin/standalone_httpd + dh_install + + +test: + perl debian/check-deps + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_usrlocal + dh_installchangelogs Changelog + dh_installdocs + dh_installexamples bin/mason_handler.svc bin/standalone_httpd + dh_installman man/* + dh_installlogcheck + cd $(RT3_PKG) && perl $(DEBIAN)/move-alts $(VER) \ + $(DEBIAN)/alts $(DEBIAN)/$(CLIENTS).alts +# for x in usr/bin/rt-crontool /usr/sbin/rt-setup-database; do \ +# mv $(RT3_PKG)/$$x $(RT3_PKG)/$$x-$(VER); \ +# done +# for x in usr/bin/rt /usr/bin/rt-mailgate; do \ +# mv $(RT3_PKG)/$$x $(CLIENTS_PKG)/$$x-$(VER); \ +# done +# mv $(RT3_PKG)/usr/share/man/man1/rt-mailgate.1 \ +# $(CLIENTS_PKG)/usr/share/man/man1/rt-mailgate-3.0.1 + dh_movefiles --sourcedir=debian/$(RT3) + dh_link + dh_strip + dh_compress + dh_fixperms + find $(RT3_PKG)/etc -type f -print0 | xargs -0 chmod a-x + # Fix permissions for Mason files + find $(RT3_PKG)/usr/share/$(RT3)/html -type f -print0 | xargs -0 --no-run-if-empty chmod 0644 + # Ensure that the stuff in libexec is executable by everyone + find $(RT3_PKG)/usr/share/$(RT3)/libexec -type f -print0 | xargs -0 --no-run-if-empty chmod 0755 + # Remove any leftover .in files + find $(RT3_PKG)/usr/share/$(RT3)/lib -type f -name '*.in' -print0 | xargs -0 --no-run-if-empty rm + # Fix permissions for Perl modules + find $(RT3_PKG)/usr/share/$(RT3)/lib -type f -print0 | xargs -0 --no-run-if-empty chmod 0644 + + # This file has a password in it + chmod 600 $(RT3_PKG)/etc/$(RT3)/RT_SiteConfig.pm + install -m 644 debian/lintian-overrides $(RT3_PKG)/usr/share/lintian/overrides/$(RT3) + + chmod 755 $(RT3_PKG)/usr/share/bug/$(RT3)/script + find $(RT3_PKG)/var/cache/$(RT3)/ -type d -print0 | xargs --null chown www-data:root + find $(RT3_PKG)/var/cache/$(RT3)/ -type d -print0 | xargs --null chmod 2750 + + chown www-data:www-data $(RT3_PKG)/var/log/$(RT3)/ + chmod 2755 $(RT3_PKG)/var/log/$(RT3)/ + dh_perl + dh_usrlocal + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install test --- request-tracker3.6-3.6.5.orig/debian/conf/apache2-speedycgi.conf +++ request-tracker3.6-3.6.5/debian/conf/apache2-speedycgi.conf @@ -0,0 +1,32 @@ +# To use RT together with SpeedyCGI, available in the +# speedy-cgi-perl package, include this file with: +# +# Include /etc/request-tracker3.6/apache2-speedycgi.conf +# +# into your Apache configuration file, or symlink it into +# /etc/apache2/conf.d. +# +# You can also use libapache2-mod-speedycgi to get a further +# speed optimization, but its configuration is not covered here. +# + +# Note that you will need to make readable the file +# /etc/request-tracker3.6/RT_SiteConfig.pm for the www-data user. +# +# If you allow users to run php or cgi scripts as the www-data user +# this might result in you effectively letting them know your rt +# database password and username. + +# You might want to enable this line +# AddDefaultCharset UTF-8 + +# We use this to prevent requests for images being sent through to +# the RT::Mason handler. +Alias /rt/NoAuth/images /usr/share/request-tracker3.6/html/NoAuth/images + +# Handle everything else with this +ScriptAlias /rt /usr/share/request-tracker3.6/libexec/mason_handler.scgi + + + DirectoryIndex index.html + --- request-tracker3.6-3.6.5.orig/debian/conf/apache2-fastcgi.conf +++ request-tracker3.6-3.6.5/debian/conf/apache2-fastcgi.conf @@ -0,0 +1,39 @@ +# To use RT together with mod_fastcgi, available in the +# libapache2-mod-fastcgi package, include this file with: +# +# Include /etc/request-tracker3.6/apache2-fastcgi.conf +# +# into your Apache configuration file, or symlink it into +# /etc/apache2/conf.d. +# +# Note that if you use virtual hosts, you may have +# to split these directives as the FastCgiServer directive +# can only be specified in the 'server config' context. +# + +# Note that you will need to make readable the file +# /etc/request-tracker3.6/RT_SiteConfig.pm for the www-data user. +# +# If you allow users to run php or cgi scripts as the www-data user +# this might result in you effectively letting them know your rt +# database password and username. + +# You might want to enable this line +# AddDefaultCharset UTF-8 + +# These are set properly by the libapache2-mod-fastcgi package +# AddHandler fastcgi-script fcgi +# FastCgiIpcDir /var/run/fastcgi + +# Tell FastCGI to trigger on the handler +FastCgiServer /usr/share/request-tracker3.6/libexec/mason_handler.fcgi + +# Bypass FastCGI for images +Alias /rt/NoAuth/images /usr/share/request-tracker3.6/html/NoAuth/images + +# Use the handler for everything else +ScriptAlias /rt /usr/share/request-tracker3.6/libexec/mason_handler.fcgi + + + DirectoryIndex index.html + --- request-tracker3.6-3.6.5.orig/debian/conf/RT_SiteConfig.pm +++ request-tracker3.6-3.6.5/debian/conf/RT_SiteConfig.pm @@ -0,0 +1,34 @@ +# RT_SiteConfig.pm +# +# These are the bits you absolutely *must* edit. +# +# To find out how, please read +# /usr/share/doc/request-tracker3.6/NOTES.Debian + +# THE BASICS: + +Set($rtname, 'i.recommend.you.use.your.fqdn'); +Set($Organization, 'my.domain.com'); + +Set($CorrespondAddress , 'rt@my.domain.com'); +Set($CommentAddress , 'rt-comment@my.domain.com'); + +Set($Timezone , 'Europe/London'); # obviously choose what suits you + +# THE DATABASE: + +Set($DatabaseType, 'Pg'); # e.g. Pg or mysql + +# These are the settings we used above when creating the RT database, +# you MUST set these to what you chose in the section above. + +Set($DatabaseUser , 'rtuser'); +Set($DatabasePassword , 'wibble'); +Set($DatabaseName , 'rtdb'); + +# THE WEBSERVER: + +Set($WebPath , "/rt"); +Set($WebBaseURL , "http://my.domain.com"); + +1; --- request-tracker3.6-3.6.5.orig/debian/conf/apache2-fcgid.conf +++ request-tracker3.6-3.6.5/debian/conf/apache2-fcgid.conf @@ -0,0 +1,31 @@ +# To use RT together with mod_fcgid, available in the +# libapache-mod-fcgid package, include this file with: +# +# Include /etc/request-tracker3.6/apache2-fcgid.conf +# +# into your Apache configuration file, or symlink it into +# /etc/apache2/conf.d. +# + +# Note that you will need to make readable the file +# /etc/request-tracker3.6/RT_SiteConfig.pm for the www-data user. +# +# If you allow users to run php or cgi scripts as the www-data user +# this might result in you effectively letting them know your rt +# database password and username. + +# You might want to enable this line +# AddDefaultCharset UTF-8 + +# This is set by the libapache2-mod-fcgid package +# AddHandler fcgid-script .fcgi + +# Bypass FastCGI for images +Alias /rt/NoAuth/images /usr/share/request-tracker3.6/html/NoAuth/images + +# Use the handler for everything else +ScriptAlias /rt /usr/share/request-tracker3.6/libexec/mason_handler.fcgi + + + DirectoryIndex index.html + --- request-tracker3.6-3.6.5.orig/debian/conf/apache2-modperl2.conf +++ request-tracker3.6-3.6.5/debian/conf/apache2-modperl2.conf @@ -0,0 +1,48 @@ +# To use RT together with mod_perl2, available in the +# libapache2-mod-perl2 package, include this file with: +# +# Include /etc/request-tracker3.6/apache2-modperl2.conf +# +# into your Apache configuration file, in a virtual host section. + +# You will need to enable the Apache modules: perl, actions, rewrite +# +# The best place for this in the Debian Apache2 default situation is +# near the end of the VirtualHost section in the file +# /etc/apache2/sites-available/default. + +# You might want to enable this line +# AddDefaultCharset UTF-8 + +PerlModule Apache2::RequestRec Apache2::compat +PerlModule Apache::DBI +PerlRequire /usr/share/request-tracker3.6/libexec/webmux.pl +PerlSetVar MasonArgsMethod CGI + +# Normally a request for a directory will be rewritten to index.html +# (or similar) by default if that file exists. For some reason this does +# not happen with the handler being set to perl-script. We thus have to +# do it ourselves using mod_rewrite. + +RewriteEngine on + +# You might need to alter these two lines which refer to /rt to match +# whatever base URL you are using for your rt3 site. + +RewriteRule ^/rt$ /rt/ +RewriteRule ^/rt/(.*)$ /usr/share/request-tracker3.6/html/$1 +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule ^(/usr/share/request-tracker3.6/html.*)/$ $1/index.html + +# We need this to prevent requests for images being sent through to +# the RT::Mason handler. + + + SetHandler default-handler + + + + SetHandler perl-script + PerlHandler RT::Mason + + --- request-tracker3.6-3.6.5.orig/debian/conf/RT_SiteModules.pm +++ request-tracker3.6-3.6.5/debian/conf/RT_SiteModules.pm @@ -0,0 +1 @@ +1; --- request-tracker3.6-3.6.5.orig/debian/conf/rt.conf +++ request-tracker3.6-3.6.5/debian/conf/rt.conf @@ -0,0 +1,3 @@ +# This file is for the command-line client, /usr/bin/rt. + +server http://localhost/rt --- request-tracker3.6-3.6.5.orig/debian/rt3.6-clients.prerm +++ request-tracker3.6-3.6.5/debian/rt3.6-clients.prerm @@ -0,0 +1,16 @@ +#! /bin/sh + +set -e + +alts() { + update-alternatives --remove rt /usr/bin/rt-3.6 + update-alternatives --remove rt-mailgate /usr/bin/rt-mailgate-3.6 +} + +case "$1" in + remove) + alts + ;; +esac + +#DEBHELPER# --- request-tracker3.6-3.6.5.orig/debian/fix-whatis +++ request-tracker3.6-3.6.5/debian/fix-whatis @@ -0,0 +1,113 @@ +#! /usr/bin/perl +# +# add-whatis: Add a short description to POD entry for whatis parsing +# +# -- Andrew Stribblehill 2003-04-10 + +use warnings; +use strict; +use Pod::Man; +use IO::File; + +{ package WhatisPreprocessor; + + sub new { + my ($self, $filename, $module, $desc) = @_; + my $fh = new IO::File("<$filename") or return 0; + return bless { state => "_pre", input => $fh, + module => $module, desc => $desc}, $self; + } + + sub getline { + my $self = shift; + my $fh = $self->{input}; + + unless ($self->{pause}) { + $_ = $fh->getline; + } else { + $_ = $self->{pause}; + } + + return undef if (!defined $_); + + return $_ if /^\s*$/; + # Terminal states don't begin with _ + #return $_ if ($self->{state} !~ /^_/); + + BLOCK: { + if ($self->{state} eq "_pre") { + if (/^=head1 NAME/) { + $self->{state} = "_pad"; + $self->{pause} = $_; + $_ = "\n"; # Euw + } + } elsif ($self->{state} eq "_pad") { + $self->{pause} = 0; + $self->{state} = "_head1"; + } elsif ($self->{state} eq "_head1") { + if (/(\S+)\s+-+\s+(.*)/) { + $self->{state} = "tidied"; $_="$1 - $2\n"; + $self->{whatis} = chomp; + } + if (/(\S+)$/) {$self->{state} = "_active"; redo;} + } elsif ($self->{state} eq "_active") { + if ($self->{desc}) { + $self->{state} = "overwrote"; + $_ = "$self->{module} - $self->{desc}\n"; + $self->{whatis} = $_; + } else { + $self->{state} = "default"; + $_ = "$self->{module} - Request Tracker internal module\n"; + $self->{whatis} = $_; + } + } + } +# print $_; + return $_; + } + + sub bad_manpage { + return ($_[0]->{state} =~ m/^_/); + } + + sub close { + close $_[0]->{input}; + } +} + +sub file2name { + $_ = shift; + if (s/\.pm$//) { + # Special module code + s(^lib/)(); + s(/)(::)g; + } else { + s(^.*/)(); + } + return $_; +} + +while (<>) { + chomp; + my ($file, $desc) = split /\s+/, $_, 2; + my $mansect = "3pm"; + ($file, $mansect) = ($1, $2) if $file =~ m/^(\S+)\((\w+)\)$/; + my $name = file2name($file); + my $man = "man/$name.$mansect"; + open MAN, ">$man"; + + my $filter = WhatisPreprocessor->new($file, $name, $desc); + my $pod = Pod::Man->new(section => $mansect, + center => "Request Tracker Reference", + name => $name); + $pod->parse_from_filehandle($filter, \*MAN); + print while ($filter->getline); + #print STDERR "$file -> $man: $filter->{state}\n"; + if ($filter->bad_manpage) { + print STDERR " Bad manpage $man: deleting!\n"; + unlink $man; + } else { + print STDERR "$filter->{whatis}"; + } + $filter->close; +} --- request-tracker3.6-3.6.5.orig/debian/patches/13_webmux_path.dpatch +++ request-tracker3.6-3.6.5/debian/patches/13_webmux_path.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 13_webmux_path.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad trunk~/bin/mason_handler.fcgi.in trunk/bin/mason_handler.fcgi.in +--- trunk~/bin/mason_handler.fcgi.in 2006-08-22 23:10:40.000000000 -0400 ++++ trunk/bin/mason_handler.fcgi.in 2006-08-27 23:59:42.000000000 -0400 +@@ -49,7 +49,7 @@ + use strict; + use vars '$Handler'; + use File::Basename; +-require ('@RT_BIN_PATH@/webmux.pl'); ++require ('/usr/share/request-tracker3.6/libexec/webmux.pl'); + + # Enter CGI::Fast mode, which should also work as a vanilla CGI script. + require CGI::Fast; +diff -urNad trunk~/bin/mason_handler.scgi.in trunk/bin/mason_handler.scgi.in +--- trunk~/bin/mason_handler.scgi.in 2006-08-22 23:10:40.000000000 -0400 ++++ trunk/bin/mason_handler.scgi.in 2006-08-27 23:59:42.000000000 -0400 +@@ -48,7 +48,7 @@ + + use strict; + use vars '$Handler'; +-require ('@RT_BIN_PATH@/webmux.pl'); ++require ('/usr/share/request-tracker3.6/libexec/webmux.pl'); + + require CGI; + --- request-tracker3.6-3.6.5.orig/debian/patches/40_encoding.dpatch +++ request-tracker3.6-3.6.5/debian/patches/40_encoding.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 40_encoding.dpatch by Niko Tyni +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix double UTF-8 encoding in the web interface. (#416474) + +@DPATCH@ +diff -urNad rt-3.6.3~/lib/RT/Attachment_Overlay.pm rt-3.6.3/lib/RT/Attachment_Overlay.pm +--- rt-3.6.3~/lib/RT/Attachment_Overlay.pm 2006-09-26 18:06:31.000000000 +0300 ++++ rt-3.6.3/lib/RT/Attachment_Overlay.pm 2007-05-23 23:39:39.000000000 +0300 +@@ -289,7 +289,7 @@ + return( $self->loc("Unknown ContentEncoding [_1]", $self->ContentEncoding)); + } + +- Encode::_utf8_on($content); ++ # Encode::_utf8_on($content); + if (!$enc || $enc eq '' || $enc eq 'utf8' || $enc eq 'utf-8') { + # If we somehow fail to do the decode, at least push out the raw bits + eval {return( Encode::decode_utf8($content))} || return ($content); --- request-tracker3.6-3.6.5.orig/debian/patches/10_rt_confdir.dpatch +++ request-tracker3.6-3.6.5/debian/patches/10_rt_confdir.dpatch @@ -0,0 +1,29 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_rt_confdir.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad trunk~/bin/rt.in trunk/bin/rt.in +--- trunk~/bin/rt.in 2007-05-23 22:55:33.000000000 +0300 ++++ trunk/bin/rt.in 2007-05-23 22:55:34.000000000 +0300 +@@ -1268,7 +1268,7 @@ + } + + # Still nothing? We'll fall back to some likely defaults. +- for ("$HOME/$rc", "/etc/rt.conf") { ++ for ("$HOME/$rc", "@RT_ETC_PATH@/rt.conf") { + return parse_config_file($_) if (-r $_); + } + } +@@ -1536,7 +1536,8 @@ + The program looks for configuration directives in a file named .rtrc + (or $RTCONFIG; see below) in the current directory, and then in more + distant ancestors, until it reaches /. If no suitable configuration +- files are found, it will also check for ~/.rtrc and /etc/rt.conf. ++ files are found, it will also check for ~/.rtrc and ++ @RT_ETC_PATH@/rt.conf. + + Configuration directives: + --- request-tracker3.6-3.6.5.orig/debian/patches/05_spamassassin.dpatch +++ request-tracker3.6-3.6.5/debian/patches/05_spamassassin.dpatch @@ -0,0 +1,24 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_spamassassin.dpatch by Stephen Quinney +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad trunk~/lib/RT/Interface/Email/Filter/SpamAssassin.pm trunk/lib/RT/Interface/Email/Filter/SpamAssassin.pm +--- trunk~/lib/RT/Interface/Email/Filter/SpamAssassin.pm 2006-08-22 23:10:40.000000000 -0400 ++++ trunk/lib/RT/Interface/Email/Filter/SpamAssassin.pm 2006-08-24 23:40:35.000000000 -0400 +@@ -46,7 +46,12 @@ + package RT::Interface::Email::Filter::SpamAssassin; + + use Mail::SpamAssassin; +-my $spamtest = Mail::SpamAssassin->new(); ++my $spamtest = Mail::SpamAssassin->new ++ ( ++ {userprefs_filename => $RT::EtcPath . '/spamassassin.prefs', ++ dont_copy_prefs => 1, ++ } ++ ); + + sub GetCurrentUser { + my %args = ( --- request-tracker3.6-3.6.5.orig/debian/patches/00list +++ request-tracker3.6-3.6.5/debian/patches/00list @@ -0,0 +1,11 @@ +01_layout +02_acls +03_help +04_sitemodules +05_spamassassin +08_postgres_acls +09_commandline +10_rt_confdir +13_webmux_path +15_content_transfer_enc +40_encoding --- request-tracker3.6-3.6.5.orig/debian/patches/03_help.dpatch +++ request-tracker3.6-3.6.5/debian/patches/03_help.dpatch @@ -0,0 +1,185 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 03_help.dpatch by Stephen Quinney , Niko Tyni +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad trunk~/bin/rt-crontool.in trunk/bin/rt-crontool.in +--- trunk~/bin/rt-crontool.in 2006-08-22 23:10:40.000000000 -0400 ++++ trunk/bin/rt-crontool.in 2006-08-24 23:35:33.000000000 -0400 +@@ -44,6 +44,44 @@ + # those contributions and any derivatives thereof. + # + # END BPS TAGGED BLOCK }}} ++ ++=head1 NAME ++ ++rt-crontool - Command-line interface to Request Tracker ++ ++=head1 SYNOPSIS ++ ++ rt-crontool [--verbose] --search --search-arg \ ++ --condition --condition-arg \ ++ --action --action-arg ++ ++=head1 EXAMPLES ++ ++ rt-crontool --search RT::Search::ActiveTicketsInQueue \ ++ --search-arg General \ ++ --condition RT::Condition::UntouchedInHours \ ++ --condition-arg 4 \ ++ --action RT::Action::SetPriority \ ++ --action-arg \ ++ --verbose ++ ++=head1 SECURITY ++ ++This tool allows the user to run arbitrary perl modules from within RT. ++ ++If this tool were setgid, a hostile local user could use this tool to ++gain administrative access to RT. ++ ++It is suggested that you create a non-privileged Unix user with the ++correct group membership and RT access to run this tool. ++ ++It is incredibly important that non-privileged users not be allowed to ++run this tool. ++ ++=head1 INTERNALS ++ ++=cut ++ + use strict; + use Carp; + +diff -urNad trunk~/bin/rt.in trunk/bin/rt.in +--- trunk~/bin/rt.in 2006-08-22 23:10:40.000000000 -0400 ++++ trunk/bin/rt.in 2006-08-24 23:35:33.000000000 -0400 +@@ -44,6 +44,43 @@ + # those contributions and any derivatives thereof. + # + # END BPS TAGGED BLOCK }}} ++=head1 NAME ++ ++rt - a command-line interface to Request Tracker @RT_VERSION_MAJOR@.@RT_VERSION_MINOR@ ++ ++=head1 SYNOPSIS ++ ++B I [ I ] [ I ] ++ ++=head1 DESCRIPTION ++ ++B allows you to interact with a Request Tracker server over HTTP, ++and offers an interface to RT's functionality that is better-suited to ++automation and integration with other tools. ++ ++In general, each invocation of the program should specify an action to ++perform on one or more objects, and any other arguments required to ++complete the desired action. ++ ++Run C to access the builtin documentation. ++ ++=head1 AUTHOR ++ ++Designed and implemented for Best Practical Solutions, LLC by ++Abhijit Menon-Sen ++ ++=head1 BUGS ++ ++THIS IS AN UNSUPPORTED PREVIEW RELEASE. PLEASE REPORT BUGS TO rt-bugs@fsck.com ++ ++=head1 NOTES ++ ++This manual page was created from C output for Debian ++GNU/Linux by Niko Tyni , since the original program does ++not have one. ++ ++=cut ++ + # Designed and implemented for Best Practical Solutions, LLC by + # Abhijit Menon-Sen + +diff -urNad trunk~/sbin/rt-dump-database.in trunk/sbin/rt-dump-database.in +--- trunk~/sbin/rt-dump-database.in 2006-08-22 23:10:40.000000000 -0400 ++++ trunk/sbin/rt-dump-database.in 2006-08-24 23:35:33.000000000 -0400 +@@ -44,6 +44,38 @@ + # those contributions and any derivatives thereof. + # + # END BPS TAGGED BLOCK }}} ++ ++=head1 NAME ++ ++rt-dump-database - dump the Request Tracker database ++ ++=head1 SYNOPSIS ++ ++B [ 0 ] ++ ++=head1 DESCRIPTION ++ ++B is a tool that dumps the Request Tracker database ++into XML format, suitable for feeding into B. ++ ++When run without arguments, the database dump will only include 'local' ++configuration changes, ie. those done manually in the web interface. ++ ++When run with the argument '0', the dump will include all configuration ++metadata. ++ ++=head1 NOTE ++ ++This manual page was written for Debian GNU/Linux by Niko Tyni ++, since the original program does not have one. ++ ++=head1 BUGS ++ ++The author of this manual page may well have misunderstood what 'local' ++configuration changes mean. Use the source, Luke. ++ ++=cut ++ + use strict; + + use lib "@LOCAL_LIB_PATH@"; +diff -urNad trunk~/sbin/rt-setup-database.in trunk/sbin/rt-setup-database.in +--- trunk~/sbin/rt-setup-database.in 2006-08-22 23:10:40.000000000 -0400 ++++ trunk/sbin/rt-setup-database.in 2006-08-24 23:35:33.000000000 -0400 +@@ -44,6 +44,37 @@ + # those contributions and any derivatives thereof. + # + # END BPS TAGGED BLOCK }}} ++ ++=head1 NAME ++ ++rt-setup-database - Set up RT's database ++ ++=head1 SYNOPSIS ++ ++ rt-setup-database --action init|drop|insert [--datafile ] \ ++ --dba --prompt-for-dba-password|--dba-password ++ ++=head1 OPTIONS ++ ++ action: init Initialize the database ++ drop Drop the database. ++ This will ERASE ALL YOUR DATA ++ insert Insert data into RT's database. ++ By default, will use RT's installation data. ++ To use a local or supplementary datafile, specify it ++ using the '--datafile' option below. ++ ++ datafile: /path/to/datafile ++ ++ dba: dba's username ++ dba-password: dba's password ++ prompt-for-dba-password Ask for the database administrator's ++ password interactively ++ ++=head1 INTERNALS ++ ++=cut ++ + use strict; + use vars qw($PROMPT $VERSION $Handle $Nobody $SystemUser $item); + use vars --- request-tracker3.6-3.6.5.orig/debian/patches/04_sitemodules.dpatch +++ request-tracker3.6-3.6.5/debian/patches/04_sitemodules.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_sitemodules.dpatch by Stephen Quinney +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad trunk~/lib/RT/Interface/Web/Handler.pm trunk/lib/RT/Interface/Web/Handler.pm +--- trunk~/lib/RT/Interface/Web/Handler.pm 2007-05-23 22:52:35.000000000 +0300 ++++ trunk/lib/RT/Interface/Web/Handler.pm 2007-05-23 22:56:02.000000000 +0300 +@@ -53,6 +53,7 @@ + use Time::HiRes; + use HTML::Entities; + use HTML::Scrubber; ++require "$RT::EtcPath/RT_SiteModules.pm" if -e "$RT::EtcPath/RT_SiteModules.pm"; + use RT::Interface::Web::Handler; + use File::Path qw( rmtree ); + use File::Glob qw( bsd_glob ); --- request-tracker3.6-3.6.5.orig/debian/patches/09_commandline.dpatch +++ request-tracker3.6-3.6.5/debian/patches/09_commandline.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 09_commandline.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad trunk~/bin/rt.in trunk/bin/rt.in +--- trunk~/bin/rt.in 2007-05-23 22:55:32.000000000 +0300 ++++ trunk/bin/rt.in 2007-05-23 22:55:33.000000000 +0300 +@@ -905,6 +905,7 @@ + # a blank line, and arbitrary text. + + my ($head, $text) = split /\n\n/, $res->content, 2; ++ $head =~ s/^\s+//; + my ($status, @headers) = split /\n/, $head; + $text =~ s/\n*$/\n/ if ($text); + --- request-tracker3.6-3.6.5.orig/debian/patches/02_acls.dpatch +++ request-tracker3.6-3.6.5/debian/patches/02_acls.dpatch @@ -0,0 +1,44 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_acls.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad trunk~/etc/acl.Pg trunk/etc/acl.Pg +--- trunk~/etc/acl.Pg 2006-08-22 23:10:40.000000000 -0400 ++++ trunk/etc/acl.Pg 2006-08-24 23:30:24.000000000 -0400 +@@ -52,10 +52,12 @@ + my @row = + $dbh->selectrow_array( "select usename from pg_user where usename = '" . $RT::DatabaseUser."'" ); + if ( $row[0] ) { +- push @acls, "drop user ${RT::DatabaseUser};",; ++ warn "WARNING! Postgres user ${RT::DatabaseUser} already exists."; ++ #push @acls, "drop user ${RT::DatabaseUser};",; ++ } else { ++ push @acls, "create user ${RT::DatabaseUser} with password '${RT::DatabasePassword}' NOCREATEDB NOCREATEUSER;"; + } + +- push @acls, "create user ${RT::DatabaseUser} with password '${RT::DatabasePassword}' NOCREATEDB NOCREATEUSER;"; + foreach my $table (@tables) { + push @acls, + "GRANT SELECT, INSERT, UPDATE, DELETE ON $table to " +diff -urNad trunk~/etc/acl.mysql trunk/etc/acl.mysql +--- trunk~/etc/acl.mysql 2006-08-22 23:10:40.000000000 -0400 ++++ trunk/etc/acl.mysql 2006-08-24 23:30:24.000000000 -0400 +@@ -1,9 +1,9 @@ + sub acl { +-return () if !$RT::DatabaseUser or $RT::DatabaseUser eq 'root'; +-return ( +-"USE mysql;", +-"DELETE FROM user WHERE user = '${RT::DatabaseUser}';", +-"DELETE FROM db where db = '${RT::DatabaseName}';", +-"GRANT SELECT,INSERT,CREATE,INDEX,UPDATE,DELETE ON ${RT::DatabaseName}.* TO ${RT::DatabaseUser}\@'${RT::DatabaseRTHost}' IDENTIFIED BY '${RT::DatabasePassword}';"); ++#return () if !$RT::DatabaseUser or $RT::DatabaseUser eq 'root'; ++#return ( ++#"USE mysql;", ++#"DELETE FROM user WHERE user = '${RT::DatabaseUser}';", ++#"DELETE FROM db where db = '${RT::DatabaseName}';", ++#"GRANT SELECT,INSERT,CREATE,INDEX,UPDATE,DELETE ON ${RT::DatabaseName}.* TO ${RT::DatabaseUser}\@'${RT::DatabaseRTHost}' IDENTIFIED BY '${RT::DatabasePassword}';"); + } + 1; --- request-tracker3.6-3.6.5.orig/debian/patches/01_layout.dpatch +++ request-tracker3.6-3.6.5/debian/patches/01_layout.dpatch @@ -0,0 +1,37 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_layout.dpatch by Stephen Quinney +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Add Debian layout (FHS-compatible) + +@DPATCH@ +diff -urNad trunk~/config.layout trunk/config.layout +--- trunk~/config.layout 2006-08-24 23:11:49.000000000 -0400 ++++ trunk/config.layout 2006-08-24 23:22:01.000000000 -0400 +@@ -150,3 +150,26 @@ + customlexdir: ${customdir}/po + customlibdir: ${customdir}/lib + ++ ++# Debian path layout. ++ ++ prefix: /usr/share/request-tracker3.6 ++ exec_prefix: /usr ++ bindir: ${exec_prefix}/bin ++ sbindir: ${exec_prefix}/sbin ++ sysconfdir: /etc/request-tracker3.6 ++ mandir: /usr/share/man ++ libdir: ${prefix}/lib ++ datadir: ${prefix} ++ htmldir: ${datadir}/html ++ manualdir: /usr/share/doc/request-tracker3.6 ++ logfiledir: /var/log/request-tracker3.6 ++ localstatedir: /var/cache/request-tracker3.6 ++ masonstatedir: ${localstatedir}/mason_data ++ sessionstatedir: ${localstatedir}/session_data ++ customdir: /usr/local/share/request-tracker3.6 ++ custometcdir: ${customdir}/etc ++ customhtmldir: ${customdir}/html ++ customlexdir: ${customdir}/po ++ customlibdir: ${customdir}/lib ++ --- request-tracker3.6-3.6.5.orig/debian/patches/08_postgres_acls.dpatch +++ request-tracker3.6-3.6.5/debian/patches/08_postgres_acls.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 08_postgres_acls.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad trunk~/etc/acl.Pg trunk/etc/acl.Pg +--- trunk~/etc/acl.Pg 2006-08-27 23:10:54.000000000 -0400 ++++ trunk/etc/acl.Pg 2006-08-27 23:12:05.000000000 -0400 +@@ -60,8 +60,8 @@ + + foreach my $table (@tables) { + push @acls, +- "GRANT SELECT, INSERT, UPDATE, DELETE ON $table to " +- . $RT::DatabaseUser . ";"; ++ "GRANT SELECT, INSERT, UPDATE, DELETE ON $table to \"" ++ . $RT::DatabaseUser . "\";"; + + } + return (@acls); --- request-tracker3.6-3.6.5.orig/debian/patches/15_content_transfer_enc.dpatch +++ request-tracker3.6-3.6.5/debian/patches/15_content_transfer_enc.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 15_content_transfer_enc.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad trunk~/lib/RT/I18N.pm trunk/lib/RT/I18N.pm +--- trunk~/lib/RT/I18N.pm 2007-05-23 22:52:35.000000000 +0300 ++++ trunk/lib/RT/I18N.pm 2007-05-23 22:55:35.000000000 +0300 +@@ -246,6 +246,9 @@ + $head->mime_attr( "content-type.charset" => $enc ); + $entity->bodyhandle($new_body); + } ++ $head->mime_attr( "content-transfer-encoding" => "8bit" ) ++ unless ( $enc eq "us-ascii" ++ || $head->mime_attr("content-transfer-encoding") ); + } + + # NOTES: Why Encode::_utf8_off before Encode::from_to --- request-tracker3.6-3.6.5.orig/debian/compat +++ request-tracker3.6-3.6.5/debian/compat @@ -0,0 +1 @@ +5 --- request-tracker3.6-3.6.5.orig/debian/rt3.6-apache2.install +++ request-tracker3.6-3.6.5/debian/rt3.6-apache2.install @@ -0,0 +1 @@ +debian/conf/apache2-*.conf etc/request-tracker3.6/ --- request-tracker3.6-3.6.5.orig/debian/rt3.6-clients.alts +++ request-tracker3.6-3.6.5/debian/rt3.6-clients.alts @@ -0,0 +1,4 @@ +usr/bin/rt +usr/bin/rt-mailgate +usr/share/man/man1/rt-mailgate!.1 +usr/share/man/man1/rt!.1 --- request-tracker3.6-3.6.5.orig/debian/changelog +++ request-tracker3.6-3.6.5/debian/changelog @@ -0,0 +1,90 @@ +request-tracker3.6 (3.6.5-1) unstable; urgency=low + + * New upstream release. + + -- Niko Tyni Thu, 11 Oct 2007 23:30:59 +0300 + +request-tracker3.6 (3.6.4-1) unstable; urgency=low + + * New upstream release. (Closes: #404913) + + fixes display of queue names containing ampersands. (Closes: #416702) + + fixes RFC 2047 header decoding. (Closes: #429560) + + removes several unused dependencies + + adds dependencies on libtimedate-perl + and libterm-readline-(perl|gnu)-perl + * Remove support for Apache 1, recently removed from Debian. + (Closes: #429073) + * debian/patches/*.dpatch: + + 06_devel_deps: removed, no longer needed. + + 20_search_by_requestor: removed, now included upstream. + + 40_encoding: fix double UTF-8 encoding in the web interface. + (Closes: #416474) + * Update SpeedyCGI alternative dependencies. (Closes: #417545) + * Add an alternative FastCGI dependency on libapache2-mod-fcgid + to rt3.6-apache2, and include an example Apache2 configuration file. + * Downgrade libtext-quoted-perl dependency to a recommendation. It's + now an optional runtime dependency, since it can cause Perl segfaults + (see #400733). This is also mentioned in NOTES.Debian. + * Elaborate the comments in all the Apache example configuration files. + * Add a note about RT_SiteConfig being only readable by root after + installation. + * Use the source:Version substitution variables instead of the deprecated + Source-Version. + * Upgrade to debhelper compatibility level 5. + + -- Niko Tyni Mon, 9 Jul 2007 22:45:50 +0300 + +request-tracker3.6 (3.6.1-4) unstable; urgency=low + + * fix the last reference to INSTALL.Debian. (Closes: #406074) + * add an alternative dependency on libcgi-fast-perl to rt3.6-apache2. + (Closes: #408389) + * add a note about a common MySQL misconfiguration causing repeated + logins. (Closes: #408405) + * point to rt3.6-clients instead of rt3-clients for mail configuration. + (Closes: #411856) + + -- Niko Tyni Mon, 26 Feb 2007 00:06:43 +0200 + +request-tracker3.6 (3.6.1-3) unstable; urgency=low + + * Fix searching by requestor email address. Patch taken from upstream + SVN r5782. (Closes: #400655) + * Add a note in rt3.6-clients README.Debian about debugging deferred + deliveries. (See #397783) + + -- Niko Tyni Mon, 27 Nov 2006 23:08:15 +0200 + +request-tracker3.6 (3.6.1-2) unstable; urgency=low + + [ Niko Tyni ] + * Update debian/copyright. + * Rename INSTALL.Debian to NOTES.Debian to avoid the lintian warning. + * Add lintian override for permissions of RT_SiteConfig.pm, which has + a password inside. (See #307633) + + [ Toni Mueller ] + * completed Lintian override file + + -- Niko Tyni Mon, 2 Oct 2006 22:38:44 +0200 + +request-tracker3.6 (3.6.1-1) unstable; urgency=low + + [ Niko Tyni ] + * Initial release. (Closes: #387046) + * Packaging structure taken from the request-tracker3.4 package version + 3.4.5-1 with the important bits altered where needed. + + [ Jacob Helwig ] + * Fixed patches to cleanly apply. + * Fixed version numbers in long descriptions of + rt3.6-(clients|apache|apache2) + * Changed speedy-cgi-perl to suggested. + + [ Toni Mueller ] + * small fix to debian/rules + * added myself as uploader, but Niko and Jacob did all the heavy + lifting + + -- Toni Mueller Sat, 30 Sep 2006 23:13:14 +0200 + --- request-tracker3.6-3.6.5.orig/debian/bug/presubj +++ request-tracker3.6-3.6.5/debian/bug/presubj @@ -0,0 +1,9 @@ +Reporting request-tracker3.6 bugs +------------------------------- + +Many bugs reported against RT3.6 are due to an interaction between RT3.6 and +another program. Accordingly, please ensure you put into your bug report: + + * Which web server you run RT3.6 on (apache 2, ...) + * Your backend database server (postgres, mysql, ...) + * The MTA you're using (exim, sendmail, ...) --- request-tracker3.6-3.6.5.orig/debian/bug/script +++ request-tracker3.6-3.6.5/debian/bug/script @@ -0,0 +1,27 @@ +#! /bin/bash + +exec >&3 + +strip_md5sum() { + sed 's/^.* \+//' "$@" +} + +print_changed_files() { + (cd / && + strip_md5sum "$@" | + xargs md5sum 2>/dev/null | sort | + comm -3 - <(sort "$@") + ) | strip_md5sum | sort -u + +} + +files_in_usrlocal() { + [ ! -d /usr/local/share/request-tracker3.6/ ] || [ `find /usr/local/share/request-tracker3.6/ -type f | wc -l` -gt 0 ] && echo -e "\nThere are locally modified files in /usr/local/share/request-tracker3.6/,\n these may (or may not) be the source of the problem.\n" +} + +sumfile=/var/lib/dpkg/info/request-tracker3.6.md5sums + +echo "Changed files:" +print_changed_files "$sumfile" | sed 's/^/ /' + +files_in_usrlocal --- request-tracker3.6-3.6.5.orig/debian/rt3.6-clients.dirs +++ request-tracker3.6-3.6.5/debian/rt3.6-clients.dirs @@ -0,0 +1,4 @@ +usr/share/bug/rt3.6-clients +usr/bin +usr/share/man/man1 +etc/request-tracker3.6 --- request-tracker3.6-3.6.5.orig/debian/copyright +++ request-tracker3.6-3.6.5/debian/copyright @@ -0,0 +1,62 @@ +This package was debianized by Debian Request Tracker Group + on +Wed, 30 Aug 2006 00:43:38 -0400 + +It was downloaded from http://www.bestpractical.com/ + +Author: Jesse Vincent + +Copyright: + + This software is Copyright (c) 1996-2006 Best Practical Solutions, LLC + + +License: + + This work is made available to you under the terms of Version 2 of + the GNU General Public License. A copy of that license should have + been provided with this software, but in any event can be snarfed + from www.gnu.org. + + This work is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian systems, you can find a copy of the GNU General Public License +Version 2 in /usr/share/common-licenses/GPL-2 . + +The file bin/mason_handler.svc.in has the following copyright and license: + + Copyright 2002 by Autrijus Tang . + + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + +Perl is distributed under either the GNU General Public License or +the Artistic License. On Debian systems, you can find a copy of +the Artistic License in /usr/share/common-licenses/Artistic and +the license of Perl itself in /usr/share/doc/perl/copyright . + +The files + lib/RT/Template_Overlay.pm + lib/RT/Interface/Web.pm + lib/RT/Action/SendEmail.pm +have the following copyright: + + This software is Copyright (c) 1996-2006 Best Practical Solutions, LLC + + Portions Copyright 2000 Tobias Brox + +The file sbin/extract-message-catalog has the following copyright: + + This software is Copyright (c) 1996-2006 Best Practical Solutions, LLC + + Portions Copyright 2002 Autrijus Tang + + +-- Mon, 02 Oct 2006 11:55:34 +0300 Niko Tyni --- request-tracker3.6-3.6.5.orig/debian/README.Debian +++ request-tracker3.6-3.6.5/debian/README.Debian @@ -0,0 +1,198 @@ +request-tracker3.6 for Debian +--------------------------- + +Installation +------------ +Read NOTES.Debian for installation and configuration notes. + +I mean this. + +Yes, you. You've installed the package, right? You need to configure +it before using it. NOTES.Debian is bursting with config-goodness. + +Seriously. You can't install a complex package like this and expect it +to just work. + +standalone_httpd +---------------- + +RT3.6 comes with a script to allow it to be run in a standalone mode +that does not require apache to be installed. In the upstream package +this is called standalone_httpd, we have changed the name to +rt-standalone_httpd to avoid any conflicts with other +packages. Currently I believe this standalone mode is still considered +beta-quality only so you still want to install a separate +webserver. We do not expect to be dropping our dependencies on apache2 +any time soon. + +Note: This script has been moved to the examples directory for now as +it depends on a new package which is not in Debian at the moment. +You will need to install the libhttp-server-simple-perl (>= 0.07) +package and also grab HTTP::Server::Simple::Mason (>= 0.09) from CPAN. + +Upgrading from request-tracker3.4 to request-tracker3.6 +------------------------------------------------------- + +The MOST IMPORTANT thing to note is that if you have more than one of +the request-tracker3, request-tracker3.2, request-tracker3.4 and +request-tracker3.6 packages installed at the same time then you will +have to be careful to use the correct version of commands such as +rt-setup-database, rt-mailgate and rt-crontool, etc.. If in any doubt, +add on the -3.0, -3.2, -3.4 or -3.6 extension to the name of the command. +The commands are all managed via the update-alternatives script. + +If you are considering upgrading your system and want to keep your +current data we strongly recommend doing a dump of your current +database and then restoring into a new separate database, for use by +rt3.6. This will allow you to attempt the upgrade and changes required +without destroying your existing data. It will also allow you to run +rt 3.0, rt 3.2, rt 3.4 and rt 3.6 side-by-side without any chance of +conflicts. + +Currently rt3.6 makes only small changes to the database schema, these +are the addition of the Attributes table and associated indexes and a +sequence. You will also need to update/add some data to a few existing +tables. All these changes can be done via this (bash) command: + +# for x in /etc/request-tracker3.6/upgrade/*; do \ + for y in schema acl insert; do \ + /usr/sbin/rt-setup-database-3.6 --action $y --datadir $x \ + --dba rtuser --dba-password wibble; \ + done;\ + done; + +You will need to specify the correct rt username and password for your +installation. If you are using PostgreSQL, as with the original +install, you will probably need to allow access to the database +template1 for your rtuser, see NOTES.Debian for details. + +Upgrading the request-tracker3.6 package +-------------------------------------- +There are often notes in NEWS.Debian that describe schema changes you +should make to your database, often for performance reasons. + + +Config changes +-------------- + +If you change /etc/request-tracker3.6/RT_SiteConfig.pm and use +Apache's modperl, you have to re-start Apache: '/etc/init.d/apache2 +restart'. Don't use the 'apache2ctl graceful' or 'apache2ctl restart'; +they're not quite enough. + +Please remember, NEVER EDIT RT_Config.pm EVEN IF YOU THINK IT IS A GOOD IDEA! + + +Upgrading from RT2 +------------------ + +The tools to do this are available at: + +http://www.fsck.com/pub/rt/devel/rt2-to-rt3.tar.gz + +This really is not the easiest thing in the world but is achievable +with a bit of thought and careful planning. The way to go about it is +to dump the RT2 database using the tool provided (rt-2.0-to-dumpfile) +whilst you still have RT2 installed. Once that is done, and it might +take sometime - we are talking days here for a big database - install +the RT3 Debian package. Go through all the notes in the NOTES.Debian +file then load the old data with the tool provided +(dumpfile-to-rt-3.0) into your nice shiny, newly prepared, RT3 +database - again this can take days for a big database. + +If you are reading this then you have probably already removed your +RT2 Debian package and installed RT3 instead, your best plan is to +download a tarball of RT2. Unpack it somewhere like +/usr/local/share/rt2/ and then edit the rt2-to-rt3 dump script to +point to the correct place. The lines to change are something like: + +use lib "/opt/rt-bps/lib"; +use lib "/opt/rt-bps/etc"; + +replacing the /opt/rt-bps/lib with the path to your RT2 libraries and +/opt/rt-bps/etc with the path to your RT2 configuration files. + +Any problems/questions about upgrading from RT2 to RT3 should be sent +to the rt-users mailing list at rt-users@lists.fsck.com + + +Local changes to RT html or library source +------------------------------------------ + +If you want to make local changes to the RT web interface, you should +copy the relevant mason or html files into the +/usr/local/share/request-tracker3.6/html hierarchy, preserving the +directory structure. Any changes you make will immediately have an +effect on the web interface, you do not need to restart the web +server. You should ensure that the correct permissions are set on the +files so that the webserver can access them. + +If you want to make local changes to the RT library code, you can copy +the relevant Perl libraries into the +/usr/local/share/request-tracker3.6/lib hierarchy, preserving the +directory structure. + +A better method is to use RT's Overlay system which allows the +creation and use of Perl modules which just contain the modified, or +new, subroutines. If, for instance, you wanted to alter the Perl +module RT::Templates, you can place the changed subroutines into +RT::Templates_Local (the file name would be +/usr/local/share/request-tracker3.6/lib/RT/Templates_Local.pm). + +You will probably need to reload or restart the web server for Perl +library changes to have effect. + +There are also overlay files which use the words _Vendor and _Overlay. +_Overlay is for a system overlay by the original author, _Vendor is +for 3rd-party vendor add-ons, while _Local is for site-local +customizations. + +These overlay files can contain new subs or subs to replace existing +subs in this module. + +If you will be working with perl 5.6.0 or greater, each of these files +should begin with the line + + no warnings qw(redefine); + +so that perl does not kick and scream when you redefine a subroutine +or variable in your overlay. + +Note that local additions and changes should ALWAYS be put into the +/usr/local directories. Any changes to files that are shipped with +request-tracker3.6 will be lost at the next update unless they are +conffiles (i.e. in /etc/request-tracker3.6). Any files you add into the +/usr/local/share/request-tracker3.6 hierarchy will be preserved if you +decide to remove or purge the package. + + +/usr/local is read-only +----------------------- + +Sometimes systems have a /usr/local/ that is mounted read-only so you +cannot make use of the custom hierarchy of request-tracker3.6 that would +otherwise be there. In this case you can alter the place where the +custom hierarchy is found by overlaying the RT.pm with an RT_Local.pm in +/usr/share/perl5/ which would look something like this: + +########## +$LocalPath = '/path/to/somewhere/else/request-tracker3.6'; +$LocalEtcPath = $LocalPath . '/etc'; +$LocalLexiconPath = $LocalPath . '/po'; + +$MasonLocalComponentRoot = $LocalPath . '/html'; + +unshift @INC, ($LocalPath . '/lib') ; + +1; +########## + +Remember to restart the webserver after creating the overlay file if +you are using mod_perl. + + +This text was originally written by +Stephen Quinney , Thu Sep 15 14:57:05 2005 + + -- Niko Tyni Mon, 21 Aug 2006 00:05:45 +0300 + --- request-tracker3.6-3.6.5.orig/debian/logcheck.ignore.server +++ request-tracker3.6-3.6.5/debian/logcheck.ignore.server @@ -0,0 +1 @@ +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ RT: .* --- request-tracker3.6-3.6.5.orig/debian/lintian-overrides +++ request-tracker3.6-3.6.5/debian/lintian-overrides @@ -0,0 +1,21 @@ +# Lintian overrides for request-tracker3.6 + +# This file has the database password in it. +# +# As documented in NOTES.Debian, the user has to set up its +# permissions manually until #307633 is fixed. +# +non-standard-file-perm etc/request-tracker3.6/RT_SiteConfig.pm 0600 != 0644 + + +# Allowing world read access on these directories allows bypassing of +# application defined permissions. + +non-standard-dir-perm var/log/request-tracker3.6/ 2755 != 0755 +non-standard-dir-perm var/cache/request-tracker3.6/ 2750 != 0755 +non-standard-dir-perm var/cache/request-tracker3.6/mason_data/ 2750 != 0755 +non-standard-dir-perm var/cache/request-tracker3.6/mason_data/etc/ 2750 != 0755 +non-standard-dir-perm var/cache/request-tracker3.6/mason_data/obj/ 2750 != 0755 +non-standard-dir-perm var/cache/request-tracker3.6/mason_data/cache/ 2750 != 0755 +non-standard-dir-perm var/cache/request-tracker3.6/session_data/ 2750 != 0755 + --- request-tracker3.6-3.6.5.orig/debian/postinst +++ request-tracker3.6-3.6.5/debian/postinst @@ -0,0 +1,42 @@ +#!/bin/sh +set -e + +branch_version=3.6 +branch_priority=260 + +warn() { + fmt -60 | sed 's/^/**WARNING** /' +} + +warn <) { + chomp; + (my $src=$_) =~ s/!//; + my $dst=$_; + unless ($dst =~ /!/) {$dst .= '!'}; + $dst =~ s/!/-$ver/; + rename $src,$dst or print "rename $src,$dst failed: $!\n"; +} --- request-tracker3.6-3.6.5.orig/debian/NOTES.Debian +++ request-tracker3.6-3.6.5/debian/NOTES.Debian @@ -0,0 +1,287 @@ + -*- readme-debian -*- + +Installation notes for the Debian package request-tracker3.6 + +BASIC RT CONFIGURATION +---------------------- + +The first step is to configure RT, this is done via the +/etc/request-tracker3.6/RT_SiteConfig.pm file. Start by editing the file +as installed. Note that the default settings in RT_Config.pm are used +for any options you do put into RT_SiteConfig.pm. You should *NEVER* +edit the RT_Config.pm file directly; always use RT_SiteConfig.pm. + +Changing the variables in the distributed RT_SiteConfig.pm should be +enough to get RT3 up and running but will probably not solve all your +problems. We recommend that you read /etc/request-tracker3.6/RT_Config.pm +thoroughly and copy/edit the extra bits you think you need into the +RT_SiteConfig.pm file. + +The RT_SiteConfig.pm is a real Perl module and as such really does +need that last line which looks like: + +1; + +without it things will not work properly so please do not delete +it. As it is a Perl module you can of course use any Perl you like to +handle the setting of the configuration options. + +Note that RT_SiteConfig.pm is only readable by root after installation, +because it is going to contain the database password. You will need to +make it readable yourself to the www-data user or equivalent when setting +up the web server, but be sure to consider the security implications +(like local PHP scripts that run as the same user.) + +DATABASE CREATION AND SCHEMA INSTALLATION +----------------------------------------- + +1. Create the database user + +As the database administrator (e.g. the postgres or mysql user), or +user with rights to create new users and databases, manually create +the RT user with SQL like: + +(Postgres) + CREATE USER rtuser WITH PASSWORD 'wibble' CREATEDB NOCREATEUSER; + +(MySQL) + GRANT ALL PRIVILEGES ON rtdb.* TO rtuser@localhost IDENTIFIED BY 'wibble'; + +Of course, rtuser and 'wibble' should be replaced with whatever you +have configured the $DatabaseUser and $DatabasePassword variables to +be in the RT_SiteConfig.pm. The database name is also defined there, +by the variable $DatabaseName -- in this file, we use 'rtdb'. + +2. Configure the database access permissions + +Ensure that you can access the database server as the rtuser SQL user. + +For MySQL, you have probably already done this in stage 1. + +You could do this for PostgreSQL with psql: + +psql -d template1 -U rtuser -W + +enter the password at the prompt. + +If this fails (it probably will with the default Debian PostgreSQL +installation) then you probably need to change the access permissions +that you have set for your database server. + +For PostgreSQL, this can be solved by editing the file +/etc/postgresql/pg_hba.conf and adding lines like these: + +host template1 rtuser 127.0.0.1 255.255.255.255 password +local template1 rtuser password +host rtdb rtuser 127.0.0.1 255.255.255.255 password +local rtdb rtuser password + +at the bottom of the file along with the other similar lines - but +above existing entries. + +(rtdb is whatever you have configured the $DatabaseName variable to be +in the RT_SiteConfig.pm.) + +Note that the order of entries in the pg_hba.conf _DOES MATTER_. The +first matching entry will be used and there is no fall through +mechanism if the first one fails. (See section 6.1 of the PostgreSQL +Administrator's manual for full details). The local entries above must +be put above the default local all/all if you want to able to access +the rtdb database as the rtuser from the command line using psql. + +Restart the PostgreSQL server and try again with psql. If the database +server is on a different machine from that of the RT instance you will +need to configure these lines yourself. + +Note that for PostgreSQL the rt-setup-database script needs permission +to connect to the template1 database as well as the RT +database. Giving permission to connect like this does not give out +actual read/write permission so doing this for the rt user can +generally be considered safe on the local system. Once you have +created and initialised your RT database you should remove the +template1 lines as they will not be needed for any other purpose. + +Note: If you have problems with MySQL or know how to solve similar +issues for that server we would love to hear from you so we can extend +this help file. + +3. Create and initialise the database + +Now to populate the database with the schema, do: +# /usr/sbin/rt-setup-database-3.6 --action init --dba rtuser \ + --prompt-for-dba-password + + + +This needs access to /etc/request-tracker3.6/RT_SiteConfig.pm, so the +command usually has to be run as root. + +Note: if anything does go wrong in this procedure, you will probably +need to drop the database 'rtdb' manually. + + +APACHE CONFIGURATION +-------------------- + +Note that support for Apache 1 was removed from this package after the +Etch release, when Apache 1 itself was removed from Debian. If you +want to use something else than Apache 2, you're on your own. + +There are four config files supplied in /etc/request-tracker3.6/ for the +different modes of operation: mod_perl2, speedycgi, fastcgi and fcgid. +These might work straight away; you really should read them before +beginning to use RT3.6. The expectation is that you will need to edit +the applicable file for your RT3.6 site. + +Whichever of the four configuration files you decide to use you will +need to ensure you have the correct apache2 modules installed. You will +also need to edit the RT_SiteConfig.pm to match up these settings: + +Set($WebPath , "/rt"); +Set($WebBaseURL , "http://my.domain.com"); + +with any Apache virtual hosts, locations, aliases or rewrites in the +Include files, such as: + +1) + +Alias /rt /usr/share/request-tracker3.6/html + +2) + +ScriptAlias /rt /usr/share/request-tracker3.6/libexec/mason_handler.scgi + +3) + + + + +4) + +RewriteRule ^/rt$ /rt/ +RewriteRule ^/rt/(.*)$ /usr/share/request-tracker3.6/html/$1 + +You should ensure that you remove any existing lines such as: + + RewriteEngine off + +from the relevant VirtualHost section in your config. + +mod_perl 2 +========= + +Add the following line to the VirtualHost section of Apache from which +you wish to serve RT, (possibly in the file +/etc/apache2/sites-enabled/default). When editing files in the apache2 +sites-enabled and mods-enabled directories you should be very careful +not to leave behind editor backup files (such as *~ for emacs). These +will also be read when the server is restarted and cause general +confusion. + +Include "/etc/request-tracker3.6/apache2-modperl2.conf" + +You will probably need to edit this Include file. + +For Apache2 you will want to look for something like: + +LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so + +If you are using the standard Debian package it is just a case of doing: + +ln -s /etc/apache2/mods-available/perl.load /etc/apache2/mods-enabled/perl.load + +or "a2enmod perl". + +You may also need to, similarly, enable mod_rewrite, mod_actions (and +mod_ssl if you intend to use SSL) + +fast/speedy cgi +=============== + +If you want to use something other than mod_perl, there are Mason +handler scripts in /etc/request-tracker3.6/. These are: + +/etc/request-tracker3.6/apache2-speedycgi.conf +/etc/request-tracker3.6/apache2-fastcgi.conf +/etc/request-tracker3.6/apache2-fcgid.conf + +Again you will probably need to include these into the relevant +section of your Apache config with something like: + +Include "/etc/request-tracker3.6/apache2-fastcgi.conf" + +or a symlink in /etc/apache2/conf.d . + +Most likely they will require some editing before they do exactly what +you want. + + +RT ROOT PASSWORD +---------------- + +Once the web interface is running you need to login as root +IMMEDIATELY and change the default password and general +configuration. The initial root password is 'password' (without the +quotes, of course). Go to 'Configuration' then 'Users', follow the +'root' link. You can then alter the password and other pertinent +information. + +REPEATED LOGIN REQUESTS +----------------------- + +If the web interface repeatedly redirects you to the login prompt even +though you are already logged in, you may have misconfigured settings +in your MySQL database. A workaround is reported to be + + ALTER TABLE sessions CHANGE a_session a_session LONGBLOB; + DELETE FROM sessions; + +and an Apache restart. The right solution is to fix the database +configuration so that UTF8 strings don't get double encoded. See bug +#408405. + +INCOMPLETE DISPLAY OF TICKET CONTENTS +------------------------------------- + +If you can't see all the content of your tickets, you may be hitting +a Perl bug that makes it crash with some UTF-8 data sequences. +See http://rt.perl.org/rt3/Public/Bug/Display.html?id=40989 . +Starting with 3.6.3, a workaround is to remove the libtext-quoted-perl +package. Another workaround is to copy + /usr/share/request-tracker3.6/html/Ticket/Elements/ShowTransactionAttachments +into + /usr/local/share/request-tracker3.6/html/Ticket/Elements/ShowTransactionAttachments +and comment out the Text::Quoted call in the local copy. + +MAIL CONFIGURATION +------------------ + +Instructions on mail configuration can be found inside +the rt3.6-clients package, in README.Debian. + + +LOCAL MODIFICATIONS +------------------- + +Note that we have added another configuration file called +/etc/request-tracker3.6/RT_SiteModules.pm. If you make any local +modifications to the HTML::Mason files you can have any necessary +extra Perl modules loaded at start time by putting the 'use' +statements in this file, e.g.: + +use Net::LDAP; +1; + +This means you do not need to edit webmux.pl which is the normal RT +way to do it. Any changes made to webmux.pl would not be preserved on +upgrading of the Debian package as it is not a Debian conffile. + +If you do intend to change the look and feel of the site by editing +the HTML::Mason files you should, of course, do this in the +/usr/local/share/request-tracker3.6/html/ tree to avoid losing your +precious changes on upgrade of the Debian package. + +This text was originally written by +Stephen Quinney , Thu Sep 15 14:53:16 2005 + + -- Niko Tyni Sat, 16 Jun 2007 21:28:07 +0300 --- request-tracker3.6-3.6.5.orig/debian/control +++ request-tracker3.6-3.6.5/debian/control @@ -0,0 +1,59 @@ +Source: request-tracker3.6 +Section: misc +Priority: optional +Maintainer: Debian Request Tracker Group +Uploaders: Niko Tyni , Jacob Helwig , Toni Mueller , Ivan Kohler +Build-Depends: debhelper (>= 5), dpatch (>= 2.0.9) +Build-Depends-Indep: perl (>= 5.8.3) +Standards-Version: 3.7.2 + +Package: request-tracker3.6 +Architecture: all +Depends: rt3.6-clients (= ${source:Version}), rt3.6-apache2 (= ${source:Version}), exim4 | mail-transport-agent, sysklogd | system-log-daemon, perl (>= 5.8.3), libhtml-mason-perl (>= 1.31), libapache-session-perl (>= 1.53), libfcgi-perl, libdbd-pg-perl (>= 1.41) | libdbd-mysql-perl (>= 2.1018) | libdbd-informix-perl | libdbd-sqlite2-perl | libdbd-sqlite3-perl, libregexp-common-perl, libdbi-perl (>= 1.37), libclass-returnvalue-perl (>= 0.40), libdbix-searchbuilder-perl (>= 1.48), libcache-simple-timedexpiry-perl, libtext-template-perl, liblog-dispatch-perl (>= 2.0), libhtml-parser-perl, liblocale-maketext-fuzzy-perl, liblocale-maketext-lexicon-perl (>= 0.32), libmime-perl (>= 5.108), libmailtools-perl (>= 1.57), libtext-wrapper-perl, libtime-modules-perl, libtext-autoformat-perl, libtext-wikiformat-perl, libhtml-scrubber-perl, libmodule-versions-report-perl (>= 1.03), libtree-simple-perl (>= 1.04), libxml-rss-perl (>= 1.05), libxml-simple-perl, libcalendar-simple-perl, libgd-graph-perl, libuniversal-require-perl, libgd-text-perl, libtimedate-perl +Recommends: libtext-quoted-perl (>= 2.02), postgresql-8.1 | postgresql (>= 7.4) | mysql-server-5.0 | mysql-server (>= 4.0.13) +Conflicts: request-tracker, request-tracker3.2 (<< 3.2.2-3) +Replaces: request-tracker +Description: Extensible trouble-ticket tracking system + Request Tracker (RT) is an enterprise-grade ticketing system which + enables a group of people to intelligently and efficiently manage + tasks, issues, and requests submitted by a community of users. It + features a web, email and command-line interfaces (see the package + rt3.6-clients). + . + This is the 3.6 series of RT, it can be installed alongside the 3.4 + series without any problems. + . + Written in object-oriented Perl, RT is a high-level, portable, + platform independent system that eases collaboration within + organizations and makes it easy for them to take care of their + customers. + . + RT manages key tasks such as the identification, prioritization, + assignment, resolution and notification required by + enterprise-critical applications including project management, help + desk, NOC ticketing, CRM and software development. + +Package: rt3.6-clients +Architecture: all +Depends: ${perl:Depends}, exim4 | mail-transport-agent, libhtml-tree-perl, libhtml-format-perl, libwww-perl, libterm-readkey-perl, libterm-readline-perl-perl | libterm-readline-gnu-perl +Recommends: libio-socket-ssl-perl +Description: Mail gateway and command-line interface to request-tracker3.6 + Install this package onto the mail server so it can inject tickets into + request-tracker3.6 using rt-mailgate. + . + Install it onto any machine on which you want to use the 'rt' + command-line interface. + . + See the 'request-tracker3.6' package for further information. + +Package: rt3.6-apache2 +Architecture: all +Depends: apache2, libapache2-mod-perl2 (>= 2.0.0) | speedy-cgi-perl | libapache2-mod-fcgid | libapache2-mod-fastcgi, libapache2-mod-perl2 (>= 2.0.0) | speedy-cgi-perl | libcgi-fast-perl, libapache-dbi-perl (>= 0.92) | speedy-cgi-perl | libapache2-mod-fcgid | libapache2-mod-fastcgi +Suggests: libapache2-mod-speedycgi +Description: Apache 2 specific files for request-tracker3.6 + This package provides various configuration files and manages the + necessary dependencies for running request tracker (RT) version 3.6 + on the Apache 2 web server. + . + See the 'request-tracker3.6' package for further information. +