I didn't stop squid first. Output is: squid-2.5.STABLE5-4.fc2.2
-Devon
-----Original Message-----
From: Chris Robertson [mailto:crobertson@gci.com]
Sent: Wednesday, December 15, 2004 5:20 PM
To: squid-users@squid-cache.org
Subject: RE: [squid-users] follow_xff rpm?
What are the steps that you took?
I imagine that you downloaded the source, edited the .spec file and ran
the
rpmbuild -bb. That just makes an RPM. Did you upgrade? If so, did you
stop squid first? I'm not certain if the rpm upgrade process would stop
squid before trying to replace the binary. What is the output of "rpm
-qf
/usr/sbin/squid"?
Chris
-----Original Message-----
From: Harding, Devon [mailto:dharding@SOUTHERNWINE.com]
Sent: Wednesday, December 15, 2004 1:15 PM
To: Chris Robertson; squid-users@squid-cache.org
Subject: RE: [squid-users] follow_xff rpm?
Hmm...when I patch and re-install the rpm, I get the following error:
2004/12/15 17:16:28| parseConfigFile: line 2332 unrecognized:
'follow_x_forwarded_for allow localhost'
2004/12/15 17:16:28| parseConfigFile: line 2333 unrecognized:
'follow_x_forwarded_for allow my_other_proxy'
2004/12/15 17:16:28| parseConfigFile: line 2334 unrecognized:
'acl_uses_indirect_client on'
2004/12/15 17:16:28| parseConfigFile: line 2335 unrecognized:
'delay_pool_uses_indirect_client on'
2004/12/15 17:16:28| parseConfigFile: line 2336 unrecognized:
'log_uses_indirect_client on'
Any Ideas?
-Devon
-----Original Message-----
From: Chris Robertson [mailto:crobertson@gci.com]
Sent: Wednesday, December 15, 2004 1:55 PM
To: squid-users@squid-cache.org
Subject: RE: [squid-users] follow_xff rpm?
Do you have a testing/development box?
If so, grab and install the SRPM for the version of squid you are using
(FC2
looks to use 2.5.STABLE5-2
http://download.fedora.redhat.com/pub/fedora/linux/core/2/SRPMS/squid-2.
5.ST
ABLE5-2.src.rpm), edit "/usr/src/redhat/SPECS/squid.spec". Change the
Release line (increment the number, add an extension, whatever), and add
a
Patch line after the last existing patch line. It looks like it would
be
"Patch110:
http://devel.squid-cache.org/follow_xff/follow_xff-2.5.patch".
Save the edited spec file, and run "rpmbuild -bb
/usr/src/redhat/SPECS/squid.spec". Watch the output for errors, wait a
while, and you should have an RPM in /usr/src/redhat/RPMS/{your
architecture
here}/
Piece of cake. Welcome to the sultry world of RPM building...
I have no knowledge of this patch or its interaction with FC2.
Chris
-----Original Message-----
From: Harding, Devon [mailto:dharding@SOUTHERNWINE.com]
Sent: Wednesday, December 15, 2004 5:03 AM
To: squid-users@squid-cache.org
Subject: [squid-users] follow_xff rpm?
Does anyone know if the follow_xff patch
(http://devel.squid-cache.org/follow_xff/index.html)is available in rpm
format yet? Has anyone applied this to FC2?
Devon Harding
Windows Systems Engineer
Southern Wine & Spirits - GSD
954-602-2469
-----------------------------------------
__________________________________ This message and any attachments are
solely for the intended recipient and may contain confidential or
privileged information. If you are not the intended recipient, any
disclosure, copying, use or distribution of the information included in
the
message and any attachments is prohibited. If you have received this
communication in error, please notify us by reply e-mail and immediately
and permanently delete this message and any attachments. Thank You.
Received on Wed Dec 15 2004 - 15:34:44 MST
This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST