Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 2015 23:21:28 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r376373 - head/security/openssh-portable
Message-ID:  <201501052321.t05NLSbX009994@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Mon Jan  5 23:21:27 2015
New Revision: 376373
URL: https://svnweb.freebsd.org/changeset/ports/376373
QAT: https://qat.redports.org/buildarchive/r376373/

Log:
  Fix application of GSSAPI patch when using HPN. It applies fine if done after
  HPN.
  
  Reported by:	gwollman

Modified:
  head/security/openssh-portable/Makefile

Modified: head/security/openssh-portable/Makefile
==============================================================================
--- head/security/openssh-portable/Makefile	Mon Jan  5 23:20:59 2015	(r376372)
+++ head/security/openssh-portable/Makefile	Mon Jan  5 23:21:27 2015	(r376373)
@@ -79,12 +79,6 @@ X509_PATCHFILES=	${PORTNAME}-6.7p1+x509-
 SCTP_PATCHFILES=	${PORTNAME}-6.7p1-sctp-2496.patch.gz:-p1
 SCTP_CONFIGURE_WITH=	sctp
 
-# 6.7 patch taken from
-# http://sources.debian.net/data/main/o/openssh/1:6.7p1-3/debian/patches/gssapi.patch
-# which was originally based on 5.7 patch from
-# http://www.sxw.org.uk/computing/patches/
-KERB_GSSAPI_PATCHFILES=	openssh-6.7p1-gsskex-all-20141021-284f364.patch.gz:-p1:gsskex
-
 MIT_LIB_DEPENDS=		libkrb5.so.3:${PORTSDIR}/security/krb5
 HEIMDAL_LIB_DEPENDS=		libkrb5.so.26:${PORTSDIR}/security/heimdal
 
@@ -118,6 +112,16 @@ EXTRA_PATCHES+=		${FILESDIR}/extra-patch
 .  endif
 .endif
 
+# Must add this patch after HPN due to conflicts
+.if ${PORT_OPTIONS:MKERB_GSSAPI}
+# 6.7 patch taken from
+# http://sources.debian.net/data/main/o/openssh/1:6.7p1-3/debian/patches/gssapi.patch
+# which was originally based on 5.7 patch from
+# http://www.sxw.org.uk/computing/patches/
+PATCHFILES+=	openssh-6.7p1-gsskex-all-20141021-284f364.patch.gz:-p1:gsskex
+.endif
+
+
 .if ${OSVERSION} >= 900000
 CONFIGURE_LIBS+=	-lutil
 .endif



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