Multiple options of pkg_info fail on non-installed (tar+zipped) packages, the most prominent one -v The -r flags of pkg_info does not show the requirements script, as documented in pkg_info(1), but the packages required by the package in question. Fix: A patch is available on ftp://ftp.fillmore-labs.com/pub/FreeBSD/patches/patch-pkg_install-20030917_2.gz MD5 (patch-pkg_install-20030917_2.gz) = 42e4e6b85e09e702f36ea4d509496804 It fixes -v adds a new option -j to show the reuirement scripts and changes the man page accordingly. This patch build on the patch of PR 56961, which has additional bug fixes and improvements described in this PR. How-To-Apply: *** FreeBSD 5.X *** Apply it to your source tree (replaces base tools): fetch ftp://ftp.fillmore-labs.com/pub/FreeBSD/patches/patch-pkg_install-20030917_2.gz md5 patch-pkg_install-20030917_2.gz gzcat patch-pkg_install-20030917_2.gz | patch -p0 -d /usr/src/usr.sbin/pkg_install cd /usr/src/usr.sbin/pkg_install; make clean all install Test with `pkg_info -P' Package tools revision: 20030917 *** FreeBSD 4.X *** Apply the following patch to port sysutils/pkg_install: Test with `/usr/local/sbin/pkg_info -P' Package tools revision: 20030917--2b6FkAwWR8HVs0JzcNjQPxKO8BEEdDnoTWU0xq6B4f9PI6Xn Content-Type: text/plain; name="pkg_install.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="pkg_install.patch" diff -Nur pkg_install/Makefile.orig pkg_install/Makefile --- pkg_install/Makefile.orig Thu Sep 4 18:40:45 2003 +++ pkg_install/Makefile Wed Sep 17 16:43:46 2003 @@ -7,10 +7,14 @@ PORTNAME= pkg_install PORTVERSION= 20030714 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= marcus + +PATCH_SITES= ftp://ftp.fillmore-labs.com/pub/FreeBSD/%SUBDIR%/ +PATCH_SITE_SUBDIR= patches +PATCHFILES= patch-pkg_install-20030917_2.gz MAINTAINER= portmgr@freebsd.org COMMENT= FreeBSD 5.x version of the package tools for older system releases diff -Nur pkg_install/distinfo.orig pkg_install/distinfo --- pkg_install/distinfo.orig Wed Sep 3 18:11:20 2003 +++ pkg_install/distinfo Wed Sep 17 17:00:56 2003 @@ -1 +1,2 @@ MD5 (pkg_install-20030714.tar.gz) = 183bed34c5427aeaf2025d9e2176e9ed +MD5 (patch-pkg_install-20030917_2.gz) = 42e4e6b85e09e702f36ea4d509496804 How-To-Repeat: fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/net/wide-dhcp-1.4.0.6_1.tgz pkg_info -v wide-dhcp-1.4.0.6_1.tgz pkg_info -r wide-dhcp-1.4.0.6_1.tgz
State Changed From-To: open->patched awaiting MFC
Responsible Changed From-To: freebsd-bugs->eik Handle my own PRs
State Changed From-To: patched->closed MFCed