summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug in previous commit where pkg_{delete,info} foo-1.0/ would segfault.dan2000-01-182-4/+8
| | | | Noticed first by: kris
* Teach pkg_delete and pkg_info how to deal with full pathnamesdan2000-01-152-3/+46
| | | | | | (/var/db/pkg/foo-1.0, instead of just foo-1.0). Submitted by: Matthew D. Fuller <fullermd@futuresouth.com>
* Fix bogon in previous commit: pass a string argument to printf(3) tosheldonh2000-01-111-2/+2
| | | | | | satisfy the %s conversion format specifier. Reported by: Mark Huizer <freebsd@xaa.iae.nl>
* Use a more helpful fatal error message than "Toto! This doesn't looksheldonh2000-01-111-2/+2
| | | | | | | like Kansas anymore!" when unable to return to the original working directory. PR: bin/16015
* Include -f and -t options to SYNOPSYS section (manpage) and usage informationphantom2000-01-072-9/+10
| | | | | | | (main.c) PR: bin/5410 Submitted by: Frank Volf <volf@oasis.IAEhv.nl>
* Deal with package filenames which contain spaces.jkh2000-01-041-1/+1
| | | | | Submitted by: Ming-I Hsieh <mihs@wm28.csie.ncu.edu.tw> PR: 15667
* Redirect stdout from mtree to /dev/null; we don't really need to knowasami2000-01-031-2/+2
| | | | the list of directories being created when we install a package.
* Only pkg_delete the old package if the new one builds properly.jkh1999-12-061-2/+1
| | | | Submitted by: Dan "The Bug" Bugg <bugg@bugg.strangled.net>
* Add '-l' which will match a certain status code.billf1999-12-032-5/+25
| | | | | | | | Add the submitter as a contributor in the man page freebsd -> FreeBSD, while I'm poking around. PR: bin/15162 Submitted by: Dominic Mitchell <dom@palmerharvey.co.uk>
* Correct co-MAINTAINER's e-mail address. I don't know how manybillf1999-12-031-1/+1
| | | | more ways I can screw his address up. Suggestions welcome.
* Install man pages in the right place. This is what I get for cheatingbillf1999-11-281-1/+1
| | | | | | | and copying a Makefile from another directory over to this one. PR: docs/15140 Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>
* Add the author as co-maintainer, a la mergemaster.billf1999-11-261-0/+1
|
* Welcome pkg_version into the FreeBSD source tree.billf1999-11-264-1/+466
| | | | | | | | | pkg_version (as you may well know) matches the existing packages/ports installed on your system with the ports INDEX and reports which ports differ from the current INDEX. Submitted by: Bruce A. Mah <CA.Sandia.GOV> Reviewed by: ports
* Make `pkg_add -r package1 package2 package3 ...` work correctly.cpiazza1999-11-181-4/+6
| | | | Reviewed by: billf
* o Remove all of the objformat logic, it's never coming back.billf1999-09-251-16/+5
| | | | | o Simplify getpackagesite(), it comes back in full glory when we branch again. It's still needed however to get the i386 or alpha directory.
* Document the fact that pkg_add/delete passes INSTALL/DEINSTALLmax1999-09-111-0/+5
| | | | respectively to rscript.
* Use the appropriate macro for double quotes rather than using doublejkh1999-09-014-20/+47
| | | | | | | quotes. Submitted by: Alexey Zelkin <phantom@cris.net> PR: 13436
* Remove some $Log$ debrispeter1999-08-291-15/+0
|
* $Header$ -> $FreeBSD$peter1999-08-281-1/+4
|
* $Id$ -> $FreeBSD$peter1999-08-2834-35/+38
|
* Various man page cleanup:mpp1999-08-154-8/+8
| | | | | | | | | | - Sort xrefs. - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlined in mdoc(7). - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexey M. Zelkin <phantom@cris.net>
* -Wall fixes. Ambigious if/elses, uninitialized values, missing headers,billf1999-08-117-16/+22
| | | | missing prototypes, and empty format strings.
* When listing the installed packages, do it in alphabetical order.jdp1999-07-301-9/+24
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* '?' shouldn't be in the usage string. Unknown characters are alreadyimp1999-06-244-8/+8
| | | | converted to '?'.
* If we are going to have a case for '?' then we should define it in Options.billf1999-06-234-8/+8
| | | | Submitted by: Ben Olson <bseth@chc-chimes.com>
* Support Alpha and -CURRENT in the "-r" option case.obrien1999-06-141-9/+17
|
* where_arge is allocated on stack and return address is overwrittenjkh1999-06-091-3/+3
| | | | | | by buffer overflow. Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
* Revive the PKG_ADD_BASE stuff a bit.jkh1999-05-121-1/+2
|
* If pkg_info is run with no args, default to "-aI".jkh1999-04-271-2/+7
|
* Removed occurrences of consecutive repeated words (such as "the the").alex1999-02-121-2/+2
|
* Fix nasty bug where getpackagesite() will return an integer if it doesn'tbillf1999-01-281-2/+2
| | | | | know what revision of FreeBSD is being run. This case should never happen, but just in case.
* Numbering typo, missed a '0'billf1999-01-261-3/+3
| | | | Submitted by: Brian Feldman
* Update pkg_add's remote package feature to reflect the new structure ofbillf1999-01-251-6/+6
| | | | | | | | | | | | | wcarchive. This needs to be updated when: (a) The directory structure changes on wcarchive (b) getosreldate() has a new significance (ie. get ELF packages/get a.out packages) (c) Branches are changed around As we stand right now, 3.0-postELFday and 4.0-x all point to the same directory, but when 4.0 starts to have its own packages, this file will need to be changed.
* Style police, inline ifs.billf1999-01-181-14/+12
| | | | Submitted by: Brian Feldman <green@unixhelp.org>
* enviornment -> environmentjseger1999-01-171-2/+2
| | | | | PR: docs/9534 Submitted by: rv@fore.com
* Add a new option for pkg_add, -r.billf1999-01-172-5/+67
| | | | | | | | | | | | | The remote option allows for automatic package fetching and installation using the package repository found on wcarchive. Naturally, this site can be overridden with a enviornment variable. This code uses getobjformat() and getosreldate(). This means when some event causes the package to be fetched to change (such as e-day) the logic also needs to be changed. Sorta reviewed by: jkh Code suggestions: peter, jkh, eivind, msmith
* document PKG_DBDIRobrien1998-12-311-0/+13
| | | | Add ENVIRONMENT and FILES sections.
* change wording slightly to match other pkg_*.1obrien1998-12-311-2/+2
|
* Make it possible to have separate install scripts as well as havejkh1998-12-1610-54/+310
| | | | | | an on-delete script. Submitted by: Rajesh Vaidheeswarran <rv@fore.com>
* Fix support for uncompressed (".tar") package types. It's not completelyasami1998-12-052-8/+24
| | | | | fixed (chained dependency checking for pkg_add is broken, for one thing) but at least you can now create one package and use it.
* Fix bug where trailing slash could confuse the registry removal.jkh1998-11-111-1/+7
| | | | Noticed by: des
* Unlink old contents of package when extracting new.jkh1998-10-281-2/+2
| | | | Submitted by: pst
* Revert 1.33; lstat() is indeed the wrong thing to do here. I'lljkh1998-10-141-2/+2
| | | | revisit this after release.
* Correct a misleading comment.jkh1998-10-121-2/+2
|
* Use lstat() rather than stat in determining whether a file exists,jkh1998-10-091-2/+2
| | | | | otherwise we'll miss the "symlink exists but points nowhere" case. Submitted by: asami and/or possibly <ru@ucb.crimea.ua>
* Use a more reasonable default umask in case the root umask is toojkh1998-09-141-1/+5
| | | | | fascist. PR: 4014
* correct usage of cleanup() everywhere - this became bogus when the warnx/errxjkh1998-09-1110-110/+181
| | | | | stuff was added and nobody seems to have noticed. :) Noticed by: Josh MacDonald <jmacd@paris.CS.Berkeley.EDU>
* o Set paths internally for pkg_add for tools we might want to invoke.jkh1998-09-083-12/+16
| | | | | | | | o Fix bogus suffix handling. o Tell user when an FTP url is being xferred rather than being silent. This sort of violates "the unix way" but it stops people from whacking ^C when they think it's hung, too. Sometimes visual indication of success is important. Doesn't spit out anything if not on a TTY.
* Fix bogus suffix stripping to be less naive.jkh1998-09-081-9/+7
| | | | | PR: 3418 Noted by: pst
OpenPOWER on IntegriCloud