Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2012 12:19:27 GMT
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/174052: [patch] libssh should not depend upon gssapi libraries in Makefile.inc1 if MK_GSSAPI == no
Message-ID:  <201212021219.qB2CJRd0031186@red.freebsd.org>
Resent-Message-ID: <201212021220.qB2CK1im055069@freefall.freebsd.org>

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

>Number:         174052
>Category:       conf
>Synopsis:       [patch] libssh should not depend upon gssapi libraries in Makefile.inc1 if MK_GSSAPI == no
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 02 12:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        n/a
>Organization:
EMC Isilon
>Environment:
n/a
>Description:
I've run into build errors in the past because (for whatever reason) I defined WITH_KERBEROS_SUPPORT and WITHOUT_GSSAPI.

The attached patch fixes the beforementioned issue.
>How-To-Repeat:
cd /usr/src; make buildworld -DWITHOUT_GSSAPI -DWITH_KERBEROS_SUPPORT
>Fix:


Patch attached with submission follows:

Index: Makefile.inc1
===================================================================
--- Makefile.inc1	(revision 243747)
+++ Makefile.inc1	(working copy)
@@ -1335,7 +1335,7 @@
 .if ${MK_OPENSSH} != "no"
 _secure_lib_libssh= secure/lib/libssh
 secure/lib/libssh__L: lib/libz__L secure/lib/libcrypto__L lib/libcrypt__L
-.if ${MK_KERBEROS_SUPPORT} != "no"
+.if ${MK_GSSAPI} == "no" || ${MK_KERBEROS_SUPPORT} == "no"
 secure/lib/libssh__L: lib/libgssapi__L kerberos5/lib/libkrb5__L \
     kerberos5/lib/libhx509__L kerberos5/lib/libasn1__L lib/libcom_err__L \
     lib/libmd__L kerberos5/lib/libroken__L


>Release-Note:
>Audit-Trail:
>Unformatted:



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