12337 remove legacy ABI switches from SVR4 packaging

Review Request #2521 — Created Feb. 24, 2020 and updated

ptribble
illumos-gate
12337
general
SVR4 packaging has a number of ways to toggle ABI compliance (or non-compliance), for legacy packages (for non-compliant packages prior to Solaris 2.4).

These are toggled by setting the following in the environment:

NONABI_SCRIPTS
PKG_NONABI_SYMLINKS

No current packages should be requiring these non-compliance workarounds; most of the legacy packages finally failed when Solaris 10 was released in any case.

There's also

PKG_ABI_NAMELENGTH

which would enforce the old 9-character limit for package names; this is completely useless in the modern world.

This change clears out this old stuff.

Built a zone using the modified binaries, tested package installation, removal, creation, and all the package commands.

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
ptribble
citrus
  1. 
      
  2. usr/src/man/man1/pkgproto.1 (Diff revision 2)
     
     

    The sentence you've left in is talking about files created via the now removed -i option. Some restructuring needed.

    1. This sentence simply records the fact that pkgproto cannot automatically determine whether pathnames are volatile, editable, or exclusive - the package creator needs to add that knowledge.
      
      It's not related to the change. The old -i option just replaced symlinks by file copies, primarily (I believe) to handle installation onto file systems that didn't support symlinks.
      
      The original text was a bit misleading by putting multiple notes together in the same paragraph. It would be better to split this up so that separate topics were in separate paragraphs, so I've made that small change to make it clearer.
  3. 
      
ptribble
Review request changed
Loading...