<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/cfb43f175f9adf012d117d865a741620d0ac0f7b">https://github.com/macports/macports-ports/commit/cfb43f175f9adf012d117d865a741620d0ac0f7b</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 cfb43f175f9 MacPass: patch version before building
</span>cfb43f175f9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit cfb43f175f9adf012d117d865a741620d0ac0f7b
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Mon Jul 3 03:29:32 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> MacPass: patch version before building
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> to avoid signature corruption
</span>---
security/MacPass/Portfile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/MacPass/Portfile b/security/MacPass/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 582c8a92198..9f45c08f4ff 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/MacPass/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/MacPass/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup xcode 1.0
</span> PortGroup github 1.0
github.setup MacPass MacPass 0.8.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories security
platforms darwin
license GPL-3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,13 +46,11 @@ post-extract {
</span> move ${workpath}/DDHotKey-${ddhotkey_hash} ${worksrcpath}/DDHotKey
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span> copy ${filespath}/get_commit_number.sh ${worksrcpath}
reinplace "s|@VERSION@|${version}|g" ${worksrcpath}/get_commit_number.sh
set build_number [exec /bin/sh ${worksrcpath}/get_commit_number.sh]0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${destroot}${applications_dir} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion ${build_number}\" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- MacPass.app/Contents/Info.plist"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|\$\{git_count\}0|${build_number}|" ${worksrcpath}/MacPass.xcodeproj/project.pbxproj
</span> }
depends_lib port:KeePassKit \
</pre><pre style='margin:0'>
</pre>