Subject: indicating checksum build during bulk/upload
To: None <jschauma@NetBSD.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-pkg
Date: 03/31/2005 00:11:17
Hi Jan

you added code to pkgsrc/mk/bulk/upload recently that creates checksum 
files automatically. I'm using this the first time, and as I'm using a 
slow NFS server for pkgsrc/packages, this takes a long time. I wonder if 
we should tell users what's going on - what do you think about something 
like the patch below?


  - Hubert

Index: upload
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bulk/upload,v
retrieving revision 1.21
diff -u -r1.21 upload
--- upload	24 Jan 2005 15:00:48 -0000	1.21
+++ upload	30 Mar 2005 22:09:01 -0000
@@ -112,6 +112,8 @@

  if [ "${MKSUMS}" = "yes" -o "${MKSUMS}" = "YES" ]; then

+	echo "Calculating checksum files..."
+
  	SUMFILES="BSDSUM CKSUM MD5 SHA1 SYSVSUM"

  	rm -f ${SUMFILES}

-- 
NetBSD - Free AND Open!      (And of course secure, portable, yadda yadda)