RE: [squid-users] follow_xff rpm?

From: Harding, Devon <dharding@dont-contact.us>
Date: Thu, 16 Dec 2004 09:25:36 -0500

Ok, here's what I've added to squid.spec

Release: 4.fc2.2a

Patch111: http://devel.squid-cache.org/follow_xff/follow_xff-2.5.patch

%patch111 -p1

--enable-follow-x-forwarded-for \

When I run rpmbuild -bb /usr/src/redhat/SPECS/squid.spec, I get the
following message:

+ 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 -p1 -s
missing header for unified diff at line 4 of patch
The text leading up to this was:
--------------------------
|Index: acconfig.h
|--- acconfig.h 1 Jul 2002 17:24:48 -0000 1.13.2.3
|+++ acconfig.h 23 Nov 2003 14:20:06 -0000
--------------------------
File to patch:

What am I missing?

-Devon

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

On Wed, 15 Dec 2004, Harding, Devon wrote:

> 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'

The patch was not included in the build.

> "Patch110:
> http://devel.squid-cache.org/follow_xff/follow_xff-2.5.patch".

You also need a matching %patch line in the %prep section.

Regards
Henrik
Received on Thu Dec 16 2004 - 07:26:00 MST

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