summaryrefslogtreecommitdiff
path: root/usr.bin/xinstall/xinstall.c
AgeCommit message (Expand)Author
2011-09-06Use static and __dead.joerg
2009-11-12Don't assume that "id_t", "gid_t" and "uid_t" use the same underlying typetron
2009-10-30Only trust STRIP from environment if it is non-empty. Some packages setjoerg
2009-07-25When installing via a temporary file, base the name of the temporarygson
2009-06-08tabify and wrap long lines.yamt
2009-06-08Fix race condition causing "install -d" to randomly fail when multiplegson
2009-05-01Add support for writing sha256, sha384, and sha512 digests toapb
2009-04-17Re-calculate size and digestresult after stripping, to ensure thatapb
2009-04-14Fix -Wshadow -Wcast-qual issueslukem
2009-04-07Changes for installing with a metalog:apb
2008-12-28back out previous, and do it the better way.christos
2008-12-28In the "tool" case, pretend we don't have futimes because there is no visiblechristos
2008-07-21Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2007-06-28- When compiling nbinstall for the tool chain, use the target stripjoerg
2006-12-14Complete the move of string_to_flags() and flags_to_string() from thehe
2006-10-30kill crypto/rmd160.h and crypto/sha2.h, and instead make symlinks tochristos
2006-10-06When trying to copy many files into another file, provide a useful andrillig
2006-09-25PR/30698: install(1) stripping flags in METALOG [patch] (Jukka Salmi)daniel
2006-09-25PR/32589: install -d ignores existing non-directories (joerg@netbsd.org)daniel
2006-09-11fixes for installing into a case insensitive $DESTDIRdbj
2006-05-11char -> u_char for a buffer passed to MD5*().mrg
2006-04-21Coverity CID 95: Fix resource leak.christos
2005-10-01fix setmode error handling.christos
2005-09-25Use crypto/rmd160.h.elad
2005-06-11mktemp() uses are ok here, so no more warnings.christos
2005-05-10When creating a relative symlink (-lr), use the originally provided `to_name'lukem
2005-05-08strvis(3) encode the link=... argument in the metalog.lukem
2005-05-08metadata_log(): remove leading -D destdir before strsvis(3) encodinglukem
2004-06-20Completely rework how tools/compat is done. Purge all uses/references tojmc
2004-02-02Fix bug when calculating digest when copying from dev/null.lukem
2004-01-30Auso support -h hash for hard-linked files.lukem
2004-01-29Implement -h {none,md5,rmd160,sha1} to determine the appropriate hashlukem
2003-12-29Make "copy the file" (the -c option) the default behaviour. The -c optionsimonb
2003-12-16Initialize uid and gid so that the owner/group is not inadvertantly changedheas
2003-11-21munmap() so that we don't accumulate memory on multiple files.christos
2003-10-27Overhaul how `build.sh tools' are used:lukem
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-07-12strlcatitojun
2003-03-13Don't do the madvise(2) call if __APPLE__. Even though madvise(2)thorpej
2002-12-23DTRT with -D destdir when the target == destdirlukem
2002-12-22Implement '-D destdir'; if '-M metalog' is being used, remove alukem
2002-12-19Add '-N dbdir', to specify that user & group lookups are to be done fromlukem
2002-06-09Convert from flock() to the more portable fcntl().lukem
2002-06-08make an auto const variable static.yamt
2002-04-10doh. don't try and update from_sb and tv if dolink is setlukem
2002-04-10always stat into &from_sb and setup tv[]; stops weird problem noticedlukem
2002-03-19- Add "-a afterinstallcommand", which runs "sh -c afterinstallcmd target"lukem
2002-02-28When metalogging a hard link, don't log it as "type=hlink".lukem
2002-01-31Roll in fixes to permit cross-compiling from non-NetBSD hosts. Thistv
2002-01-28Identify where errors come from, rather than just doing err[x]("%s", foo).tv