tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Tentative "fix" for "pkg_info -E" problem



Johnny C. Lam wrote:
If this seems to work, then I'll commit this so that we can branch
pkgsrc.

As a further datapoint, on a virgin NetBSD 3.1 system with a current pkgsrc checkout, I did:

# cd pkgsrc/security/gnutls
# make show-var VARNAME=PKG_INFO_CMD
/usr/sbin/pkg_info
# make
=> Bootstrap dependency pkg_install>=20070802: NOT found
=> Verifying reinstall for ../../pkgtools/pkg_install
...
=> Registering installation for gnutls-2.2.2
gnutls-2.2.2 requires installed package libcfg+-0.6.2nb3
gnutls-2.2.2 requires installed package libgcrypt-1.4.0
gnutls-2.2.2 requires installed package libtasn1-1.3
gnutls-2.2.2 requires installed package lzo-2.02
gnutls-2.2.2 requires installed package opencdk-0.6.6
# make show-var VARNAME=PKG_INFO_CMD
/usr/pkg/sbin/pkg_info
# /usr/pkg/sbin/pkg_info
pkg_install-20080313 Package management and administration tools for pkgsrc
digest-20070803     Message digest wrapper utility
libtool-base-1.5.24nb5 Generic shared library support script (the script itself)
gmake-3.81          GNU version of 'make' utility
lzo-2.02            Portable lossless data compression library
libcfg+-0.6.2nb3    Command line and configuration file parsing library
libtasn1-1.3        ASN.1 structure parser library
libgpg-error-1.4nb2 Definitions of common error values for all GnuPG components
libgcrypt-1.4.0     GNU cryptographic library
opencdk-0.6.6       Open Crypto Development Kit
gnutls-2.2.2        GNU Transport Layer Security library

The patch seems to work with packages that have multiple levels of dependencies.

        Cheers,

        -- Johnny C. Lam


Home | Main Index | Thread Index | Old Index