After upgrading an OI system to 

consolidation/osnet/osnet-incorporation           0.5.11-2020.0.1.20430      i--
developer/opensolaris/osnet                       0.5.11-2020.0.1.20430      i--

the /bin/sh is now provided by shell/ksh93

stat /bin/sh
  File: /bin/sh -> i86/ksh93

which is now in the shell/ksh93 package.

Without changing anything else, when I build squeak-5 and run gmake 
REQUIRED_PACKAGES
it automagically finds (perhaps via pkgdepend resolve) 

REQUIRED_PACKAGES += shell/ksh93

it did NOT find the old 

-REQUIRED_PACKAGES += SUNWcs

so I removed SUNWcs from the Makefile.  I did not even change

shared-macros.mk:REQUIRED_PACKAGES += SUNWcs

I thought first that perhaps a change of 'shared-macros.mk' would have been 
required, but apparently not.

Then a publish of the package publishes with the following required packages:

depend type=require fmri=pkg:/shell/[email protected]
depend type=require fmri=pkg:/system/library/[email protected]
depend type=require fmri=pkg:/system/[email protected]

so basically it replaced SUNWcs by shell/ksh93.

I suspect that if I submit a new Pull Request (PR) for the squeak packages,
the old:

# pkg contents -t depend squeak-4-nodisplay
TYPE    FMRI
require pkg:/[email protected]
require pkg:/system/library/[email protected]
require pkg:/system/[email protected]

the old pkg:/SUNWcs will simply be replaced by the 'new'  shell/ksh93.

I'm fine with this, I think it is more or less a design decision imposed by 
Illumos.org,
unless OpenIndiana would somehow change/modify/undo or reject that illumos 
choice ...

Perhaps one could argue that the package Korn shell is an odd dependency,
for a package which simply delivers a few Bourne shell scripts (/bin/sh).

However isn't that the logical consequence in some sense of delivering /bin/sh 
in shell/ksh93 ?

David Stes

_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to