From owner-freebsd-ports-bugs@FreeBSD.ORG  Fri Nov 15 11:00:04 2013
Return-Path: <owner-freebsd-ports-bugs@FreeBSD.ORG>
Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 686519DF
 for <freebsd-ports-bugs@smarthost.ysv.freebsd.org>;
 Fri, 15 Nov 2013 11:00:04 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 35C8820F3
 for <freebsd-ports-bugs@smarthost.ysv.freebsd.org>;
 Fri, 15 Nov 2013 11:00:04 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAFB04F3029956
 for <freebsd-ports-bugs@freefall.freebsd.org>; Fri, 15 Nov 2013 11:00:04 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAFB04KR029955;
 Fri, 15 Nov 2013 11:00:04 GMT (envelope-from gnats)
Resent-Date: Fri, 15 Nov 2013 11:00:04 GMT
Resent-Message-Id: <201311151100.rAFB04KR029955@freefall.freebsd.org>
Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer)
Resent-To: freebsd-ports-bugs@FreeBSD.org
Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org,
 Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id BF295781;
 Fri, 15 Nov 2013 10:51:50 +0000 (UTC)
Received: from sunpoet.net (sunpoet.net [220.135.71.135])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 8BBAB2097;
 Fri, 15 Nov 2013 10:51:50 +0000 (UTC)
Received: by sunpoet.net (Postfix, from userid 1000)
 id 79AD942BC; Fri, 15 Nov 2013 18:51:59 +0800 (CST)
Message-Id: <20131115105159.79AD942BC@sunpoet.net>
Date: Fri, 15 Nov 2013 18:51:59 +0800 (CST)
From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
X-Send-Pr-Version: 3.113
Subject: ports/183992: [PATCH] security/gnutls3: fix LIBTASN1 option
Cc: wg@FreeBSD.org
X-BeenThere: freebsd-ports-bugs@freebsd.org
X-Mailman-Version: 2.1.16
Precedence: list
List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ports-bugs>, 
 <mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/>
List-Post: <mailto:freebsd-ports-bugs@freebsd.org>
List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
 <mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Nov 2013 11:00:04 -0000


>Number:         183992
>Category:       ports
>Synopsis:       [PATCH] security/gnutls3: fix LIBTASN1 option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 15 11:00:03 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 10.0-BETA3 amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257593: Mon Nov  4 17:36:04
>Description:
- Enable LIBTASN1 option
- Reword LIBTASN1_DESC

Port maintainer (wg@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_10 (mode: change, diff: SVN)
>How-To-Repeat:

Steps:
1. Do not install security/libtasn1 or rename /usr/local/lib/libtasn1.so.7 temporarily
2. Turn on LIBTASN1 option
3. make run-depends-list

and you'll notice that /usr/ports/security/libtasn1 is missing!

>Fix:

--- gnutls3-3.1.16_1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 333850)
+++ Makefile	(working copy)
@@ -43,13 +43,13 @@
 OPTIONS_DEFAULT=	CXX
 OPTIONS_SUB=		yes
 
-LIBTASN1_DESC=	Use system libtasn1
+LIBTASN1_DESC=	Use libtasn1 from ports
 
 CXX_CONFIGURE_ENABLE=	cxx
 
 .include <bsd.port.options.mk>
 
-.if defined(PORT_OPTIONS:MLIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.7)
+.if ${PORT_OPTIONS:MLIBTASN1} || exists(${LOCALBASE}/lib/libtasn1.so.7)
 LIB_DEPENDS+=	libtasn1.so:${PORTSDIR}/security/libtasn1
 .else
 CONFIGURE_ARGS+=	--with-included-libtasn1
--- gnutls3-3.1.16_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted: