Re: [squid-users] okay, not purely squid related

From: Steve Snyder <swsnyder@dont-contact.us>
Date: Mon, 11 Mar 2002 06:58:28 -0500

Here's how:

1. Unpack the source RPM:

    rpm -ivh squid-2.4.STABLE3-1.7.2.src.rpm

2. Edit the spec file to add desired options to the ./configure line:

    vi /usr/src/redhat/SPECS/squid.spec

3. Rebuild the binary (for testing) and source rpm files:

    rpm -ba /usr/src/redhat/SPECS/squid.spec

4. Clean up source files:

    rpm --rmsource --rmspec /usr/src/redhat/SPECS/squid.spec

5. Your new SRPMS will be in directory /usr/src/redhat/SRPMS.

On Monday 11 March 2002 05:58 am, Ahsan Ali wrote:
> I've been trying to compile a squid SRPM for RedHat 7.2.
>
> The SRPM in question is squid-2.4.STABLE3-1.7.2.src.rpm from the redhat
> ftp site.
>
> How on earth does one build an RPM out of it while adding support for
> delay pools, snmp, wccp etc? I used to do the regular tar [configure,
> make and make install] before and this is the first time I am using an
> SRPM and I'm stuck.
>
> I can get a binary RPM out of the SRPM, but not with the options I
> want.
>
> Do I install the SRPM and do a ./configure --enable-xxxxxx on it first
> or what?
>
> Any help would be appreciated!
>
> Thanks!
>
> -Ahsan Ali
Received on Mon Mar 11 2002 - 04:58:34 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:49 MST