head	1.2;
access;
symbols
	morgan_0_75:1.1.1.2
	pam_unpruned:1.1.1.1
	morgan_0_65:1.1.1.1
	MORGAN:1.1.1;
locks; strict;
comment	@# @;


1.2
date	98.11.25.19.45.44;	author jdp;	state dead;
branches;
next	1.1;

1.1
date	98.11.18.01.16.19;	author jdp;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.11.18.01.16.19;	author jdp;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.05.03.09.36.03;	author markm;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Remove files that we don't use and are unlikely to use.  You can
still get them with "cvs upd -r pam_unpruned" if you want to look at
them.
@
text
@#!/bin/bash
#
# $Id$
#
# $Log$
#
# Created by Andrew G. Morgan (morgan@@parc.power.net)
#

MD5SUM=md5sum
CHKFILE1=./.md5sum
CHKFILE2=./.md5sum-new

which $MD5SUM > /dev/null
result=$?

if [ -x "$MD5SUM" ] || [ $result -eq 0 ]; then
	rm -f $CHKFILE2
	echo -n "computing md5 checksums."
	for x in `cat ../.filelist` ; do
		(cd ../.. ; $MD5SUM $x) >> $CHKFILE2
		echo -n "."
	done
	echo
	if [ -f "$CHKFILE1" ]; then
		echo "\
---> Note, since the last \`make check', the following file(s) have changed:
==========================================================================="
		diff $CHKFILE1 $CHKFILE2
		if [ $? -eq 0 ]; then
			echo "\
--------------------------- Nothing has changed ---------------------------"
		fi
		echo "\
==========================================================================="
	fi
	rm -f "$CHKFILE1"
	mv "$CHKFILE2" "$CHKFILE1"
	chmod 400 "$CHKFILE1"
else
	echo "\
Please install \`$MD5SUM'.
[It is used to check the integrity of this distribution]
---> no check done."
fi
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Initial import of virgin Linux-PAM 0.65, slightly stripped down.
@
text
@@


1.1.1.2
log
@Vendor import Linux PAM 0.75
@
text
@d3 3
a5 1
# $Id: md5itall,v 1.2 2000/12/04 19:02:33 baggins Exp $
@

