ports/189987: [PATCH] ftp/curl: NSS support broken
Ashish SHUKLA
ashish at FreeBSD.org
Tue May 20 10:20:00 UTC 2014
>Number: 189987
>Category: ports
>Synopsis: [PATCH] ftp/curl: NSS support broken
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue May 20 10:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Ashish SHUKLA
>Release: FreeBSD 9.2-RELEASE-p4 amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD chateau.d.if 9.2-RELEASE-p4 FreeBSD 9.2-RELEASE-p4 #1: Wed Apr 9 06:41:45 IST 2014 root at chateau.d.if:/usr/obj/usr/src/sys/CHATEAU amd64
>Description:
NSS support in ftp/curl port is broken and HTTPS support stays disabled due to unsuccessful libnss3.so library detection.
The attached diff fixes this by switching to default NSS library detection based on pkg-config/nss-config, instead of passing
explicit NSS installation prefix.
Maintainer is CC'ed.
>How-To-Repeat:
1. Enable NSS option in ftp/curl port.
2. Install it.
3. Execute 'curl -V' and notice that https is not showing up in 'Protocols' line.
>Fix:
diff -urN /usr/ports/ftp/curl/Makefile curl/Makefile
--- /usr/ports/ftp/curl/Makefile 2014-04-05 22:27:06.000000000 +0530
+++ curl/Makefile 2014-05-20 15:38:05.832809397 +0530
@@ -106,7 +106,7 @@
LIBSSH2_CONFIGURE_ON= --with-libssh2=${LOCALBASE}
LIBSSH2_LIB_DEPENDS= libssh2.so:${PORTSDIR}/security/libssh2
NSS_CONFIGURE_OFF= --without-nss
-NSS_CONFIGURE_ON= --with-nss=${LOCALBASE}
+NSS_CONFIGURE_ON= --with-nss=yes
NSS_LIB_DEPENDS= libnss3.so:${PORTSDIR}/security/nss
OPENSSL_CONFIGURE_OFF= --without-ssl
OPENSSL_CONFIGURE_ON= --with-ssl=${OPENSSLBASE}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list