Subject: CVS commit: pkgsrc/pkgtools/pkg_install/files
To: None <pkgsrc-changes@NetBSD.org>
From: grant beattie <grant@netbsd.org>
List: pkgsrc-changes
Date: 02/10/2005 23:51:18
Module Name:	pkgsrc
Committed By:	grant
Date:		Thu Feb 10 23:51:18 UTC 2005

Modified Files:
	pkgsrc/pkgtools/pkg_install/files/info: info.h main.c perform.c
	    pkg_info.1
	pkgsrc/pkgtools/pkg_install/files/lib: version.h

Log Message:
pull in binary pkg handling changes from src:

rework pkg_info(8) operating on binary packages, deprecating the `-.'
argument as it is no longer required (but is retained as a no-op for
backward compatibility).

the behaviour is now what is expected and intended:

        - when the pkg argument is path (absolute or relative) to a
          binary pkg, pkg_info operates on it.
        - when no pkg argument is given, or the argument is not a
          binary pkg path, pkg_info operates on the installed packages.

`pkg_info foo-1.0.tgz', `pkg_info /path/to/foo-1.0.tgz', etc. now work
correctly when foo-1.0.tgz is in the cwd.

bump PKGTOOLS_VERSION to 20050210.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 pkgsrc/pkgtools/pkg_install/files/info/info.h
cvs rdiff -r1.12 -r1.13 pkgsrc/pkgtools/pkg_install/files/info/main.c
cvs rdiff -r1.19 -r1.20 pkgsrc/pkgtools/pkg_install/files/info/perform.c
cvs rdiff -r1.14 -r1.15 pkgsrc/pkgtools/pkg_install/files/info/pkg_info.1
cvs rdiff -r1.40 -r1.41 pkgsrc/pkgtools/pkg_install/files/lib/version.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.