summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
Commit message (Collapse)AuthorAgeFilesLines
* Insetad of using fileno(ftp) as stdin for tar, use a pipe and have thedes2000-10-291-17/+39
| | | | parent pass the data received from the server to the child.
* Sigh. It'd be nice to completely commit a bugfix. Once again:bmah2000-10-261-6/+6
| | | | | Fix a bug in which pkg_version(1) was ignoring $PORTREVISION or $PORTEPOCH from ports' Makefile definitions.
* Fix a bug in which pkg_version(1) was ignoring $PORTREVISIONbmah2000-10-261-5/+8
| | | | or $PORTEPOCH from ports' Makefile definitions.
* Utilize the "-o" (origin) option recently added to pkg_create(1)bmah2000-10-252-51/+149
| | | | | and pkg_info(1), for more accurate determination of the "up-to-date-ness" of installed packages.
* Add "-o" option to pkg_create(1) and pkg_info(1). This option intended to recordsobomax2000-10-239-7/+55
| | | | | | | | a path of the port from which package has been created within FreeBSD Ports Collection and will be used to improve pkg_version(1) and similar tools. Reviewed by: ports@FreeBSD.org, jkh Approved by: jkh
* Cause fatal error messages to be a little more helpful to the programmerjkh2000-10-2212-58/+58
| | | | | | | | | concerning where they're taking place. Switch from [r]index() to str[r]chr() functions, which are more ISO compliant. Prompted by: Edward Welbourne <eddy@vortigen.demon.co.uk>
* Add -L option to limit the package status characters the user *doesn't*bmah2000-10-202-6/+33
| | | | | | want to see. Submitted by: Doug Barton <DougB@gorean.org>
* Make pkg_version -c -l work.bmah2000-10-201-2/+3
| | | | | PR: bin/19019 Submitted by: Stijn Hoop <stijn@win.tue.nl>
* Trim index lines down to 79 characters, not 80.des2000-10-181-1/+1
| | | | Approved by: jkh
* Fix typomarko2000-09-251-1/+1
|
* Make the ``-r'' option actually do something :)marko2000-09-252-1/+3
| | | | | | Also tidy up it's output. Approved by: jkh
* 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.
OpenPOWER on IntegriCloud