Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 1996 10:24:15 -0400 (EDT)
From:      James FitzGibbon <james@nexis.net>
To:        Ernie Elu <ernie@spooky.apana.org.au>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pgp checksum error
Message-ID:  <Pine.BSI.3.93.960527102115.23771A-100000@bdd.net>
In-Reply-To: <199605260651.QAA01965@spooky.eis.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 26 May 1996, Ernie Elu wrote:

> Trying to compile the port for pgp, first it asks me if I am a US resident
> so I se it to NO in the Makefile, then it goes of and fetches pgp263is.tar.gz
> from ftp.ifi.uio.no/pub/pgp/src, fine.
> 
> After that has been fetched it gives the error:
> 
> >> Checksum mismatch for pgp263is.tar.gz 
> *** Error code 1
> 
> 
> So I go and delete the package from the distfiles directory and try again,
> same thing

Although many will shoot down the logic of this, when faced with a port
like this you can do the following (assuiming you are starting from
scratch):

make fetch
make makesum
make install

The make makesum will build a new files/MD5 file containing the checksum
of the file that has been fetched, instead of what the port maintainer put
in (which sometimes people forget to update when a new version of the port
comes out).

However, since the MD5 checksum is the only validation of the file that
the port Makefile does, you are opening a security hole by trusting that
what you have received is not going to damage your system.

--
j.

----------------------------------------------------------------------------
| James FitzGibbon                                         james@nexis.net |
| Integrator, The Nexis Group                     Voice/Fax : 416 410-0100 |
----------------------------------------------------------------------------




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