svn commit: r418757 - in head/security/racoon2: . files
Cy Schubert
cy at FreeBSD.org
Tue Jul 19 00:14:09 UTC 2016
Author: cy
Date: Tue Jul 19 00:14:07 2016
New Revision: 418757
URL: https://svnweb.freebsd.org/changeset/ports/418757
Log:
Fix ancient getopts invocation in pskgen.
PR: 211178
Modified:
head/security/racoon2/Makefile
head/security/racoon2/files/patch-pskgen-pskgen.in
Modified: head/security/racoon2/Makefile
==============================================================================
--- head/security/racoon2/Makefile Mon Jul 18 23:36:42 2016 (r418756)
+++ head/security/racoon2/Makefile Tue Jul 19 00:14:07 2016 (r418757)
@@ -3,7 +3,7 @@
PORTNAME= racoon2
PORTVERSION= 20100526a
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= security net ipv6
MASTER_SITES= ftp://ftp.racoon2.wide.ad.jp/pub/racoon2/
Modified: head/security/racoon2/files/patch-pskgen-pskgen.in
==============================================================================
--- head/security/racoon2/files/patch-pskgen-pskgen.in Mon Jul 18 23:36:42 2016 (r418756)
+++ head/security/racoon2/files/patch-pskgen-pskgen.in Tue Jul 19 00:14:07 2016 (r418757)
@@ -1,18 +1,13 @@
--- pskgen/pskgen.in.orig 2005-09-15 23:52:20.000000000 -0700
-+++ pskgen/pskgen.in 2012-10-19 22:21:12.364329713 -0700
-@@ -59,8 +59,13 @@
++++ pskgen/pskgen.in 2016-07-18 12:59:05.207263000 -0700
+@@ -59,8 +59,8 @@
exit 0;
}
-require 'getopts.pl';
-do Getopts('rs:o:di:he:d');
-+if ($] > 5.014002) {
-+ use Getopt::Std;
-+ getopts('rs:o:di:he:d');
-+} else {
-+ require 'getopts.pl';
-+ do Getopts('rs:o:di:he:d');
-+}
++use Getopt::Std;
++getopts('rs:o:di:he:d') or &usage;
$output = '-';
$output = $opt_o if ($opt_o);
More information about the svn-ports-all
mailing list