summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/lib/file.c
AgeCommit message (Expand)Author
2003-02-02Allow '%D' to be used when no last_file available. Fixes binary packageabs
2003-01-05Use EXIT_FAILURE, rather than hardcoding a value of '1' in err(3) andagc
2002-10-17- eliminate the hard-coding of pathnames in the default install.christos
2002-07-20sweep of errx/warnx, remove unnecessary trailing \ngrant
2002-07-19- remove handling of PKG_ADD_BASE.yamt
2002-07-09- use snprintf and strlcpy instead of strcpy, strcat and sprintf in some place.yamt
2002-06-10constify and make WARNS=2 clean.yamt
2002-06-09constify.yamt
2002-06-09- free memory allocated by findbestmatchingname.yamt
2002-06-09- fix buffer size checksyamt
2001-09-26use full pathname of tar consistentlchubertf
2001-03-05Fix command line for tar in the case that the file to be handled doesn'twiz
2001-01-05use %ll_ instead of the less standard %q_lukem
2000-12-13Strip not only .tgz but also .tbz etc. (missed from last commit)hubertf
2000-12-13 * Accept ".tbz" as an alternative pkg suffix to ".tbz" for pkg_add andhubertf
2000-10-31Don't swallow '%' in file/directory names.hubertf
2000-10-11More format string cleanups by sommerfeld.is
2000-10-11Check if $PKG_PATH is set AND contains something useful. Stopshubertf
2000-10-04Make even more silent, only spit out stuff if -v is given.hubertf
2000-08-28Hide "trying PKG_PATH ..." message, only print on -vhubertf
2000-07-06remove/hide some debugging codehubertf
2000-01-25some code cleanuphubertf
2000-01-19FTP wildcard depends code, initial commit.hubertf
1999-12-01 - Comment codehubertf
1999-12-01Don't be verbose unnecessarily. (Instead, just remove this stale debughubertf
1999-11-18Don't preserve uids or permissions of checked out files (MTREE, DEINSTALL,fredb
1999-08-24Bring closer to /usr/share/misc/style with the aid of indent(1).hubertf
1999-08-23Hide test for URLlength()>0 behind a macro (IS_URL()).hubertf
1999-08-20The copy_hierarchy function is never called. Remove its definition andagc
1999-08-19Consolidate URL handling into a table of valid leading strings foragc
1999-08-19Clean up minor nits in C code.agc
1999-06-15Add support for fetching packages from HTTP URLs. Since 'ftp' is alreadycgd
1999-04-12Use absolute path to tar(1) in execl() call.hubertf
1999-03-15Shut-up gcc-2.8.1 warnings.christos
1999-03-09Define TAR_CMD and TAR_FULLPATHNAME, and use them in preference toagc
1999-01-26minor comments fixuphubertf
1999-01-26comment fileFindByPath(), reindent a bithubertf
1998-11-02include fcntl.h to get O_RDONLY; our headers include too much stuff.christos
1998-10-13Fixes for Alpha, from Hideo MASUDA (h-masuda@jm3spa.felix.or.jp), inagc
1998-10-08Eliminate all use of sprintf(3), and replace it with snprintf(3).agc
1998-10-08Get rid of some lint.agc
1998-10-04fix some egcs warningshubertf
1998-10-03Teach our tools about dependencies containing wildcards.hubertf
1998-10-01In an ideal world, make_playpen() and leave_playpen() would maintainhubertf
1998-08-27Allow symlinks to directories instead of pure directories in severalhubertf
1998-07-09Replace FreeBSD's libftpio with our calls to our great ftp client.hubertf
1998-07-06- use an array MAXHOSTNAMELEN+1 size to hold hostnamesmrg
1998-05-18return new dir; fixes PR 5456 by "Heiko W.Rupp" <hwr@pilhuhn.de>hubertf
1998-04-23In isdir() function, use lstat(2) instead of stat(2), so that we doagc
1998-03-27Clean up some lint warnings about return value of errx.agc