[MacPorts] #43926: gnutls now depends on curl-ca-bundle, upgrade conflicts if certsync installed
#43926: gnutls now depends on curl-ca-bundle, upgrade conflicts if certsync installed --------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Keywords: | Port: gnutls --------------------+-------------------------------- r120701 for #42728 added a `depends-lib post:curl-ca-bundle` to the `gnutls` port. This causes a conflict if you are using `certsync` instead of `ca-curl-bundle`. The `gnutls` port should be able to use either to satisfy its requirement for a default trust store. {{{ port sync && port outdated && port -u upgrade outdated ---> Updating the ports tree The following installed ports are outdated: [...] gnutls 3.3.3_0 < 3.3.4_0 ---> Computing dependencies for curl-ca-bundle Error: Unable to exec port: Can't install curl-ca-bundle because conflicting ports are active: certsync }}} -- Ticket URL: <https://trac.macports.org/ticket/43926> MacPorts <http://www.macports.org/> Ports system for OS X
#43926: gnutls now depends on curl-ca-bundle, upgrade conflicts if certsync installed ---------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: gnutls | ---------------------+-------------------------------- Comment (by mschamschula@…): Replying to [ticket:43926 nad@…]:
r120701 for #42728 added a `depends-lib post:curl-ca-bundle` to the `gnutls` port. This causes a conflict if you are using `certsync` instead of `ca-curl-bundle`. The `gnutls` port should be able to use either to satisfy its requirement for a default trust store.
{{{ port sync && port outdated && port -u upgrade outdated ---> Updating the ports tree The following installed ports are outdated: [...] gnutls 3.3.3_0 < 3.3.4_0 ---> Computing dependencies for curl-ca-bundle Error: Unable to exec port: Can't install curl-ca-bundle because conflicting ports are active: certsync
}}}
I just searched the MacPorts available ports database and couldn't find a port called {{{certsync}}}. Can you be more specific? -- Ticket URL: <https://trac.macports.org/ticket/43926#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43926: gnutls now depends on curl-ca-bundle, upgrade conflicts if certsync installed ---------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: gnutls | ---------------------+-------------------------------- Comment (by cal@…): Replying to [comment:1 mschamschula@…]:
I just searched the MacPorts available ports database and couldn't find a port called {{{certsync}}}. Can you be more specific?
I'm not sure why it doesn't show up on the website, but it is there: browser:trunk/dports/security/certsync/Portfile. The dependency on `curl-ca-bundle` needs to be rewritten as `path:share/curl/curl-ca-bundle.crt:curl-ca-bundle` so that `certsync` can fulfill it. -- Ticket URL: <https://trac.macports.org/ticket/43926#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43926: gnutls now depends on curl-ca-bundle, upgrade conflicts if certsync installed ---------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: gnutls | ---------------------+-------------------------------- Comment (by mschamschula@…): Replying to [comment:2 cal@…]:
Replying to [comment:1 mschamschula@…]:
I just searched the MacPorts available ports database and couldn't find a port called {{{certsync}}}. Can you be more specific?
I'm not sure why it doesn't show up on the website, but it is there: browser:trunk/dports/security/certsync/Portfile. The dependency on `curl-ca-bundle` needs to be rewritten as `path:share/curl/curl-ca-bundle.crt:curl-ca-bundle` so that `certsync` can fulfill it.
Thanks, for both the link to `certsync` and the suggestion for the fix. Portfile.diff attached. -- Ticket URL: <https://trac.macports.org/ticket/43926#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43926: gnutls now depends on curl-ca-bundle, upgrade conflicts if certsync installed ---------------------+-------------------------- Reporter: nad@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: haspatch Port: gnutls | ---------------------+-------------------------- Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… * keywords: => haspatch Comment: Replying to [comment:2 cal@…]:
Replying to [comment:1 mschamschula@…]:
I just searched the MacPorts available ports database and couldn't find a port called {{{certsync}}}. Can you be more specific?
I'm not sure why it doesn't show up on the website, but it is there: browser:trunk/dports/security/certsync/Portfile.
It doesn't show up on the web site because the server that generates the portindex that gets imported to the web site's postgresql database is still running MacPorts 2.1, and the certsync port uses features introduced in later versions of MacPorts. See #40946 for the request to update that server to the current version of MacPorts. -- Ticket URL: <https://trac.macports.org/ticket/43926#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43926: gnutls now depends on curl-ca-bundle, upgrade conflicts if certsync installed ---------------------+-------------------------- Reporter: nad@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: fixed | Keywords: haspatch Port: gnutls | ---------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Replying to [comment:3 mschamschula@…]:
Thanks, for both the link to `certsync` and the suggestion for the fix. Portfile.diff attached.
Committed in r120769. I was not 100% sure that the curl-ca-bundle.crt file wasn't needed at configure time, since a path to its file is given in the configure.args, so I left it as a library dependency, and I didn't increase the revision, since there's no change for users who already had the port installed. -- Ticket URL: <https://trac.macports.org/ticket/43926#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts