OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003914 [pkg_get] regular use feature have not tried 2009-09-23 13:54 2009-10-30 17:44
Reporter skayser View Status public  
Assigned To bonivart
Priority normal Resolution fixed  
Status closed  
Summary 0003914: 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.
Additional Information $ pkgutil -v
1.7
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006744)
bonivart (developer)
2009-09-23 18:13

To be a more general tool for downloading/inspecting packages?

I guess it wouldn't hurt. I'll add it to my queue. :-)
(0006859)
bonivart (developer)
2009-10-15 19:21

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.
(0006865)
bonivart (developer)
2009-10-16 14:59

r131 should be more complete with cleaned up --stream function. Now you should be able to use target for all download operations:

-d -T sparc:5.8
-d --stream -T sparc:5.8
-d --extract -T sparc:5.8
(0006878)
bonivart (developer)
2009-10-19 20:30

There's a 1.8 beta 1 with this fix in testing now.
(0006915)
bonivart (developer)
2009-10-30 17:44

1.8 released to current.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker