summaryrefslogtreecommitdiffstats
path: root/perl_checker_fake_packages
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-11 06:19:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-11 06:19:25 +0000
commit578a3829921089219cbd0820ef66ca717edab598 (patch)
tree1839fbc8e841e851b3cd106a005e6a0d57b2d16a /perl_checker_fake_packages
parentb40f07af73c1fdc8a9ed985c1d8d98bb43ca1556 (diff)
downloadperl-MDK-Common-578a3829921089219cbd0820ef66ca717edab598.tar
perl-MDK-Common-578a3829921089219cbd0820ef66ca717edab598.tar.gz
perl-MDK-Common-578a3829921089219cbd0820ef66ca717edab598.tar.bz2
perl-MDK-Common-578a3829921089219cbd0820ef66ca717edab598.tar.xz
perl-MDK-Common-578a3829921089219cbd0820ef66ca717edab598.zip
help perl_checker on drakx code
Diffstat (limited to 'perl_checker_fake_packages')
-rw-r--r--perl_checker_fake_packages/Net/DNS.pm7
-rw-r--r--perl_checker_fake_packages/Net/Ping.pm9
-rw-r--r--perl_checker_fake_packages/URPM/Resolve.pm17
-rw-r--r--perl_checker_fake_packages/urpm.pm9
4 files changed, 42 insertions, 0 deletions
diff --git a/perl_checker_fake_packages/Net/DNS.pm b/perl_checker_fake_packages/Net/DNS.pm
new file mode 100644
index 0000000..e300f12
--- /dev/null
+++ b/perl_checker_fake_packages/Net/DNS.pm
@@ -0,0 +1,7 @@
+package Net::DNS;
+
+package Net::DNS::Resolver;
+
+sub new {}
+sub query {}
+sub answer {}
diff --git a/perl_checker_fake_packages/Net/Ping.pm b/perl_checker_fake_packages/Net/Ping.pm
new file mode 100644
index 0000000..1a8f8a9
--- /dev/null
+++ b/perl_checker_fake_packages/Net/Ping.pm
@@ -0,0 +1,9 @@
+package Net::Ping;
+
+sub new {
+ my ($_class, @_l) = @_;
+}
+
+sub ping {
+ my ($_class, $_host, $_o_timeout) = @_;
+}
diff --git a/perl_checker_fake_packages/URPM/Resolve.pm b/perl_checker_fake_packages/URPM/Resolve.pm
new file mode 100644
index 0000000..55eadfb
--- /dev/null
+++ b/perl_checker_fake_packages/URPM/Resolve.pm
@@ -0,0 +1,17 @@
+package URPM::Resolve;
+
+our @ISA = qw();
+
+sub resolve_requested {
+ my ($_urpm, $_db, $_state, $_requested, %_options) = @_;
+}
+sub request_packages_to_upgrade {
+ my ($_urpm, $_db, $_state, $_requested, %_options) = @_;
+}
+
+sub disable_selected {
+ my ($_urpm, $_db, $_state, @_closure) = @_;
+}
+sub compute_installed_flags {
+ my ($_urpm, $_db) = @_;
+}
diff --git a/perl_checker_fake_packages/urpm.pm b/perl_checker_fake_packages/urpm.pm
new file mode 100644
index 0000000..0fc3515
--- /dev/null
+++ b/perl_checker_fake_packages/urpm.pm
@@ -0,0 +1,9 @@
+package urpm;
+
+sub new {
+ my ($_class) = @_;
+}
+
+sub read_config {
+ my ($_urpm, %_options) = @_;
+}