| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
the 'q' or 'Q' options are present.
- Document BLOCKSIZE.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Approved by: markm
|
|
|
|
| |
to an int no longer works on an LP64 platform...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
files are located at the very beginning of the package, this patch in
conjuction with latest tar(1) --fast-mode fix greatly speeds up pkg_info(1)
operation on package files.
MFC after: 1 week
|
|
|
|
|
|
| |
it must come before libcrypto in LDADD)
Reviewed by: bde
|
| |
|
|
|
|
|
|
|
| |
- fix few bogosities here and there;
- move some common routines into the library.
MFC after: 2 weeks
|
|
|
|
| |
Requested by: jhb
|
|
|
|
|
|
|
|
| |
you may not use string concatination with __FUNCTION__, replace all occurances
of:
__FUNCTION__ ": error string"
with:
"%s: error string"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
using new `@comment DEPORIGIN:...' directive. This would allow us to make
many neat things including:
- easier binary upgrades;
- source upgrades without using external tools by simply extending
bsd.port.mk and pkg_install tools;
- mixed-mode upgrades (source + binary);
- depreciate and deorbit silly +REQUIRED_BY files in the near future.
This feature is no-op until appropriate bsd.port.mk patch is committed, and
even when it is already committed packages generated will remain 100%
compatible with old set of pkg_install tools (module all those neat
features, of course).
MFC after: 6 days
|
|
|
|
|
|
|
|
| |
directory, because this prevent this option from being used from the
package-depends target of bsd.port.mk since it creates such empty dir
during its normal operation.
MFC after: 6 days
|
|
|
|
|
|
| |
both to make clear that -W and -O are stand-alone options).
MFC after: 6 days
|
|
|
|
|
|
| |
Poked by: kris
Pointy hat grabbed by: sobomax
MFC after: 6 days
|
| |
|
|
|
|
|
|
|
|
| |
directory.
PR: 37571
Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org>
MFC after: 1 week
|
|
|
|
|
|
| |
PR: 33857
Submitted by: darren <igla@batterybackups.net>
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
with strlcpy(3).
MFC after: 2 weeks
|
|
|
|
|
| |
Prompted by: dd
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Tested on: i386, alpha
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
| |
- fix harmless compiler's warnings (unused variables and missed prototype);
- before refusing to delete package because "there are packages installed
that require this package" check that packages in question is actually
installed;
- add new `-r' option to pkg_delete(8), which instructs it to delete not only
packages specified at command line, but all packages that depend on
specified packages as well.
MFC after: 2 weeks
|
|
|
|
|
|
| |
"unknown command" clause.
PR: 29262
|
|
|
|
|
|
|
|
| |
DEF_LOG_DIR)"
with macro.
MFC after: 1 month
|
|
|
|
|
|
|
|
|
| |
Use '' quotes instead of `' to delimit names of files and packages in
warning and error messages, because it is easier to cut-n-paste name in
question that way (single click) without confusing the shell. And yes,
I know that it is less eye-candy...
MFC after: 1 month
|
|
|
|
|
| |
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
is done without realpath() to avoid symlinks resolving.
Submitted by: sobomax, Garrett Rooney <rooneg@electricjellyfish.net>
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
should fix recent segfault of `pkg_info -e'.
Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>, knu
|
|
|
|
|
|
|
|
|
| |
pkg_delete(1) as well;
- add a new `-a' option for pkg_delete(1) to delete all installed packages;
- add a new `-i' option for pkg_delete(1) to request simple rm(1)-like
interactive confirmation before attempting to delete each package.
Silently approved by: jkh, -ports
|
| |
|
|
|
|
| |
email addresses properly.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
- Add a missed prototype for the recently added show_cksum() function;
- put in "explicit braces to avoid ambitious else" suggested by gcc(1).
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
|
|
|
| |
rest of the code.
|
|
|
|
| |
- sort options alphabetically.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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>
|