I need an updated MinIO, but the Portfile is a direct GitHub fetch. How do I update it?

Gerben Wierda gerben.wierda at rna.nl
Tue Jan 28 16:25:50 UTC 2020


Tried this:

> On 28 Jan 2020, at 02:17, Ryan Schmidt <ryandesign at macports.org> wrote:
> 
> Look on this page:
> 
> https://github.com/minio/minio/releases <https://github.com/minio/minio/releases>
> 
> Find the release you are interested in. Usually we want to use the one marked "Latest release", if the project does that. This project does, and it's the latest tag, RELEASE.2020-01-25T02-50-51Z. On the GitHub web site, there is not enough horizontal space to display the entire tag name, so it's cut off as "RELEASE.2020-0..." but you can hover over it to see the full tag in the URL. Below the truncated tag name, you'll see "a78e5d4". That's the truncated commit of that release's tag. We'd rather use full commits in MacPorts, not truncated ones; you can get the full commit by clicking on "a78e5d4" and now in the address bar and in the page you can see that the full commit is a78e5d4763dbb667540e6832c82bd3a9c4fc2118. That's what you paste into this port.
> 
> 
>> I can then perform a fetch and calculate the checksums and I should be ready to go, right?
> 
> Sure.
> 

But a port fetch 

bash-3.2# port fetch
Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'.
--->  Fetching distfiles for minio

doesn’t download anything:

bash-3.2# ls -lR work/
total 8
drwxr-xr-x  2 macports  wheel   64 Jan 28 17:21 .home
-rw-r--r--  1 macports  wheel  113 Jan 28 17:21 .macports.minio.state
drwxr-xr-x  2 macports  wheel   64 Jan 28 17:21 .tmp

work//.home:

work//.tmp:
bash-3.2# 

And a second attempt doesn’t even mention fetching.

With debug:

bash-3.2# port -d fetch
DEBUG: Copying /Users/sysbh/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'.
DEBUG: Using normalized porturl file:///Users/sysbh/MacPortsDev/macports-ports/www/minio
DEBUG: Changing to port directory: /Users/sysbh/MacPortsDev/macports-ports/www/minio
DEBUG: OS darwin/18.7.0 (macOS 10.14) arch i386
DEBUG: Sourcing PortGroup github 1.0 from /Users/sysbh/MacPortsDev/macports-ports/_resources/port1.0/group/github-1.0.tcl
DEBUG: Re-registering default for livecheck.regex
DEBUG: universal_variant is false, so not adding the default universal variant
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: Using normalized porturl file:///Users/sysbh/MacPortsDev/macports-ports/www/minio
DEBUG: Changing to port directory: /Users/sysbh/MacPortsDev/macports-ports/www/minio
DEBUG: OS darwin/18.7.0 (macOS 10.14) arch i386
DEBUG: Sourcing PortGroup github 1.0 from /Users/sysbh/MacPortsDev/macports-ports/_resources/port1.0/group/github-1.0.tcl
DEBUG: Re-registering default for livecheck.regex
DEBUG: universal_variant is false, so not adding the default universal variant
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_Users_sysbh_MacPortsDev_macports-ports_www_minio/minio/work /Users/sysbh/MacPortsDev/macports-ports/www/minio/work
DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
DEBUG: Starting logging for minio
DEBUG: macOS 10.14 (darwin/18.7.0) arch i386
DEBUG: MacPorts 2.6.2
DEBUG: Xcode 11.3.1
DEBUG: SDK 10.14
DEBUG: MACOSX_DEPLOYMENT_TARGET: 10.14
DEBUG: Executing org.macports.main (minio)
DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
DEBUG: fetch phase started at Tue Jan 28 17:23:49 CET 2020
--->  Fetching distfiles for minio
DEBUG: Executing org.macports.fetch (minio)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200128/21631462/attachment.html>


More information about the macports-users mailing list