summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/lib
AgeCommit message (Collapse)Author
2003-04-05remove a dead function, simplify copy_string with strdup ; rohee@ okAnil Madhavapeddy
2003-04-05correct a bad strncpy; replace with strlcat; rohee@ okAnil Madhavapeddy
2003-04-05some strlcpy,snprintf,strlcat conversions, tedu@ okAnil Madhavapeddy
2003-04-04some more strcpy/strcat -> strlcpy/strlcat conversionsAnil Madhavapeddy
ok and tweaks by ho@
2002-03-14Remove \n from err/errx/warn/warnx().Mike Pechkin
millert@ ok
2002-02-18Don't chmod 0755 the directory we just mkdtemp()'d. mkdtemp() usesTodd C. Miller
mode 0700 which is better. From Yozo TODA based on a FreeBSD advisory.
2001-11-26mostly mark signal racesTheo de Raadt
2001-11-07Say goodbye to @ignore_inst, we don't use it, and it doesn't even work inMarc Espie
any sane way...
2001-11-07Recognize libdepend keyword.Marc Espie
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-06-06Let set_pkg kill trailing / in pkgname.Marc Espie
Saves poor angelos from getting his dependencies screwed when he does pkg_delete pkg_name/ Ok angelos@
2001-04-08Better error messages: pwarnx function, which works like pwarn, exceptMarc Espie
it shows a current package name along with the program name, e.g., pkg_add(foo-3.0): some error occurred. A few messages now bear redundant pkgnames, which is much better than doing pkg_add * and being informed that something went slightly wrong somewhere...
2001-04-02Handle for newdepend.Marc Espie
- recognize the keyword, - pass all packing lists to `pkg dependencies solve' for rewriting. pkg dependencies solve is a no-op in the absence of newdepends. With newdepends, it rewrites @newdepends -> @pkgdep on the fly, depending on what's actually installed on the machine.
2001-03-11add p-flag to tar so that uids/gids andPeter Stromberg
file modes are preserved on ftp/http installs
2000-05-12nasty bug in %f; espieTheo de Raadt
2000-04-28Remove last remnants of @option preserve and @option extract-in-placeMarc Espie
We don't use these, and they are a bad idea anyway.
2000-04-26Consistency in error reports.Marc Espie
*always* tell them MD5Sum fails, because later, pkg_delete will complain about a bad package anyway, and the poor user won't be able to figure out what went wrong, and it's obviously too late since the package is gone already...
2000-04-05Fix bogus error message. Not a dir can mean *nothing* at all.Marc Espie
Reviewed by aaron@... ;-)
2000-03-24Handle expansion sequences in @exec better (let the expander decide whetherMarc Espie
it needs a file name instead of assuming we always need one). Sent to *quite a few* people, comments by drahn@... guys, wake up !!!
1999-10-09Band Aid fixes, polyglot of espies and mine:Bob Beck
- ensure package files end in .tgz if not suffixed, but allow for .tar.gz and uncompressed .tar as well. - make pkg_add take as many args as you can feed it. - "pkg_add *.tgz" works now. - fix bug where realpath could fail and leave NULL in arg list. - fix bug where nonexistent package could fail and leave NULL in arg list.
1999-10-05too soonMarc Espie
1999-10-05Actually build pkg_sign.Marc Espie
1999-09-20- get http:// and ftp:// treated in a uniform way,Marc Espie
- disable FreeBSD-specific packages organization per category
1998-11-19- fix pkg_info to give more rational summary when COMMENTS files are weird.Marc Espie
- warn when COMMENT > 60 characters. *** In one month we turn this into an error -> fix packages files ***
1998-10-13Sync with recent NetBSD changes:Marco S Hyman
- use snprintf in place of sprintf - code cleanup - Package -> package_t, PackingList -> plist_t Also: remove files that haven't been linked in a while Pass -q to mtree so it is quiet in the presence of symlinks
1998-09-07updated pkg_* tools. Merged in many changes/improvements from NetBSD.Marco S Hyman
New features include md5 hash so pkg_delete won't remove files that have changed and the ability to define conflicting packages, e.g. you can't install both mh and nmh. The ports tree will have to be updated to take advantage of this. Let me know of any problems, real or imagined :-)
1998-06-23Fix snprintf return value usage.Todd C. Miller
1998-04-25Use mkdtemp(3), not mktemp(3).Todd C. Miller
1998-04-07active mode is way busted; default to passiveTheo de Raadt
1997-07-14sometimes - so at least it seems - also theo does'nt check what he isThomas Graichen
committing :-) ... i hope i got it right now
1997-06-17do some umask stuff tooTheo de Raadt
1997-06-17use mktemp, but use it without guessability or DOS attacksTheo de Raadt
1997-01-17r?index -> strr?chrTodd C. Miller
1996-12-29our tar (paxtar) is now in /bin/tar not /usr/bin/tarThomas Graichen
1996-06-04Oops, screwed up the $OpenBSD$ IDsNiklas Hallqvist
1996-06-04add package tools from FreeBSDNiklas Hallqvist