<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-infrastructure.
</pre>
<p><a href="https://github.com/macports/macports-infrastructure/commit/ce75d4ce0bebd6cb4253c8b24af06c613573e662">https://github.com/macports/macports-infrastructure/commit/ce75d4ce0bebd6cb4253c8b24af06c613573e662</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 ce75d4c mprsyncup: add rsyncable ports.tar.gz
</span>ce75d4c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ce75d4ce0bebd6cb4253c8b24af06c613573e662
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue Jul 16 04:22:18 2024 +1000
<span style='display:block; white-space:pre;color:#404040;'> mprsyncup: add rsyncable ports.tar.gz
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/70334
</span>---
jobs/mprsyncup | 9 +++++++++
1 file changed, 9 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/jobs/mprsyncup b/jobs/mprsyncup
</span><span style='display:block; white-space:pre;color:#808080;'>index 9451e83..cd92d1d 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/jobs/mprsyncup
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/jobs/mprsyncup
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -55,6 +55,7 @@ TAR="/usr/bin/tar"
</span> OPENSSL="/usr/bin/openssl"
AWK="/usr/bin/awk"
STAT="${MPBIN}/gstat"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+GZIP="${MPBIN}/gzip"
</span> BASENAME="/usr/bin/basename"
TCLSH="${PREFIX}/bin/port-tclsh"
PORTINDEX="${PREFIX}/bin/portindex"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -237,6 +238,10 @@ if [ "${PORTS_CHANGED}" -eq 1 ]; then
</span> hardlink "${INDEX_DIR}"/PortIndex "${INDEX_LINK_DIR}"/PortIndex
done
sign "${ROOT}"/ports.tar "${ROOT}"/PortIndex_*/PortIndex
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ -x "${GZIP}" ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${GZIP} --best --keep --rsyncable --suffix .gz-rsync "${ROOT}"/ports.tar
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sign "${ROOT}"/ports.tar.gz-rsync
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span> fi
# Tarballs used to be a symlink to the real directory tarballs_current.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -253,6 +258,10 @@ fi
</span> if [ "${PORTS_CHANGED}" -eq 1 ]; then
${MV} "${ROOT}"/ports.tar.gz "${RSYNCROOT}"/release
hardlink "${RSYNCROOT}"/release/ports.tar.gz "${RSYNCROOT}"/distfiles/ports.tar.gz
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ -f "${ROOT}"/ports.tar.gz-rsync ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${MV} "${ROOT}"/ports.tar.gz-rsync "${ROOT}"/ports.tar.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${MV} "${ROOT}"/ports.tar.gz-rsync.rmd160 "${ROOT}"/ports.tar.gz.rmd160
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span> ${MV} "${ROOT}"/ports.tar* "${RSYNCROOT}"/release/tarballs
for INDEX_DIR in "${RSYNCROOT}"/release/ports/PortIndex_*; do
INDEX_LINK_DIR="${RSYNCROOT}/release/tarballs/${INDEX_DIR##*/}"
</pre><pre style='margin:0'>
</pre>