From nobody@FreeBSD.org  Thu Mar 15 11:40:55 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id C3FC737B719
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Mar 2001 11:40:54 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f2FJesB61349;
	Thu, 15 Mar 2001 11:40:54 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200103151940.f2FJesB61349@freefall.freebsd.org>
Date: Thu, 15 Mar 2001 11:40:54 -0800 (PST)
From: juha.o.ylitalo@nokia.com
To: freebsd-gnats-submit@FreeBSD.org
Subject: MD5s in gnupg-idea/distinfo doesn't match with fetched files.
X-Send-Pr-Version: www-1.0

>Number:         25838
>Category:       ports
>Synopsis:       MD5s in gnupg-idea/distinfo doesn't match with fetched files.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lioux
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 15 11:50:01 PST 2001
>Closed-Date:    Tue May 15 00:24:17 PDT 2001
>Last-Modified:  Tue May 15 00:25:15 PDT 2001
>Originator:     Juha Ylitalo
>Release:        4.2-RELEASE
>Organization:
Home...
>Environment:
FreeBSD shoes.st-paul 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Sun Feb 11 02:46:10 EET 2001     root@shoes.st-paul:/usr/obj/usr/src/sys/SHOES  i386

>Description:
I downloaded gnupg-idea ports tar file from http://www.freebsd.org/cgi/ports.cgi?query=gnupg&stype=all
page. I replaced my original gnupg-idea port with new one, "make fetch"
and "make install". Unfortunately files MD5s don't match with the ones
in distinfo.
It seems that you can't ignore checksums with "make NO_CHECKSUM=yes", because
patch operations fail.
shoes# more distinfo 
MD5 (gnupg-idea/rsa.c) = d8b6f26df0e3e0ccd93c2d0589d8766f
MD5 (gnupg-idea/idea.c) = 7d0557459e0a41da099ddbd837d4bd40
shoes# md5 /usr/ports/distfiles/gnupg-idea/rsa.c 
MD5 (/usr/ports/distfiles/gnupg-idea/rsa.c) = ea33e09dd96b3262b552f8273c50898d
shoes# md5 /usr/ports/distfiles/gnupg-idea/idea.c 
MD5 (/usr/ports/distfiles/gnupg-idea/idea.c) = 4cd8d050ab31c7e78282331625b574a0

>How-To-Repeat:
Make sure you have gnupg-idea 1.0.1 port installed in system.
# rm -rf /usr/ports/distfiles/gnupg-idea
# cd /usr/ports/security/gnupg-idea
# make install

>Fix:
At least on idea.c case looks like something that could be patched by hand,
but ...
>Release-Note:
>Audit-Trail:

From: Chris Faulhaber <jedgar@fxp.org>
To: juha.o.ylitalo@nokia.com
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/25838: MD5s in gnupg-idea/distinfo doesn't match with fetched files.
Date: Thu, 15 Mar 2001 15:01:45 -0500

 --LZvS9be/3tNcYl/X
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Thu, Mar 15, 2001 at 11:40:54AM -0800, juha.o.ylitalo@nokia.com wrote:
 >=20
 > >Number:         25838
 > >Category:       ports
 > >Synopsis:       MD5s in gnupg-idea/distinfo doesn't match with fetched f=
 iles.
 > MD5 (gnupg-idea/rsa.c) =3D d8b6f26df0e3e0ccd93c2d0589d8766f
 > MD5 (gnupg-idea/idea.c) =3D 7d0557459e0a41da099ddbd837d4bd40
 > shoes# md5 /usr/ports/distfiles/gnupg-idea/rsa.c=20
 > MD5 (/usr/ports/distfiles/gnupg-idea/rsa.c) =3D ea33e09dd96b3262b552f8273=
 c50898d
 > shoes# md5 /usr/ports/distfiles/gnupg-idea/idea.c=20
 > MD5 (/usr/ports/distfiles/gnupg-idea/idea.c) =3D 4cd8d050ab31c7e782823316=
 25b574a0
 >=20
 
 I cannot reproduce this here:
 
 $ make USA_RESIDENT=3DYES MAKE_IDEA=3DYES       =20
 >> idea.c doesn't seem to exist in /usr/ports/distfiles/gnupg-idea.
 >> Attempting to fetch from ftp://ftp.gnupg.org/pub/gcrypt/contrib/.
 fetch: transfer interrupted
 Receiving idea.c (15450 bytes): 100%
 15450 bytes transferred in 1.1 seconds (13.30 kBps)
 >> rsa.c doesn't seem to exist in /usr/ports/distfiles/gnupg-idea.
 >> Attempting to fetch from ftp://ftp.gnupg.org/pub/gcrypt/contrib/.
 Receiving rsa.c (14302 bytes): 100%
 14302 bytes transferred in 1.1 seconds (12.43 kBps)
 =3D=3D=3D>  Extracting for gnupg-idea-1.0.1
 >> Checksum OK for gnupg-idea/idea.c.
 >> Checksum OK for gnupg-idea/rsa.c.
 
 have you tried removing /usr/ports/distfiles/gnupg-idea/* ?
 
 --=20
 Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
 --------------------------------------------------------
 FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
 
 --LZvS9be/3tNcYl/X
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.4 (FreeBSD)
 Comment: FreeBSD: The Power To Serve
 
 iEYEARECAAYFAjqxH6kACgkQObaG4P6BelDEogCeLLm+BYQTn11YKvyAnm6Tw9oL
 yrYAoKLx8LmQVpLcs6lHqdlHKEho8UJ7
 =MUFd
 -----END PGP SIGNATURE-----
 
 --LZvS9be/3tNcYl/X--
Responsible-Changed-From-To: freebsd-ports->	lioux 
Responsible-Changed-By: lioux 
Responsible-Changed-When: Fri Mar 23 07:45:23 PST 2001 
Responsible-Changed-Why:  
I'll handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25838 
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Tue May 15 00:24:17 PDT 2001 
State-Changed-Why:  
PR is superseeded by 26033 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25838 
>Unformatted:
