Opened 10 years ago
Closed 10 years ago
#43926 closed defect (fixed)
gnutls now depends on curl-ca-bundle, upgrade conflicts if certsync installed
Reported by: | ned-deily (Ned Deily) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.0 |
Keywords: | haspatch | Cc: | Schamschula (Marius Schamschula), dbevans (David B. Evans), cooljeanius (Eric Gallager) |
Port: | gnutls |
Description
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
Attachments (1)
Change History (7)
comment:1 follow-up: 2 Changed 10 years ago by Schamschula (Marius Schamschula)
comment:2 follow-ups: 3 5 Changed 10 years ago by neverpanic (Clemens Lang)
Replying to 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.
comment:3 follow-up: 6 Changed 10 years ago by Schamschula (Marius Schamschula)
Replying to cal@…:
Replying to 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 aspath:share/curl/curl-ca-bundle.crt:curl-ca-bundle
so thatcertsync
can fulfill it.
Thanks, for both the link to certsync
and the suggestion for the fix. Portfile.diff attached.
Changed 10 years ago by Schamschula (Marius Schamschula)
Attachment: | Portfile-gnutls.diff added |
---|
comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
Replying to cal@…:
Replying to 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.
comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Replying to 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.
Replying to nad@…:
I just searched the MacPorts available ports database and couldn't find a port called
certsync
. Can you be more specific?