Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: vpnc: devel

svn commit: vpnc r418 - in /trunk: enum2debug.pl makeman.pl pcf2vpnc

 

 

vpnc devel RSS feed   Index | Next | Previous | View Threaded


vpnc at unix-ag

Aug 31, 2009, 4:58 PM

Post #1 of 1 (446 views)
Permalink
svn commit: vpnc r418 - in /trunk: enum2debug.pl makeman.pl pcf2vpnc

Author: Joerg Mayer
Date: Tue Sep 1 01:58:57 2009
New Revision: 418

Log:
Jukka Salmi <j+vpnc [at] 2009>

the Perl scripts makeman.pl, enum2debug.pl and pcf2vpnc all expect perl
to be available in /usr/bin. Of course this causes problems if perl is
installed somewhere else (like, e.g., on systems using pkgsrc, where
perl is in /usr/pkg/bin).

What about the attached patch? It assumes env(1) to be in /usr/bin (and
perl to be in the $PATH), but that's much more likely...

Modified:
trunk/enum2debug.pl
trunk/makeman.pl
trunk/pcf2vpnc

Modified: trunk/enum2debug.pl
==============================================================================
--- trunk/enum2debug.pl (original)
+++ trunk/enum2debug.pl Tue Sep 1 01:58:57 2009
@@ -1,8 +1,9 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl

# Usage: ./enum2debug.pl isakmp.h >vpnc-debug.c 2>vpnc-debug.h

use strict;
+use warnings;

my $in_enum = 0;
my $element;

Modified: trunk/makeman.pl
==============================================================================
--- trunk/makeman.pl (original)
+++ trunk/makeman.pl Tue Sep 1 01:58:57 2009
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#! /usr/bin/env perl

# $Id$

@@ -16,6 +16,7 @@
# Distributed under the same licence as vpnc.

use strict;
+use warnings;
use Fatal qw(open close);
use filetest qw(access); # to always get errno-values on filetests
use POSIX qw(strftime setlocale LC_ALL);

Modified: trunk/pcf2vpnc
==============================================================================
--- trunk/pcf2vpnc (original)
+++ trunk/pcf2vpnc Tue Sep 1 01:58:57 2009
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# Stefan Tomanek <stefan [at] pico>
# updated by Wolfram Sang <ninja [at] the-dreams> on 21.10.06 and on 26.06.07
##

_______________________________________________
vpnc-devel mailing list
vpnc-devel [at] unix-ag
https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
http://www.unix-ag.uni-kl.de/~massar/vpnc/

vpnc devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.