From owner-freebsd-amd64@FreeBSD.ORG Tue May 19 09:50:01 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CACB106564A for ; Tue, 19 May 2009 09:50:01 +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 668318FC16 for ; Tue, 19 May 2009 09:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4J9o1qw069349 for ; Tue, 19 May 2009 09:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4J9o1F2069348; Tue, 19 May 2009 09:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 19 May 2009 09:50:01 GMT Resent-Message-Id: <200905190950.n4J9o1F2069348@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexey Loginov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 796D010656B9 for ; Tue, 19 May 2009 09:40:31 +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 5F4638FC15 for ; Tue, 19 May 2009 09:40:31 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n4J9eUgL061910 for ; Tue, 19 May 2009 09:40:30 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n4J9eUhn061908; Tue, 19 May 2009 09:40:30 GMT (envelope-from nobody) Message-Id: <200905190940.n4J9eUhn061908@www.freebsd.org> Date: Tue, 19 May 2009 09:40:30 GMT From: Alexey Loginov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Tue, 19 May 2009 11:24:43 +0000 Cc: Subject: amd64/134706: security/openssh-portable does not compile on amd64 arch X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 09:50:02 -0000 >Number: 134706 >Category: amd64 >Synopsis: security/openssh-portable does not compile on amd64 arch >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 19 09:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alexey Loginov >Release: 6.x-7.x >Organization: Rambler Internet Holding >Environment: >Description: Because of a wrong order of application of patches, port security/openssh-portable does not compile on amd64 arch. openssh-portable version: 5.2.p1_1,1 >How-To-Repeat: On amd64: cd /usr/ports/security/openssh-portable make >Fix: Apply the included patch Patch attached with submission follows: --- Makefile.orig 2009-05-19 12:42:13.165868242 +0400 +++ Makefile 2009-05-19 12:43:10.968663011 +0400 @@ -148,9 +148,6 @@ # See http://dev.inversepath.com/trac/openssh-lpk .if defined(WITH_LPK) EXTRA_PATCHES+= ${FILESDIR}/openssh-lpk-5.0p1-0.3.9.patch -.if ${ARCH} == "amd64" -EXTRA_PATCHES+= ${FILESDIR}/openssh-lpk-5.0p1-64bit.patch -.endif USE_OPENLDAP= yes CPPFLAGS+= "-I${LOCALBASE}/include -DWITH_LDAP_PUBKEY" CONFIGURE_ARGS+= --with-libs='-lldap' --with-ldflags='-L${LOCALBASE}/lib' \ @@ -167,6 +164,10 @@ EXTRA_PATCHES+= ${FILESDIR}/openssh-lpk-5.0p1-0.3.9-servconv.patch .endif +.if defined(WITH_LPK) && ${ARCH} == "amd64" +EXTRA_PATCHES+= ${FILESDIR}/openssh-lpk-5.0p1-64bit.patch +.endif + # See http://www.roumenpetrov.info/openssh/ .if defined(WITH_X509) PATCH_DIST_STRIP= -p1 >Release-Note: >Audit-Trail: >Unformatted: