head	1.31;
access;
symbols
	RELENG_8_4:1.31.0.2
	RELENG_9_1_0_RELEASE:1.29.2.1.4.2
	RELENG_9_1:1.29.2.1.0.4
	RELENG_9_1_BP:1.29.2.1
	RELENG_8_3_0_RELEASE:1.28.2.1.8.1
	RELENG_8_3:1.28.2.1.0.8
	RELENG_8_3_BP:1.28.2.1
	RELENG_9_0_0_RELEASE:1.29.2.1.2.1
	RELENG_9_0:1.29.2.1.0.2
	RELENG_9_0_BP:1.29.2.1
	RELENG_9:1.29.0.2
	RELENG_9_BP:1.29
	RELENG_7_4_0_RELEASE:1.27.24.1
	RELENG_8_2_0_RELEASE:1.28.2.1.6.1
	RELENG_7_4:1.27.0.24
	RELENG_7_4_BP:1.27
	RELENG_8_2:1.28.2.1.0.6
	RELENG_8_2_BP:1.28.2.1
	RELENG_8_1_0_RELEASE:1.28.2.1.4.1
	RELENG_8_1:1.28.2.1.0.4
	RELENG_8_1_BP:1.28.2.1
	RELENG_7_3_0_RELEASE:1.27.22.1
	RELENG_7_3:1.27.0.22
	RELENG_7_3_BP:1.27
	RELENG_8_0_0_RELEASE:1.28.2.1.2.1
	RELENG_8_0:1.28.2.1.0.2
	RELENG_8_0_BP:1.28.2.1
	RELENG_8:1.28.0.2
	RELENG_8_BP:1.28
	RELENG_7_2_0_RELEASE:1.27.20.1
	RELENG_7_2:1.27.0.20
	RELENG_7_2_BP:1.27
	RELENG_7_1_0_RELEASE:1.27.18.1
	RELENG_6_4_0_RELEASE:1.27.16.1
	RELENG_7_1:1.27.0.18
	RELENG_7_1_BP:1.27
	RELENG_6_4:1.27.0.16
	RELENG_6_4_BP:1.27
	RELENG_7_0_0_RELEASE:1.27
	RELENG_6_3_0_RELEASE:1.27
	RELENG_7_0:1.27.0.14
	RELENG_7_0_BP:1.27
	RELENG_6_3:1.27.0.12
	RELENG_6_3_BP:1.27
	RELENG_7:1.27.0.10
	RELENG_7_BP:1.27
	RELENG_6_2_0_RELEASE:1.27
	RELENG_6_2:1.27.0.8
	RELENG_6_2_BP:1.27
	RELENG_5_5_0_RELEASE:1.26
	RELENG_5_5:1.26.0.10
	RELENG_5_5_BP:1.26
	RELENG_6_1_0_RELEASE:1.27
	RELENG_6_1:1.27.0.6
	RELENG_6_1_BP:1.27
	RELENG_6_0_0_RELEASE:1.27
	RELENG_6_0:1.27.0.4
	RELENG_6_0_BP:1.27
	RELENG_6:1.27.0.2
	RELENG_6_BP:1.27
	RELENG_5_4_0_RELEASE:1.26
	RELENG_5_4:1.26.0.8
	RELENG_5_4_BP:1.26
	RELENG_4_11_0_RELEASE:1.15.2.5
	RELENG_4_11:1.15.2.5.0.14
	RELENG_4_11_BP:1.15.2.5
	RELENG_5_3_0_RELEASE:1.26
	RELENG_5_3:1.26.0.6
	RELENG_5_3_BP:1.26
	RELENG_5:1.26.0.4
	RELENG_5_BP:1.26
	RELENG_4_10_0_RELEASE:1.15.2.5
	RELENG_4_10:1.15.2.5.0.12
	RELENG_4_10_BP:1.15.2.5
	RELENG_5_2_1_RELEASE:1.26
	RELENG_5_2_0_RELEASE:1.26
	RELENG_5_2:1.26.0.2
	RELENG_5_2_BP:1.26
	RELENG_4_9_0_RELEASE:1.15.2.5
	RELENG_4_9:1.15.2.5.0.10
	RELENG_4_9_BP:1.15.2.5
	RELENG_5_1_0_RELEASE:1.25
	RELENG_5_1:1.25.0.4
	RELENG_5_1_BP:1.25
	RELENG_4_8_0_RELEASE:1.15.2.5
	RELENG_4_8:1.15.2.5.0.8
	RELENG_4_8_BP:1.15.2.5
	RELENG_5_0_0_RELEASE:1.25
	RELENG_5_0:1.25.0.2
	RELENG_5_0_BP:1.25
	RELENG_4_7_0_RELEASE:1.15.2.5
	RELENG_4_7:1.15.2.5.0.6
	RELENG_4_7_BP:1.15.2.5
	RELENG_4_6_2_RELEASE:1.15.2.5
	RELENG_4_6_1_RELEASE:1.15.2.5
	RELENG_4_6_0_RELEASE:1.15.2.5
	RELENG_4_6:1.15.2.5.0.4
	RELENG_4_6_BP:1.15.2.5
	RELENG_4_5_0_RELEASE:1.15.2.5
	RELENG_4_5:1.15.2.5.0.2
	RELENG_4_5_BP:1.15.2.5
	RELENG_4_4_0_RELEASE:1.15.2.4
	RELENG_4_4:1.15.2.4.0.2
	RELENG_4_4_BP:1.15.2.4
	RELENG_4_3_0_RELEASE:1.15.2.3
	RELENG_4_3:1.15.2.3.0.2
	RELENG_4_3_BP:1.15.2.3
	RELENG_4_2_0_RELEASE:1.15.2.2
	RELENG_4_1_1_RELEASE:1.15.2.2
	PRE_SMPNG:1.18
	RELENG_4_1_0_RELEASE:1.15.2.2
	RELENG_3_5_0_RELEASE:1.6.2.1
	RELENG_4_0_0_RELEASE:1.15
	RELENG_4:1.15.0.2
	RELENG_4_BP:1.15
	RELENG_3_4_0_RELEASE:1.6.2.1
	RELENG_3_3_0_RELEASE:1.6.2.1
	RELENG_3_2_PAO:1.6.0.4
	RELENG_3_2_PAO_BP:1.6
	RELENG_3_2_0_RELEASE:1.6
	RELENG_3_1_0_RELEASE:1.6
	RELENG_3:1.6.0.2
	RELENG_3_BP:1.6
	RELENG_2_2_8_RELEASE:1.4
	RELENG_3_0_0_RELEASE:1.6
	RELENG_2_2_7_RELEASE:1.4
	RELENG_2_2_6_RELEASE:1.4
	RELENG_2_2_5_RELEASE:1.4
	bsd_44_lite_2:1.1.1.2
	RELENG_2_2_2_RELEASE:1.4
	RELENG_2_2_1_RELEASE:1.4
	RELENG_2_2_0_RELEASE:1.4
	RELENG_2_1_7_RELEASE:1.4
	RELENG_2_1_6_1_RELEASE:1.4
	RELENG_2_1_6_RELEASE:1.4
	RELENG_2_2:1.4.0.6
	RELENG_2_2_BP:1.4
	RELENG_2_1_5_RELEASE:1.4
	RELENG_2_1_0_RELEASE:1.4
	RELENG_2_1_0:1.4.0.4
	RELENG_2_1_0_BP:1.4
	RELENG_2_0_5_RELEASE:1.4
	RELENG_2_0_5:1.4.0.2
	RELENG_2_0_5_BP:1.4
	RELENG_2_0_5_ALPHA:1.4
	RELEASE_2_0:1.3
	BETA_2_0:1.3
	ALPHA_2_0:1.3.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.31
date	2013.01.10.01.29.19;	author svnexp;	state Exp;
branches
	1.31.2.1;
next	1.30;

1.30
date	2012.11.17.01.54.49;	author svnexp;	state Exp;
branches;
next	1.29;

1.29
date	2010.01.02.11.07.44;	author ed;	state Exp;
branches
	1.29.2.1;
next	1.28;

1.28
date	2008.01.01.06.15.57;	author kientzle;	state Exp;
branches
	1.28.2.1;
next	1.27;

1.27
date	2005.03.29.11.44.17;	author tobez;	state Exp;
branches
	1.27.2.1
	1.27.10.1
	1.27.16.1
	1.27.18.1
	1.27.20.1
	1.27.22.1
	1.27.24.1;
next	1.26;

1.26
date	2003.11.05.22.26.07;	author phk;	state Exp;
branches;
next	1.25;

1.25
date	2002.11.13.12.03.27;	author ru;	state Exp;
branches;
next	1.24;

1.24
date	2002.07.11.18.42.53;	author alfred;	state Exp;
branches;
next	1.23;

1.23
date	2001.09.24.15.38.38;	author ru;	state Exp;
branches;
next	1.22;

1.22
date	2001.09.17.11.59.43;	author ru;	state Exp;
branches;
next	1.21;

1.21
date	2001.07.20.06.20.02;	author obrien;	state Exp;
branches;
next	1.20;

1.20
date	2001.03.26.14.40.55;	author ru;	state Exp;
branches;
next	1.19;

1.19
date	2001.03.20.18.16.50;	author ru;	state Exp;
branches;
next	1.18;

1.18
date	2000.07.23.06.15.54;	author imp;	state Exp;
branches;
next	1.17;

1.17
date	2000.06.17.14.19.33;	author joe;	state Exp;
branches;
next	1.16;

1.16
date	2000.05.13.03.11.45;	author wollman;	state Exp;
branches;
next	1.15;

1.15
date	2000.02.05.18.42.36;	author joe;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2000.01.27.21.16.59;	author joe;	state Exp;
branches;
next	1.13;

1.13
date	2000.01.01.15.44.11;	author joe;	state Exp;
branches;
next	1.12;

1.12
date	99.12.30.13.15.15;	author joe;	state Exp;
branches;
next	1.11;

1.11
date	99.12.09.20.38.34;	author joe;	state Exp;
branches;
next	1.10;

1.10
date	99.08.28.01.17.18;	author peter;	state Exp;
branches;
next	1.9;

1.9
date	99.03.01.02.43.42;	author wollman;	state Exp;
branches;
next	1.8;

1.8
date	99.02.27.03.16.28;	author jkh;	state Exp;
branches;
next	1.7;

1.7
date	99.02.26.18.44.56;	author wollman;	state Exp;
branches;
next	1.6;

1.6
date	97.02.22.16.07.51;	author peter;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	97.01.14.07.13.30;	author jkh;	state Exp;
branches;
next	1.4;

1.4
date	95.02.10.03.12.03;	author wollman;	state Exp;
branches
	1.4.4.1
	1.4.6.1;
next	1.3;

1.3
date	94.09.18.21.17.33;	author rgrimes;	state Exp;
branches;
next	1.2;

1.2
date	94.08.05.16.30.31;	author wollman;	state Exp;
branches;
next	1.1;

1.1
date	94.05.26.05.22.34;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.31.2.1
date	2013.01.10.01.29.19;	author svnexp;	state dead;
branches;
next	1.31.2.2;

1.31.2.2
date	2013.03.28.13.06.19;	author svnexp;	state Exp;
branches;
next	;

1.29.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.29.2.1.2.1
	1.29.2.1.4.1;
next	1.29.2.2;

1.29.2.2
date	2012.11.17.11.37.45;	author svnexp;	state Exp;
branches;
next	1.29.2.3;

1.29.2.3
date	2013.01.15.17.03.27;	author svnexp;	state Exp;
branches;
next	;

1.29.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.29.2.1.2.2;

1.29.2.1.2.2
date	2012.11.17.08.37.41;	author svnexp;	state Exp;
branches;
next	;

1.29.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.29.2.1.4.2;

1.29.2.1.4.2
date	2012.11.17.08.48.33;	author svnexp;	state Exp;
branches;
next	;

1.28.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.28.2.1.2.1
	1.28.2.1.4.1
	1.28.2.1.6.1
	1.28.2.1.8.1;
next	1.28.2.2;

1.28.2.2
date	2012.11.17.10.37.24;	author svnexp;	state Exp;
branches;
next	;

1.28.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.28.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.28.2.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.28.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.28.2.1.8.2;

1.28.2.1.8.2
date	2012.11.17.08.25.55;	author svnexp;	state Exp;
branches;
next	;

1.27.2.1
date	2012.11.17.07.46.25;	author svnexp;	state Exp;
branches;
next	;

1.27.10.1
date	2012.11.17.08.09.03;	author svnexp;	state Exp;
branches;
next	;

1.27.16.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.27.18.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.27.20.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.27.22.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.27.24.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.27.24.2;

1.27.24.2
date	2012.11.17.08.17.48;	author svnexp;	state Exp;
branches;
next	;

1.15.2.1
date	2000.05.15.20.49.59;	author wollman;	state Exp;
branches;
next	1.15.2.2;

1.15.2.2
date	2000.06.28.02.33.17;	author joe;	state Exp;
branches;
next	1.15.2.3;

1.15.2.3
date	2001.01.12.19.17.18;	author phk;	state Exp;
branches;
next	1.15.2.4;

1.15.2.4
date	2001.04.25.12.10.13;	author ru;	state Exp;
branches;
next	1.15.2.5;

1.15.2.5
date	2001.09.24.15.44.22;	author ru;	state Exp;
branches;
next	1.15.2.6;

1.15.2.6
date	2012.11.17.07.28.23;	author svnexp;	state Exp;
branches;
next	;

1.6.2.1
date	99.08.29.15.44.16;	author peter;	state Exp;
branches;
next	;

1.4.4.1
date	99.09.05.11.44.20;	author peter;	state Exp;
branches;
next	;

1.4.6.1
date	99.09.05.11.40.32;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.26.05.22.35;	author rgrimes;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	97.08.02.19.34.49;	author bde;	state Exp;
branches;
next	;


desc
@@


1.31
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245241
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@#	From: @@(#)Makefile	8.1 (Berkeley) 6/6/93
# $FreeBSD: head/usr.sbin/mtree/Makefile 245241 2013-01-09 21:07:08Z brooks $

.include <bsd.own.mk>

.PATH: ${.CURDIR}/../../usr.bin/cksum

PROG=	fmtree
MAN=	fmtree.8 mtree.5
SRCS=	compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c
SRCS+=	specspec.c

CFLAGS+= -DMD5 -DSHA1 -DRMD160 -DSHA256
DPADD=	${LIBMD}
LDADD=	-lmd

.if ${MK_NMTREE} == "no"
LINKS=	${BINDIR}/fmtree ${BINDIR}/mtree
MLINKS=	fmtree.8 mtree.8
.endif

CLEANFILES+=	fmtree.8

fmtree.8: mtree.8
	cp ${.ALLSRC} ${.TARGET}

.include <bsd.prog.mk>
@


1.31.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:06:19 +0000
@
text
@d1 27
@


1.31.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 17
#	From: @@(#)Makefile	8.1 (Berkeley) 6/6/93
# $FreeBSD: releng/8.4/usr.sbin/mtree/Makefile 175030 2008-01-01 06:15:57Z kientzle $

.PATH: ${.CURDIR}/../../usr.bin/cksum

PROG=	mtree
MAN=	mtree.8 mtree.5
SRCS=	compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c
SRCS+=	specspec.c

WARNS?=	4

CFLAGS+= -DMD5 -DSHA1 -DRMD160 -DSHA256
DPADD=	${LIBMD}
LDADD=	-lmd

.include <bsd.prog.mk>
@


1.30
log
@Switching exporter and resync
@
text
@d2 3
a4 1
# $FreeBSD: head/usr.sbin/mtree/Makefile 201390 2010-01-02 11:07:44Z ed $
d8 2
a9 2
PROG=	mtree
MAN=	mtree.8 mtree.5
d17 10
@


1.29
log
@SVN rev 201390 on 2010-01-02 11:07:44Z by ed

The last big commit: let usr.sbin/ use WARNS=6 by default.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.29.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.29.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/9/usr.sbin/mtree/Makefile 201390 2010-01-02 11:07:44Z ed $
@


1.29.2.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245462
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 3
# $FreeBSD: stable/9/usr.sbin/mtree/Makefile 245462 2013-01-15 16:46:51Z brooks $

.include <bsd.own.mk>
d6 2
a7 2
PROG=	fmtree
MAN=	fmtree.8 mtree.5
a14 10
.if ${MK_NMTREE} == "no"
LINKS=	${BINDIR}/fmtree ${BINDIR}/mtree
MLINKS=	fmtree.8 mtree.8
.endif

CLEANFILES+=	fmtree.8

fmtree.8: mtree.8
	cp ${.ALLSRC} ${.TARGET}

@


1.29.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.29.2.1.4.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.1/usr.sbin/mtree/Makefile 201390 2010-01-02 11:07:44Z ed $
@


1.29.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.29.2.1.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.0/usr.sbin/mtree/Makefile 201390 2010-01-02 11:07:44Z ed $
@


1.28
log
@Add the mtree.5 manpage.  I'll come back soon and
remove the format specification from mtree.8.
I also need to reconcile a few issues between this
mtree.5 and what is actually implemented in FreeBSD's
mtree utility.

MFC after: 30 days
@
text
@a10 2
WARNS?=	4

@


1.28.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.28.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/8/usr.sbin/mtree/Makefile 175030 2008-01-01 06:15:57Z kientzle $
@


1.28.2.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.28.2.1.8.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/8.3/usr.sbin/mtree/Makefile 175030 2008-01-01 06:15:57Z kientzle $
@


1.28.2.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.28.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.28.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.27
log
@Adds sha256 support.  While it is a good idea to also add sha384 and
sha512, I did not do that since it is not entirely clear where "the one
true place" to hold their implementations is going to be.  Sha256 is
different since mtree already links against libmd.

Make recommended procedure for integrity checking in the manpage
consistent.

Fix a bug with -f spec1 -f spec2 comparison, which prevented
test/tes03.sh from running successfully.

Reviewed by:	phk, cperciva
@
text
@d7 1
a7 1
MAN=	mtree.8
@


1.27.10.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/7/usr.sbin/mtree/Makefile 144295 2005-03-29 11:44:17Z tobez $
@


1.27.2.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/6/usr.sbin/mtree/Makefile 144295 2005-03-29 11:44:17Z tobez $
@


1.27.24.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.27.24.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/7.4/usr.sbin/mtree/Makefile 144295 2005-03-29 11:44:17Z tobez $
@


1.27.22.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.27.20.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.27.18.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.27.16.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.26
log
@Give mtree(8) the ability to take [two -f spec] arguments and compare
the two specifications to each other.
@
text
@d13 1
a13 1
CFLAGS+= -DMD5 -DSHA1 -DRMD160
@


1.25
log
@mtree(8) wasn't a bootstrap tool since 2000/07/23 (Makefile.inc1,v 1.161).
@
text
@d9 1
@


1.24
log
@fixup for WARNS=4.
@
text
@a11 4
.if defined(BOOTSTRAPPING)
.PATH: ${.CURDIR}/../../lib/libc/gen
SRCS+=	strtofflags.c
.else
a14 1
.endif
@


1.23
log
@Only compile with strtofflags.c from libc if bootstrapping.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.22 2001/09/17 11:59:43 ru Exp $
d9 2
@


1.22
log
@Fix the bootstrapping aid from revision 1.9.
WORLD was renamed to BOOTSTRAPPING.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.21 2001/07/20 06:20:02 obrien Exp $
d4 1
a4 1
.PATH: ${.CURDIR}/../../usr.bin/cksum ${.CURDIR}/../../lib/libc/gen
d8 1
a8 2
SRCS=	compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c \
	strtofflags.c
d10 4
a13 1
.if !defined(BOOTSTRAPPING)
@


1.21
log
@Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.20 2001/03/26 14:40:55 ru Exp $
d11 1
a11 1
.if !defined(WORLD)
@


1.20
log
@- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d2 3
a4 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.19 2001/03/20 18:16:50 ru Exp $
d7 1
a9 2
.PATH:	${.CURDIR}/../../usr.bin/cksum ${.CURDIR}/../../lib/libc/gen
MAN=	mtree.8
a11 2
DPADD+=	${LIBMD}
LDADD+=	-lmd
d13 2
@


1.19
log
@Set the default manual section for usr.sbin/ to 8.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.18 2000/07/23 06:15:54 imp Exp $
d8 1
@


1.18
log
@First attempt to fix a buildworld from -stable machine.  Explicitly
include strtofflags.c from lib/libc/gen when building mtree until the
current dependency mess with mtree is fixed.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.17 2000/06/17 14:19:33 joe Exp $
a7 1
MAN8=	mtree.8
@


1.17
log
@Switch over to using the new fflagstostr and strtofflags library calls.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.16 2000/05/13 03:11:45 wollman Exp $
d5 3
a7 1
SRCS=	compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c
a8 1
.PATH:	${.CURDIR}/../../usr.bin/cksum
@


1.16
log
@Add excludes.c (missed in previous commit).

PR:		16944
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.15 2000/02/05 18:42:36 joe Exp $
d5 1
a5 2
SRCS=	compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c \
	setflags.c
d7 1
a7 1
.PATH:	${.CURDIR}/../../usr.bin/cksum ${.CURDIR}/../../lib/libc/gen
@


1.15
log
@Revert part of the last commit, remove {g|s}etflags from the libc
interface, and statically link them to the programs using them.
These functions, upon reflection and discussion, are too generically
named for a library interface with such specific functionality.
Also the api that they use, whilst ok for private use, isn't good
enough for a libc function.

Additionally there were complications with the build/install-world
process.  It depends heavily upon xinstall, which got broken by
the change in api, and caused bootstrap problems and general mayhem.

There is work in progress to address future problems that may be
caused by changes in install-chain tools, and better names for
{g|s}etflags can be derived when some future program requires them.
For now the code has been left in src/lib/libc/gen (it started off
in src/bin/ls).

It's important to provide library functions for manipulating file
flag strings if we ever want this interface to be adopted outside
of the source tree, but now isn't necessarily the right moment
with 4.0-release just around the corner.

Approved:	jkh
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.14 2000/01/27 21:16:59 joe Exp $
d5 2
a6 1
SRCS=	compare.c crc.c create.c misc.c mtree.c spec.c verify.c setflags.c
@


1.15.2.1
log
@Give mtree the ability to exclude files.

PR:		16944
Requested by:	Cy Schubert
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.16 2000/05/13 03:11:45 wollman Exp $
d5 1
a5 2
SRCS=	compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c \
	setflags.c
@


1.15.2.2
log
@MFC: Use the new fflagstostr and strtofflags functions in libc.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.15.2.1 2000/05/15 20:49:59 wollman Exp $
d5 2
a6 1
SRCS=	compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c
d8 1
a8 1
.PATH:	${.CURDIR}/../../usr.bin/cksum
@


1.15.2.3
log
@MFC:  bring mtree up to current level.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.15.2.2 2000/06/28 02:33:17 joe Exp $
d5 1
a5 3
SRCS=	compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c \
	strtofflags.c
.PATH:	${.CURDIR}/../../usr.bin/cksum ${.CURDIR}/../../lib/libc/gen
d7 1
@


1.15.2.4
log
@MFC: MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.15.2.3 2001/01/12 19:17:18 phk Exp $
d8 1
a8 1
MAN=	mtree.8
@


1.15.2.5
log
@MFC: Bootstrapping fixes.

This unbreaks source upgrades from 4.2-RELEASE.
@
text
@d2 1
a2 3
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.15.2.4 2001/04/25 12:10:13 ru Exp $

.PATH: ${.CURDIR}/../../usr.bin/cksum
d5 3
a8 1
SRCS=	compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c
d10 3
a12 4
.if defined(BOOTSTRAPPING)
.PATH: ${.CURDIR}/../../lib/libc/gen
SRCS+=	strtofflags.c
.else
a13 2
DPADD=	${LIBMD}
LDADD=	-lmd
@


1.15.2.6
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/usr.sbin/mtree/Makefile 83891 2001-09-24 15:44:23Z ru $
@


1.14
log
@Historically file flags (schg, uschg, etc) have been converted from
string to u_long and back using two functions, flags_to_string and
string_to_flags, which co-existed with 'ls'.  As time has progressed
more and more other tools have used these private functions to
manipulate the file flags.

Recently I moved these functions from /usr/src/bin/ls to libutil,
but after some discussion with bde it's been decided that they
really ought to go in libc.

There are two already existing libc functions for manipulating file
modes:  setmode and getmode.  In keeping with these flags_to_string
has been renamed getflags and string_to_flags to setflags.

The manual page could probably be improved upon ;)
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.13 2000/01/01 15:44:11 joe Exp $
d5 1
a5 1
SRCS=	compare.c crc.c create.c misc.c mtree.c spec.c verify.c
d7 1
a7 1
.PATH:	${.CURDIR}/../../usr.bin/cksum
@


1.13
log
@Added missing DPADD's.  Removed unrequired SRCS's.

Obtained from:	bde
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.12 1999/12/30 13:15:15 joe Exp $
a6 2
DPADD=	${LIBUTIL}
LDADD=	-lutil
@


1.12
log
@Moved flags_to_string and string_to_flags into libutil.  It's used in
many places nowadays.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.11 1999/12/09 20:38:34 joe Exp $
d7 1
@


1.11
log
@Added support for file flags, mostly merged from the NetBSD version.
The way is now open to schg and sappnd key files and directories in
our tree.  There are recommendations in bin/15229.

PR:		bin/15229
Reviewed by:	imp, brian
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.10 1999/08/28 01:17:18 peter Exp $
d5 1
a5 1
SRCS=	compare.c crc.c create.c misc.c mtree.c spec.c verify.c stat_flags.c
d7 2
a8 1
.PATH:	${.CURDIR}/../../usr.bin/cksum ${.CURDIR}/../../bin/ls
@


1.10
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
d5 1
a5 1
SRCS=	compare.c crc.c create.c misc.c mtree.c spec.c verify.c
d7 1
a7 1
.PATH:	${.CURDIR}/../../usr.bin/cksum
@


1.9
log
@When bootstrapping mtree, don't depend on there being a libmd at all.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.8 1999/02/27 03:16:28 jkh Exp $
@


1.8
log
@mtree is a "bootstrap tool", don't use the fancy new world-breaking features
if we're building it as part of the bootstrap toolset.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.7 1999/02/26 18:44:56 wollman Exp $
d9 1
d12 1
a12 4
CFLAGS+= -DMD5

.if !defined(WORLD)
CFLAGS+= -DSHA1 -DRMD160
@


1.7
log
@Add support for SHA-1 and RIPEMD160, now that libmd includes them.  Make
all of the hashes (including MD5) conditionalized in case we want
to turn one of them off later.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.6 1997/02/22 16:07:51 peter Exp $
d11 5
a15 1
CFLAGS+= -DMD5 -DSHA1 -DRMD160
@


1.6
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
#	$Id$
d11 1
@


1.6.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.5
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d2 1
a2 1
#	$FreeBSD$
@


1.4
log
@mtree * MD5 = better security

Idea from: Dr. John T. Wroclawski
@
text
@d2 1
a2 1
#	$Id$
@


1.4.4.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.4.6.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.3
log
@1.  Remove commented out CFLAGS+=-DDEBUG from Makefile

2.  Clean up code so it compiles -Wall (except for sccsid's and copyright).
    This included fixing several printf formats that where not correct,
    and changing the data types of a few things.

3.  Implement new option -i that produces indented mtree output files.

4.  Implement new option -n that turns off directory comments.

5.  Only emit /set records if something has changed since the last one.
@
text
@d1 2
a2 1
#	@@(#)Makefile	8.1 (Berkeley) 6/6/93
d8 3
@


1.2
log
@Get rid of update.  Make man page installation work with our scheme
(and rename a few in the process).
@
text
@a3 1
#CFLAGS+=-DDEBUG
@


1.1
log
@Initial revision
@
text
@d6 1
@


1.1.1.1
log
@BSD 4.4 Lite usr.sbin Sources
@
text
@@


1.1.1.2
log
@Import Lite2's src/usr.sbin, except for timed.  All changed files
except one unimportant one have already left the vendor branch.
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.2 (Berkeley) 4/27/95
a3 1
MAN8=	mtree.0
@
