Bug#381984: jesred does not work with current squid

2006-08-07 Thread Alexander Zangerl
On Tue, 08 Aug 2006 09:49:26 +0400, "Alexandra N. Kossovsky" writes:
>Jesred does not work with latest squid (from testing or unstable), because
>it does not understand new-formatted redirector input:

thanks for the report, i'll take care of the problem in a day or two.
(not using much software from testing myself, i hadn't seen that one...)

regards
az


-- 
+ Alexander Zangerl + DSA 42BD645D + (RSA 5B586291)
Backup not found: A)bort, R)etry, M)assive heart failure?


pgpnJAe4D8vJy.pgp
Description: PGP signature


Bug#381984: jesred does not work with current squid

2006-08-07 Thread Alexandra N. Kossovsky
Package: jesred
Version: 1.2pl1-11
Severity: grave
Tags: patch
Justification: renders package unusable


Jesred does not work with latest squid (from testing or unstable), because
it does not understand new-formatted redirector input:
URL  client_ip "/" fqdn  user  method  urlgroup 
Jesred expects old-formatted redirector input:
URL  client_ip "/" fqdn  user  method 

The following patch fixes the problem:

--- jesred-1.2pl1/rewrite.c.save2006-08-08 09:39:51.389992567 +0400
+++ jesred-1.2pl1/rewrite.c 2006-08-08 09:47:12.950500166 +0400
@@ -91,6 +91,8 @@
if (new_token) {
c++;
*new_token = '\0';
+   new_token = strchr(token,' ');
+   *new_token = '\0';
end[3] = new_token;
*method = token;
}

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (999, 'testing'), (150, 'unstable'), (50, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages jesred depends on:
ii  libc6 2.3.6-15   GNU C Library: Shared libraries
ii  squid 2.6.1-3Internet Object Cache (WWW proxy c

Versions of packages jesred recommends:
ii  apache2-mpm-prefork [httpd]   2.0.55-4   traditional model for Apache2

-- no debconf information

-- 
Regards,
Sasha.
Alexandra N. Kossovsky, software engineer.
e-mail: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]