Dreckly/dreckly 2b50e50bootstrap README.OpenServer5, cross/cross-libtool-base Makefile

Merge branch 'trunk' into release/macos/12.3
DeltaFile
+421-454databases/prometheus/distinfo
+128-346mk/bsd.prefs.mk
+139-150databases/prometheus/go-modules.mk
+16-251bootstrap/README.OpenServer5
+116-5mk/tools/tools.SCO_SV.mk
+0-105cross/cross-libtool-base/Makefile
+820-1,311145 files not shown
+1,468-2,547151 files

Dreckly/dreckly 35f8b5amk krb5.buildlink3.mk, mk/platform SunOS.mk Darwin.mk

mk: Switch KRB5_DEFAULT default to mit-krb5.

More OS include this than heimdal, and for OS that do not provide
either, building the pkgsrc version is a lot more portable.

Retain heimdal as the default on NetBSD and FreeBSD.
DeltaFile
+1-5mk/platform/SunOS.mk
+0-3mk/platform/Darwin.mk
+3-0mk/platform/NetBSD.mk
+0-3mk/platform/HPUX.mk
+3-0mk/platform/FreeBSD.mk
+1-1mk/krb5.buildlink3.mk
+8-126 files

Dreckly/dreckly 18912d8mk/platform README Darwin.mk

mk: Remove _OPSYS_PERL_REQD.

It's not 2003 anymore, all platforms use the same perl, we don't support
system perl, and this saves calls to pkg_admin for every perl-using
package.
DeltaFile
+0-2mk/platform/README
+0-1mk/platform/Darwin.mk
+0-1mk/platform/DragonFly.mk
+0-1mk/platform/FreeBSD.mk
+0-1mk/platform/FreeMiNT.mk
+0-1mk/platform/GNUkFreeBSD.mk
+0-719 files not shown
+0-2625 files

Dreckly/dreckly 38aea12mk bsd.prefs.mk, mk/platform Darwin.mk IRIX.mk

Remove _OPSYS_WHOLE_ARCHIVE_FLAG and _OPSYS_NO_WHOLE_ARCHIVE_FLAG, these
variables are unused and in at least one case were completely wrong anyway.
DeltaFile
+1-11mk/platform/Darwin.mk
+1-9mk/platform/IRIX.mk
+1-8mk/platform/UnixWare.mk
+1-8mk/platform/SCO_SV.mk
+1-7mk/bsd.prefs.mk
+1-7mk/platform/SunOS.mk
+6-5019 files not shown
+24-15825 files

Dreckly/dreckly 57ba844mk/platform HPUX.mk

NOLOGIN needs to be /usr/bin/false here. Probably copy-pasto from OSF1.mk.
DeltaFile
+2-2mk/platform/HPUX.mk
+2-21 files

Dreckly/dreckly 6f459femk/platform HPUX.mk OSF1.mk

fix comment about pkgtools/compat_headers
DeltaFile
+2-2mk/platform/HPUX.mk
+2-2mk/platform/OSF1.mk
+4-42 files

Dreckly/dreckly ffde529mk/buildlink3 bsd.builtin.mk, mk/platform SunOS.mk QNX.mk

Introduce _OPSYS_PREFER.<pkg> variables as a way to set an advisory
per-platform default.  Previously PREFER.<pkg> was used, and as that
has the highest precedence it meant the defaults could not be overridden
with the PREFER_PKGSRC and PREFER_NATIVE user variables.

While here, set the openssl default for SunOS back to pkgsrc, now that
users who wish to use the builtin can do so via PREFER_NATIVE=openssl.
DeltaFile
+27-9mk/buildlink3/bsd.builtin.mk
+5-5mk/platform/SunOS.mk
+4-4mk/platform/QNX.mk
+3-3mk/platform/Darwin.mk
+3-3mk/platform/HPUX.mk
+42-245 files

Dreckly/dreckly 47bc9e9mk/platform Haiku.mk Minix.mk

Introduce _OPSYS_LIB_DIRS and _OPSYS_INCLUDE_DIRS varables.
list of system library and header file directories.

Also add missing _OPSYS_SYSTEM_RPATH for some platforms.
DeltaFile
+7-1mk/platform/Haiku.mk
+5-1mk/platform/Minix.mk
+5-1mk/platform/MirBSD.mk
+5-1mk/platform/OSF1.mk
+5-1mk/platform/README
+5-1mk/platform/AIX.mk
+32-615 files not shown
+93-2021 files

Dreckly/dreckly 5c23261mk/platform Darwin.mk OpenBSD.mk

Make MOTIF_TYPE_DEFAULT as motif (LGPL Motif) instead of openmotif or lesstif.
No objection on tech-pkg@.
DeltaFile
+3-2mk/platform/Darwin.mk
+2-2mk/platform/OpenBSD.mk
+2-2mk/platform/AIX.mk
+2-2mk/platform/BSDOS.mk
+2-2mk/platform/DragonFly.mk
+2-2mk/platform/FreeBSD.mk
+13-128 files not shown
+29-2814 files

Dreckly/dreckly bff7a84mk bsd.prefs.mk, mk/buildlink3 imake-check imake-check.mk

Drop imake-check logic from X11 components' builtin.mk.
Always use xorg-cf-files and imake from pkgsrc, replacing xpkgwedge.
Always install man pages, not cat pages when using imake.
Unify the various imake PLIST variables in preparation for dropping.
Adjust xbattbar for the new expectations.
DeltaFile
+162-27x11/xorg-cf-files/patches/patch-ak
+0-97mk/buildlink3/imake-check
+0-95mk/buildlink3/imake-check.mk
+66-3x11/xorg-cf-files/patches/patch-ai
+1-33mk/platform/IRIX.mk
+17-17mk/bsd.prefs.mk
+246-27241 files not shown
+408-66947 files

Dreckly/dreckly 5fcceb9mk/platform OSF1.mk HPUX.mk

From "What platforms work with X11_TYPE=native" thread on pkgsrc-users.

Based on the responses I'm going to switch the default X11_TYPE to
be modular, and override in platform/*.mk files as required. The
new values will be:

Changed - from native to modular
- FreeBSD
- FreeMiNT
- Linux

Changed - older versions switched from native to modular
- NetBSD - native for NetBSD-4 and later

Native (unchanged)  - should probably be switched to modular
- AIX
- BSDOS
- IRIX
- Interix

    [17 lines not shown]
DeltaFile
+1-6mk/platform/OSF1.mk
+1-6mk/platform/HPUX.mk
+6-1mk/platform/NetBSD.mk
+3-3mk/platform/Darwin.mk
+1-4mk/platform/DragonFly.mk
+1-4mk/platform/Haiku.mk
+13-249 files not shown
+39-3415 files

Dreckly/dreckly 98b4d59mk/check bsd.check-vars.mk, mk/platform AIX.mk BSDOS.mk

Get rid of an abstraction violation which has been in the tree since
March 2008. Not vital, but the previous way does not scale well/at all.
DeltaFile
+2-2mk/check/bsd.check-vars.mk
+3-1mk/platform/AIX.mk
+3-1mk/platform/BSDOS.mk
+3-1mk/platform/Darwin.mk
+3-1mk/platform/DragonFly.mk
+3-1mk/platform/FreeBSD.mk
+17-710 files not shown
+47-1716 files

Dreckly/dreckly 4bb6078mk/platform HPUX.mk OSF1.mk

revert previous
DeltaFile
+4-1mk/platform/HPUX.mk
+4-1mk/platform/OSF1.mk
+8-22 files

Dreckly/dreckly 83a07d7mk/platform HPUX.mk OSF1.mk

Global FAM_DEFAULT is now acceptable, so no need to override it here.
DeltaFile
+1-4mk/platform/HPUX.mk
+1-4mk/platform/OSF1.mk
+2-82 files

Dreckly/dreckly 503288cmk/platform AIX.mk BSDOS.mk

Reverting my previous openmotif->lesstif changes.
DeltaFile
+2-2mk/platform/AIX.mk
+2-2mk/platform/BSDOS.mk
+2-2mk/platform/Darwin.mk
+2-2mk/platform/HPUX.mk
+2-2mk/platform/Interix.mk
+2-2mk/platform/OSF1.mk
+12-126 files

Dreckly/dreckly 8fd4627mk/platform AIX.mk HPUX.mk

As the openmotif license doesnt allow usage on close source systems,
there is no good reason to be default on those platforms.

Change the default to lesstif on AIX, BSDOS, Darwin, HPUX, Interix, OSF1.
DeltaFile
+2-2mk/platform/AIX.mk
+2-2mk/platform/HPUX.mk
+2-2mk/platform/OSF1.mk
+2-2mk/platform/BSDOS.mk
+2-2mk/platform/Interix.mk
+2-2mk/platform/Darwin.mk
+12-126 files

Dreckly/dreckly 142bea6mk bsd.prefs.mk, mk/defaults mk.conf

Provide a mechanism for enabling use of pkgtools/posix_headers.
DeltaFile
+7-1mk/defaults/mk.conf
+7-1mk/bsd.prefs.mk
+4-1mk/platform/HPUX.mk
+18-33 files

Dreckly/dreckly 1f1c313mk/platform HPUX.mk

Default to modular X.org on HPUX, since native X11 is old/broken and
X11 headers are not bundled with the operating system.
DeltaFile
+7-1mk/platform/HPUX.mk
+7-11 files

Dreckly/dreckly 405b33bmk/platform HPUX.mk

Don't provide a redundant CPP definition
DeltaFile
+1-2mk/platform/HPUX.mk
+1-21 files

Dreckly/dreckly bb75bb8mk/platform defaults.mk NetBSD.mk

Reverted the last changes, which factored out some definitions that are
usually the same on the supported platforms.

The reason for having duplicate code in these files is to make it easier
to port pkgsrc to a new platform: You just have to copy one of the
existing platform files and edit the values in it. With some values
factored out, you would have to look at one more file.

Pointed out by agc@.
DeltaFile
+0-133mk/platform/defaults.mk
+14-4mk/platform/NetBSD.mk
+9-8mk/platform/Linux.mk
+11-6mk/platform/HPUX.mk
+12-3mk/platform/OpenBSD.mk
+7-8mk/platform/SunOS.mk
+53-1629 files not shown
+120-18915 files

Dreckly/dreckly ab53e51mk/platform defaults.mk NetBSD.mk

Factored out the parts that are common between all the supported
platforms, mainly because it wouldn't have made sense to document the
variables in one of those files, but they need to be documented
somewhere.

Added the file defaults.mk, which now serves as the reference document
which provides useful default values and _explains_ the variables.
DeltaFile
+133-0mk/platform/defaults.mk
+4-14mk/platform/NetBSD.mk
+8-9mk/platform/Linux.mk
+6-11mk/platform/HPUX.mk
+3-12mk/platform/OpenBSD.mk
+8-7mk/platform/SunOS.mk
+162-539 files not shown
+189-12015 files

Dreckly/dreckly d56f94fmk/platform HPUX.mk OSF1.mk

Allow PKGLOCALEDIR to be overridden.
DeltaFile
+2-2mk/platform/HPUX.mk
+2-2mk/platform/OSF1.mk
+4-42 files

Dreckly/dreckly 9472799mk/platform HPUX.mk

Remove inclusion of pkgtools/posix_headers/buildlink3.mk. This was
useful for initial testing, but here is not the proper place to include it.
For now the recommended way is to include the buildlink3.mk in mk.conf.
DeltaFile
+1-6mk/platform/HPUX.mk
+1-61 files

Dreckly/dreckly 33f3015misc/openoffice-bin PLIST.SolarisSparc PLIST.SolarisIntel

* Add new emulator framework in pkgsrc/mk/emulator that handles all
  binary-only packages that require binary "emulation" on the native
  operating system.  Please see pkgsrc/mk/emulator/README for more
  details.

* Teach the plist framework to automatically use any existing
  PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition.

* Convert all of the binary-only packages in pkgsrc to use the
  emulator framework.  Most of them have been tested to install and
  deinstall correctly.  This involves the following cleanup actions:

    * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM}
      more consistently.

    * Simplify packages by using default INSTALL and DEINSTALL scripts
      instead of custom INSTALL/DEINSTALL code.

    * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc.

    [35 lines not shown]
DeltaFile
+0-5,266misc/openoffice-bin/PLIST.SolarisSparc
+0-5,266misc/openoffice-bin/PLIST.SolarisIntel
+5,261-0misc/openoffice-bin/PLIST.solaris-sparc
+5,261-0misc/openoffice-bin/PLIST.solaris-i386
+0-5,071misc/openoffice-bin/PLIST.LinuxIntel
+5,066-0misc/openoffice-bin/PLIST.linux-i386
+15,588-15,603458 files not shown
+21,098-20,957464 files

Dreckly/dreckly 10133a1mk/platform HPUX.mk

- Use builtin krb5 implementation.
- Default to sysutils/gamin for packages that need libfam.
DeltaFile
+7-1mk/platform/HPUX.mk
+7-11 files

Dreckly/dreckly a896bfcmk/platform HPUX.mk

Do not include posix_headers when bootstrapping. The package is only
useful when building packages from source, and it is compiler dependent.
DeltaFile
+2-2mk/platform/HPUX.mk
+2-21 files

Dreckly/dreckly 967ebc4mk/platform HPUX.mk

Enable use of pkgtools/posix_headers on HP-UX version 11.11.
DeltaFile
+6-1mk/platform/HPUX.mk
+6-11 files

Dreckly/dreckly 4176dd5mk/platform HPUX.mk

don't use the system provided openssl and zlib for now
DeltaFile
+6-1mk/platform/HPUX.mk
+6-11 files

Dreckly/dreckly 146da12bootstrap README.HPUX, mk/platform HPUX.pkg.dist HPUX.mk

Teach pkgsrc about HP-UX.
DeltaFile
+1,346-0mk/platform/HPUX.pkg.dist
+69-0mk/platform/HPUX.mk
+59-0mk/tools/tools.HPUX.mk
+51-0mk/wrapper/cmd-sink-hpux-ld
+48-0mk/wrapper/cmd-sink-hpux-cc
+25-0bootstrap/README.HPUX
+1,598-04 files not shown
+1,629-1110 files