Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 1995 17:20:08 -0700
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        gary@palmer.demon.co.uk
Cc:        knarf@nasim.cube.net, freebsd-ports@freebsd.org
Subject:   Re: diffs and checksums
Message-ID:  <199507140020.RAA25092@forgery.CS.Berkeley.EDU>
In-Reply-To: <1223.805679516@palmer.demon.co.uk> (message from Gary Palmer on Fri, 14 Jul 1995 00:51:56 %2B0100)

next in thread | previous in thread | raw e-mail | index | archive | help
 * The type of diff supplied in a port is extremely dependant on the
 * person doing the port - I prefer context diffs, and tend to use them,
 * even if I am working on an existing port which uses a different diff
 * format - I find context diffs a lot easier for ports as you get a
 * better idea of what is actually being changed as you have the context
 * of the patch...

Well, it's a matter of preference.  I prefer -u diffs, I usually find
them easier to read than -c diffs. :)

 * >It also would be a good idea to have an additional md5 file for the
 * >_uncompressed_ original archive. I really *hate* compress (.Z) and I
 * >always do a znew on these files but this leads into checksum mismatch.
 * >I usually get the distfiles from my own public archive and it would be
 * >nice to look for .tar.gz if EXTRACT_SUFX is .tar.Z and then check
 * >something like files/tar.md5 instead of files/md5.

Something like this was brought up by Torsten to me before, I think it
will be great if we can somehow let the checksum ignore the difference
is compression formats.  Since some master sites already do
recompression, this will free us from some of the "checksum mismatch"
errors (note that they can have the same filename (with .gz suffix)
and still have different checksums).

Also, we should be able to save space on wcarchive (and mirror sites)
by doing znew --best on all the distfiles.

The only problem is, how?  I couldn't come up with a way to implement
this without having to gzcat the file every time a user types "make
<something>" ('cause most of the targets depend on "checksum"), or
forcing a znew from bsd.port.mk.

Satoshi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507140020.RAA25092>