summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
Commit message (Collapse)AuthorAgeFilesLines
* - By default treat supplied arguments as a shell globs to be matched againstsobomax2001-02-084-41/+191
| | | | | | | | | | | | | | | | | | | names of installed packages; - add new `-G' option to disable glob matching and revert to previous behaviour (I have no idea why this could be necessary, though); - add a new `-x' option, which instructs pkg_info(1) to treat supplied arguments as a regular expressions. For example: $ pkg_info foo\* - displays information about all packages whose names start from foo $ pkg_info -G foo\*-1.1 - displays information about package named "foo*-1.1" $ pkg_info -x ^foo.\* - displays information about all packages whose names start from foo Original idea submitted by: Edwin Groothuis <mavetju@chello.nl> (bin/24695) Reviewed by: jkh, roam Approved by: jkh
* mdoc(7) police: Change -filled displays (which just happenru2001-02-073-8/+8
| | | | | | to be the same as -ragged in the current implementation) to -ragged. With mdocNG, -filled displays produce the correct output, formatted and justified to both margins.
* Fix typo: seperate -> separate.asmodai2001-02-061-1/+1
| | | | Seperate does not exist in the english language.
* Add package signing utilities; somebody might actually want them.wes2001-02-0617-0/+2514
| | | | | | | | | These are not enabled in the pkg_install Makefile as of yet; adding the "sign" directory to the SUBDIR list will enable building of sign. Submitted by: Wes Peters Obtained from: Original framework from OpenBSD 2.7, X.509 bits from DoBox.
* -pedantic mode:sobomax2001-02-052-1/+3
| | | | | - Add a missed prototype for the recently added show_cksum() function; - put in "explicit braces to avoid ambitious else" suggested by gcc(1).
* Add a -g flag for verifying an installed package against its recordedjkh2001-02-035-2/+41
| | | | | | | | checksums (to see if it's been modified post-installation). Naturally, this mechanism is only as secure as the contents of /var/db/pkg if you're using it for auditing purposes. Submitted by: Roman Shterenzon <roman@xpert.com>
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-015-16/+20
|
* Make `-y' option actually work.sobomax2001-01-241-1/+1
| | | | Submitted by: reg
* Use .Pa instead of .Dq.sobomax2001-01-221-3/+2
| | | | Submitted by: ru
* - Add ability to handle bzip2-compressed packages;sobomax2001-01-228-26/+79
| | | | | | | - fix cosmetics to shut-up compiler in -pedantic mode (axe several unused vars and provide default clause in several switch() statements). No response from: -ports
* mdoc(7) police: removed leading whitespaces that are not insideru2001-01-191-1/+1
| | | | Bd/Ed; these hardly degrade the quality of the produced output.
* Prepare for mdoc(7)NG.ru2001-01-162-8/+8
|
* - Fix a nasty bug where pkg_create doesn't gzip package if lengh of packagesobomax2001-01-162-8/+5
| | | | | | | | | | | name is less than 5 and doesn't contain recognizeable suffix (one of .tar or .tgz), while gzip's it if lengh of the name greater than 4. For example `pkg_create [options] pkg1' will create pkg1.tar, while `pkg_create [options] pkg11' will create pkg11.tgz; - use TRUE/FALSE as a values for boolean variables instead of explicit 1/0 and erroneous YES in one case. MFC candidate.
* Fix a bug arised from the ')' in the wrong place when calling printf()-likesobomax2001-01-151-1/+1
| | | | | | | varargs function, which lead to one of the arguments was left out. This resulted in failure when inwoking mtree, warning message "mtree returned a non-zero status - continuing" and probably is the reason for zillion mtree errors on bento.
* Fix a nasty bug whereby if the package file didn't have a version numberpaul2001-01-141-7/+13
| | | | | | | | then all packages would be deinstalled! The tightening up of version number checking also fixes a bug where a package file such as gtk.tgz would have resulting in gtk-engines being deinstalled.
* Fix a bug where pkg_create does not make an md5 entry for the last item insobomax2001-01-121-11/+16
| | | | | | | | | the packing list. Also use switch() instead of zillion "else if ()" and for() loop instead of while() loop for traversing through linked list. MFC candidate. Submitted by: Alec Wolman <wolman@cs.washington.edu>
* Change open modes from ">$file" to "> $file" because it's much safer shouldpaul2000-12-301-2/+2
| | | | | | | | | $file not be what you expect, particularly should $file turn out to be "+REQUIRES" since ">+" is a valid open mode. This isn't currently a problem since $file is constructed safely but it removes the potential of future problems. Pointed out by Anton Berezin.
* mdoc(7) police: get rid of hard sentence breaks, add missing .El, etc.ru2000-12-291-7/+11
|
* Fix the broken options that were in the development version I committed by ↵paul2000-12-281-1/+2
| | | | mistake.
* Bring the man page up to date with the current version of the script.paul2000-12-281-3/+25
|
* Add pkg_update, which can replace currently installed ports with new versionspaul2000-12-284-1/+276
| | | | while taking of updating all the dependencies.
* Prepare for mdoc(7)NG.ru2000-12-275-22/+21
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* Add `_PATH_DEVZERO'.obrien2000-12-092-4/+6
| | | | Use _PATH_* where where possible.
* Alphabetically reorder options in `.Op Fl' macro to be consistent with thesobomax2000-12-051-1/+1
| | | | rest of the code.
* - Add missed `-s' option into usage printout;sobomax2000-12-051-1/+1
| | | | - sort options alphabetically.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-204-5/+5
|
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-1/+1
|
* Use Fx macro wherever possible.ru2000-11-142-4/+7
|
* 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
|
OpenPOWER on IntegriCloud