[MacPorts] #64396: [samba4] use of undeclared identifiers => legacysupport
MacPorts
noreply at macports.org
Wed Jan 12 01:46:20 UTC 2022
#64396: [samba4] use of undeclared identifiers => legacysupport
-------------------------+--------------------
Reporter: BjarneDMat | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: samba4 |
-------------------------+--------------------
Comment (by ryandesign):
Replying to [comment:5 BjarneDMat]:
> Replying to [comment:3 ryandesign]:
> > My 1st problem is :
> > {{{
> > :notice:fetch ---> Attempting to fetch samba-4.15.3.tar.gz from
https://download.samba.org/pub/samba/stable
> > :debug:fetch Fetching distfile failed: error:1407742E:SSL
routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
> > }}}
> >
> > How do I fix this ?\\
> > Read ProblemHotlist#letsencrypt.
>
> That didn't fix the problem [thumbs-down]
As I wrote in that wiki page, if just installing the new root certificate
doesn't solve the problem, then the problem is with the specific server
you're connecting to (in this case download.samba.org), and you'll need to
contact its administrator and ask them to fix the certificate chain
they're sending.
> So, I pushed the Apple curl aside :
> {{{
> root at MiniWeb 17:17:26 /usr/bin
> 506 mv curl curl.apple
> 507 mv curl-config curl-config.apple
> 508 ln -h $(which curl) .
> 509 ln -h $(which curl-config) .
> root at MiniWeb 17:54:33 /usr/bin
> #=> ls -l cur*
> -rwxr-xr-x 2 root admin 238972 12 Nov 19:00 curl
> -rwxr-xr-x 2 root admin 6321 12 Nov 19:00 curl-config
> -rwxr-xr-x 1 root wheel 3835 25 Jun 2010 curl-config.apple
> -rwxr-xr-x 1 root wheel 369584 21 Mar 2012 curl.apple
> }}}
> & re-installed Macports 2.7.1\\
> & I'm still getting the exact same error
>
> {{{
> #=> /usr/bin/curl.apple
> --url
"https://download.samba.org/pub/samba/stable/{samba-4.15.3.tar.gz}"
> --create-dirs
> -o /opt/local/var/macports/distfiles/samba4/#1
> curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1
alert protocol version
> }}}
You're getting the same error because you're still using Apple's old curl
(which you've called `curl.apple`) rather than the newer MacPorts curl.
--
Ticket URL: <https://trac.macports.org/ticket/64396#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list