summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
Commit message (Collapse)AuthorAgeFilesLines
* Fix symlink-to-a-dir handling in pkg_delete.sobomax2000-09-183-6/+24
| | | | | Reviewed by: -ports Tested by: bento
* pkg_version(1) will now distinguish between the different cases wherebmah2000-09-152-7/+16
| | | | | | | the exact relationship between an installed package and its corresponding entry in the index file can't be determined. Submitted by: Mark Ovens <marko@freebsd.org>
* Arrgh. Back out a change used during debugging and fix a typo.bmah2000-09-111-2/+2
|
* Remove a workaround for a long-fixed bug in fetch(1).bmah2000-09-092-10/+4
| | | | Update URL for on-line Ports Collection INDEX file.
* pkg_version.pl now understands the new package/port numbering schemebmah2000-09-091-24/+109
| | | | | | | | | introduced by version 1.349 of ports/Mk/bsd.port.mk and originally submitted by kris. In particular, it understands the $PORTREVISION (FreeBSD-specific changes or patches to a port) and $PORTEPOCH (for re-sorting version numbers when not used or when broken).
* Update my email address in various places in pkg_version.bmah2000-08-232-2/+2
|
* Now that Bruce Mah is a committer, retire my co-maintainershipbillf2000-08-221-2/+1
| | | | of pkg_version.
* Fix bug with -c optionmarko2000-08-071-0/+1
| | | | | PR: 18176 Reviewed by: Bruce A. Mah <bmah@acm.org>
* New option "-s" to query size of the installed package(s).sobomax2000-07-075-2/+69
| | | | | | | PR: 19445 Submitted by: sobomax Reviewed by: knu Approved by: silence
* Use libfetch instead of libftpio. This adds support for http and IPv6.des2000-06-276-123/+41
|
* Use `rm -f` if the -f (force) option was given.hoek2000-06-021-1/+1
|
* Avoid infinite loops when given a package name like 'm4-1.1/'.steve2000-05-142-42/+27
| | | | Approved by: jkh
* Finally remove the restriction introduced from NetBSD in r.1.3 thathoek2000-05-131-2/+12
| | | | | | | pkg_delete be run as root. Now honours -f and checks ownership of ${PKG_DBDIR} before errx()'ing. Requested by: bin/5718, myself, bin/18373 (in order)
* Do not preserve UIDs, permissions nor flags of package system files insheldonh2000-03-151-2/+2
| | | | | | | | | | | | tar files. This fixes clean-up problems during package creation and does not affect the actual files to be included in the package. The fix submitted on the attributed PR was identical to the one obtained from NetBSD. PR: 17386 Reported by: Adrian Filipi-Martin <adrian@ubergeeks.com> Obtained from: NetBSD
* -CURRENT is now 500000, reflect that.billf2000-03-131-1/+1
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-013-12/+24
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Add cross references to pkg_version(1) in all the other pkg_* man pages.jhb2000-02-295-1/+6
| | | | | | | | Also, add a cross reference to pkg_info(1) in pkg_version(1). Finally, in pkg_version(1), don't put a period at the end of the list of see also man pages. Noticed by: Matt Ayres <matta@fast.net>
* pkg_create doesn't use more(1) for displaying +DISPLAY files, itkris2000-02-271-2/+1
| | | | just cats it to stdout.
* 1. If checking for directory-ness, check "dir" and "dir/" to catchjkh2000-02-191-0/+2
| | | | | | the case where we have a symlink pointing at a dir. 2. Restore stomped character before returning in make_hierarchy()
* 1. If checking for directory-ness, check "dir" and "dir/" to catchjkh2000-02-191-2/+8
| | | | | | the case where we have a symlink pointing at a dir. 2. Restore stomped character before returning in make_hierarchy()
* While looking for a bug, tripped over style issues with addedjkh2000-02-181-11/+6
| | | | code. Fix them.
* Use lstat(2) rather than stat(2) in isdir(), so that a symlink to aobrien2000-02-081-1/+1
| | | | | | | | | directory is not considered a directory. I have a feeling all the other stat(2) calls should instead be lstat(2) calls, but I have not suffiently determined that the current behavior [especially in isfile()] isn't depended upon by someone. Ok'ed by: JKH
* Grammar fix: ``Different than'' should be ``different from''.chris2000-01-291-1/+1
|
* 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
|
OpenPOWER on IntegriCloud