Subject: pkg/37149: no distinfo are generated if NO_CHECKSUM="yes"
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <lacombar@gmail.com>
List: pkgsrc-bugs
Date: 10/19/2007 00:05:00
>Number:         37149
>Category:       pkg
>Synopsis:       no distinfo are generated if NO_CHECKSUM="yes"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 19 00:05:00 +0000 2007
>Originator:     Arnaud Lacombe
>Release:        -current
>Organization:
>Environment:
4.99.32
>Description:
make makedisinfo does not updated distinfo is NO_CHECKSUM is defined, however, SHA-1 hash are mandatory for patches:

% grep CHECKSUM Makefile 
NO_CHECKSUM=            yes
% ls patches/patch-io
patches/patch-io
% make makedistinfo
[...]
% grep patch-io distinfo
%

vs

% grep CHECKSUM Makefile 
#NO_CHECKSUM=            yes
% make makedistinfo
[...]
% grep patch-io distinfo
SHA1 (patch-io) = 0d437ceb108ac777d74f71a057a6180b86d56135
%

>How-To-Repeat:
cf. above
>Fix: