[bug-notifications] [pkgutil 0003914]: Feature request: Select target platform for --download and --transform

Mantis Bug Tracker noreply at opencsw.org
Thu Oct 15 19:21:11 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3914 
====================================================================== 
Reported By:                skayser
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   3914
Category:                   regular use
Reproducibility:            have not tried
Severity:                   feature
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-09-23 13:54 CEST
Last Modified:              2009-10-15 19:21 CEST
====================================================================== 
Summary:                    Feature request: Select target platform for 
--download and --transform
Description: 
The target platform selection via --target is documented to work with the
--stream option. Could pkgutil be enhanced so that it also works with
--download and --transform.
====================================================================== 

---------------------------------------------------------------------- 
 (0006859) bonivart (manager) - 2009-10-15 19:21
 http://www.opencsw.org/mantis/view.php?id=3914#c6859 
---------------------------------------------------------------------- 
I haven't forgotten. :-) Just checked in r130 which is a very early version
of this. The idea is to move the -T option from the stream option to more
generic parts of pkgutil so it can be used with more options, that is all
the ones using download which are now also stream and extract.

Expect something more complete tomorrow.

>From my Solaris 10 i386:

$ /root/svn/pkgutil/trunk/pkgutil -dN tnef
You're not root and didn't set -W, using current dir.
Fetching new catalog and descriptions
(http://ibiblio.org/pub/packages/solaris/opencsw/current/i386/5.10) if
available...
...
Parsing catalog, may take a while...
Package list:
        CSWtnef-1.4.6,REV=2009.09.29
Total size: 36.4 KB
Fetching CSWtnef-1.4.6,REV=2009.09.29 (1/1)...
2009-10-15 19:09:45
URL:http://ibiblio.org/pub/packages/solaris/opencsw/current/i386/5.10/tnef-1.4.6,REV=2009.09.29-SunOS5.8-i386-CSW.pkg.gz
[37310/37310] ->
"/export/home/peter/packages/tnef-1.4.6,REV=2009.09.29-SunOS5.8-i386-CSW.pkg.gz"
[1]

Note that it gets the 5.8/i386 package if no target is set. Now I set a
target.

-bash-3.00$ /root/svn/pkgutil/trunk/pkgutil -dN -T sparc:5.10 tnef
You're not root and didn't set -W, using current dir.
Fetching new catalog and descriptions
(http://ibiblio.org/pub/packages/solaris/opencsw/current/sparc/5.10) if
available...
Parsing catalog, may take a while...
Package list:
        CSWtnef-1.4.6,REV=2009.09.29
Total size: 45.7 KB
Fetching CSWtnef-1.4.6,REV=2009.09.29 (1/1)...
2009-10-15 19:10:36
URL:http://ibiblio.org/pub/packages/solaris/opencsw/current/sparc/5.10/tnef-1.4.6,REV=2009.09.29-SunOS5.8-sparc-CSW.pkg.gz
[46775/46775] ->
"/export/home/peter/packages/tnef-1.4.6,REV=2009.09.29-SunOS5.8-sparc-CSW.pkg.gz"
[1]

It now fetched the 5.8/sparc package instead.




More information about the bug-notifications mailing list