[macports-legacy-support] branch master updated (61be35a -> 8aad008)

Christopher Nielsen mascguy at macports.org
Wed Jun 19 15:25:32 UTC 2024


Christopher Nielsen (mascguy) pushed a change to branch master
in repository macports-legacy-support.

    from 61be35a  Add tests for stpncpy() security wrapper.
     new 11bf0f4  Fix incorrect and missing include_next comments.
     new e4083d1  Add new header sdkversion.h
     new 0af7113  Add .gitignore for manual_tests.
     new 6a975a2  Makefile: Add rules for manual tests.
     new a8ca662  Add manual "test" related to sdkversion.h
     new 4405385  Move renameat() to the proper header.
     new 6d3da82  Add minimal test for renameat()
     new f53c6a5  Rework Tiger headers for better compatibility.
     new 3e2a29b  Tighten test_stpncpy_chk.
     new 3ee01f6  Add tests for strncpy_chk(), for comparison.
     new 7ea094c  stpncpy_chk: Fix typo in comment.
     new b8d45e3  Makefile: Add test_clean target.
     new ac97915  Fix stpncpy() security wrapper for 10.5 with 10.7+ SDK.
     new 1849c3a  sincos: Add missing include.
     new fa92ff2  sincos: Implement sincos[f]_stret
     new e0a0faf  Add secure/_common.h to avoid security wrappers on 10.4.
     new 3b29576  Fix 10.6- builds with 10.14+ SDKs.
     new 0e7c771  Fix 10.6- builds with 14.x+ SDKs.
     new 8396908  Improve stpncpy() security wrapper workaround.
     new 8aad008  Makefile: Add install-tiger target.

The 20 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Makefile                                           |  47 ++++++-
 include/{dirent.h => Availability.h}               |  37 ++---
 include/AvailabilityInternal.h                     |  53 +++++++
 include/IOKit/usb/USB.h                            |   1 +
 include/MacportsLegacySupport.h                    |   4 +-
 include/OpenGL/gliDispatch.h                       |   1 +
 include/_macports_extras/sdkversion.h              | 155 +++++++++++++++++++++
 .../_macports_extras/tiger_only}/Availability.h    |   0
 .../tiger_only}/AvailabilityInternal.h             |   0
 .../_macports_extras/tiger_only}/copyfile.h        |   0
 include/copyfile.h                                 |  16 ++-
 include/mach/machine.h                             |   2 +-
 include/secure/_common.h                           |  37 +++++
 include/stdio.h                                    |  26 +---
 include/string.h                                   |  61 +++++---
 include/strings.h                                  |   3 +-
 include/sys/fcntl.h                                |   3 +-
 include/sys/random.h                               |   3 +-
 include/sys/spawn.h                                |   3 +-
 include/sys/stat.h                                 |   3 +-
 include/{pthread.h => sys/stdio.h}                 |  33 +++--
 include/sys/time.h                                 |   3 +-
 {tiger_only/include => include}/sys/types.h        |  16 +++
 include/sys/unistd.h                               |   3 +-
 include/unistd.h                                   |   1 +
 manual_tests/.gitignore                            |   4 +
 manual_tests/headerinfo.c                          |  92 ++++++++++++
 src/atcalls.c                                      |   1 +
 src/fdopendir.c                                    |   8 +-
 src/macports_legacy_symbol_aliases.c               |   7 +-
 src/sincos.c                                       |  31 +++++
 src/stpncpy_chk.c                                  |   2 +-
 src/dirfuncs_compat.h => test/test_renameat.c      |  47 +++----
 test/test_stpncpy_chk.c                            |   8 +-
 test/test_stpncpy_chk_force0.c                     |   7 +
 test/{test_stpncpy_chk.c => test_strncpy_chk.c}    |  60 ++++----
 test/test_strncpy_chk_force0.c                     |   7 +
 test/test_strncpy_chk_force1.c                     |   7 +
 ...ncpy_chk_forced.c => test_strncpy_chk_forced.c} |   4 +-
 39 files changed, 629 insertions(+), 167 deletions(-)
 copy include/{dirent.h => Availability.h} (59%)
 create mode 100644 include/AvailabilityInternal.h
 create mode 100644 include/_macports_extras/sdkversion.h
 rename {tiger_only/include => include/_macports_extras/tiger_only}/Availability.h (100%)
 rename {tiger_only/include => include/_macports_extras/tiger_only}/AvailabilityInternal.h (100%)
 rename {tiger_only/include => include/_macports_extras/tiger_only}/copyfile.h (100%)
 create mode 100644 include/secure/_common.h
 copy include/{pthread.h => sys/stdio.h} (58%)
 rename {tiger_only/include => include}/sys/types.h (88%)
 create mode 100644 manual_tests/.gitignore
 create mode 100644 manual_tests/headerinfo.c
 copy src/dirfuncs_compat.h => test/test_renameat.c (53%)
 create mode 100644 test/test_stpncpy_chk_force0.c
 copy test/{test_stpncpy_chk.c => test_strncpy_chk.c} (70%)
 create mode 100644 test/test_strncpy_chk_force0.c
 create mode 100644 test/test_strncpy_chk_force1.c
 copy test/{test_stpncpy_chk_forced.c => test_strncpy_chk_forced.c} (76%)



More information about the macports-changes mailing list