From owner-svn-ports-all@FreeBSD.ORG Sun Oct 21 12:12:54 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CC0A4828; Sun, 21 Oct 2012 12:12:54 +0000 (UTC) (envelope-from sumikawa@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B4C618FC0A; Sun, 21 Oct 2012 12:12:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9LCCs7l071107; Sun, 21 Oct 2012 12:12:54 GMT (envelope-from sumikawa@svn.freebsd.org) Received: (from sumikawa@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9LCCsOB071104; Sun, 21 Oct 2012 12:12:54 GMT (envelope-from sumikawa@svn.freebsd.org) Message-Id: <201210211212.q9LCCsOB071104@svn.freebsd.org> From: Munechika SUMIKAWA Date: Sun, 21 Oct 2012 12:12:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306230 - in head/security/racoon2: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 12:12:54 -0000 Author: sumikawa Date: Sun Oct 21 12:12:54 2012 New Revision: 306230 URL: http://svn.freebsd.org/changeset/ports/306230 Log: Make works with perl5.16 Feature safe: yes Submitted by: Cy Schubert Added: head/security/racoon2/files/patch-pskgen-pskgen.in (contents, props changed) Modified: head/security/racoon2/Makefile Modified: head/security/racoon2/Makefile ============================================================================== --- head/security/racoon2/Makefile Sun Oct 21 11:46:00 2012 (r306229) +++ head/security/racoon2/Makefile Sun Oct 21 12:12:54 2012 (r306230) @@ -7,7 +7,7 @@ PORTNAME= racoon2 PORTVERSION= 20100526a -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security net ipv6 MASTER_SITES= ftp://ftp.racoon2.wide.ad.jp/pub/racoon2/ EXTRACT_SUFX= .tgz Added: head/security/racoon2/files/patch-pskgen-pskgen.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/racoon2/files/patch-pskgen-pskgen.in Sun Oct 21 12:12:54 2012 (r306230) @@ -0,0 +1,18 @@ +--- 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 @@ + 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'); ++} + $output = '-'; + $output = $opt_o if ($opt_o); +