Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 15:45:49 +0530 (IST)
From:      Ashish SHUKLA <ashish@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        sunpoet@FreeBSD.org
Subject:   ports/189987: [PATCH] ftp/curl: NSS support broken
Message-ID:  <10127990157161551660.enqueue@chateau.d.if>
Resent-Message-ID: <201405201020.s4KAK0Vf021375@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10127990157161551660.enqueue>