[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-bugs
Subject:    system/1221: change in release set extension not reflected in checksums
From:       Thierry Deval <TDeval () Computer ! Org>
Date:       2000-04-29 21:50:20
[Download RAW message or body]


>Number:         1221
>Category:       system
>Synopsis:       for release, checksum is no more calculated for .tgz
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 29 16:00:02 MDT 2000
>Last-Modified:
>Originator:     Thierry Deval
>Organization:
	Prime Objective
>Release:        current 2.7-beta
>Environment:
	
	System      : OpenBSD 2.7
	Architecture: OpenBSD.i386
	Machine     : i386
>Description:
	
	-current source generate the release sets with a .tgz extension
	instead of a .tar.gz extension.
	This change has not been reflected into the checksum calculation
	(MD5, CKSUM) for the 'make release'.

>How-To-Repeat:
	
	# cd /usr/src/etc
	# make DESTDIR=... RELEASEDIR=... release
	<wait...>
	# cat $RELEASEDIR/{MD5,CKSUM}

	and look for the missing sets checksums

>Fix:
	

--- /usr/src/etc/Makefile	Sat Apr 29 23:38:07 2000
+++ /usr/src/etc/Makefile.orig	Sat Apr 29 23:39:30 2000
@@ -249,9 +249,9 @@
 	-cp ${DESTDIR}/snapshot/INSTALL.* ${RELEASEDIR}
 	-cp ${DESTDIR}/snapshot/*.fs ${DESTDIR}/snapshot/*.fs.gz ${RELEASEDIR}
 	-cd ${RELEASEDIR}; \
-		md5 bsd!(*.gz) *boot* *BOOT* INSTALL.* *.fs *.gz > MD5
+		md5 bsd!(*.gz) *boot* *BOOT* INSTALL.* *.fs *.tgz > MD5
 	-cd ${RELEASEDIR}; \
-		cksum bsd!(*.gz) *boot* *BOOT* INSTALL.* *.fs *.gz > CKSUM
+		cksum bsd!(*.gz) *boot* *BOOT* INSTALL.* *.fs *.tgz > CKSUM
 .if defined(MACHINE_HAS_TOOLS)
 	mkdir -p ${RELEASEDIR}/tools
 	cp ${DESTDIR}/snapshot/tools/* ${RELEASEDIR}/tools

>Audit-Trail:
>Unformatted:

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic