Bug 189987 - [PATCH] ftp/curl: NSS support broken
Summary: [PATCH] ftp/curl: NSS support broken
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-20 11:20 UTC by Ashish SHUKLA
Modified: 2014-05-22 19:00 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (560 bytes, patch)
2014-05-20 11:20 UTC, Ashish SHUKLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ashish SHUKLA freebsd_committer freebsd_triage 2014-05-20 11:20:00 UTC
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.
Comment 1 dfilter service freebsd_committer freebsd_triage 2014-05-22 18:52:53 UTC
Author: sunpoet
Date: Thu May 22 17:52:50 2014
New Revision: 354877
URL: http://svnweb.freebsd.org/changeset/ports/354877
QAT: https://qat.redports.org/buildarchive/r354877/

Log:
  - Fix NSS option
  - Bump PORTREVISION
  
  PR:		ports/189987
  Submitted by:	ashish

Modified:
  head/ftp/curl/Makefile

Modified: head/ftp/curl/Makefile
==============================================================================
--- head/ftp/curl/Makefile	Thu May 22 17:45:11 2014	(r354876)
+++ head/ftp/curl/Makefile	Thu May 22 17:52:50 2014	(r354877)
@@ -3,6 +3,7 @@
 
 PORTNAME=	curl
 PORTVERSION=	7.36.0
+PORTREVISION=	1
 CATEGORIES=	ftp www
 MASTER_SITES=	http://curl.haxx.se/download/ \
 		LOCAL/sunpoet
@@ -106,8 +107,9 @@ LIBSSH2_CONFIGURE_OFF=	--without-libssh2
 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
+NSS_USES=		pkgconfig
 OPENSSL_CONFIGURE_OFF=	--without-ssl
 OPENSSL_CONFIGURE_ON=	--with-ssl=${OPENSSLBASE}
 OPENSSL_CPPFLAGS=	-I${OPENSSLINC}
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2014-05-22 18:53:01 UTC
State Changed
From-To: open->closed

Committed. Thanks!