<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#333333">
On 1/14/19 7:21 , Joshua Root wrote:<br>
<blockquote
cite="mid:7a245acd-9e33-1d14-6a35-2618c8f821e6@macports.org"
type="cite">
<pre wrap="">So, fetching and patching work fine for me with your Portfile.fetch.git
after removing the fetch.type line and setting the correct checksums.
You should set an appropriate version though (hashes are not suitable
because they change pseudorandomly rather than monotonically increasing
like a version number should.)
</pre>
</blockquote>
Thanks! Well, I made this since this was the only one working for
me. I'd like to use a release instead - like the other file..<br>
<br>
<blockquote
cite="mid:7a245acd-9e33-1d14-6a35-2618c8f821e6@macports.org"
type="cite">
<pre wrap="">Yes, that would be a problem. It's because Lion doesn't support TLS >
1.0. You can work around it by downloading the file with a browser that
does support newer TLS versions and putting it in the location shown by
`port distfiles`. Once the port is added to the main repo, it will be
mirrored and users of older OS versions can download it from the mirrors.
- Josh</pre>
</blockquote>
That looks like a good option, but it feels a bit off when you can't
confirm yourself it's right. But, if I follow the pointer below from
Ryan (no tarball_from, or distname)…<br>
<br>
<pre><pre>$ port distfiles libapache2_mod_fastcgi
---> Distfiles <font class="pastecode">for</font> libapache2_mod_fastcgi
[libapache-mod-fastcgi-upstream-2.4.7_0910052141.tar.gz] /opt/local/var/macports/distfiles/libapache2_mod_fastcgi/libapache-mod-fastcgi-upstream-2.4.7_0910052141.tar.gz
sha256: 0
size: 0
https:<font class="pastecode">//github.com/ByteInternet/libapache-mod-fastcgi/releases/download/upstream/2.4.7_0910052141/libapache-mod-fastcgi-upstream-2.4.7_0910052141.tar.gz</font>
...
... <snip />
$ sudo wget https:<font class="pastecode">//github.com/ByteInternet/libapache-mod-fastcgi/releases/download/upstream/2.4.7_0910052141/libapache-mod-fastcgi-upstream-2.4.7_0910052141.tar.gz \</font>
-O /opt/local/var/macports/distfiles/libapache2_mod_fastcgi/libapache-mod-fastcgi-upstream-2.4.7_0910052141.tar.gz</pre></pre>
<br>
// …and then get the cheksums and size etc.<br>
<br>
<br>
I'll give it a try. And hope I can ask for someone to check/verify
it was correct (ie. file/numbers).<br>
<br>
I have this one and 2 more I need to make, and then I can start
migrating from my own install to MP's. :)<br>
<br>
<br>
<div class="moz-cite-prefix">On 1/15/19 1:35 , Ryan Schmidt wrote:</div>
<blockquote
cite="mid:6D1CB572-4A9F-4432-8732-7F367E95807B@macports.org"
type="cite">
<blockquote type="cite">
<pre wrap="">In my Portfile… Don't know if to treat the “upstream/”-part as a part of the tag, or as a prefix. I have tried both:
github.setup ByteInternet libapache-mod-fastcgi 2.4.7_0910052141 upstream/
github.tarball_from releases
distname libapache-mod-fastcgi-upstream-2.4.7_0910052141
</pre>
</blockquote>
<pre wrap="">Do not use "github.tarball_from releases" for this project because this project does not offer any release downloads. Leave github.tarball_from and distname at their default values.
</pre>
</blockquote>
Thanks! Great point. When it doesn't work, you start adding things
to hopefully make it going. :)<br>
<br>
<br>
<blockquote
cite="mid:6D1CB572-4A9F-4432-8732-7F367E95807B@macports.org"
type="cite">
<pre wrap="">You cannot fetch from GitHub using the curl bundled with a macOS version that old.
</pre>
</blockquote>
Would it be possible to link around the problem in any way, if not
just temporarily? Just replace curl with a newer did'n't work.<br>
<br>
When I run “port fetch” - all I see is port running tclsh5.8... no
curl.<br>
<br>
<br>
· Eric<br>
</body>
</html>