<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-base.

</pre>
<p><a href="https://github.com/macports/macports-base/commit/5957e6d4fe15ece2830edf525f6fcbfff1526f0b">https://github.com/macports/macports-base/commit/5957e6d4fe15ece2830edf525f6fcbfff1526f0b</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 5957e6d4f doc: Introduce release_version_urls and release_urls
</span>5957e6d4f is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 5957e6d4fe15ece2830edf525f6fcbfff1526f0b
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Sat Jun 6 17:16:02 2020 +0200

<span style='display:block; white-space:pre;color:#404040;'>    doc: Introduce release_version_urls and release_urls
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    To support updating MacPorts base via HTTP and avoiding the rsync
</span><span style='display:block; white-space:pre;color:#404040;'>    download (which we currently do not distribute over multiple mirrors
</span><span style='display:block; white-space:pre;color:#404040;'>    automatically), introduce two new multi-value configuration options
</span><span style='display:block; white-space:pre;color:#404040;'>    release_version_urls and release_urls, where the former is a list of URLs
</span><span style='display:block; white-space:pre;color:#404040;'>    to check for the current MacPorts release version, and the latter is
</span><span style='display:block; white-space:pre;color:#404040;'>    a list of template URLs where to download the source code for a given
</span><span style='display:block; white-space:pre;color:#404040;'>    MacPorts version.
</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/60608
</span>---
 doc/macports.conf.5.txt      | 22 ++++++++++++++++++++++
 doc/macports.conf.in         | 19 +++++++++++++++++++
 src/macports1.0/macports.tcl |  5 +++--
 3 files changed, 44 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/doc/macports.conf.5.txt b/doc/macports.conf.5.txt
</span><span style='display:block; white-space:pre;color:#808080;'>index a00e351ab..9eb629573 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/doc/macports.conf.5.txt
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/doc/macports.conf.5.txt
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -156,6 +156,28 @@ destroot_umask::
</span>     Umask value to use during the destrooting of a port.
     *Default:*;; 022
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+release_version_urls::
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    URLs that MacPorts attempts to download to find out whether a new version was
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    released. Multiple values, space-separated; only one of the URLs needs to be
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    available. Downloads will be attempted in the specified order.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    *Default:*;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      - https://raw.githubusercontent.com/macports/macports-base/master/config/RELEASE_URL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      - https://trac.macports.org/export/HEAD/macports-base/config/RELEASE_URL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      - https://distfiles.macports.org/MacPorts/RELEASE_URL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+release_urls::
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    URLs where MacPorts will download a new source code archive, if the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    release_version_urls indicate that the current version needs to be updated.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    In this URL, *\{version\}* will be replaced with the version number determined
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    from release_version_urls.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    +
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    Additionally, ".sig" will be appended to this URL, downloaded, and used to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    verify a signature made with one of the keys in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    *$prefix/share/macports/keys/base/* using the signify(1) utility.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    +
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    The list of distfile mirrors will automatically be appended to this option.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    *Default:*;; *https://github.com/macports/macports-base/releases/download/v\{version\}/MacPorts-\{version\}.tar.bz2*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> rsync_server::
     Default rsync server to connect to when running "selfupdate" through the
     port com- mand to update your base MacPorts infrastructure. While selfupdate
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/doc/macports.conf.in b/doc/macports.conf.in
</span><span style='display:block; white-space:pre;color:#808080;'>index c39898e5a..590b7414c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/doc/macports.conf.in
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/doc/macports.conf.in
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -136,6 +136,25 @@ variants_conf          @MPCONFIGDIR_EXPANDED@/variants.conf
</span> # Keep logs after successful installations.
 #keeplogs              no
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# URLs that MacPorts attempts to download to find out whether a new version was
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# released. Multiple values, space-separated; only one of the URLs needs to be
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# available. Downloads will be attempted in the specified order.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#release_version_urls https://raw.githubusercontent.com/macports/macports-base/master/config/RELEASE_URL \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#                     https://trac.macports.org/export/HEAD/macports-base/config/RELEASE_URL \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#                     https://distfiles.macports.org/MacPorts/RELEASE_URL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# URL where MacPorts will download a new source code archive, if the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# release_version_urls indicate that the current version needs to be updated.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# In this URL, {version} will be replaced with the version number determined
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# from release_version_urls.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Additionally, ".sig" will be appended to this URL, downloaded, and used to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# verify a signature made with one of the keys in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# $prefix/share/macports/keys/base/ using the signify(1) utility.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# The list of distfile mirrors will automatically be appended to this option.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#release_urls https://github.com/macports/macports-base/releases/download/v{version}/MacPorts-{version}.tar.bz2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # The rsync server for fetching MacPorts base during selfupdate. This
 # setting is NOT used when downloading ports trees; ports trees are
 # configured using the file referenced by sources_conf. See
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports1.0/macports.tcl b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 22e80674e..ac1191a38 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -51,8 +51,9 @@ namespace eval macports {
</span>     # Config file options with no special handling
     foreach opt [list binpath auto_path extra_env portdbformat \
         portarchivetype portimage_mode hfscompression portautoclean \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        porttrace portverbose keeplogs destroot_umask rsync_server rsync_options \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        rsync_dir startupitem_autostart startupitem_type startupitem_install \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        porttrace portverbose keeplogs destroot_umask release_urls release_version_urls \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        rsync_server rsync_options rsync_dir \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        startupitem_autostart startupitem_type startupitem_install \
</span>         place_worksymlink xcodeversion xcodebuildcmd xcodecltversion xcode_license_unaccepted \
         configureccache ccache_size configuredistcc configurepipe buildnicevalue buildmakejobs \
         universal_archs build_arch macosx_sdk_version macosx_deployment_target \
</pre><pre style='margin:0'>

</pre>