RE: [squid-users] follow_xff rpm?

From: Harding, Devon <dharding@dont-contact.us>
Date: Fri, 17 Dec 2004 13:15:23 -0500

Well, what I did was copy the patch to
/usr/src/redhat/BUILD/squid-2.5.STABLE5 and patch manually, removed the
patch info from the squid.spec file (leaving the
--enable-follow-x-forwarded-for option) then ran the 'rpmbuild -bb
/usr/src/redhat/SPECS/squid.spec' It built the RPM fine. When installed
the RPM and restarted squid, I now get the following error:

[root@gswp i386]# service squid restart
Stopping squid: 2004/12/19 00:12:40| parseConfigFile: line 1836
unrecognized: 'follow_x_forwarded_for allow GOOD'
2004/12/19 00:12:40| parseConfigFile: line 1837 unrecognized:
'acl_uses_indirect_client on'
2004/12/19 00:12:40| parseConfigFile: line 1838 unrecognized:
'delay_pool_uses_indirect_client on'
2004/12/19 00:12:40| parseConfigFile: line 1839 unrecognized:
'log_uses_indirect_client on'
................[ OK ]
Starting squid: .[ OK ]

What is this?

-Devon

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Friday, December 17, 2004 11:42 AM
To: Harding, Devon
Cc: Henrik Nordstrom; Chris Robertson; squid-users@squid-cache.org
Subject: RE: [squid-users] follow_xff rpm?

On Fri, 17 Dec 2004, Harding, Devon wrote:

> Hmm...after setting the patch to -p0, I get this error:
>
> + echo 'Patch #110 (squid-2.5.STABLE5-proxy_abuse.patch):'
> Patch #110 (squid-2.5.STABLE5-proxy_abuse.patch):
> + patch -p1 -s
> + echo 'Patch #111 (follow_xff-2.5.patch):'
> Patch #111 (follow_xff-2.5.patch):
> + patch -p0 -s
> 1 out of 5 hunks FAILED -- saving rejects to file src/structs.h.rej
> error: Bad exit status from /var/tmp/rpm-tmp.21369 (%prep)

Patch needs to be updated. Either due to not being for the Squid version

you are using or due to conflicts with other patches in the rpm.

Regards
Henrik
Received on Fri Dec 17 2004 - 11:16:17 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST