From d1b8d7b9539d45a482405a94878eb2e2a01ef7d5 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 10 Jul 2011 15:10:27 -0700 Subject: [PATCH] Make perl modules version-neutral Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Accounting.pm | 2 +- Shorewall/Perl/Shorewall/Chains.pm | 2 +- Shorewall/Perl/Shorewall/Compiler.pm | 2 +- Shorewall/Perl/Shorewall/Config.pm | 2 +- Shorewall/Perl/Shorewall/IPAddrs.pm | 2 +- Shorewall/Perl/Shorewall/Misc.pm | 2 +- Shorewall/Perl/Shorewall/Nat.pm | 2 +- Shorewall/Perl/Shorewall/Proc.pm | 2 +- Shorewall/Perl/Shorewall/Providers.pm | 2 +- Shorewall/Perl/Shorewall/Proxyarp.pm | 2 +- Shorewall/Perl/Shorewall/Raw.pm | 2 +- Shorewall/Perl/Shorewall/Rules.pm | 2 +- Shorewall/Perl/Shorewall/Tc.pm | 2 +- Shorewall/Perl/Shorewall/Tunnels.pm | 2 +- Shorewall/Perl/Shorewall/Zones.pm | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Accounting.pm b/Shorewall/Perl/Shorewall/Accounting.pm index 834eaf7b1..c0a84d648 100644 --- a/Shorewall/Perl/Shorewall/Accounting.pm +++ b/Shorewall/Perl/Shorewall/Accounting.pm @@ -35,7 +35,7 @@ use strict; our @ISA = qw(Exporter); our @EXPORT = qw( setup_accounting ); our @EXPORT_OK = qw( ); -our $VERSION = '4.4_21'; +our $VERSION = 'MODULEVERSION'; # # Per-IP accounting tables. Each entry contains the associated network. diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index d3b1fc9fd..e2ef008bf 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -192,7 +192,7 @@ our %EXPORT_TAGS = ( Exporter::export_ok_tags('internal'); -our $VERSION = '4.4_21'; +our $VERSION = 'MODULEVERSION'; # # Chain Table diff --git a/Shorewall/Perl/Shorewall/Compiler.pm b/Shorewall/Perl/Shorewall/Compiler.pm index a843653c5..bc4e59eed 100644 --- a/Shorewall/Perl/Shorewall/Compiler.pm +++ b/Shorewall/Perl/Shorewall/Compiler.pm @@ -41,7 +41,7 @@ use Shorewall::Misc; our @ISA = qw(Exporter); our @EXPORT = qw( compiler ); our @EXPORT_OK = qw( $export ); -our $VERSION = '4.4_21'; +our $VERSION = 'MODULEVERSION'; my $export; diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 1b6e6d621..b18a9796f 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -150,7 +150,7 @@ our %EXPORT_TAGS = ( internal => [ qw( create_temp_script Exporter::export_ok_tags('internal'); -our $VERSION = '4.4_21'; +our $VERSION = 'MODULEVERSION'; # # describe the current command, it's present progressive, and it's completion. diff --git a/Shorewall/Perl/Shorewall/IPAddrs.pm b/Shorewall/Perl/Shorewall/IPAddrs.pm index 0d84eee2c..06418ab55 100644 --- a/Shorewall/Perl/Shorewall/IPAddrs.pm +++ b/Shorewall/Perl/Shorewall/IPAddrs.pm @@ -80,7 +80,7 @@ our @EXPORT = qw( ALLIPv4 validate_icmp6 ); our @EXPORT_OK = qw( ); -our $VERSION = '4.4_20'; +our $VERSION = 'MODULEVERSION'; # # Some IPv4/6 useful stuff diff --git a/Shorewall/Perl/Shorewall/Misc.pm b/Shorewall/Perl/Shorewall/Misc.pm index 69bb0cb10..cdb8ace42 100644 --- a/Shorewall/Perl/Shorewall/Misc.pm +++ b/Shorewall/Perl/Shorewall/Misc.pm @@ -45,7 +45,7 @@ our @EXPORT = qw( process_tos generate_matrix ); our @EXPORT_OK = qw( initialize ); -our $VERSION = '4.4_21'; +our $VERSION = 'MODULEVERSION'; my $family; diff --git a/Shorewall/Perl/Shorewall/Nat.pm b/Shorewall/Perl/Shorewall/Nat.pm index 31afe2f1a..6e67c020d 100644 --- a/Shorewall/Perl/Shorewall/Nat.pm +++ b/Shorewall/Perl/Shorewall/Nat.pm @@ -36,7 +36,7 @@ use strict; our @ISA = qw(Exporter); our @EXPORT = qw( setup_masq setup_nat setup_netmap add_addresses ); our @EXPORT_OK = (); -our $VERSION = '4.4_21'; +our $VERSION = 'MODULEVERSION'; my @addresses_to_add; my %addresses_to_add; diff --git a/Shorewall/Perl/Shorewall/Proc.pm b/Shorewall/Perl/Shorewall/Proc.pm index e6563c271..196325d9d 100644 --- a/Shorewall/Perl/Shorewall/Proc.pm +++ b/Shorewall/Perl/Shorewall/Proc.pm @@ -41,7 +41,7 @@ our @EXPORT = qw( setup_forwarding ); our @EXPORT_OK = qw( ); -our $VERSION = '4.4_7'; +our $VERSION = 'MODULEVERSION'; # # ARP Filtering diff --git a/Shorewall/Perl/Shorewall/Providers.pm b/Shorewall/Perl/Shorewall/Providers.pm index 8d492097a..419916cd7 100644 --- a/Shorewall/Perl/Shorewall/Providers.pm +++ b/Shorewall/Perl/Shorewall/Providers.pm @@ -35,7 +35,7 @@ use strict; our @ISA = qw(Exporter); our @EXPORT = qw( setup_providers @routemarked_interfaces handle_stickiness handle_optional_interfaces ); our @EXPORT_OK = qw( initialize lookup_provider ); -our $VERSION = '4.4_21'; +our $VERSION = 'MODULEVERSION'; use constant { LOCAL_TABLE => 255, MAIN_TABLE => 254, diff --git a/Shorewall/Perl/Shorewall/Proxyarp.pm b/Shorewall/Perl/Shorewall/Proxyarp.pm index 3de7e0407..9792121b3 100644 --- a/Shorewall/Perl/Shorewall/Proxyarp.pm +++ b/Shorewall/Perl/Shorewall/Proxyarp.pm @@ -35,7 +35,7 @@ our @EXPORT = qw( ); our @EXPORT_OK = qw( initialize ); -our $VERSION = '4.4_19'; +our $VERSION = 'MODULEVERSION'; our @proxyarp; diff --git a/Shorewall/Perl/Shorewall/Raw.pm b/Shorewall/Perl/Shorewall/Raw.pm index 06097783e..a6e4baaa3 100644 --- a/Shorewall/Perl/Shorewall/Raw.pm +++ b/Shorewall/Perl/Shorewall/Raw.pm @@ -34,7 +34,7 @@ use strict; our @ISA = qw(Exporter); our @EXPORT = qw( setup_notrack ); our @EXPORT_OK = qw( ); -our $VERSION = '4.4_14'; +our $VERSION = 'MODULEVERSION'; # # Notrack diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index 329cca946..26aa70aac 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -52,7 +52,7 @@ our @EXPORT = qw( ); our @EXPORT_OK = qw( initialize ); -our $VERSION = '4.4_21'; +our $VERSION = 'MODULEVERSION'; # # Globals are documented in the initialize() function # diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index 305e9ab7f..199cf2cf2 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -40,7 +40,7 @@ use strict; our @ISA = qw(Exporter); our @EXPORT = qw( setup_tc ); our @EXPORT_OK = qw( process_tc_rule initialize ); -our $VERSION = '4.4_21'; +our $VERSION = 'MODULEVERSION'; my %tcs = ( T => { chain => 'tcpost', connmark => 0, diff --git a/Shorewall/Perl/Shorewall/Tunnels.pm b/Shorewall/Perl/Shorewall/Tunnels.pm index fc9c3544f..3751bbbe1 100644 --- a/Shorewall/Perl/Shorewall/Tunnels.pm +++ b/Shorewall/Perl/Shorewall/Tunnels.pm @@ -35,7 +35,7 @@ use strict; our @ISA = qw(Exporter); our @EXPORT = qw( setup_tunnels ); our @EXPORT_OK = ( ); -our $VERSION = '4.4_21'; +our $VERSION = 'MODULEVERSION'; # # Here starts the tunnel stuff -- we really should get rid of this crap... diff --git a/Shorewall/Perl/Shorewall/Zones.pm b/Shorewall/Perl/Shorewall/Zones.pm index af5e2f3a3..a90b2538a 100644 --- a/Shorewall/Perl/Shorewall/Zones.pm +++ b/Shorewall/Perl/Shorewall/Zones.pm @@ -85,7 +85,7 @@ our @EXPORT = qw( NOTHING ); our @EXPORT_OK = qw( initialize ); -our $VERSION = '4.4_21'; +our $VERSION = 'MODULEVERSION'; # # IPSEC Option types