From owner-freebsd-bugs@FreeBSD.ORG Thu Jan 14 09:00:09 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AD6F106566C for ; Thu, 14 Jan 2010 09:00:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F1CBF8FC14 for ; Thu, 14 Jan 2010 09:00:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0E908cD089093 for ; Thu, 14 Jan 2010 09:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0E908DL089092; Thu, 14 Jan 2010 09:00:08 GMT (envelope-from gnats) Resent-Date: Thu, 14 Jan 2010 09:00:08 GMT Resent-Message-Id: <201001140900.o0E908DL089092@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Scot Hetzel Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30EAC106566C for ; Thu, 14 Jan 2010 08:57:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 05D578FC1A for ; Thu, 14 Jan 2010 08:57:20 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o0E8vJBS003620 for ; Thu, 14 Jan 2010 08:57:19 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o0E8vJk0003619; Thu, 14 Jan 2010 08:57:19 GMT (envelope-from nobody) Message-Id: <201001140857.o0E8vJk0003619@www.freebsd.org> Date: Thu, 14 Jan 2010 08:57:19 GMT From: Scot Hetzel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/142819: [patch] security/openssh-portable: port fails to patch when both X509 and KERB_GSSAPI are selected X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2010 09:00:09 -0000 >Number: 142819 >Category: misc >Synopsis: [patch] security/openssh-portable: port fails to patch when both X509 and KERB_GSSAPI are selected >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: Thu Jan 14 09:00:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Scot Hetzel >Release: FreeBSD 8.0 >Organization: >Environment: FreeBSD dv8t01 8.0-STABLE FreeBSD 8.0-STABLE #10 r201599M: Tue Jan 5 14:29:56 CST 2010 swhetzel@dv8t01:/usr/obj/usr/src/8-stable/sys/GENERIC amd64 >Description: When the port options KERBEROS, GSSAPI, KERB_GSSAPI, and X509 are selected, the port fails to patch. If either KERB_GSSAPI or X509 are not selected then the port will complete the patch stage. >How-To-Repeat: # make config (select KERBEROS, GSSAPI, KERB_GSSAPI and X509) # make patch ===> Vulnerability check disabled, database not found ===> Found saved configuration for openssh-portable-5.2.p1_2,1 ===> Extracting for openssh-gssapi-5.2.p1_2,1 => MD5 Checksum OK for openssh-5.2p1.tar.gz. => SHA256 Checksum OK for openssh-5.2p1.tar.gz. => MD5 Checksum OK for openssh-5.2p1-gsskex-all-20090726.patch. => SHA256 Checksum OK for openssh-5.2p1-gsskex-all-20090726.patch. => MD5 Checksum OK for openssh-5.2p1+x509-6.2.diff.gz. => SHA256 Checksum OK for openssh-5.2p1+x509-6.2.diff.gz. ===> Patching for openssh-gssapi-5.2.p1_2,1 ===> Applying distribution patches for openssh-gssapi-5.2.p1_2,1 1 out of 3 hunks failed--saving rejects to key.h.rej 1 out of 16 hunks failed--saving rejects to Makefile.in.rej 1 out of 15 hunks failed--saving rejects to sshd_config.5.rej *** Error code 3 Stop in /usr/ports/security/openssh-portable. *** Error code 1 Stop in /usr/ports/security/openssh-portable. >Fix: The attached patch marks the port BROKEN when both KERB_GSSAPI and X509 are selected. Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/security/openssh-portable/Makefile,v retrieving revision 1.144 diff -u -r1.144 Makefile --- Makefile 16 Dec 2009 16:43:21 -0000 1.144 +++ Makefile 14 Jan 2010 08:29:17 -0000 @@ -74,6 +74,10 @@ BROKEN= X509 patch incompatible with HPN and LPK patches .endif +.if defined(WITH_X509) && defined(WITH_KERB_GSSAPI) +BROKEN= X509 patch incompatible with KERB_GSSAPI patch +.endif + .if defined(OPENSSH_OVERWRITE_BASE) WITH_OVERWRITE_BASE= yes .endif >Release-Note: >Audit-Trail: >Unformatted: