Bug 198397

Summary: [PATCH] ftp/curl: GSSAPI_BASE and LibreSSL include overlap
Product: Ports & Packages Reporter: Bernard Spil <brnrd>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Some People Keywords: patch
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svn diff for ftp/curl
none
Poudriere testport for ftp/curl none

Description Bernard Spil freebsd_committer freebsd_triage 2015-03-07 20:42:15 UTC
Created attachment 153968 [details]
svn diff for ftp/curl

During a build of all ports with LibreSSL some issues with the ftp/curl port were detected
1. When GSSAPI_BASE is enabled, LibreSSL is not detected due to the overlap in /usr/include/openssl and /usr/local/include/openssl headers
2. LibreSSL does not support SRP (SSL_NO_SRP)

The patch addresses both issues by adding to IGNORE tests. Just tested the port with GSSAPI_KRB5 + LibreSSL and that was OK. This may make the build fail for users and should get an UPDATING entry?

20150307:
  AFFECTS: users of ftp/curl and port's OpenSSL/LibreSSL
  AUTHOR: bernard.spil@gmail.com

  - When GSSAPI_BASE is selected, configure failed to detect OpenSSL/
    LibreSSL from ports and link against base OpenSSL instead
  - LibreSSL does not support SRP yet the port allowed SRP to be enabled
    when security/libressl was used

  Users of LibreSSL:
  configure the ftp/curl port and disable SRP

  Users of port's OpenSSL/LibreSSL:
  configure the ftp/curl port to use no GSS-API or krb5/heimdal option
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2015-03-07 20:42:39 UTC
Created attachment 153969 [details]
Poudriere testport for ftp/curl
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-03-28 11:37:59 UTC
A commit references this bug:

Author: sunpoet
Date: Sat Mar 28 11:37:42 UTC 2015
New revision: 382461
URL: https://svnweb.freebsd.org/changeset/ports/382461

Log:
  - Add IGNORE for LibreSSL

  PR:		198397 (based on)
  Submitted by:	Bernard Spil <spil.oss@gmail.com>

Changes:
  head/ftp/curl/Makefile
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2015-03-28 11:38:32 UTC
Committed. Thanks!