From nobody@FreeBSD.org  Tue May 19 09:40:31 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 796D010656B9
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <navymaker@rambler-co.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: security/openssh-portable does not compile on amd64 arch
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         134706
>Category:       amd64
>Synopsis:       security/openssh-portable does not compile on amd64 arch
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 19 09:50:01 UTC 2009
>Closed-Date:    Tue May 19 10:14:42 UTC 2009
>Last-Modified:  Tue May 19 10:20:01 UTC 2009
>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:
State-Changed-From-To: open->closed 
State-Changed-By: osa 
State-Changed-When: Tue May 19 10:14:24 UTC 2009 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134706 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: amd64/134706: commit references a PR
Date: Tue, 19 May 2009 10:13:42 +0000 (UTC)

 osa         2009-05-19 10:13:28 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/openssh-portable Makefile 
   Log:
   Fix build with WITH_LPK support for amd64 by change extra patches order.
   Do not bump PORTREVISION.
   
   Submitted by:   Fedor Dikarev aka fe at rambler dash co dot ru
   Spotted by:     maxim
   Approved by:    maintainer unavailable, i.e.
                   $ whois dindin.ru | grep ^state
                   state:      REGISTERED, NOT DELEGATED
   PR:             amd64/134706
   
   Revision  Changes    Path
   1.136     +4 -3      ports/security/openssh-portable/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
