summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree/misc.c
Commit message (Collapse)AuthorAgeFilesLines
* o Add an 'optional' keyword, which allows files to be in themaxim2006-07-031-0/+1
| | | | | | | | | | specification, but not in the file hierarchy. PR: bin/99531 Submitted by: skv Obtained from: NetBSD, originally from Ed Symanzik Regress. test: test/test05.sh MFC after: 1 month
* Adds sha256 support. While it is a good idea to also add sha384 andtobez2005-03-291-0/+3
| | | | | | | | | | | | | | 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
* collect all "extern bla" stuff in extern.h in order to get cross-filephk2004-01-111-2/+0
| | | | type checking. No bugs found.
* Remove clause 3 in the copyrights (according to permission in src/COPYRIGHT)phk2003-10-211-5/+1
| | | | Remove trailing whitespace.
* Remove "register" keywords.phk2003-10-211-7/+3
| | | | Use newspeak functions definitions.
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+4
|
* fixup for WARNS=4.alfred2002-07-111-3/+4
|
* de-__P()alfred2002-07-111-1/+1
|
* Switch over to using the new fflagstostr and strtofflags library calls.joe2000-06-171-0/+18
|
* Added support for file flags, mostly merged from the NetBSD version.joe1999-12-091-0/+1
| | | | | | | | 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
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add support for SHA-1 and RIPEMD160, now that libmd includes them. Makewollman1999-02-261-1/+9
| | | | | all of the hashes (including MD5) conditionalized in case we want to turn one of them off later.
* Create a new flag, "nochange", which will specify that a directory ispeter1998-06-051-1/+2
| | | | | | | | | | | | to be created if it's missing, otherwise completely ignore it's modes and owners. Primary intended targets: /usr/src and /usr/obj. Adjust the 'not created: File exists' message to mention that it's a directory that's the problem, otherwise it doesn't make sense. I had created chown-style -L and -P flag to control logical/physical mode (ie: whether symlinks were followed), but the nochange flag is enough to get the blasted thing out of my hair so I took them back out.
* Use err(3) instead of local redefinition.charnier1997-10-011-36/+10
|
* mtree * MD5 = better securitywollman1995-02-101-0/+1
| | | | Idea from: Dr. John T. Wroclawski
* 1. Remove commented out CFLAGS+=-DDEBUG from Makefilergrimes1994-09-181-13/+14
| | | | | | | | | | | | 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.
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-261-0/+125
OpenPOWER on IntegriCloud