head 1.34; access; symbols netbsd-10-2-RELEASE:1.34 netbsd-9-5-RELEASE:1.34 netbsd-11-0-RELEASE:1.34 netbsd-11-0-RC7:1.34 netbsd-11-0-RC6:1.34 netbsd-11-0-RC5:1.34 netbsd-11-0-RC4:1.34 netbsd-11-0-RC3:1.34 netbsd-11-0-RC2:1.34 netbsd-11-0-RC1:1.34 perseant-exfatfs-base-20250801:1.34 netbsd-11:1.34.0.44 netbsd-11-base:1.34 netbsd-10-1-RELEASE:1.34 perseant-exfatfs-base-20240630:1.34 perseant-exfatfs:1.34.0.42 perseant-exfatfs-base:1.34 netbsd-8-3-RELEASE:1.34 netbsd-9-4-RELEASE:1.34 netbsd-10-0-RELEASE:1.34 netbsd-10-0-RC6:1.34 netbsd-10-0-RC5:1.34 netbsd-10-0-RC4:1.34 netbsd-10-0-RC3:1.34 netbsd-10-0-RC2:1.34 netbsd-10-0-RC1:1.34 netbsd-10:1.34.0.40 netbsd-10-base:1.34 netbsd-9-3-RELEASE:1.34 cjep_sun2x-base1:1.34 cjep_sun2x:1.34.0.38 cjep_sun2x-base:1.34 cjep_staticlib_x-base1:1.34 netbsd-9-2-RELEASE:1.34 cjep_staticlib_x:1.34.0.36 cjep_staticlib_x-base:1.34 netbsd-9-1-RELEASE:1.34 phil-wifi-20200421:1.34 phil-wifi-20200411:1.34 is-mlppp:1.34.0.34 is-mlppp-base:1.34 phil-wifi-20200406:1.34 netbsd-8-2-RELEASE:1.34 netbsd-9-0-RELEASE:1.34 netbsd-9-0-RC2:1.34 netbsd-9-0-RC1:1.34 phil-wifi-20191119:1.34 netbsd-9:1.34.0.32 netbsd-9-base:1.34 phil-wifi-20190609:1.34 netbsd-8-1-RELEASE:1.34 netbsd-8-1-RC1:1.34 pgoyette-compat-merge-20190127:1.34 pgoyette-compat-20190127:1.34 pgoyette-compat-20190118:1.34 pgoyette-compat-1226:1.34 pgoyette-compat-1126:1.34 pgoyette-compat-1020:1.34 pgoyette-compat-0930:1.34 pgoyette-compat-0906:1.34 netbsd-7-2-RELEASE:1.34 pgoyette-compat-0728:1.34 netbsd-8-0-RELEASE:1.34 phil-wifi:1.34.0.30 phil-wifi-base:1.34 pgoyette-compat-0625:1.34 netbsd-8-0-RC2:1.34 pgoyette-compat-0521:1.34 pgoyette-compat-0502:1.34 pgoyette-compat-0422:1.34 netbsd-8-0-RC1:1.34 pgoyette-compat-0415:1.34 pgoyette-compat-0407:1.34 pgoyette-compat-0330:1.34 pgoyette-compat-0322:1.34 pgoyette-compat-0315:1.34 netbsd-7-1-2-RELEASE:1.34 pgoyette-compat:1.34.0.28 pgoyette-compat-base:1.34 netbsd-7-1-1-RELEASE:1.34 matt-nb8-mediatek:1.34.0.26 matt-nb8-mediatek-base:1.34 perseant-stdc-iso10646:1.34.0.24 perseant-stdc-iso10646-base:1.34 netbsd-8:1.34.0.22 netbsd-8-base:1.34 prg-localcount2-base3:1.34 prg-localcount2-base2:1.34 prg-localcount2-base1:1.34 prg-localcount2:1.34.0.20 prg-localcount2-base:1.34 pgoyette-localcount-20170426:1.34 bouyer-socketcan-base1:1.34 pgoyette-localcount-20170320:1.34 netbsd-7-1:1.34.0.18 netbsd-7-1-RELEASE:1.34 netbsd-7-1-RC2:1.34 netbsd-7-nhusb-base-20170116:1.34 bouyer-socketcan:1.34.0.16 bouyer-socketcan-base:1.34 pgoyette-localcount-20170107:1.34 netbsd-7-1-RC1:1.34 pgoyette-localcount-20161104:1.34 netbsd-7-0-2-RELEASE:1.34 localcount-20160914:1.34 netbsd-7-nhusb:1.34.0.14 netbsd-7-nhusb-base:1.34 pgoyette-localcount-20160806:1.34 pgoyette-localcount-20160726:1.34 pgoyette-localcount:1.34.0.12 pgoyette-localcount-base:1.34 netbsd-7-0-1-RELEASE:1.34 netbsd-7-0:1.34.0.10 netbsd-7-0-RELEASE:1.34 netbsd-7-0-RC3:1.34 netbsd-7-0-RC2:1.34 netbsd-7-0-RC1:1.34 netbsd-5-2-3-RELEASE:1.31 netbsd-5-1-5-RELEASE:1.31 netbsd-6-0-6-RELEASE:1.32 netbsd-6-1-5-RELEASE:1.32 netbsd-7:1.34.0.8 netbsd-7-base:1.34 yamt-pagecache-base9:1.34 yamt-pagecache-tag8:1.32.6.1 netbsd-6-1-4-RELEASE:1.32 netbsd-6-0-5-RELEASE:1.32 tls-earlyentropy:1.34.0.6 tls-earlyentropy-base:1.34 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.34 riastradh-drm2-base3:1.34 netbsd-6-1-3-RELEASE:1.32 netbsd-6-0-4-RELEASE:1.32 netbsd-5-2-2-RELEASE:1.31 netbsd-5-1-4-RELEASE:1.31 netbsd-6-1-2-RELEASE:1.32 netbsd-6-0-3-RELEASE:1.32 netbsd-5-2-1-RELEASE:1.31 netbsd-5-1-3-RELEASE:1.31 netbsd-6-1-1-RELEASE:1.32 riastradh-drm2-base2:1.34 riastradh-drm2-base1:1.34 riastradh-drm2:1.34.0.2 riastradh-drm2-base:1.34 netbsd-6-1:1.32.0.16 netbsd-6-0-2-RELEASE:1.32 netbsd-6-1-RELEASE:1.32 netbsd-6-1-RC4:1.32 netbsd-6-1-RC3:1.32 agc-symver:1.34.0.4 agc-symver-base:1.34 netbsd-6-1-RC2:1.32 netbsd-6-1-RC1:1.32 yamt-pagecache-base8:1.33 netbsd-5-2:1.31.0.22 netbsd-6-0-1-RELEASE:1.32 yamt-pagecache-base7:1.33 netbsd-5-2-RELEASE:1.31 netbsd-5-2-RC1:1.31 matt-nb6-plus-nbase:1.32 yamt-pagecache-base6:1.33 netbsd-6-0:1.32.0.14 netbsd-6-0-RELEASE:1.32 netbsd-6-0-RC2:1.32 tls-maxphys:1.32.0.12 tls-maxphys-base:1.34 matt-nb6-plus:1.32.0.10 matt-nb6-plus-base:1.32 netbsd-6-0-RC1:1.32 yamt-pagecache-base5:1.32 yamt-pagecache-base4:1.32 netbsd-6:1.32.0.8 netbsd-6-base:1.32 netbsd-5-1-2-RELEASE:1.31 netbsd-5-1-1-RELEASE:1.31 yamt-pagecache-base3:1.32 yamt-pagecache-base2:1.32 yamt-pagecache:1.32.0.6 yamt-pagecache-base:1.32 cherry-xenmp:1.32.0.4 cherry-xenmp-base:1.32 bouyer-quota2-nbase:1.32 bouyer-quota2:1.32.0.2 bouyer-quota2-base:1.32 matt-mips64-premerge-20101231:1.32 matt-nb5-mips64-premerge-20101231:1.31 matt-nb5-pq3:1.31.0.20 matt-nb5-pq3-base:1.31 netbsd-5-1:1.31.0.18 netbsd-5-1-RELEASE:1.31 netbsd-5-1-RC4:1.31 matt-nb5-mips64-k15:1.31 netbsd-5-1-RC3:1.31 netbsd-5-1-RC2:1.31 netbsd-5-1-RC1:1.31 netbsd-5-0-2-RELEASE:1.31 matt-nb5-mips64-premerge-20091211:1.31 matt-premerge-20091211:1.32 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.31 matt-nb4-mips64-k7-u2a-k9b:1.31 matt-nb5-mips64-u1-k1-k5:1.31 matt-nb5-mips64:1.31.0.16 netbsd-5-0-1-RELEASE:1.31 jym-xensuspend-nbase:1.32 netbsd-5-0:1.31.0.14 netbsd-5-0-RELEASE:1.31 netbsd-5-0-RC4:1.31 netbsd-5-0-RC3:1.31 netbsd-5-0-RC2:1.31 jym-xensuspend:1.31.0.12 jym-xensuspend-base:1.32 netbsd-5-0-RC1:1.31 netbsd-5:1.31.0.10 netbsd-5-base:1.31 matt-mips64-base2:1.31 matt-mips64:1.30.0.8 mjf-devfs2:1.31.0.8 mjf-devfs2-base:1.31 netbsd-4-0-1-RELEASE:1.27 wrstuden-revivesa-base-3:1.31 wrstuden-revivesa-base-2:1.31 wrstuden-fixsa-newbase:1.27 wrstuden-revivesa-base-1:1.31 yamt-pf42-base4:1.31 yamt-pf42-base3:1.31 hpcarm-cleanup-nbase:1.31 yamt-pf42-baseX:1.31 yamt-pf42-base2:1.31 wrstuden-revivesa:1.31.0.6 wrstuden-revivesa-base:1.31 yamt-pf42:1.31.0.4 yamt-pf42-base:1.31 keiichi-mipv6-nbase:1.31 keiichi-mipv6:1.31.0.2 keiichi-mipv6-base:1.31 matt-armv6-nbase:1.31 matt-armv6-prevmlocking:1.30 wrstuden-fixsa-base-1:1.27 netbsd-4-0:1.27.0.8 netbsd-4-0-RELEASE:1.27 cube-autoconf:1.30.0.6 cube-autoconf-base:1.30 netbsd-4-0-RC5:1.27 netbsd-4-0-RC4:1.27 netbsd-4-0-RC3:1.27 netbsd-4-0-RC2:1.27 netbsd-4-0-RC1:1.27 matt-armv6:1.30.0.4 matt-armv6-base:1.31 matt-mips64-base:1.30 hpcarm-cleanup:1.30.0.2 hpcarm-cleanup-base:1.31 netbsd-3-1-1-RELEASE:1.26 netbsd-3-0-3-RELEASE:1.26 wrstuden-fixsa:1.27.0.6 wrstuden-fixsa-base:1.27 abandoned-netbsd-4-base:1.27 abandoned-netbsd-4:1.27.0.2 netbsd-3-1:1.26.0.12 netbsd-3-1-RELEASE:1.26 netbsd-3-0-2-RELEASE:1.26 netbsd-3-1-RC4:1.26 netbsd-3-1-RC3:1.26 netbsd-3-1-RC2:1.26 netbsd-3-1-RC1:1.26 netbsd-4:1.27.0.4 netbsd-4-base:1.27 netbsd-3-0-1-RELEASE:1.26 netbsd-3-0:1.26.0.10 netbsd-3-0-RELEASE:1.26 netbsd-3-0-RC6:1.26 netbsd-3-0-RC5:1.26 netbsd-3-0-RC4:1.26 netbsd-3-0-RC3:1.26 netbsd-3-0-RC2:1.26 netbsd-3-0-RC1:1.26 netbsd-2-0-3-RELEASE:1.26 netbsd-2-1:1.26.0.8 netbsd-2-1-RELEASE:1.26 netbsd-2-1-RC6:1.26 netbsd-2-1-RC5:1.26 netbsd-2-1-RC4:1.26 netbsd-2-1-RC3:1.26 netbsd-2-1-RC2:1.26 netbsd-2-1-RC1:1.26 netbsd-2-0-2-RELEASE:1.26 netbsd-3:1.26.0.6 netbsd-3-base:1.26 netbsd-2-0-1-RELEASE:1.26 netbsd-2:1.26.0.4 netbsd-2-base:1.26 netbsd-2-0-RELEASE:1.26 netbsd-2-0-RC5:1.26 netbsd-2-0-RC4:1.26 netbsd-2-0-RC3:1.26 netbsd-2-0-RC2:1.26 netbsd-2-0-RC1:1.26 netbsd-2-0:1.26.0.2 netbsd-2-0-base:1.26 netbsd-1-6-PATCH002-RELEASE:1.23 netbsd-1-6-PATCH002:1.23 netbsd-1-6-PATCH002-RC4:1.23 netbsd-1-6-PATCH002-RC3:1.23 netbsd-1-6-PATCH002-RC2:1.23 netbsd-1-6-PATCH002-RC1:1.23 netbsd-1-6-PATCH001:1.23 netbsd-1-6-PATCH001-RELEASE:1.23 netbsd-1-6-PATCH001-RC3:1.23 netbsd-1-6-PATCH001-RC2:1.23 netbsd-1-6-PATCH001-RC1:1.23 fvdl_fs64_base:1.25 netbsd-1-6-RELEASE:1.23 netbsd-1-6-RC3:1.23 netbsd-1-6-RC2:1.23 netbsd-1-6-RC1:1.23 netbsd-1-6:1.23.0.2 netbsd-1-6-base:1.23 netbsd-1-5-PATCH003:1.15 netbsd-1-5-PATCH002:1.15 netbsd-1-5-PATCH001:1.15 netbsd-1-5-RELEASE:1.15 netbsd-1-5-BETA2:1.15 netbsd-1-5-BETA:1.15 netbsd-1-4-PATCH003:1.13.2.1 netbsd-1-5-ALPHA2:1.15 netbsd-1-5:1.15.0.4 netbsd-1-5-base:1.15 minoura-xpg4dl-base:1.15 minoura-xpg4dl:1.15.0.2 netbsd-1-4-PATCH002:1.13.2.1 wrstuden-devbsize-19991221:1.15 wrstuden-devbsize:1.13.0.6 wrstuden-devbsize-base:1.15 comdex-fall-1999:1.13.0.4 comdex-fall-1999-base:1.13 netbsd-1-4-PATCH001:1.13 netbsd-1-4-RELEASE:1.13 netbsd-1-4:1.13.0.2 netbsd-1-4-base:1.13 netbsd-1-3-PATCH003:1.11.2.1 netbsd-1-3-PATCH003-CANDIDATE2:1.11.2.1 netbsd-1-3-PATCH003-CANDIDATE1:1.11.2.1 netbsd-1-3-PATCH003-CANDIDATE0:1.11.2.1 netbsd-1-3-PATCH002:1.11.2.1 netbsd-1-3-PATCH001:1.11.2.1 netbsd-1-3-RELEASE:1.11.2.1 netbsd-1-3-BETA:1.11.2.1 netbsd-1-3:1.11.0.2 netbsd-1-3-base:1.11 lite-2:1.1.1.3 netbsd-1-2-PATCH001:1.8 netbsd-1-2-RELEASE:1.8 netbsd-1-2-BETA:1.8 netbsd-1-2:1.8.0.6 netbsd-1-2-base:1.8 netbsd-1-1-PATCH001:1.8 netbsd-1-1-RELEASE:1.8 netbsd-1-1:1.8.0.2 netbsd-1-1-base:1.8 lite-1:1.1.1.2 CSRG:1.1.1 netbsd-1-0-PATCH06:1.5 netbsd-1-0-PATCH05:1.5 netbsd-1-0-PATCH04:1.5 netbsd-1-0-PATCH03:1.5 netbsd-1-0-PATCH02:1.5 netbsd-1-0-PATCH1:1.5 netbsd-1-0-PATCH0:1.5 netbsd-1-0-RELEASE:1.5 netbsd-1-0:1.5.0.2 netbsd-1-0-base:1.5 netbsd-0-9-RELEASE:1.1.1.1 netbsd-0-9-BETA:1.1.1.1 netbsd-0-9-ALPHA2:1.1.1.1 netbsd-0-9-ALPHA:1.1.1.1 netbsd-0-9:1.1.1.1.0.2 netbsd-0-9-base:1.1.1.1 netbsd-0-8:1.1.1.1 netbsd-alpha-1:1.1.1.1 patchkit-0-2-2:1.1.1.1 WFJ-386bsd-01:1.1.1.1 WFJ-920714:1.1.1; locks; strict; comment @# @; 1.34 date 2013.02.03.19.15.16; author christos; state Exp; branches; next 1.33; 1.33 date 2012.10.05.01.26.56; author christos; state Exp; branches; next 1.32; 1.32 date 2009.04.22.15.23.05; author lukem; state Exp; branches 1.32.6.1 1.32.12.1; next 1.31; 1.31 date 2007.12.12.21.56.38; author christos; state Exp; branches 1.31.12.1; next 1.30; 1.30 date 2006.12.16.12.59.17; author bouyer; state Exp; branches 1.30.4.1; next 1.29; 1.29 date 2006.12.14.20.09.36; author he; state Exp; branches; next 1.28; 1.28 date 2006.12.14.17.54.19; author he; state Exp; branches; next 1.27; 1.27 date 2005.04.09.13.13.32; author dsl; state Exp; branches; next 1.26; 1.26 date 2003.05.18.07.57.39; author lukem; state Exp; branches; next 1.25; 1.25 date 2002.11.30.03.10.57; author lukem; state Exp; branches; next 1.24; 1.24 date 2002.09.18.03.54.34; author lukem; state Exp; branches; next 1.23; 1.23 date 2002.01.29.00.07.27; author tv; state Exp; branches; next 1.22; 1.22 date 2002.01.24.03.20.11; author lukem; state Exp; branches; next 1.21; 1.21 date 2001.11.10.07.10.11; author lukem; state Exp; branches; next 1.20; 1.20 date 2001.11.07.08.01.51; author lukem; state Exp; branches; next 1.19; 1.19 date 2001.10.18.05.06.01; author lukem; state Exp; branches; next 1.18; 1.18 date 2001.10.09.05.19.03; author enami; state Exp; branches; next 1.17; 1.17 date 2001.10.09.04.50.00; author lukem; state Exp; branches; next 1.16; 1.16 date 2001.09.10.03.22.24; author lukem; state Exp; branches; next 1.15; 1.15 date 99.12.07.18.42.06; author wennmach; state Exp; branches; next 1.14; 1.14 date 99.11.07.20.23.01; author wennmach; state Exp; branches; next 1.13; 1.13 date 98.10.10.07.50.27; author mrg; state Exp; branches 1.13.2.1 1.13.6.1; next 1.12; 1.12 date 97.10.25.06.58.25; author lukem; state Exp; branches; next 1.11; 1.11 date 97.10.17.05.24.29; author mrg; state Exp; branches 1.11.2.1; next 1.10; 1.10 date 97.05.08.21.12.33; author gwr; state Exp; branches; next 1.9; 1.9 date 97.05.06.20.46.26; author gwr; state Exp; branches; next 1.8; 1.8 date 95.03.07.21.12.04; author cgd; state Exp; branches; next 1.7; 1.7 date 95.03.07.15.28.32; author cgd; state Exp; branches; next 1.6; 1.6 date 94.12.22.11.36.40; author cgd; state Exp; branches; next 1.5; 1.5 date 94.03.19.07.55.56; author cgd; state Exp; branches; next 1.4; 1.4 date 93.11.02.08.43.48; author cgd; state Exp; branches; next 1.3; 1.3 date 93.11.02.07.51.06; author cgd; state Exp; branches; next 1.2; 1.2 date 93.07.30.22.12.00; author mycroft; state Exp; branches; next 1.1; 1.1 date 93.03.21.09.45.37; author cgd; state Exp; branches 1.1.1.1; next ; 1.32.6.1 date 2012.10.30.19.00.40; author yamt; state Exp; branches; next 1.32.6.2; 1.32.6.2 date 2014.05.22.11.43.07; author yamt; state Exp; branches; next ; commitid wmvImESqVQCgMwBx; 1.32.12.1 date 2012.11.20.03.03.02; author tls; state Exp; branches; next 1.32.12.2; 1.32.12.2 date 2013.02.25.00.30.45; author tls; state Exp; branches; next ; 1.31.12.1 date 2009.05.13.19.20.31; author jym; state Exp; branches; next ; 1.30.4.1 date 2008.01.09.02.02.10; author matt; state Exp; branches; next ; 1.13.2.1 date 99.11.20.16.46.38; author he; state Exp; branches; next ; 1.13.6.1 date 99.12.27.18.37.54; author wrstuden; state Exp; branches; next ; 1.11.2.1 date 97.11.08.15.12.05; author lukem; state Exp; branches; next ; 1.1.1.1 date 93.03.21.09.45.37; author cgd; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 95.03.07.14.44.06; author cgd; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 95.04.27.22.37.36; author mrg; state Exp; branches; next ; desc @@ 1.34 log @add the ability to only output paths included in a spec file when creating from a directory (-c) @ text @# $NetBSD: Makefile,v 1.33 2012/10/05 01:26:56 christos Exp $ # from: @@(#)Makefile 8.2 (Berkeley) 4/27/95 .include PROG= mtree #CPPFLAGS+=-DDEBUG CPPFLAGS+= -DMTREE MAN= mtree.8 SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c specspec.c \ verify.c getid.c pack_dev.c only.c .if (${HOSTPROG:U} == "") DPADD+= ${LIBUTIL} LDADD+= -lutil .endif CPPFLAGS+= -I${NETBSDSRCDIR}/sbin/mknod .PATH: ${NETBSDSRCDIR}/sbin/mknod .include @ 1.33 log @Implement FreeBSD's -f spec1 -f spec2 spec comparision function. This is more useful than -C and diff because it highlights the keys that have changed value so for example, you can see that the size of a file has not changed but the contents have. (brooks) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2009/04/22 15:23:05 lukem Exp $ d11 1 a11 1 verify.c getid.c pack_dev.c @ 1.32 log @Enable WARNS=4 by default, except for: cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest kimpersonate kstash ktutil makefs ndbootd ntp pppd quot racoon racoonctl rtadvd sntp sup tcpdchk tcpdmatch tcpdump traceroute traceroute6 user veriexecgen wsmoused zic (Mostly third-party applications) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2007/12/12 21:56:38 christos Exp $ d10 2 a11 2 SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c \ getid.c pack_dev.c @ 1.32.12.1 log @Resync to 2012-11-19 00:00:00 UTC @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2012/10/05 01:26:56 christos Exp $ d10 2 a11 2 SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c specspec.c \ verify.c getid.c pack_dev.c @ 1.32.12.2 log @resync with head @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32.12.1 2012/11/20 03:03:02 tls Exp $ d11 1 a11 1 verify.c getid.c pack_dev.c only.c @ 1.32.6.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2009/04/22 15:23:05 lukem Exp $ d10 2 a11 2 SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c specspec.c \ verify.c getid.c pack_dev.c @ 1.32.6.2 log @sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32.6.1 2012/10/30 19:00:40 yamt Exp $ d11 1 a11 1 verify.c getid.c pack_dev.c only.c @ 1.31 log @warns=4 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2006/12/16 12:59:17 bouyer Exp $ a15 1 WARNS?= 4 @ 1.31.12.1 log @Sync with HEAD. Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2009/04/22 15:23:05 lukem Exp $ d16 1 @ 1.30 log @Don't depend on lubutil if we're building host tools. Fix tools build on non-NetBSD hosts. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2006/12/14 20:09:36 he Exp $ d16 1 a16 1 WARNS?= 3 @ 1.30.4.1 log @sync with HEAD @ text @d1 1 a1 1 # $NetBSD$ d16 1 a16 1 WARNS?= 4 @ 1.29 log @Complete the move of string_to_flags() and flags_to_string() from the bin/ls sources to libutil: o Bump libutil minor version number o Fix uses to include to pick up the function definitions o Fix most uses of flags_to_string() to release the now-malloc()ed result @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2006/12/14 17:54:19 he Exp $ d12 4 a15 2 LDADD+= -lutil DPADD+= ${LIBUTIL} @ 1.28 log @The "#ifdef UNUSED_BLOCK" in stat_flags.c wasn't so unused after all -- it was used by the mtree source. So, instead do an "#ifdef MTREE", and define that one when building mtree. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2005/04/09 13:13:32 dsl Exp $ d11 3 a13 1 getid.c stat_flags.c pack_dev.c d16 2 a17 2 CPPFLAGS+= -I${NETBSDSRCDIR}/bin/ls -I${NETBSDSRCDIR}/sbin/mknod .PATH: ${NETBSDSRCDIR}/bin/ls ${NETBSDSRCDIR}/sbin/mknod @ 1.27 log @WARNS=3 seems to work for me @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2003/05/18 07:57:39 lukem Exp $ d8 1 @ 1.26 log @Now that DTRT if HOSTPROG is defined (i.e, it is a no-op), there's no need to special-case .include-ing it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2002/11/30 03:10:57 lukem Exp $ d11 1 a11 1 WARNS?= 2 @ 1.25 log @tweaks for fparseln(3) move from libutil to libc: - remove #include if nothing else needed it - remove LDFLAGS+=-lutil if nothing else needed it @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2002/09/18 03:54:34 lukem Exp $ a15 1 .ifndef HOSTPROG a16 1 .endif @ 1.24 log @use NETBSDSRCDIR as appropriate @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2002/01/29 00:07:27 tv Exp $ a11 5 .ifndef HOSTPROG LDADD+= -lutil DPADD+= ${LIBUTIL} .endif @ 1.23 log @Add hooks to make mtree compilable from src/tools. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2002/01/24 03:20:11 lukem Exp $ d4 2 d18 2 a19 2 CPPFLAGS+= -I${.CURDIR}/../../bin/ls -I${.CURDIR}/../../sbin/mknod .PATH: ${.CURDIR}/../../bin/ls ${.CURDIR}/../../sbin/mknod @ 1.22 log @Add '-N dbdir', to specify that user & group lookups (via pwcache(3)) are to be done from dbdir/master.passwd and dbdir/group, using simple text file parsing routines. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2001/11/10 07:10:11 lukem Exp $ d11 1 d14 1 @ 1.21 log @with local crc.c, don't need usr.bin/cksum in .PATH any more @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2001/11/07 08:01:51 lukem Exp $ d8 1 a8 1 stat_flags.c pack_dev.c @ 1.20 log @User interface changes from (or inspired by) FreeBSD: - Add -L to walk the tree `logically', by following symbolic links in the heirarchy. - Add -P to walk the tree `physically'. This is the current behaviour, and the default. - Add "-X excludes-file" to give mtree the ability to exclude files and directories from its traversal. excludes-file contains fnmatch(3) patterns to exclude from the walk. - Add "md5digest" synonym for "md5". - Add "rmd160" keyword for RMD-160 message digest, and "rmd160digest" synonym. - Add "sha1" keyword for SHA-1 message digest, and "sha1digest" synonym. - Don't try to compare() other attributes if the type doesn't match; it's nothing but trouble, and no use anyway. - In -c, only emit "/set" records if something has changed since the previous one. User interface changes by me: - Check a device's parameters before checking uid/gid/mode. - If updating (-u), modify the following to match the specification: - Device type (retaining existing ownership). - Symlink target. Fixes from (or inspired by) FreeBSD: - Use p->ftslevel instead of own code to keep track of the level ourself. The previous code got majorly confused if fts(3) couldn't descend into a subdir, resulting in leaf nodes getting attached to the wrong directory. XXX: This new method is much much more robust, even though it's not 100% perfect; it might result in a couple of following entries in the spec to be incorrectly tagged as missing. - Pass a useful pathname to rlink(), so that logical (-L) traversal doesn't confuse symlink checking. - Consistently use MAXPATHLEN+1 sized buffers for pathnames, so that there's room for the NUL. - Use mtree_err() and strerror(p->fts_errno) to report errors during the fts(3) walk. Fixes by me: - Remove now-unused `const char *name' argument from compare(). - Change crc_total from an int to a u_int32_t, to match usr.bin/cksum/crc.c. - Remove trailing whitespace. - Remove unnecessary (void) casts on functions. - Reorder entries in the getopt() switch. - Replace strtoq() with strtoll(), and use strtoul() appropriately. - Renumber F_ flags to be in alphabetical order. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2001/10/18 05:06:01 lukem Exp $ d15 1 a15 3 .PATH: ${.CURDIR}/../../usr.bin/cksum \ ${.CURDIR}/../../bin/ls \ ${.CURDIR}/../../sbin/mknod @ 1.19 log @complete WARNS=2 cleanup (with a bit of ickiness for the fts_open argv issue) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2001/10/09 05:19:03 enami Exp $ d7 1 a7 1 SRCS= compare.c crc.c create.c misc.c mtree.c spec.c verify.c \ @ 1.18 log @Make mtree a host tool and use it when appropriate. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2001/10/09 04:50:00 lukem Exp $ d9 1 @ 1.17 log @Add "device" keyword, which allows the device number to be specified, to be later checked and possibly created. Uses parsing and encoding routines from mknod(8). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2001/09/10 03:22:24 lukem Exp $ d18 1 d20 1 @ 1.16 log @replace home-grown parser with fparseln() @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 1999/12/07 18:42:06 wennmach Exp $ d8 1 a8 1 stat_flags.c d13 4 a16 2 CPPFLAGS+= -I${.CURDIR}/../../bin/ls .PATH: ${.CURDIR}/../../usr.bin/cksum ${.CURDIR}/../../bin/ls @ 1.15 log @code.c is no longer used, we use strsvis instead. Removed prototypes from extern.h @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 1999/11/07 20:23:01 wennmach Exp $ d9 3 @ 1.14 log @Encode file names using strvis(3) when creating a specification. Escape white space characters and `#' characters. Do the inverse when reading specs. This is a temporary fix until we have strzouvis(3) (or some such) which is an improved version of strvis (taking an additional list of characters to encode). Fixes PR 5006 and PR 7663 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 1998/10/10 07:50:27 mrg Exp $ d8 1 a8 1 stat_flags.c code.c @ 1.13 log @add support for 4.4BSD file flags. we take a `flags=xxx' parameter, using the same style of naming as chflags, ls & xinstall use, plus an additional `none' to turn off a default setting. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 1997/10/25 06:58:25 lukem Exp $ d8 1 a8 1 stat_flags.c @ 1.13.6.1 log @Pull up to last week's -current. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 1999/12/07 18:42:06 wennmach Exp $ @ 1.13.2.1 log @Pull up revision 1.14 (requested by wennmach and joda): Make mtree able to properly encode file names with `funny' albeit legal characters (`#', ` ', binary characters), fixing PR#5006 and PR#7663. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 1998/10/10 07:50:27 mrg Exp $ d8 1 a8 1 stat_flags.c code.c @ 1.12 log @use CPPFLAGS instead of CFLAGS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 1997/10/17 05:24:29 mrg Exp $ d7 5 a11 2 SRCS= compare.c crc.c create.c misc.c mtree.c spec.c verify.c .PATH: ${.CURDIR}/../../usr.bin/cksum @ 1.11 log @merge lite-2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 1997/05/08 21:12:33 gwr Exp $ d5 1 a5 1 #CFLAGS+=-DDEBUG @ 1.11.2.1 log @sync with trunk (approved by thorpej) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 1997/10/25 06:58:25 lukem Exp $ d5 1 a5 1 #CPPFLAGS+=-DDEBUG @ 1.10 log @Back out the .PATH.c changes. The .depend problem (and others) will be fixed using the new .NOPATH make feature instead. @ text @d1 2 a2 2 # $NetBSD: Makefile,v 1.9 1997/05/06 20:46:26 gwr Exp $ # @@(#)Makefile 8.1 (Berkeley) 6/6/93 @ 1.9 log @Use .PATH.c: ... @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 1995/03/07 21:12:04 cgd Exp $ d8 1 a8 1 .PATH.c: ${.CURDIR}/../../usr.bin/cksum @ 1.8 log @add NetBSD id's @ text @d1 1 a1 1 # $NetBSD$ d8 1 a8 1 .PATH: ${.CURDIR}/../../usr.bin/cksum @ 1.7 log @clean up import, fix a few bugs, etc. @ text @d1 1 @ 1.6 log @specify man pages the new way. @ text @d1 1 a1 2 # from: @@(#)Makefile 5.6 (Berkeley) 2/19/92 # $Id: Makefile,v 1.5 1994/03/19 07:55:56 cgd Exp $ @ 1.5 log @don't forget the man page. from Luke Mewburn @ text @d2 1 a2 1 # $Id: Makefile,v 1.4 1993/11/02 08:43:48 cgd Exp $ d6 1 a6 1 MAN8= mtree.0 @ 1.4 log @fix oops @ text @d2 1 a2 1 # $Id: Makefile,v 1.3 1993/11/02 07:51:06 cgd Exp $ d6 1 @ 1.3 log @latest mtree from uunet. doesn't compile, but that'll be fixed soon. (want to have 'pseudo-virgin' sources, for when fixed fnmatch stuff is released...) @ text @d2 1 a2 1 # $Id$ d7 1 a7 2 .PATH: /usr/src/usr.bin/cksum #.PATH: ${.CURDIR}/../../usr.bin/cksum @ 1.2 log @Add RCS identifiers. @ text @d1 2 a2 2 # from: @@(#)Makefile 5.4 (Berkeley) 5/25/90 # $Id: $ d5 4 a8 2 SRCS= compare.c create.c mtree.c spec.c verify.c .PATH: ${.CURDIR} @ 1.1 log @Initial revision @ text @d1 2 a2 1 # @@(#)Makefile 5.4 (Berkeley) 5/25/90 @ 1.1.1.1 log @initial import of 386bsd-0.1 sources @ text @@ 1.1.1.2 log @from 4.4-Lite @ text @d1 1 a1 1 # @@(#)Makefile 8.1 (Berkeley) 6/6/93 d4 2 a5 3 #CFLAGS+=-DDEBUG SRCS= compare.c crc.c create.c misc.c mtree.c spec.c verify.c .PATH: ${.CURDIR}/../../usr.bin/cksum @ 1.1.1.3 log @4.4BSD-Lite2 @ text @d1 1 a1 1 # @@(#)Makefile 8.2 (Berkeley) 4/27/95 a3 1 MAN8= mtree.0 @