[Bug 211178] security/racoon2: pskgen fails with syntax error using default perl5

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 17 20:21:44 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211178

            Bug ID: 211178
           Summary: security/racoon2: pskgen fails with syntax error using
                    default perl5
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy at FreeBSD.org
          Reporter: john at saltant.com
          Assignee: cy at FreeBSD.org
             Flags: maintainer-feedback?(cy at FreeBSD.org)

Any invocation of pskgen fails with a syntax error.

    % pskgen --help
    syntax error at /usr/local/sbin/pskgen line 67, near "do Getopts("
    Execution of /usr/local/sbin/pskgen aborted due to compilation errors.

The port also reports

    pkg: POST-INSTALL script failed

on install because pskgen is invoked from the plist.

    % uname -a
    FreeBSD build.saltant.net 10.3-STABLE FreeBSD 10.3-STABLE #3 r301173: Wed
Jun  1 18:48:58 EDT 2016     root at build.saltant.net:/usr/obj/usr/src/sys/CUSTOM
 amd64
    % pkg info -xo perl5 racoon2
    perl5-5.20.3_13                lang/perl5.20
    racoon2-20100526a_10           security/racoon2
    % head -68 /usr/local/sbin/pskgen | tail -7
    if ($] > 5.014002) {
            use Getopt::Std;
            getopts('rs:o:di:he:d');
    } else {
            require 'getopts.pl';
            do Getopts('rs:o:di:he:d');
    }

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list