From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 26 09:20:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E444106567B for ; Tue, 26 May 2009 09:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F3D638FC21 for ; Tue, 26 May 2009 09:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4Q9K1xK001058 for ; Tue, 26 May 2009 09:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4Q9K1BQ001057; Tue, 26 May 2009 09:20:01 GMT (envelope-from gnats) Resent-Date: Tue, 26 May 2009 09:20:01 GMT Resent-Message-Id: <200905260920.n4Q9K1BQ001057@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, Emil Mikulic Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 365B21065670 for ; Tue, 26 May 2009 09:17:43 +0000 (UTC) (envelope-from emil@dmr.ath.cx) Received: from ipmail04.adl2.internode.on.net (ipmail04.adl2.internode.on.net [203.16.214.57]) by mx1.freebsd.org (Postfix) with ESMTP id C07F98FC15 for ; Tue, 26 May 2009 09:17:42 +0000 (UTC) (envelope-from emil@dmr.ath.cx) Received: from ppp154-240.static.internode.on.net ([150.101.154.240]) by ipmail04.adl2.internode.on.net with ESMTP; 26 May 2009 18:47:40 +0930 Received: by ppp154-240.static.internode.on.net (Poo-fix, from userid 1001) id 24FDC5C45; Tue, 26 May 2009 19:17:39 +1000 (EST) Message-Id: <20090526091739.24FDC5C45@ppp154-240.static.internode.on.net> Date: Tue, 26 May 2009 19:17:39 +1000 (EST) From: Emil Mikulic To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/134952: [patch] security/p5-Net-SSLeay build shouldn't need interaction X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2009 09:20:02 -0000 >Number: 134952 >Category: ports >Synopsis: [patch] security/p5-Net-SSLeay build shouldn't need interaction >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 26 09:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Emil Mikulic >Release: >Organization: >Environment: >Description: security/p5-Net-SSLeay prompts the user: Do you want to run external tests? These tests *will* *fail* if you do not have network connectivity. [n] It waits for input, which sucks for unattended builds. >How-To-Repeat: cd /usr/ports/security/p5-Net-SSLeay make >Fix: How about adding the following patch to /usr/ports/security/p5-Net-SSLeay/files It short-circuits the prompt into the negative (default) response. --- inc/Module/Install/PRIVATE/Net/SSLeay.pm.orig 2009-05-26 18:14:30.705755255 +1000 +++ inc/Module/Install/PRIVATE/Net/SSLeay.pm 2009-05-26 18:17:57.517028165 +1000 @@ -45,7 +45,7 @@ $self->makemaker_args( CCCDLFLAGS => $opts->{cccdlflags} ); - if ( $self->prompt( + if ( 0 && $self->prompt( # don't require interaction during install "Do you want to run external tests?\n". "These tests *will* *fail* if you do not have network connectivity.", 'n', >Release-Note: >Audit-Trail: >Unformatted: