--- - branch: MAIN date: Fri Jan 26 03:24:49 UTC 2024 files: - new: '1.35' old: '1.34' path: pkgsrc/pkgtools/pkg_install/files/add/Makefile.in pathrev: pkgsrc/pkgtools/pkg_install/files/add/Makefile.in@1.35 type: modified - new: '1.20' old: '1.19' path: pkgsrc/pkgtools/pkg_install/files/add/add.h pathrev: pkgsrc/pkgtools/pkg_install/files/add/add.h@1.20 type: modified - new: '1.33' old: '1.32' path: pkgsrc/pkgtools/pkg_install/files/add/main.c pathrev: pkgsrc/pkgtools/pkg_install/files/add/main.c@1.33 type: modified - new: '1.1' old: '0' path: pkgsrc/pkgtools/pkg_install/files/add/parse_cross.c pathrev: pkgsrc/pkgtools/pkg_install/files/add/parse_cross.c@1.1 type: added - new: '1.122' old: '1.121' path: pkgsrc/pkgtools/pkg_install/files/add/perform.c pathrev: pkgsrc/pkgtools/pkg_install/files/add/perform.c@1.122 type: modified - new: '1.190' old: '1.189' path: pkgsrc/pkgtools/pkg_install/files/lib/version.h pathrev: pkgsrc/pkgtools/pkg_install/files/lib/version.h@1.190 type: modified id: 20240126T032449Z.76b03219b824453b774ecb0cba04148a4931f7c3 log: | pkg_install-20240125: Extend `-m' syntax to allow OPSYS too. - If there's no slash `/', take it all as ${MACHINE_ARCH}. - If there is a slash, then split it by `/' and ` ' into: ${OPSYS}/${MACHINE_ARCH} ${OPSYS_VERSION} For example: NetBSD/aarch64 10.0 All the variables are restricted to lie in a safe set [a-zA-Z0-9._-], so the notation can be extended later. No change to existing syntax (no MACHINE_ARCH has `/' in it, or anything outside the safe set), and `-m' is generally only used with cross builds anyway, so this shouldn't break existing cross builds and should have no impact on native builds. Proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2024/01/13/msg028825.html module: pkgsrc subject: 'CVS commit: pkgsrc/pkgtools/pkg_install/files' unixtime: '1706239489' user: riastradh