From nobody@FreeBSD.org  Wed Nov 17 14:12:32 2010
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 85AD61065672
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Nov 2010 14:12:32 +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 73D5E8FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Nov 2010 14:12:32 +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 oAHECVDv094785
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Nov 2010 14:12:31 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id oAHECVUR094784;
	Wed, 17 Nov 2010 14:12:31 GMT
	(envelope-from nobody)
Message-Id: <201011171412.oAHECVUR094784@www.freebsd.org>
Date: Wed, 17 Nov 2010 14:12:31 GMT
From: Alexander Krivnetsov <akriventsov@hc.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] net/ntp: doesn't build with openssl port 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         152330
>Category:       ports
>Synopsis:       [PATCH] net/ntp: doesn't build with openssl port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    cy
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 17 14:20:09 UTC 2010
>Closed-Date:    Thu Dec 02 14:26:42 UTC 2010
>Last-Modified:  Thu Dec  2 14:30:10 UTC 2010
>Originator:     Alexander Krivnetsov
>Release:        8.1-RELEASE-p1
>Organization:
HostComm
>Environment:
FreeBSD web.phone.devel.hostcomm.ru 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #0: Sat Oct  2 02:18:11 UTC 2010     root@tinderbox1.infra.hostcomm.ru:/usr/obj/usr/src/sys/CARP  amd64
>Description:
Can not build net/ntp with openssl from ports
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- net/ntp/Makefile.orig	2010-11-17 13:54:29.000000000 +0000
+++ net/ntp/Makefile	2010-11-17 13:55:57.000000000 +0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	ntp
 PORTVERSION?=	4.2.6p2
+PORTREVISION?=	1
 CATEGORIES=	net ipv6
 MASTER_SITES=	ftp://ftp.udel.edu/pub/ntp/ntp4/ \
 		http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ \
@@ -43,7 +44,8 @@
 CONFIGURE_ARGS+=	--without-crypto
 PLIST_SUB+=		SSL="@comment "
 .else
-USE_OPENSSL=		yes
+# we can't use USE_OPENSSL=yes after including bsd.port.pre.mk
+.include "${PORTSDIR}/Mk/bsd.openssl.mk"
 CONFIGURE_ARGS+=	--with-openssl-incdir=${OPENSSLINC} \
 			--with-openssl-libdir=${OPENSSLLIB}
 PLIST_SUB+=		SSL=""


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->cy 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Nov 17 14:20:14 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=152330 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Thu Dec 2 14:26:16 UTC 2010 
State-Changed-Why:  
Fixed (in another way), thanks for report 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/152330: commit references a PR
Date: Thu,  2 Dec 2010 14:26:28 +0000 (UTC)

 pav         2010-12-02 14:26:21 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/ntp              Makefile 
   Log:
   - Fix SSL option: USE_OPENSSL must be before pre.mk
   
   PR:             ports/152330
   Reported by:    Alexander Krivnetsov <akriventsov@hc.ru>
   Approved by:    maintainer timeout (cy; 15 days)
   
   Revision  Changes    Path
   1.63      +2 -2      ports/net/ntp/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:
