Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2000 00:58:16 +0930 (CST)
From:      Jarrod <jarrod@nutt.net.au>
To:        David Gilbert <dgilbert@velocet.ca>
Cc:        Mike Harding <mvh@ix.netcom.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: squid port broken in the future.
Message-ID:  <Pine.BSF.4.21.0004070047510.25957-100000@wallace.i.nutt.net.au>
In-Reply-To: <14572.43125.45576.647578@trooper.velocet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 6 Apr 2000, David Gilbert wrote:

> Hmm.... you're right.  Musta been too early, but under 4.0-RELEASE, I
> get:

wallace> ls -al
total 950
drwxr-xr-x  2 root  wheel     512 Mar 29 18:15 .
drwxr-xr-x  3 root  wheel    1024 Apr  2 22:58 ..
-rw-r--r--  1 root  wheel  954925 Mar  3 08:13 squid-2.3.STABLE2-src.tar.gz
-rw-r--r--  1 root  wheel     718 Mar  5 11:40 squid-2.3.stable2-EOF_in_cf.data.pre.patch
-rw-r--r--  1 root  wheel    2190 Mar  3 15:55 squid-2.3.stable2-USE_DNSSERVER.patch

This is strange, the file size of your main src file matchs, no problems
with the MD5 there.  The EOF patch is 718 bytes, you recieved 546, not all
the file was transfered.  The USE_DNSSERVER patch was 2190 for me, 2739
for you.  Do you know if your going through a transparent proxy?  I
noticed that when we set up ours, http transfers dropped out half way
going through with 'fetch'.  The USE_DNSSERVER file is odd, open it up and
make sure it isnt an error message generated by trans. proxy :)

Dont know if its the right way to do it, but I found deleting the last two
files from the /usr/ports/distfiles/squid2.3 (EOF & USE_DNSSERVER) and
doing this, that it works.

cd /usr/ports/distfiles/squid2.3
fetch -b -t http://www.squid-cache.org/Versions/v2/2.3/bugs/squid-2.3.stable2-EOF_in_cf.data.pre.patch
fetch -b -t http://www.squid-cache.org/Versions/v2/2.3/bugs/squid-2.3.stable2-USE_DNSSERVER.patch
cd /usr/ports/www/squid23
make clean
make install

Attempting to build it without the checksums on isnt wise isn't it?

> [1:4:304]root@katana:/usr/ports/www/squid23> make install
> >> squid-2.3.STABLE2-src.tar.gz doesn't seem to exist on this system.
> >> Attempting to fetch from ftp://squid.nlanr.net/pub/squid-2/STABLE/.
> Receiving squid-2.3.STABLE2-src.tar.gz (954925 bytes): 100%
> 954925 bytes transferred in 6.2 seconds  (151.07 Kbytes/s)
> >> squid-2.3.stable2-EOF_in_cf.data.pre.patch doesn't seem to exist on this system.
> >> Attempting to fetch from http://www.squid-cache.org/Versions/v2/2.3/bugs/.
> Receiving squid-2.3.stable2-EOF_in_cf.data.pre.patch (546 bytes): 100%
> 546 bytes transferred in 0.0 seconds  (1682.09 Kbytes/s)
> >> squid-2.3.stable2-USE_DNSSERVER.patch doesn't seem to exist on this system.
> >> Attempting to fetch from http://www.squid-cache.org/Versions/v2/2.3/bugs/.
> Receiving squid-2.3.stable2-USE_DNSSERVER.patch (2739 bytes): 100%
> 2739 bytes transferred in 0.1 seconds  (28.35 Kbytes/s)
> ===>  Extracting for squid-2.3
> >> Checksum OK for squid2.3/squid-2.3.STABLE2-src.tar.gz.
> >> Checksum mismatch for squid2.3/squid-2.3.stable2-EOF_in_cf.data.pre.patch.
> >> Checksum mismatch for squid2.3/squid-2.3.stable2-USE_DNSSERVER.patch.
> Make sure the Makefile and md5 file (/usr/ports/www/squid23/files/md5)
> are up to date.  If you want to override this check, type
> "make NO_CHECKSUM=yes [other args]".
> 
> and If I NO_CHECKSUM=YES, I get:
> 
> [1:5:305]root@katana:/usr/ports/www/squid23> make NO_CHECKSUM=YES install
> ===>  Extracting for squid-2.3
> ===>  Patching for squid-2.3
> ===>  Applying distribution patches for squid-2.3
> File to patch: 
> 
> Dave.


-- 
Jarrod Sayers (jarrod@nutt.net.au)

"Allow me a second, ma'am.  Just cross-filing that story under 'B' for
blackmail, and 'A', for anecdote; sub-category 'S' for 'so funny you'll
laugh till you're sick!'.
 (Kryten, Red Dwarf - Duct Soup)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004070047510.25957-100000>