From owner-svn-ports-head@FreeBSD.ORG Sat May 25 16:44:01 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7FB8EDE0; Sat, 25 May 2013 16:44:01 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 72229980; Sat, 25 May 2013 16:44:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4PGi1sV006955; Sat, 25 May 2013 16:44:01 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4PGi1S9006946; Sat, 25 May 2013 16:44:01 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201305251644.r4PGi1S9006946@svn.freebsd.org> From: Bryan Drewery Date: Sat, 25 May 2013 16:44:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319062 - head/security/openssh-portable X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 May 2013 16:44:01 -0000 Author: bdrewery Date: Sat May 25 16:44:00 2013 New Revision: 319062 URL: http://svnweb.freebsd.org/changeset/ports/319062 Log: - Update and re-add KERB_GSSAPI gsskex patch. I did very minor porting of the upstream patch to make it apply. Note that this currently does not build with base heimdal, but does build with port MIT or port HEIMDAL. - Bump PORTREVISION in case someone built the update, expecting this option to work and now have a broken ssh. PR: ports/178885 Reported by: Garrett Wollman Modified: head/security/openssh-portable/Makefile head/security/openssh-portable/distinfo Modified: head/security/openssh-portable/Makefile ============================================================================== --- head/security/openssh-portable/Makefile Sat May 25 16:27:41 2013 (r319061) +++ head/security/openssh-portable/Makefile Sat May 25 16:44:00 2013 (r319062) @@ -3,7 +3,7 @@ PORTNAME= openssh DISTVERSION= 6.2p2 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= security ipv6 MASTER_SITES= ${MASTER_SITE_OPENBSD} @@ -40,13 +40,14 @@ SUDO?= # empty MAKE_ENV+= SUDO="${SUDO}" OPTIONS_DEFINE= PAM TCP_WRAPPERS LIBEDIT BSM \ - HPN LPK X509 \ + HPN LPK X509 KERB_GSSAPI \ OVERWRITE_BASE SCTP AES_THREADED OPTIONS_DEFAULT= LIBEDIT PAM TCP_WRAPPERS HPN OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= MIT HEIMDAL HEIMDAL_BASE TCP_WRAPPERS_DESC= Enable tcp_wrappers support BSM_DESC= Enable OpenBSM Auditing +KERB_GSSAPI_DESC= Enable Kerberos/GSSAPI patch (req: GSSAPI) HPN_DESC= Enable HPN-SSH patch LPK_DESC= Enable LDAP Public Key (LPK) [OBSOLETE] X509_DESC= Enable x509 certificate patch @@ -86,6 +87,15 @@ BROKEN= X509 patch and SCTP patch do no . if ${PORT_OPTIONS:MLPK} BROKEN= X509 patch and LPK patch do not apply cleanly together . endif + +. if ${PORT_OPTIONS:MKERB_GSSAPI} +BROKEN= X509 patch incompatible with KERB_GSSAPI patch +. endif + +.endif + +.if ${PORT_OPTIONS:MHEIMDAL_BASE} && ${PORT_OPTIONS:MKERB_GSSAPI} +BROKEN= KERB_GSSAPI Requires either MIT or HEMIDAL, does not build with base Heimdal currently .endif .if defined(OPENSSH_OVERWRITE_BASE) @@ -121,6 +131,12 @@ IGNORE= You have selected HEIMDAL_BASE CONFIGURE_LIBS+= -lgssapi_krb5 . endif . endif + +# Adapated from 5.7 patch at http://www.sxw.org.uk/computing/patches/ +.if ${PORT_OPTIONS:MKERB_GSSAPI} +PATCHFILES+= openssh-6.2p2-gsskex-all-20110125.patch.gz +PATCH_DIST_STRIP= +.endif .if ${OPENSSLBASE} == "/usr" CONFIGURE_ARGS+= --without-rpath LDFLAGS= # empty Modified: head/security/openssh-portable/distinfo ============================================================================== --- head/security/openssh-portable/distinfo Sat May 25 16:27:41 2013 (r319061) +++ head/security/openssh-portable/distinfo Sat May 25 16:44:00 2013 (r319062) @@ -6,6 +6,8 @@ SHA256 (openssh-6.2p1-CTR-threaded-v14.d SIZE (openssh-6.2p1-CTR-threaded-v14.diff.gz) = 4908 SHA256 (openssh-6.2p1+x509-7.4.1.diff.gz) = cdfa0ac38184062de7e0af36eeda7713095fbcffffb598d785047f6f47e48eae SIZE (openssh-6.2p1+x509-7.4.1.diff.gz) = 215496 +SHA256 (openssh-6.2p2-gsskex-all-20110125.patch.gz) = 1c54be66bfedb90b4909f0dda11dde09b10db6dca5a1c565c4c3efaed2036b2d +SIZE (openssh-6.2p2-gsskex-all-20110125.patch.gz) = 24309 SHA256 (openssh-lpk-6.2p1.patch.gz) = 96c7a5435f3fd7d83875ee06c4a3c83ee6172c7d9de31b9ffdeb18118f285a24 SIZE (openssh-lpk-6.2p1.patch.gz) = 17881 SHA256 (openssh-sctp-2163.patch.gz) = 86ac3a59119c9c26193334d8ba7c3be9f143209080e4f8a2a00577c24c0c9e03