From dan+master7.ms.mff.cuni.cz@ms.mff.cuni.cz  Tue May  4 05:25:59 2010
Return-Path: <dan+master7.ms.mff.cuni.cz@ms.mff.cuni.cz>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 210E81065678
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 May 2010 05:25:59 +0000 (UTC)
	(envelope-from dan+master7.ms.mff.cuni.cz@ms.mff.cuni.cz)
Received: from master7.ms.mff.cuni.cz (master7.ms.mff.cuni.cz [195.113.20.22])
	by mx1.freebsd.org (Postfix) with ESMTP id AE9288FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 May 2010 05:25:58 +0000 (UTC)
Received: from master7.ms.mff.cuni.cz (localhost [127.0.0.1])
	by master7.ms.mff.cuni.cz (8.14.3/8.14.3) with ESMTP id o445PuTe095320
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 4 May 2010 07:25:56 +0200 (CEST)
	(envelope-from dan@master7.ms.mff.cuni.cz)
Received: (from root@localhost)
	by master7.ms.mff.cuni.cz (8.14.3/8.14.3/Submit) id o445PuUS095319;
	Tue, 4 May 2010 07:25:56 +0200 (CEST)
	(envelope-from dan)
Message-Id: <201005040525.o445PuUS095319@master7.ms.mff.cuni.cz>
Date: Tue, 4 May 2010 07:25:56 +0200 (CEST)
From: Dan Lukes <dan@obluda.cz>
Reply-To: Dan Lukes <dan@obluda.cz>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [ PATCH ] net/xorp doesn't honor WITH_OPENSSL_PORT=yes	
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         146281
>Category:       ports
>Synopsis:       [ PATCH ] net/xorp doesn't honor WITH_OPENSSL_PORT=yes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pgollucci
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 04 05:30:01 UTC 2010
>Closed-Date:    Wed Sep 08 21:57:52 UTC 2010
>Last-Modified:  Wed Sep  8 22:00:04 UTC 2010
>Originator:     Dan Lukes
>Release:        FreeBSD
>Organization:
Obludarium	
>Environment:
System: FreeBSD
net/xorp/Makefile,v 1.14 2009/02/22 14:39:28

>Description:
	The port ignores WITH_OPENSSL_PORT=yes
>How-To-Repeat:
	1. set WITH_OPENSSL_PORT=yes
	2. rename /usr/include/openssl and /usr/bin/openssl to something else

	Try to compile.
>Fix:


--- Makefile.orig	2010-05-04 06:53:44.000000000 +0200
+++ Makefile	2010-05-04 06:54:36.000000000 +0200
@@ -20,12 +20,13 @@
 NOMAN=		defined
 
 USE_GMAKE=	yes
+USE_OPENSSL=    yes
 
 GNU_CONFIGURE=	yes
 
 CONFIGURE_ARGS=		--prefix=${PREFIX}/${PORTNAME}			\
 			--with-comment='FreeBSD port: ${PKGNAME}'	\
-			--with-openssl=/usr
+			--with-openssl=${OPENSSLBASE}
 
 CONFIGURE_ENV+=		CXXFLAGS="-Wno-uninitialized"
 
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->bms 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue May 4 05:30:12 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146281 
Responsible-Changed-From-To: bms->freebsd-ports 
Responsible-Changed-By: bms 
Responsible-Changed-When: Sun 6 Jun 2010 14:59:30 UTC 
Responsible-Changed-Why:  
I'm afraid I have no free time for the foreseeable future which 
I can commit directly to FreeBSD work, due to a demanding new role. 

I am happy to review the occasional patch, but regrettably cannot 
be directly involved in engineering work beyond this. 

Thank you for your understanding. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=146281 
Responsible-Changed-From-To: freebsd-ports->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Jun 7 05:16:00 UTC 2010 
Responsible-Changed-Why:  
Canonicalize assignment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146281 
Responsible-Changed-From-To: freebsd-ports-bugs->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Thu Sep 2 06:01:09 UTC 2010 
Responsible-Changed-Why:  
I will take it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146281 
State-Changed-From-To: open->feedback 
State-Changed-By: pgollucci 
State-Changed-When: Wed Sep 8 01:56:08 UTC 2010 
State-Changed-Why:  
Request feedback this forces security/openssl as the ssl, it should be 
base or ports 

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

From: Dan Lukes <dan@obluda.cz>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/146281: [ PATCH ] net/xorp doesn't honor WITH_OPENSSL_PORT=yes
Date: Wed, 08 Sep 2010 07:31:48 +0200

 I don't understand what you are asking for ?
 
 May be the question come from your's misunderstanding of content of 
 ${OPENSSLBASE} variable:
 
 from bsd.openssl.mk
 
   ----------------------
 # The makefile sets this variables:
 # OPENSSLBASE           - "/usr" or ${LOCALBASE}
   ----------------------
 
 
 The first one is used for BASE OpenSSL, the second for OpenSSL from 
 ports. The "BASE" within variable name has no relation with "base" 
 (versus "from ports") OpenSSL instalation, if base directory for all the 
 contents of OpenSSL.
 
 Dan
State-Changed-From-To: feedback->open 
State-Changed-By: pgollucci 
State-Changed-When: Wed Sep 8 06:17:52 UTC 2010 
State-Changed-Why:  
Feedback received 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146281 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Wed Sep 8 21:57:50 UTC 2010 
State-Changed-Why:  
Committed, Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/146281: commit references a PR
Date: Wed,  8 Sep 2010 21:57:57 +0000 (UTC)

 pgollucci    2010-09-08 21:57:43 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/xorp             Makefile 
   Log:
   - Fix WITH_OPENSSL_PORT=ye support
   
   PR:             ports/146281
   Submitted by:   Dan Lukes <dan@obluda.cz>
   
   Revision  Changes    Path
   1.16      +24 -24    ports/net/xorp/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:
