[bug-notifications] [pkg_get 0003894]: pkgutil 1.7: -L option only works with the package name, not the software name

Mantis Bug Tracker noreply at opencsw.org
Mon Jan 2 10:28:05 CET 2012


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=3894 
====================================================================== 
Reported By:                skayser
Assigned To:                bonivart
====================================================================== 
Project:                    pkg_get
Issue ID:                   3894
Category:                   regular use
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-09-14 11:16 CEST
Last Modified:              2012-01-02 10:28 CET
====================================================================== 
Summary:                    pkgutil 1.7: -L option only works with the package
name, not the software name
Description: 
Most other command options work with both (pgk and sw name), the new -L
option only seems to work with the sw name. Can we get it to recognize the
sw name too?

Example:

# pkgutil -L dhcp

# pkgutil -L CSWdhcp | head

/etc/init.d/cswdhcp
/etc/opt/csw/dhcpd.conf.CSW
/etc/rc1.d/K73cswdhcp
/etc/rc2.d/S73cswdhcp
/opt/csw/bin/omshell
/opt/csw/include/dhcpctl.h
/opt/csw/include/isc-dhcp
/opt/csw/include/isc-dhcp/boolean.h
/opt/csw/include/isc-dhcp/dst.h
====================================================================== 

---------------------------------------------------------------------- 
 (0009518) dam (administrator) - 2012-01-02 10:28
 https://www.opencsw.org/mantis/view.php?id=3894#c9518 
---------------------------------------------------------------------- 
I suggest the following logic:
1. Look in catalog for matching catalogname and use corresponding package
name on match
2. Use argument as-is otherwise



More information about the bug-notifications mailing list