From owner-freebsd-current Fri Apr 14 07:39:46 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA17961 for current-outgoing; Fri, 14 Apr 1995 07:39:46 -0700 Received: from aries.ibms.sinica.edu.tw ([140.109.40.248]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id HAA17952 for ; Fri, 14 Apr 1995 07:39:35 -0700 Received: (from taob@localhost) by aries.ibms.sinica.edu.tw (8.6.11/8.6.9) id WAA02282; Fri, 14 Apr 1995 22:39:55 +0800 Date: Fri, 14 Apr 1995 22:39:54 +0800 (CST) From: Brian Tao To: FREEBSD-CURRENT-L Subject: do_cksum script Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: current-owner@FreeBSD.org Precedence: bulk The do_cksum scripts still do not check for missing segments in the tarfile distributions. The whole script could be rewritten in a much more efficient manner too (i.e., a generic script that reads a package-specific data file that contains a list of filenames and checksums). I have GNU textutils installed and its version of cksum appears first in the path. As Murph would have it, it outputs in a slightly different format (it pads the byte count with spaces) and so the literal comparison in do_cksum fails. How about using md5 instead? Does WC or anyone at freebsd.org have a particular attachment to the current do_cksum script? If not, I'll whip something up and post it. -- Brian ("Though this be madness, yet there is method in't") Tao taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org