[MacPorts] #55767: Please add gnurl to macports

MacPorts noreply at macports.org
Thu Feb 1 12:39:14 UTC 2018


#55767: Please add gnurl to macports
-------------------------+-----------------
  Reporter:  gnw3        |      Owner:
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  gnurl       |
-------------------------+-----------------

Comment (by gnw3):

 Gnurl is all about the library.  Libcurl is very widely used, so has
 become "mission critical" to life as we know it. In this system, 22 copies
 of `libcurl.[34].dylib` (but only 13 of libssl) are provided by macOS,
 Adobe CS, Gimp, LibreOffice, two IDL versions, Anaconda Python, and
 macports.    Some of these are linked against /usr/lib/libssl and
 /usr/lib/libcrypto.  On my work PC, 13 copies are provided by Msys, Gimp,
 McAfee, Notepad++, MATLAB, ArcGIS, Esri, QGIS, and IDL.  A multi-user
 linux system has copies in several scientific applications installed by
 users, Anaconda Python, and both libcurl.so and libcurl-gnults.so.  Ubuntu
 linux offers libcurl-openssl, libcurl-gnutls, and libcurl-nss "flavours"
 of openssl, but the -dev packages conflict, so you can only do development
 with one flavour.

 Libcurl has rarely used "features" (support for a many different SSL
 librtaries and rarely used protocols) that can only degrade reliability
 and security.  The gnurl fork was created to provide "libcurl-light":

 {{{
 $ ls -l /opt/local/lib/lib*url*.?.dylib
 -rwxr-xr-x  1 root  admin  418208 24 Jan 07:14
 /opt/local/lib/libcurl.4.dylib
 -rwxr-xr-x  1 root  admin  310720 31 Jan 14:08
 /opt/local/lib/libgnurl.4.dylib
 }}}


 By changing the name but keeping the API, libcurl (usually built on
 openssl) can coexist with libgnurl for both development and runtime.  At
 this stage, the main reason to have gnurl in macports is to allow other
 ports that use libcurl to provide a libgnurl variant.  For GNU projects
 this should only require adding support for configure arguments.  Going
 forward, if libgnurl gains traction it will become the default for many
 GNU applications.

--
Ticket URL: <https://trac.macports.org/ticket/55767#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list