OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004299 [pkg_get] regular use major N/A 2010-02-21 12:54 2010-03-12 16:00
Reporter skayser View Status public  
Assigned To bonivart
Priority normal Resolution fixed  
Status closed  
Summary 0004299: RFE: Suppress license on installation (per default, optional or simply via pkgaddopts)
Description Upgraded a bunch of machines with a very downrev CSW software stack this week so I saw a lot of copyright notices flying by. In between these longish copyright messages, valuable output (e.g. WRT to changed configuration file location) was almost too easy to miss.

While many of our new packages do reduce the clutter on the console (they only point to /opt/csw/share/doc/foobar/license), there are at least as many packages which still output the full license. As long as we haven't "fixed" those packages, there is the undocumented/non-public -S flag to pkgadd (which James has mentioned a couple of times in the past) that can be used to suppress the license/copyright output.

  http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/svr4pkg/pkgadd/main.c#780 [^]

Could we have pkgutil leverage this option somehow? Could be a documented workaround via pkgaddopts, could be an option like --nolicense, or could even be made a default for the sake of reducing the pkgadd output to real important things like those migration related notices. Haven't yet tested the -S flag (should do so to see whether it is available starting from Solaris 8), but if it is working, it would be a very valuable addition when it comes to user-friendliness (less clutter) and for us to better make sure that our users see important package notices.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0007486)
bonivart (developer)
2010-02-21 18:25

It's already in pkgutil.conf.CSW as a tip for the pkgadd option in SVN, will be in the next version. A problem with that is that many don't look at the .CSW file if they upgrade, they keep using their own file without checking for new options in the .CSW file.
(0007496)
bonivart (developer)
2010-02-23 15:24

I think I will post a simple note about checking the pkgutil.conf.CSW file for new options and changed defaults at the end of pkgutil installation.
(0007516)
bonivart (developer)
2010-02-24 09:50

pkgadd -S confirmed to work on Solaris 8 (sparc).
(0007571)
bonivart (developer)
2010-03-03 11:19

I have tested pkgadd -S on Solaris 8 and it works. It's added as a suggestion to pkgutil.conf.CSW delivered with the package. The package will display some note ("look for new/changed options in pkgutil.conf.CSW"?) at the end of install.
(0007626)
bonivart (developer)
2010-03-12 16:00

In 1.10 a note is in pkgutil.conf about -S and at the end of install a note is displayed about checking pkgutil.conf.CSW for new stuff.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker