Subject: pkg/14146: security/p5-Crypt-OpenPGP: patch for specifying which algorithms to support
To: None <gnats-bugs@gnats.netbsd.org>
From: None <sen@eccosys.com>
List: netbsd-bugs
Date: 10/03/2001 00:38:36
>Number: 14146
>Category: pkg
>Synopsis: security/p5-Crypt-OpenPGP: patch for specifying which algorithms to support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Oct 03 00:39:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Sen Nagata
>Release: 1.5.2
>Organization:
>Environment:
>Description:
Defaults were not specified correctly for specifying various algorithm
support.
>How-To-Repeat:
>Fix:
The author of Crypt::OpenPGP may add an interface to Makefile.PL to
specify which algorithms to support in a future version.
In the mean time, the following patch should provide appropriate
defaults. Of course, the patches directory should be created and
"make makepatchsum" should be done too ;-)
$NetBSD$
--- Makefile.PL.orig Wed Oct 3 16:20:14 2001
+++ Makefile.PL Wed Oct 3 16:22:04 2001
@@ -65,7 +65,7 @@
for my $ciph (@cryptmod) {
printf " [%d] %s\n", $i++, $ciph->[0];
}
- my $c = prompt("\nEnter your choices, separated by spaces:", 1);
+ my $c = prompt("\nEnter your choices, separated by spaces:", "1 3 4 5");
print "\n";
for my $id (split /\s+/, $c) {
@@ -86,7 +86,7 @@
for my $ciph (@dgstmod) {
printf " [%d] %s\n", $i++, $ciph->[0];
}
- my $c = prompt("\nEnter your choices, separated by spaces:", 2);
+ my $c = prompt("\nEnter your choices, separated by spaces:", "1 2 3");
print "\n";
for my $id (split /\s+/, $c) {
>Release-Note:
>Audit-Trail:
>Unformatted: