From root@42.org  Thu Dec 22 15:09:15 2011
Return-Path: <root@42.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5F1BD106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Dec 2011 15:09:15 +0000 (UTC)
	(envelope-from root@42.org)
Received: from ice.42.org (v6.42.org [IPv6:2001:608:9::1])
	by mx1.freebsd.org (Postfix) with ESMTP id 1CD358FC13
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Dec 2011 15:09:15 +0000 (UTC)
Received: by ice.42.org (Postfix, from userid 0)
	id 5B40D2841E; Thu, 22 Dec 2011 16:09:13 +0100 (CET)
Message-Id: <20111222150913.5B40D2841E@ice.42.org>
Date: Thu, 22 Dec 2011 16:09:13 +0100 (CET)
From: Charlie & <root@42.org>
Reply-To: Charlie & <root@42.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: security/dropbear does not compile with STATIC (patch)
X-Send-Pr-Version: 3.113
X-GNATS-Notify: spam@rm-rf.kiev.ua

>Number:         163539
>Category:       ports
>Synopsis:       security/dropbear does not compile with STATIC (patch)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 22 15:10:11 UTC 2011
>Closed-Date:    Tue Dec 27 23:12:32 UTC 2011
>Last-Modified:  Tue Dec 27 23:12:32 UTC 2011
>Originator:     Charlie &
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD ice 8.2-STABLE FreeBSD 8.2-STABLE #18: Sun Dec 11 11:23:23 CET 2011 root@ice:/usr/obj/usr/src/sys/ICE amd64


	
>Description:

the dropbear port does not compile if a static binary is requested.
	
>How-To-Repeat:

cd /usr/ports/security/dropbear
make WITH_STATIC=YES

	
>Fix:

forcing the compiler to link libcrypt is enough.


--- Makefile.org	2011-09-24 00:25:10.000000000 +0200
+++ Makefile	2011-12-22 16:03:47.000000000 +0100
@@ -25,6 +25,7 @@
 
 .if defined(WITH_STATIC)
 LDFLAGS+=	-static
+CONFIGURE_ENV+=LIBS=-lcrypt
 .endif
 
 post-patch:



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Dec 22 15:10:25 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: spam@rm-rf.kiev.ua
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/163539: security/dropbear does not compile with STATIC (patch)
Date: Thu, 22 Dec 2011 15:10:23 UT

 Maintainer of security/dropbear,
 
 Please note that PR ports/163539 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/163539
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Alex Kozlov <spam@rm-rf.kiev.ua>
To: Charlie & <root@42.org>, bug-followup@freebsd.org, spam@rm-rf.kiev.ua
Cc:  
Subject: Re: ports/163539: security/dropbear does not compile with STATIC
 (patch)
Date: Fri, 23 Dec 2011 01:37:24 +0200

 --C7zPtVaVf+AK4Oqc
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Hi, Charlie &
 
 Please try this patch.
 
 
 --
 Adios
 
 --C7zPtVaVf+AK4Oqc
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="patch.txt"
 
 Index: security/dropbear/Makefile
 @@ -6,7 +6,8 @@
  #
  
  PORTNAME=	dropbear
 -PORTVERSION=	0.53.1
 +PORTVERSION=	2011.54
 +PORTEPOCH=	1
  CATEGORIES=	security ipv6
  MASTER_SITES=	http://matt.ucc.asn.au/dropbear/releases/
  
 Index: security/dropbear/distinfo
 @@ -1,2 +1,2 @@
 -SHA256 (dropbear-0.53.1.tar.bz2) = e24d3cbecd3bc850b2b336b8eb50c845a285ceef8e22544938a582e163d36393
 -SIZE (dropbear-0.53.1.tar.bz2) = 1577227
 +SHA256 (dropbear-2011.54.tar.bz2) = 5aa4021ac9bac4092c2bd9d41d67143429b3cf791ddc8b590841e1765d8daf3a
 +SIZE (dropbear-2011.54.tar.bz2) = 1580502
 
 --C7zPtVaVf+AK4Oqc--
State-Changed-From-To: feedback->closed  
State-Changed-By: scheidell 
State-Changed-When: Tue Dec 27 23:11:53 UTC 2011 
State-Changed-Why:  
Duplicate of pr ports/163217 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163539 
>Unformatted:
