ports/134952: [patch] security/p5-Net-SSLeay build shouldn't need interaction
Emil Mikulic
emikulic at gmail.com
Tue May 26 09:20:02 UTC 2009
>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:
More information about the freebsd-ports-bugs
mailing list