<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks Joshua. That was exactly what was needed.<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<code>Perhaps a ticket should be created recommending that <code>"git.cmd"</code> be added to the MacPorts Guide.</code></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Rob<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Joshua Root <jmr@macports.org><br>
<b>Sent:</b> May 17, 2023 4:47 AM<br>
<b>To:</b> Robert Kennedy <amtor@hotmail.com>; MacPorts Development <macports-dev@lists.macports.org><br>
<b>Subject:</b> Re: Problem fetching with git in MacPorts</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On 17/5/2023 07:44, Robert Kennedy wrote:<br>
> I am unable to fetch a file in a git repo using MacPorts. I get an SSL <br>
> expired error.<br>
> <br>
> <br>
> fatal: unable to access<br>
> '<a href="https://codeberg.org/schilytools/schilytools.git/">https://codeberg.org/schilytools/schilytools.git/</a>': *SSL<br>
> certificate problem: certificate has expired*<br>
> *Command failed: /usr/bin/git clone* --progress --depth=1<br>
> <a href="https://codeberg.org/schilytools/schilytools.git">https://codeberg.org/schilytools/schilytools.git</a><br>
> /opt/local/var/macports/build/_Users_grinch_Development_MacPorts_local-repo_ports_devel_smake/smake/work/schilytools-2023-04-19 2>&<br>
> Exit code: 128<br>
> <br>
> <br>
> Please note that MacPorts is trying to use "*/usr/bin/git*" which is <br>
> OLD. I can fetch the archive in the Terminal using the recent version <br>
> of git installed by MacPorts at "*/opt/local/bin/git*".<br>
> <br>
> "*/opt/local/bin/git*" is also in my $PATH. When I run "*which git*", I <br>
> get "*/opt/local/bin/git*".<br>
> <br>
> If there a config setting in MacPorts to tell it to use git located at <br>
> "/opt/local/bin/git"?<br>
<br>
The Portfile option is 'git.cmd'.<br>
<br>
- Josh<br>
</div>
</span></font></div>
</body>
</html>