#
296373 |
|
04-Mar-2016 |
marius |
- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.3. - Update default pkg(8) configuration to use the quarterly branch.
Approved by: re (implicit) |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
241830 |
|
22-Oct-2012 |
eadler |
Warn users when using pkg tools if it looks like they be be pkgng users.
Reviewed by: bapt (earlier version) Reviewed by: kwm Approved by: cperciva MFC after: 3 days
|
#
228990 |
|
30-Dec-2011 |
uqs |
Spelling fixes for usr.sbin/
|
#
222035 |
|
17-May-2011 |
flz |
Backout libinstall.a -> libpkg commit.
Discussed with: erwin, brooks, bapt
|
#
207113 |
|
23-Apr-2010 |
flz |
- Take libinstall.a out of pkg_install and make it a proper shared library. - Rework the wrapper support to check libpkg version as well as pkg_install version. - Add libfetch to _prebuild_libs. - There are no new features introduced.
Notes: the API is not stable, so basically, do not use libpkg in your projects for now. Also there's no manpage for libpkg yet, because the API will change drastically. I repeat, do not use libpkg for now.
|
#
201226 |
|
29-Dec-2009 |
ed |
Add missing `void' keywords.
|
#
193273 |
|
01-Jun-2009 |
jilles |
Fix segfault when giving invalid long option to pkg_info.
PR: bin/133473 Submitted by: Rafal Grodzinski Approved by: ed (mentor) MFC after: 1 week
|
#
179433 |
|
30-May-2008 |
flz |
- Add long options to pkg_install. - Remove check for '-?' as it's not listed in authorized options. - Bump PKG_INSTALL_VERSION to 20080530.
|
#
178246 |
|
16-Apr-2008 |
flz |
Fix pkg_info when specifying a remote package.
MFC after: 1 week
|
#
173412 |
|
07-Nov-2007 |
kevlo |
Cleanup of userland __P use
|
#
159554 |
|
12-Jun-2006 |
obrien |
Allow variable amounts of verbosity.
|
#
154145 |
|
09-Jan-2006 |
flz |
Add -K option to pkg_add and pkg_info. This option saves packages to PKGDIR (if defined or current directory by default) as they are downloaded. Silent a warning when -n is used and package has a +DISPLAY file.
Approved by: krion MFC after: 1 week
|
#
151188 |
|
10-Oct-2005 |
krion |
Fix pkg_info(1) and pkg_delete(1) to handle properly packages which names start with a digit.
PR: bin/76858 Submitted by: Matthew D. Fuller <fullermd@over-yonder dot net> MFC after: 3 days
|
#
136643 |
|
18-Oct-2004 |
obrien |
Add a -q flag to pkg_version. It suppresses the output of <,=,>. This makes it possible to "portupgrade `pkg_version -q -l '<'`".
|
#
131280 |
|
29-Jun-2004 |
eik |
- pkg_info: flag -r: (show packages this packages depends on (documentation change))
- pkg_info: new flag -j (show the requirements script)
- pkg_info: fix verbose output when used on packages
- better handling of corrupt entries in /var/db/pkg
- differ between corrupt entires and packages not installed
- various small fixes
PR: 56989, 57016, 57029, 26468
|
#
131275 |
|
29-Jun-2004 |
eik |
- match package version numbers with relational operators
- use glob patterns when matching packages by origin
- csh-style {...} choices in glob matching
- pkg_info: new flag -E (list matching package names only)
- pkg_version: new flag -T (test if a given name matches a pattern)
- new flag -X (interpret pattern as an extended regular expression)
PR: 56961
|
#
127641 |
|
30-Mar-2004 |
cperciva |
Synopsis fixes: * `pkg_info -flags' needs either `-a' or a package name. [1] * Add -Q option to manual page. * Update `usage:' to match the manual page.
PR: misc/64786 [1] Reviewed by: ru MFC after: 3 days
|
#
112579 |
|
25-Mar-2003 |
mdodd |
- Add the 'b' option which causes BLOCKSIZE to be hornored when the 'q' or 'Q' options are present. - Document BLOCKSIZE.
|
#
112572 |
|
25-Mar-2003 |
mdodd |
Implement the 'Q' option which is like 'q' (quiet output) except that it prefaces the output with the package name.
This is useful for things like this:
# pkg_info -Qsa | awk -F : '{print $2 "\t" $1}' | sort -rn | expand -t 10
|
#
103149 |
|
09-Sep-2002 |
sobomax |
Introduce notion of the package tools revision and allow to wrap all tools included into pkg_install according to the content of /var/db/pkg_install.conf file, which specifies version and alternative location of the tools. Format of the said file is very simple: one line which specifies revision of the alternative version of the tools and their location separated by space, i.e.:
20030102 /usr/local/sbin
This would allow bsd.port.mk to install and use up to date version of tools on older system from ports.
Also add new `-P' flag to pkg_info, which causes it to report currently installed version of package tools.
Discussed with: will
|
#
96067 |
|
05-May-2002 |
sobomax |
Update usage() and manpage to match reality (add -O into usage and adjust both to make clear that -W and -O are stand-alone options).
MFC after: 6 days
|
#
96030 |
|
04-May-2002 |
sobomax |
Add ability to query installed packages based on origin.
|
#
95934 |
|
02-May-2002 |
sobomax |
Make pkg_info working again when argument is a file not in the current directory.
PR: 37571 Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org> MFC after: 1 week
|
#
93520 |
|
01-Apr-2002 |
obrien |
Fix SCM ID's.
|
#
85019 |
|
16-Oct-2001 |
sobomax |
Fix "off by 1" error introduced in the previous commit by replacing strncpy(3) with strlcpy(3).
MFC after: 2 weeks
|
#
85002 |
|
15-Oct-2001 |
sobomax |
Use strncpy(3) instead of strcpy(3) to copy optarg into a fixed-sized buffer.
Prompted by: dd MFC after: 2 weeks
|
#
84750 |
|
10-Oct-2001 |
sobomax |
- Introduce a notion of `packing list format version'. This allows making non-backward compatible changes in the format of packing list and handle them gracefully; - fix a longstanding issue with symlinks handling. Instead of recording checksum for the file symlink points to, record checksum for the value returned by readlink(2). For backward compatibility increase packing list format minor version number and provide a fallback to a previous behaviour, if package in question was created with older version of pkg_* tools;
Submitted by: Alec Wolman <wolman@cs.washington.edu>, sobomax
- don't record MD5 checksum for device nodes, fifo's and other non-regular files.
Submitted by: nbm MFC in: 2 weeks
|
#
84745 |
|
10-Oct-2001 |
sobomax |
WARNS=2 cleanup.
Tested on: i386, alpha MFC after: 2 weeks
|
#
74699 |
|
23-Mar-2001 |
sobomax |
- Add which(1)-like functionality into pkg_info; - fix a harmless bug in match_installed() function introduced in my last commit; - uniformely reorder includes across files.
Submitted by: Garrett Rooney <rooneg@electricjellyfish.net> Not objected by: jkh, -ports
|
#
72978 |
|
24-Feb-2001 |
sobomax |
Add two missed modifiers into usage message (`-G' and `-x').
|
#
72174 |
|
08-Feb-2001 |
sobomax |
- By default treat supplied arguments as a shell globs to be matched against 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
|
#
71965 |
|
03-Feb-2001 |
jkh |
Add a -g flag for verifying an installed package against its recorded 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>
|
#
69616 |
|
05-Dec-2000 |
sobomax |
- Add missed `-s' option into usage printout; - sort options alphabetically.
|
#
67454 |
|
23-Oct-2000 |
sobomax |
Add "-o" option to pkg_create(1) and pkg_info(1). This option intended to record 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
|
#
67429 |
|
22-Oct-2000 |
jkh |
Cause fatal error messages to be a little more helpful to the programmer 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>
|
#
62775 |
|
07-Jul-2000 |
sobomax |
New option "-s" to query size of the installed package(s).
PR: 19445 Submitted by: sobomax Reviewed by: knu Approved by: silence
|
#
60563 |
|
14-May-2000 |
steve |
Avoid infinite loops when given a package name like 'm4-1.1/'.
Approved by: jkh
|
#
56211 |
|
18-Jan-2000 |
dan |
Fix a bug in previous commit where pkg_{delete,info} foo-1.0/ would segfault.
Noticed first by: kris
|
#
56001 |
|
15-Jan-2000 |
dan |
Teach pkg_delete and pkg_info how to deal with full pathnames (/var/db/pkg/foo-1.0, instead of just foo-1.0).
Submitted by: Matthew D. Fuller <fullermd@futuresouth.com>
|
#
55567 |
|
07-Jan-2000 |
phantom |
Include -f and -t options to SYNOPSYS section (manpage) and usage information (main.c)
PR: bin/5410 Submitted by: Frank Volf <volf@oasis.IAEhv.nl>
|
#
50479 |
|
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
48170 |
|
24-Jun-1999 |
imp |
'?' shouldn't be in the usage string. Unknown characters are already converted to '?'.
|
#
48143 |
|
23-Jun-1999 |
billf |
If we are going to have a case for '?' then we should define it in Options.
Submitted by: Ben Olson <bseth@chc-chimes.com>
|
#
46105 |
|
27-Apr-1999 |
jkh |
If pkg_info is run with no args, default to "-aI".
|
#
31997 |
|
26-Dec-1997 |
hoek |
"This is the add^H^H^Hinfo module."
Pedantic comment fix.
PR: bin/5188 Submitted by: Alex [3]garbanzo@hooked.net
|
#
30221 |
|
08-Oct-1997 |
charnier |
Use err(3). Cosmetics in usage string and man page.
|
#
24428 |
|
31-Mar-1997 |
imp |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
#
22997 |
|
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
11780 |
|
25-Oct-1995 |
jkh |
Bring forward my changes from 2.1
|
#
8857 |
|
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
#
4996 |
|
06-Dec-1994 |
jkh |
Many of John T. Kohl's patches from NetBSD. Thanks, John! Submitted by: jkohl
|
#
1667 |
|
01-Jun-1994 |
asami |
Add explanation of -e in usage().
|
#
1548 |
|
25-May-1994 |
jkh |
Change Header to Id.
|
#
411 |
|
08-Sep-1993 |
jkh |
Added two new options, one of which is fairly far reaching:
-q turns on "quiet" mode, where informational headers and such are not dumped, just the information.
-L Shows full pathnames of files comprising a package. With -q, this can be useful for doing fileset operations, such as "du -s `pkg_info -q -L foo_bin`" to see how much space package "foo_bin" is taking up.
|
#
392 |
|
05-Sep-1993 |
jkh |
Added -e flag to pkg_info. Now you can test to see whether a package is installed or not rather easily (useful for install scripts that want to check for prerequisite packages). See man page for details.
|
#
383 |
|
05-Sep-1993 |
jkh |
Made staging area configurable rather than assuming /tmp (-t)
|
#
379 |
|
03-Sep-1993 |
jkh |
Lots of misc tweaks, support for arbitrary separators in pkg_info, more intelligent name handling in pkg_create. Most of these files are changed because of rcsid's being different in my cvs tree and freefall's (foo).
|
#
328 |
|
26-Aug-1993 |
jkh |
This commit was generated by cvs2svn to compensate for changes in r327, which included commits to RCS files with non-trunk default branches.
|
#
327 |
|
26-Aug-1993 |
jkh |
The release version of my package install suite. Please see man pages for info.
|