The Workbench 2022-02
Note: Early version of Solaris email@example.com crashed in "ALTER TABLE". This is fixed now, please "pkg update -v firstname.lastname@example.org" (replace update with install for fresh installs) (edited 20220217T132500Z
as MySQL 8.0.28 is finished on X86 Solaris 11.3 and Solaris 11.4 and as well on OmniOS 151038, I'll move on to samba 4.15.4 this month. It is planned to have it on all OS, but this needs transition to 64-bit for samba, as the python interpreter is now 64-Bit. Python is heavily involved in setting up the Active Directory structures.
So, samba 4.15.4 update is on the workbench and prerequisite libraries for required package gpg are being updated right now. My success criteria for samba is again to run it as primary Active Directory controller. Including the feature roaming profiles for Windows 10 clients.
If you want to try Active Directory with your OmniOS or Solaris Server, then please drop me a note. I should have a draft setup guide available for you. COntact me on @sfepackages or email to sfepackages a g mail dot com.
For the samba update the prerequisite libs have been updated. A special thing was the dual 32/64-bit setup that doesn't play nicely out of the box with the style the config-info scripts are done in the stack. So the solution is now, that if you want to consume a lib, you export PATH before and set it to either PATH=/usr/gnu/bin/i86/:$PATH or ATH=/usr/gnu/bin/amd64/:$PATH (for sparc: sparcv7 or sparcv9). Then the "configure"-step of the consuming program runs into the config scripts with the rights answers for 32 or 64 bit library paths.
Just for info, the updated packages are these.
If you want a template for new libraries, then you can start with these two files:
SFEtemplate32-64.spec base-specs/template32-64.spec (from here: https://sourceforge.net/p/pkgbuild/code/HEAD/tree/spec-files-extra/)
As always, learning RPM spec files is in large parts learning the reguar Linux RPM format, but you may guess, the style is a bit different on Illumos/Solaris. But reading similar spec files for other libs and programs should help you to learn quickly how that works. A setup-guide to make up a spec-files-extra build system that can compile these files into propper IPS packages is described here: https://sfe.opencsw.org/manual-setup-build-enviroment
If you want extra perl modules, the process is automated with a script that takes the module name. It is kind of a simple CPAN that creates proper IPS packages one after the other (see https://sourceforge.net/p/pkgbuild/code/HEAD/tree/spec-files-extra/trunk...).
20220129 add gnupg and libs update, notes about template for new packages
20220127 initial post