Subject: CVS commit: [pkgsrc-2021Q4] pkgsrc/emulators
From: Benny Siegert
Date: 2022-01-02 18:51:08
Message id: 20220102175108.A08A3FAEC@cvs.NetBSD.org

Log Message:
Pullup ticket #6558 - requested by he
emulators/compat90: fix for PR pkg/56597

1) ensure that a symlink points the expected place before
   removing it on de-install (safety measure)
2) change ONLY_FOR_PLATFORMS so that 9.[012] and _STABLE
   variants are excluded; insist on 9.99.* or later.

Subsequently, adapt to pkglint warnings about EMUL_PLATFORMS
member names.

Revisions pulled up:
- emulators/compat90/Makefile                                   1.2-1.3
- emulators/compat90/PLIST.armeb                                deleted
- emulators/compat90/PLIST.armv6hf                              deleted
- emulators/compat90/PLIST.armv7hf                              deleted
- emulators/compat90/PLIST.earmeb                               1.1
- emulators/compat90/PLIST.earmv6hf                             1.1
- emulators/compat90/PLIST.earmv7hf                             1.1
- emulators/compat90/PLIST.m68000                               1.1
- emulators/compat90/PLIST.m68010                               deleted
- emulators/compat90/distinfo                                   1.3
- emulators/compat_netbsd/INSTALL.ELF                           1.3

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Jan  2 16:15:55 UTC 2022

   Modified Files:
   	pkgsrc/emulators/compat_netbsd: INSTALL.ELF

   Log Message:
   Don't just remove a symlink on removal, ensure that it points
   to an expected name before doing so.  Should prevent removal of
   required symlinks which might otherwise happen when this package
   by accident is instsalled and subsequently de-installed on
   9.0 - 9.2 or other netbsd-9 variants.
   Parts of fix for PR#56597.

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Jan  2 16:22:32 UTC 2022

   Modified Files:
   	pkgsrc/emulators/compat90: Makefile

   Log Message:
   Change the ONLY_FOR_PLATFORM pattern, so that it no longer matches
   against 9.0, 9.1, 9.2 or 9.x_STABLE, only 9.99.* and subsequent
   releses.  The set of libraries this is compared against is what's
   in 9.99.92, but the binaries are from 9.0, of course.

   Bump PKGREVISION so that we pick up the changes from
   compat_netbsd/INSTALL.ELF, to protect against removal of base system
   symlinks, ref. PR#56597.

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Jan  2 16:35:12 UTC 2022

   Modified Files:
   	pkgsrc/emulators/compat90: Makefile

   Log Message:
   Adjust EMUL_PLATFORMS to pkglint's liking:
   armeb -> earmeb
   armv6hf -> earmv6hf
   armv7hf -> earmv7hf
   m68010 -> m68000
   Compat symlinks created in distfile repository.
   Riding on the quite recent PKGREVISION bump.

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Jan  2 16:49:29 UTC 2022

   Added Files:
   	pkgsrc/emulators/compat90: PLIST.earmeb PLIST.earmv6hf PLIST.earmv7hf
   	    PLIST.m68000
   Removed Files:
   	pkgsrc/emulators/compat90: PLIST.armeb PLIST.armv6hf PLIST.armv7hf
   	    PLIST.m68010

   Log Message:
   Rename the set lists corresponding to recent EMUL_PLATFORMS
   renaming.  Ride on recent PKG_REVISION bump.

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Jan  2 16:54:05 UTC 2022

   Modified Files:
   	pkgsrc/emulators/compat90: distinfo

   Log Message:
   Update distinfo as well, to complete the EMUL_PLATFORMS renaming.

Files:
RevisionActionfile
1.1.2.1modifypkgsrc/emulators/compat90/Makefile
1.2.2.1modifypkgsrc/emulators/compat90/distinfo
1.1.2.2addpkgsrc/emulators/compat90/PLIST.earmeb
1.1.2.2addpkgsrc/emulators/compat90/PLIST.earmv6hf
1.1.2.2addpkgsrc/emulators/compat90/PLIST.earmv7hf
1.1.2.2addpkgsrc/emulators/compat90/PLIST.m68000
1.1removepkgsrc/emulators/compat90/PLIST.armeb
1.1removepkgsrc/emulators/compat90/PLIST.armv6hf
1.1removepkgsrc/emulators/compat90/PLIST.armv7hf
1.1removepkgsrc/emulators/compat90/PLIST.m68010