[bug-notifications] [pkgutil 0004299]: RFE: Suppress license on installation (per default, optional or simply via pkgaddopts)

Mantis Bug Tracker noreply at opencsw.org
Wed Mar 3 11:19:52 CET 2010


The following issue has been RESOLVED. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=4299 
====================================================================== 
Reported By:                skayser
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   4299
Category:                   regular use
Reproducibility:            N/A
Severity:                   major
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-02-21 12:54 CET
Last Modified:              2010-03-03 11:19 CET
====================================================================== 
Summary:                    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.
====================================================================== 

---------------------------------------------------------------------- 
 (0007571) bonivart (manager) - 2010-03-03 11:19
 http://www.opencsw.org/mantis/view.php?id=4299#c7571 
---------------------------------------------------------------------- 
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.



More information about the bug-notifications mailing list