<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1ad95532e9ad044d9da03ff44121167d6c9931e9">https://github.com/macports/macports-ports/commit/1ad95532e9ad044d9da03ff44121167d6c9931e9</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 1ad9553 osxutils: Update to 1.9.0
</span>1ad9553 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1ad95532e9ad044d9da03ff44121167d6c9931e9
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Dec 28 19:07:20 2017 -0600
<span style='display:block; white-space:pre;color:#404040;'> osxutils: Update to 1.9.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/55598
</span>---
sysutils/osxutils/Portfile | 22 +++++++++++-----------
.../files/patch-setfcomment-setfcomment.c.diff | 13 +++++++++++++
2 files changed, 24 insertions(+), 11 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/osxutils/Portfile b/sysutils/osxutils/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 04c818a..2f4522d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/osxutils/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/osxutils/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,26 +3,29 @@
</span> PortSystem 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup vasi osxutils 1.8.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup specious osxutils 1.9.0 v
</span> categories sysutils
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers ryandesign openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {ryandesign @ryandesign} openmaintainer
</span> license GPL-2+
description Command line utilities for Finder commands
long_description osxutils is a package of potentially useful Mac-oriented \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- command line utilities for OS X. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ command line utilities. \
</span> These tools represent an effort in bringing command line \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- control over certain aspects of the Mac OS, in particular \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ control over certain aspects of macOS, in particular \
</span> file meta-data such as Finder flags, heritage file Type \
and Creator codes, comments and suffixes/file extensions.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 ab18669d5643ef2dcbae8265bff6f48918ad4b59 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 dab0329faae3028d42ea968796d50c2afb7a328c4e99f9488ed40d39f373c533
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 501b91da0a9235dff62856201d0e7f4ee57aa97d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a2bafed3746d0a5fc2931198a83cffb653e4e010ca514ae254ebd7291df6553e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 61270
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-setfcomment-setfcomment.c.diff
</span>
post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach item [concat [glob ${worksrcpath}/*/*.1] ${worksrcpath}/Makefile] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/usr/local|${prefix}|g" ${item}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${prefix} ne "/usr/local"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|/usr/local|${prefix}|g" {*}[glob ${worksrcpath}/*/*.1] ${worksrcpath}/Makefile
</span> }
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,6 +39,3 @@ build.args CC=${configure.cc} \
</span>
# ${prefix}/bin/google
conflicts-append googlecl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# ${prefix}/bin/fileinfo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts-append leptonica
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/osxutils/files/patch-setfcomment-setfcomment.c.diff b/sysutils/osxutils/files/patch-setfcomment-setfcomment.c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..2811f8d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/osxutils/files/patch-setfcomment-setfcomment.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Prevent garbage from being appended when setting comment.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/specious/osxutils/issues/7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/ryandesign/osxutils/commit/7fcb5de49d307673ec8cd13344ead27737ab6fc6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setfcomment/setfcomment.c.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setfcomment/setfcomment.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -309,6 +309,7 @@ pascal OSErr MoreFESetComment(const FSRef *pFSRefPtr, const FSSpecPtr pFSSpecPtr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char* dataPtr = NewPtr(pCommentStr[0] + 1);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ strncpy(dataPtr, (char*)pCommentStr + 1, pCommentStr[0]);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ dataPtr[pCommentStr[0]] = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ anErr = AEBuildAppleEvent(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ kAECoreSuite,kAESetData,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ typeApplSignature,&gFinderSignature,sizeof(OSType),
</span></pre><pre style='margin:0'>
</pre>