<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ceccb8bb27da3987f9c191f0ad8181998af1831c">https://github.com/macports/macports-ports/commit/ceccb8bb27da3987f9c191f0ad8181998af1831c</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new ceccb8bb27d legacy-support: Update to v1.3.0.
</span>ceccb8bb27d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ceccb8bb27da3987f9c191f0ad8181998af1831c
</span>Author: Fred Wright <fw@fwright.net>
AuthorDate: Mon Aug 5 20:47:46 2024 -0700
<span style='display:block; white-space:pre;color:#404040;'> legacy-support: Update to v1.3.0.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - Adds optional security wrapper for stpncpy().
</span><span style='display:block; white-space:pre;color:#404040;'> Re: https://trac.macports.org/ticket/69878
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - Moves renameat() prototype to the proper header location.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - Fixes incorrect CLOCK_UPTIME_RAW_APPROX definition.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - Eliminates spurious fmemopen() in OSes that don't need it.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - Adds appropriate __DARWIN_C_LEVEL conditionals, as in SDK headers.
</span><span style='display:block; white-space:pre;color:#404040;'> Re: https://trac.macports.org/ticket/69688
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - Reworks headers for "mismatched" SDK compatibility.
</span><span style='display:block; white-space:pre;color:#404040;'> Re: https://trac.macports.org/ticket/69867
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - Makes clockid_t an enum, matching SDK behavior.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - Adds SLIST_REMOVE_AFTER, SLIST_HEAD_INITIALIZER.
</span><span style='display:block; white-space:pre;color:#404040;'> Re: https://trac.macports.org/ticket/69890
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - Adds fgetattrlist().
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/70350
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Portfile changes:
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - Removes obsolete portion of Tiger-specific additions.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - Moves atexit removal from post-extract to pre-patch, to respect
</span><span style='display:block; white-space:pre;color:#404040;'> expected phase behavior.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> TESTED:
</span><span style='display:block; white-space:pre;color:#404040;'> Tested both normal and -devel versions (currently identical) on
</span><span style='display:block; white-space:pre;color:#404040;'> 10.4-10.5 ppc, 10.5-10.6 ppc (i386 Rosetta), 10.4-10.6 i386, 10.4-12.x
</span><span style='display:block; white-space:pre;color:#404040;'> x86_64, and 11.x-14.x arm64.
</span><span style='display:block; white-space:pre;color:#404040;'> Builds on all tested platforms except 10.4 ppc +universal.
</span><span style='display:block; white-space:pre;color:#404040;'> Passes all tests in all buildable cases.
</span>---
devel/legacy-support/Portfile | 48 ++++++++++---------------------------------
1 file changed, 11 insertions(+), 37 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/legacy-support/Portfile b/devel/legacy-support/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 179e05828b0..15a923b5903 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/legacy-support/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/legacy-support/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,7 +22,7 @@ long_description {*}${description}
</span> epoch 1
# Primary release version
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set release_ver 1.2.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set release_ver 1.3.0
</span>
# Binary compatibility version
set compat_ver 1.0.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,22 +31,9 @@ subport ${name} {
</span> conflicts ${name}-devel
github.setup macports macports-legacy-support ${release_ver} v
revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 91ac38ae5a7ac40eaae84163a3bc658c24fd976b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 1f59de824f9769fde0f154173ed0296390288b6b0a79eb073d21e35aa8b0a1f6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 77763
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # install Tiger-specific fixes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- platform darwin 8 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # there is no system copyfile.h, so find local copy
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cflags-append -isystem${worksrcpath}/tiger_only/include
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # use Tiger version of copyfile.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${prefix}/include/LegacySupport/copyfile.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Copy all tiger specific 'binaries' and includes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- tiger_copy ${worksrcpath}/tiger_only/bin ${destroot}${prefix}/bin/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- tiger_copy ${worksrcpath}/tiger_only/include ${destroot}${prefix}/include/LegacySupport/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 7d17aa039df1dd3e6d769a570bae703cea111e74 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 cc0f2c5d6d2dfe1b8cfa15b1f590856552df22dc9cfa1b2b796557ed2f54e3e1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 95241
</span> }
subport ${name}-devel {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,12 +47,6 @@ subport ${name}-devel {
</span> size 95241
set v_split [split ${release_ver} .]
set release_ver [lindex ${v_split} 0].[lindex ${v_split} 1].99
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Install Tiger-specific additions
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- platform darwin 8 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.target-append tiger-bins
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot.target-append install-tiger
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> }
# Until this can be fixed disable parallel builds...
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -80,7 +61,7 @@ use_parallel_build no
</span>
configure.cxx_stdlib
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-patch {
</span> # until upstream can be fixed, do not include atexit symbols
# under certain circumstances, infinite recursive loops can form
delete ${worksrcpath}/src/macports_legacy_atexit.c
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -92,6 +73,12 @@ build.env-append LD=ld \
</span> SOCURVERSION=${release_ver} \
SOCOMPATVERSION=${compat_ver}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Include Tiger-specific additions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 8 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target-append tiger-bins
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.target-append install-tiger
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> foreach arch ${muniversal.architectures} {
build.env.${arch}-append FORCE_ARCH=${arch}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -100,19 +87,6 @@ test.env {*}${build.env}
</span> test.run yes
test.target test
<span style='display:block; white-space:pre;background:#ffe0e0;'>-proc tiger_copy {from to} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fs-traverse f [glob -directory ${from} *] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[file isdirectory ${f}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set base_dir [file tail ${f}]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${to}${base_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- tiger_copy ${f} ${to}${base_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_debug "Copying ${f} to ${to}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${f} ${to}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> if {![file exists ${prefix}/libexec/mpstats]} {
notes "
To help make sure your system continues to be well represented by MacPorts, especially\
</pre><pre style='margin:0'>
</pre>