summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-11-18 12:58:18 +0000
committerThierry Vignaud <tv@mageia.org>2011-11-18 12:58:18 +0000
commit29c6b1e79ae9460ea0ca8815ed5916a8dd286bc7 (patch)
treef248e42b97ff78dcbee96ed8a6d1ed8f3bcbc6d4 /lib/network
parentb8276cb27087b6ce689b9ed1cb54c628ee663ef3 (diff)
downloaddrakx-net-29c6b1e79ae9460ea0ca8815ed5916a8dd286bc7.tar
drakx-net-29c6b1e79ae9460ea0ca8815ed5916a8dd286bc7.tar.gz
drakx-net-29c6b1e79ae9460ea0ca8815ed5916a8dd286bc7.tar.bz2
drakx-net-29c6b1e79ae9460ea0ca8815ed5916a8dd286bc7.tar.xz
drakx-net-29c6b1e79ae9460ea0ca8815ed5916a8dd286bc7.zip
update main catalog (#3371)
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/connection/cable.pm2
-rw-r--r--lib/network/connection/cellular.pm2
-rw-r--r--lib/network/connection/cellular_bluetooth.pm2
-rw-r--r--lib/network/connection/cellular_card.pm2
-rw-r--r--lib/network/connection/dvb.pm2
-rw-r--r--lib/network/connection/ethernet.pm2
-rw-r--r--lib/network/connection/isdn.pm2
-rw-r--r--lib/network/connection/isdn/consts.pm2
-rw-r--r--lib/network/connection/pots.pm2
-rw-r--r--lib/network/connection/ppp.pm2
-rw-r--r--lib/network/connection/wireless.pm2
-rw-r--r--lib/network/connection/xdsl.pm2
-rw-r--r--lib/network/connection_manager.pm2
-rw-r--r--lib/network/dhcpd.pm2
-rw-r--r--lib/network/drakfirewall.pm4
-rwxr-xr-xlib/network/drakroam.pm2
-rw-r--r--lib/network/drakvpn.pm2
-rw-r--r--lib/network/modem.pm2
-rw-r--r--lib/network/ndiswrapper.pm2
-rwxr-xr-xlib/network/netcenter.pm2
-rw-r--r--lib/network/netconnect.pm2
-rw-r--r--lib/network/network.pm4
-rw-r--r--lib/network/nfs.pm2
-rw-r--r--lib/network/rfswitch.pm2
-rw-r--r--lib/network/squid.pm2
-rw-r--r--lib/network/test.pm2
-rw-r--r--lib/network/thirdparty.pm2
-rw-r--r--lib/network/tools.pm2
-rw-r--r--lib/network/vpn.pm2
-rw-r--r--lib/network/vpn/openvpn.pm2
-rw-r--r--lib/network/vpn/vpnc.pm2
31 files changed, 33 insertions, 33 deletions
diff --git a/lib/network/connection/cable.pm b/lib/network/connection/cable.pm
index a81ae06..5df3320 100644
--- a/lib/network/connection/cable.pm
+++ b/lib/network/connection/cable.pm
@@ -2,7 +2,7 @@ package network::connection::cable;
use base qw(network::connection::ethernet);
-use strict;
+
use common;
use modules;
use detect_devices;
diff --git a/lib/network/connection/cellular.pm b/lib/network/connection/cellular.pm
index 5bb2259..c10d52b 100644
--- a/lib/network/connection/cellular.pm
+++ b/lib/network/connection/cellular.pm
@@ -2,7 +2,7 @@ package network::connection::cellular;
use base qw(network::connection::ppp);
-use strict;
+
use common;
my $cellular_d = "/etc/sysconfig/network-scripts/cellular.d";
diff --git a/lib/network/connection/cellular_bluetooth.pm b/lib/network/connection/cellular_bluetooth.pm
index 5c99b63..21ea07d 100644
--- a/lib/network/connection/cellular_bluetooth.pm
+++ b/lib/network/connection/cellular_bluetooth.pm
@@ -2,7 +2,7 @@ package network::connection::cellular_bluetooth;
use base qw(network::connection::cellular);
-use strict;
+
use common;
my $rfcomm_dev_prefix = "/dev/rfcomm";
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm
index 0fc3fbf..951b84e 100644
--- a/lib/network/connection/cellular_card.pm
+++ b/lib/network/connection/cellular_card.pm
@@ -2,7 +2,7 @@ package network::connection::cellular_card;
use base qw(network::connection::cellular);
-use strict;
+
use common;
my $wrong_pin_error = N_("Wrong PIN number format: it should be 4 digits.");
diff --git a/lib/network/connection/dvb.pm b/lib/network/connection/dvb.pm
index c5f8ff6..618bfba 100644
--- a/lib/network/connection/dvb.pm
+++ b/lib/network/connection/dvb.pm
@@ -2,7 +2,7 @@ package network::connection::dvb;
use base qw(network::connection::ethernet);
-use strict;
+
use common;
use modules;
diff --git a/lib/network/connection/ethernet.pm b/lib/network/connection/ethernet.pm
index 7b76396..aeb70f9 100644
--- a/lib/network/connection/ethernet.pm
+++ b/lib/network/connection/ethernet.pm
@@ -2,7 +2,7 @@ package network::connection::ethernet; # $Id: ethernet.pm 147431 2007-03-21 17:0
use base qw(network::connection);
-use strict;
+
use common;
use network::tools;
diff --git a/lib/network/connection/isdn.pm b/lib/network/connection/isdn.pm
index 1b8debc..9cdd363 100644
--- a/lib/network/connection/isdn.pm
+++ b/lib/network/connection/isdn.pm
@@ -2,7 +2,7 @@ package network::connection::isdn;
use base qw(network::connection);
-use strict;
+
use common;
sub get_type_name { N("ISDN") }
diff --git a/lib/network/connection/isdn/consts.pm b/lib/network/connection/isdn/consts.pm
index a53ddbe..8a989cb 100644
--- a/lib/network/connection/isdn/consts.pm
+++ b/lib/network/connection/isdn/consts.pm
@@ -1,5 +1,5 @@
package network::connection::isdn::consts; # $Id: consts.pm 54070 2006-08-07 17:34:38Z blino $
-use vars qw(@ISA @EXPORT);
+
@ISA = qw(Exporter);
@EXPORT = qw(@isdndata @isdn_capi);
diff --git a/lib/network/connection/pots.pm b/lib/network/connection/pots.pm
index 22299f6..f5d19fb 100644
--- a/lib/network/connection/pots.pm
+++ b/lib/network/connection/pots.pm
@@ -2,7 +2,7 @@ package network::connection::pots;
use base qw(network::connection::ppp);
-use strict;
+
use common;
sub get_type_name {
diff --git a/lib/network/connection/ppp.pm b/lib/network/connection/ppp.pm
index 37fabb3..c83b7fa 100644
--- a/lib/network/connection/ppp.pm
+++ b/lib/network/connection/ppp.pm
@@ -1,6 +1,6 @@
package network::connection::ppp;
-use strict;
+
use common;
use base qw(network::connection);
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm
index 4f86f17..83b62c3 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -2,7 +2,7 @@ package network::connection::wireless;
use base qw(network::connection::ethernet);
-use strict;
+
use common;
use log;
use network::network;
diff --git a/lib/network/connection/xdsl.pm b/lib/network/connection/xdsl.pm
index e55dd24..03b1080 100644
--- a/lib/network/connection/xdsl.pm
+++ b/lib/network/connection/xdsl.pm
@@ -2,7 +2,7 @@ package network::connection::xdsl;
use base qw(network::connection::ppp);
-use strict;
+
use common;
sub get_type_name() { N("DSL") }
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index 3efb2c1..b8252ea 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -1,6 +1,6 @@
package network::connection_manager;
-use strict;
+
use common;
use run_program;
diff --git a/lib/network/dhcpd.pm b/lib/network/dhcpd.pm
index 8cf30d5..ac7438d 100644
--- a/lib/network/dhcpd.pm
+++ b/lib/network/dhcpd.pm
@@ -1,6 +1,6 @@
package network::dhcpd;
-use strict;
+
use common;
my $sysconf_dhcpd = "$::prefix/etc/sysconfig/dhcpd";
diff --git a/lib/network/drakfirewall.pm b/lib/network/drakfirewall.pm
index f22ecfe..eeb90f4 100644
--- a/lib/network/drakfirewall.pm
+++ b/lib/network/drakfirewall.pm
@@ -1,7 +1,7 @@
package network::drakfirewall; # $Id: drakfirewall.pm 268043 2010-04-30 13:29:37Z blino $
-use strict;
-use diagnostics;
+
+
use network::shorewall;
use common;
diff --git a/lib/network/drakroam.pm b/lib/network/drakroam.pm
index 9ff8189..8478178 100755
--- a/lib/network/drakroam.pm
+++ b/lib/network/drakroam.pm
@@ -5,7 +5,7 @@ package network::drakroam;
# Olivier Blin, 2005-2006 <oblin@mandriva.com>
# Licensed under the GPL
-use strict;
+
use common;
use interactive;
diff --git a/lib/network/drakvpn.pm b/lib/network/drakvpn.pm
index c68127d..b5e9897 100644
--- a/lib/network/drakvpn.pm
+++ b/lib/network/drakvpn.pm
@@ -14,7 +14,7 @@ network::drakvpn - Interactive VPN configuration
=cut
-use strict;
+
use common;
use network::vpn;
diff --git a/lib/network/modem.pm b/lib/network/modem.pm
index b7fbc85..7bb7a77 100644
--- a/lib/network/modem.pm
+++ b/lib/network/modem.pm
@@ -1,6 +1,6 @@
package network::modem; # $Id: modem.pm 243081 2008-06-25 15:44:25Z blino $
-use strict;
+
use common;
use any;
use modules;
diff --git a/lib/network/ndiswrapper.pm b/lib/network/ndiswrapper.pm
index 22af6d6..821db25 100644
--- a/lib/network/ndiswrapper.pm
+++ b/lib/network/ndiswrapper.pm
@@ -1,6 +1,6 @@
package network::ndiswrapper;
-use strict;
+
use common;
use modules;
use detect_devices;
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index 10d156d..37981a4 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -4,7 +4,7 @@
package network::netcenter;
-use strict;
+
use common;
use mygtk2;
use ugtk2 qw(:create :helpers :wrappers);
diff --git a/lib/network/netconnect.pm b/lib/network/netconnect.pm
index abe94c7..e258b98 100644
--- a/lib/network/netconnect.pm
+++ b/lib/network/netconnect.pm
@@ -1,6 +1,6 @@
package network::netconnect; # $Id: netconnect.pm 259351 2009-08-17 15:15:51Z tv $
-use strict;
+
use common;
use log;
use detect_devices;
diff --git a/lib/network/network.pm b/lib/network/network.pm
index 565e438..f7638a3 100644
--- a/lib/network/network.pm
+++ b/lib/network/network.pm
@@ -4,14 +4,14 @@ package network::network; # $Id: network.pm 268044 2010-04-30 13:31:34Z blino $w
#- misc imports
#-######################################################################################
-use strict;
+
use lang;
use Socket;
use common;
use run_program;
use network::tools;
-use vars qw(@ISA @EXPORT);
+
use log;
our $network_file = "/etc/sysconfig/network";
diff --git a/lib/network/nfs.pm b/lib/network/nfs.pm
index 93df7ab..42cdb30 100644
--- a/lib/network/nfs.pm
+++ b/lib/network/nfs.pm
@@ -1,6 +1,6 @@
package network::nfs;
-use strict;
+
use common;
sub read_nfs_ports {
diff --git a/lib/network/rfswitch.pm b/lib/network/rfswitch.pm
index 4617990..caf68b1 100644
--- a/lib/network/rfswitch.pm
+++ b/lib/network/rfswitch.pm
@@ -1,6 +1,6 @@
package network::rfswitch;
-use strict;
+
use MDK::Common;
use detect_devices;
diff --git a/lib/network/squid.pm b/lib/network/squid.pm
index 427bce3..bed4f87 100644
--- a/lib/network/squid.pm
+++ b/lib/network/squid.pm
@@ -1,6 +1,6 @@
package network::squid;
-use strict;
+
use common;
our $squid_conf_file = "$::prefix/etc/squid/squid.conf";
diff --git a/lib/network/test.pm b/lib/network/test.pm
index 0bd1231..ae06ac2 100644
--- a/lib/network/test.pm
+++ b/lib/network/test.pm
@@ -1,6 +1,6 @@
package network::test; # $Id: test.pm 219797 2007-05-25 15:39:46Z blino $
-use strict;
+
use common;
use run_program;
use Socket;
diff --git a/lib/network/thirdparty.pm b/lib/network/thirdparty.pm
index 8fd48ab..8c04aa5 100644
--- a/lib/network/thirdparty.pm
+++ b/lib/network/thirdparty.pm
@@ -1,6 +1,6 @@
package network::thirdparty;
-use strict;
+
use common;
use detect_devices;
use run_program;
diff --git a/lib/network/tools.pm b/lib/network/tools.pm
index de8261d..c2c4df5 100644
--- a/lib/network/tools.pm
+++ b/lib/network/tools.pm
@@ -1,6 +1,6 @@
package network::tools; # $Id: tools.pm 253976 2009-03-13 10:57:55Z eugeni $
-use strict;
+
use common;
use run_program;
use c;
diff --git a/lib/network/vpn.pm b/lib/network/vpn.pm
index 4a5afbc..08c9a45 100644
--- a/lib/network/vpn.pm
+++ b/lib/network/vpn.pm
@@ -6,7 +6,7 @@ network::vpn - VPN connection abstract class
=cut
-use strict;
+
use common;
my $vpn_d = "/etc/sysconfig/network-scripts/vpn.d";
diff --git a/lib/network/vpn/openvpn.pm b/lib/network/vpn/openvpn.pm
index 68e1b3f..1b1f9f6 100644
--- a/lib/network/vpn/openvpn.pm
+++ b/lib/network/vpn/openvpn.pm
@@ -2,7 +2,7 @@ package network::vpn::openvpn;
use base qw(network::vpn);
-use strict;
+
use common;
sub get_type { 'openvpn' }
diff --git a/lib/network/vpn/vpnc.pm b/lib/network/vpn/vpnc.pm
index c7a87c7..b0162dc 100644
--- a/lib/network/vpn/vpnc.pm
+++ b/lib/network/vpn/vpnc.pm
@@ -2,7 +2,7 @@ package network::vpn::vpnc;
use base qw(network::vpn);
-use strict;
+
use common;
sub get_type { 'vpnc' }