summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
AgeCommit message (Collapse)Author
2004-01-06Fix typo; new sentence, new line;wiz
drop trailing spaces; add comma in enumeration.
2004-01-06Rework a bit to describe the pkg wildcards in their ownhubertf
section, etc.
2004-01-06update for -D being default now for pkg_infohubertf
2004-01-06pkg_info(1) now also shows post-install message by default, if presenthubertf
2004-01-04In the "quick depends pre-scan", first print all bad matching depends,hubertf
then exit (instead printing one conflicting pkg/version on each run).
2003-12-21Sort options; drop trailing spaces; fix wording ofwiz
a sentence.
2003-12-21Add a simple text menu-based binary package manager, bpm(1).agc
bpm uses ftp(1) and pkg_add(1) to allow a menu-based addition of binary packages from a URL. It first displays a list of categories, and, within categories, binary packages, which can be added to the local system simply by choosing them from a menu. If no valid categories are found, a warning message will be displayed (it is usually caused by people running NetBSD-current, and there are rarely binary packages provided for such a fast-moving target, and the "-r release" command-line switch to bpm(1) should be used). Bump the pkg_install version number for this.
2003-12-20avoid uninitialized variable. noted by wiz.grant
2003-12-20crank version.grant
2003-12-20use the --use-compress-program argument to tar and do away withgrant
the file descriptor handling mess in lib/file.c. also use --fast-read where applicable. result of pkg_info -B on 1.5ghz pentium4, linux: before after mozilla-1.4nb1.tgz 1.96sec 0.04sec mozilla-1.4nb1.tbz 18.66sec 0.21sec 866mhz pentium3, NetBSD: before after mozilla-1.4nb1.tgz 2.22sec 0.07sec mozilla-1.4nb1.tbz 16.29sec 0.34sec -rw-r--r-- 1 grant users 13816195 Dec 20 13:59 mozilla-1.4nb1.tbz -rw-r--r-- 1 grant users 15814227 Dec 20 13:58 mozilla-1.4nb1.tgz XXX fetches over ftp/http still read the whole file.
2003-12-20suppress a diagnostic message unless -v is used.grant
2003-12-20always print an error when package addition fails (rather than onlygrant
when -v is used), tweak error.
2003-12-20check the OS, architecture and version of a package against the hostgrant
and spit out a warning if any of them differ. bail if the OS or arch differ. installation can be forced with -f. sanity checked by simonb. fixes PR pkg/18966 from mrg.
2003-12-06Fix typo, reported by Soren Jacobsen in PR 23666.wiz
2003-11-21Bump version for wait-for-child fix.wiz
2003-11-21Wait for decompress child before continuing.wiz
Closes PR 23526 by Ron Roskens.
2003-11-12s/netbsd.org/NetBSD.org/igrant
2003-10-21Don't compare an int to NULL.fvdl
2003-10-06minor style nitgrant
2003-10-04Sort names.wiz
2003-10-04Add me here, too.wiz
2003-10-04Replace strnncpy calls with strlcpy calls. Remove strnncpy.wiz
Ok'ed by agc and hubertf. Verified working with editors/mule package.
2003-10-03Indent, and remove some #if 0-ed code.wiz
2003-10-03Bump date for previous (oops :) ).wiz
2003-10-03Bump version to 20031003 for added HTTP support.wiz
2003-10-03Add HTTP support.wiz
Thanks to dillo@ for extensive review and jmmv@ for testing. Remaining bugs are, of course, mine. Closes PR 10006.
2003-09-25Make compile with STANDALONE defined.wiz
2003-09-25s/lukemftp/nbftp/, fix two typos.wiz
2003-09-24Cast the type of argument printed, for sparc and arm platforms.agc
2003-09-23reset values when malloc fails.christos
2003-09-23Avoid shadowing err.wiz
2003-09-23Add prototype for remove_files.wiz
2003-09-23Remove last vsystem caller and vsystem() itself.wiz
2003-09-23Add <sys/wait.h> so that we have a prototype for waitpid(3).agc
2003-09-23Add some free()s in error cases.wiz
2003-09-23Get rid of lots of system(3) (partly via vsystem) calls.wiz
Previous version reviewed by agc. Closes PR 20518.
2003-09-23bump PKGTOOLS_VERSION for identification purposes (despite the lack ofgrant
any functional change).
2003-09-23don't assume mtree is in BINDIR, allow it to be overridden bygrant
MTREE_CMD.
2003-09-23remove redundant comments about zoularis.grant
2003-09-20Add my name to the list of the culprits.tron
2003-09-19Initialize cnt; from Greg A. Woods in PR 22862.wiz
2003-09-18Let pkg_admin(1) have a -S argument - some vendors' xargs(1) don't passagc
a null ("") argument properly (hi, Sun), so make -S a synonym for -s "". Don't dump core if no command is given to pkg_admin(1). Print usage message to stderr, not stdout, and use the program name by which it was invoked. Bump pkg_install version to 20030918.
2003-09-17Remove the names of arguments from function prototypes.agc
2003-09-14Update pkg_install to 20030914. Changes from version 20030913 arejlam
ensuring that recursive pkg_delete'ing works by using the correct pkg_dbdir to find packages. This fixes recursive deleting if the -K flag is passed to pkg_delete(1), and the named dbdir differs from the default dbdir (/var/db/pkg).
2003-09-13Update pkg_install to 20030913. Changes from version 20020912 are quietingjlam
the file removal when deleting linkfarms if the expected file doesn't exist. Since the symlink isn't there, the mission is already accomplished, so why bother with the warning?
2003-09-13Update pkg_install to version 20030912. Changes from 200230907 arejlam
adding two new options to pkg_admin(1) to simply using this utility to list the bare package names that match patterns when looking in PKG_DBDIR: -b Print only the basenames when matching package names for lsall and lsbest. -d lsdir Set lsdir as the path to the directory in which to find matching package names for lsall and lsbest.
2003-09-10Fix a bug I accidentally introduced in rev. 1.48 where a pkg_dbdir could nojlam
longer be a symlink to a directory.
2003-09-09Inverted a test by mistake.jlam
2003-09-09Replace call to vsystem() with call to fexec() for speed.jlam
2003-09-08Output the name of the pkgdb file from which we are removing entriesjlam
instead of just "pkgdb".