r30033 - in /trunk/libnagios-object-perl/debian/patches: add-useful-whatis-entry-for-manpages mention-version-3-in-man-pages use-correct-path-to-status.dat work-with-nagios-3

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Sat Jan 24 03:28:05 UTC 2009


Author: ryan52-guest
Date: Sat Jan 24 03:28:01 2009
New Revision: 30033

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=30033
Log:
refresh patches

Modified:
    trunk/libnagios-object-perl/debian/patches/add-useful-whatis-entry-for-manpages
    trunk/libnagios-object-perl/debian/patches/mention-version-3-in-man-pages
    trunk/libnagios-object-perl/debian/patches/use-correct-path-to-status.dat
    trunk/libnagios-object-perl/debian/patches/work-with-nagios-3

Modified: trunk/libnagios-object-perl/debian/patches/add-useful-whatis-entry-for-manpages
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnagios-object-perl/debian/patches/add-useful-whatis-entry-for-manpages?rev=30033&op=diff
==============================================================================
--- trunk/libnagios-object-perl/debian/patches/add-useful-whatis-entry-for-manpages (original)
+++ trunk/libnagios-object-perl/debian/patches/add-useful-whatis-entry-for-manpages Sat Jan 24 03:28:01 2009
@@ -1,6 +1,6 @@
 --- a/lib/Nagios/Config.pm
 +++ b/lib/Nagios/Config.pm
-@@ -31,7 +31,7 @@
+@@ -35,7 +35,7 @@
  
  =head1 NAME
  
@@ -11,7 +11,7 @@
  
 --- a/lib/Nagios/Object.pm
 +++ b/lib/Nagios/Object.pm
-@@ -303,7 +303,7 @@
+@@ -323,7 +323,7 @@
  
  =head1 NAME
  
@@ -22,7 +22,7 @@
  
 --- a/lib/Nagios/Object/Config.pm
 +++ b/lib/Nagios/Object/Config.pm
-@@ -28,7 +28,7 @@
+@@ -33,7 +33,7 @@
  
  =head1 NAME
  
@@ -33,7 +33,7 @@
  
 --- a/lib/Nagios/StatusLog.pm
 +++ b/lib/Nagios/StatusLog.pm
-@@ -86,7 +86,7 @@
+@@ -90,7 +90,7 @@
  
  =head1 NAME
  

Modified: trunk/libnagios-object-perl/debian/patches/mention-version-3-in-man-pages
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnagios-object-perl/debian/patches/mention-version-3-in-man-pages?rev=30033&op=diff
==============================================================================
--- trunk/libnagios-object-perl/debian/patches/mention-version-3-in-man-pages (original)
+++ trunk/libnagios-object-perl/debian/patches/mention-version-3-in-man-pages Sat Jan 24 03:28:01 2009
@@ -1,6 +1,6 @@
 --- a/lib/Nagios/Config.pm
 +++ b/lib/Nagios/Config.pm
-@@ -60,6 +60,7 @@
+@@ -64,6 +64,7 @@
   my $cf = Nagios::Config->new( Filename => $configfile );
   my $cf = Nagios::Config->new( Filename => $configfile, Version => 1 );
   my $cf = Nagios::Config->new( Filename => $configfile, Version => 2 );
@@ -10,7 +10,7 @@
  
 --- a/lib/Nagios/Object/Config.pm
 +++ b/lib/Nagios/Object/Config.pm
-@@ -43,6 +43,7 @@
+@@ -48,6 +48,7 @@
  Create a new configuration object.  If Version is not specified, the already weak
  validation will be weakened further to allow mixing of Nagios 1.0 and 2.0 configurations.
  For now, the minor numbers of Version are ignored.  Do not specify any letters as in '2.0a1'.

Modified: trunk/libnagios-object-perl/debian/patches/use-correct-path-to-status.dat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnagios-object-perl/debian/patches/use-correct-path-to-status.dat?rev=30033&op=diff
==============================================================================
--- trunk/libnagios-object-perl/debian/patches/use-correct-path-to-status.dat (original)
+++ trunk/libnagios-object-perl/debian/patches/use-correct-path-to-status.dat Sat Jan 24 03:28:01 2009
@@ -1,6 +1,6 @@
 --- a/lib/Nagios/StatusLog.pm
 +++ b/lib/Nagios/StatusLog.pm
-@@ -96,7 +96,7 @@
+@@ -100,7 +100,7 @@
  Version => 3.0 parameter to new() for Nagios version 3.x logs.
  
   my $log = Nagios::StatusLog->new(
@@ -9,7 +9,7 @@
                  Version  => 1.0
             );
   $localhost = $log->host( "localhost" );
-@@ -106,13 +106,13 @@
+@@ -110,13 +110,13 @@
  
   # for Nagios v2.0
   my $log = Nagios::StatusLog->new(

Modified: trunk/libnagios-object-perl/debian/patches/work-with-nagios-3
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnagios-object-perl/debian/patches/work-with-nagios-3?rev=30033&op=diff
==============================================================================
--- trunk/libnagios-object-perl/debian/patches/work-with-nagios-3 (original)
+++ trunk/libnagios-object-perl/debian/patches/work-with-nagios-3 Sat Jan 24 03:28:01 2009
@@ -1,6 +1,6 @@
 --- a/lib/Nagios/StatusLog.pm
 +++ b/lib/Nagios/StatusLog.pm
-@@ -30,18 +30,36 @@
+@@ -34,18 +34,36 @@
          Service => [qw(
              host_name description status current_attempt state_type last_check next_check check_type checks_enabled accept_passive_service_checks event_handler_enabled last_state_change problem_has_been_acknowledged last_hard_state time_ok time_unknown time_warning time_critical last_notification current_notification_number notifications_enabled latency execution_time flap_detection_enabled is_flapping percent_state_change scheduled_downtime_depth failure_prediction_enabled process_performance_data obsess_over_service plugin_output
              service_description modified_attributes check_command event_handler has_been_checked should_be_scheduled check_execution_time check_latency current_state max_attempts last_hard_state_change last_time_ok last_time_warning last_time_unknown last_time_critical performance_data next_notification no_more_notifications active_checks_enabled passive_checks_enabled acknowledgement_type last_update 
@@ -38,7 +38,7 @@
      );
  
      GENESIS: {
-@@ -74,7 +92,8 @@
+@@ -78,7 +96,8 @@
  
  Reads the Nagios status log and returns ::Status objects that can
  be used to get status information about a host.   For Nagios version 2.x logs,
@@ -48,7 +48,7 @@
  
   my $log = Nagios::StatusLog->new(
                  Filename => "/var/opt/nagios/status.log",
-@@ -91,6 +110,12 @@
+@@ -95,6 +114,12 @@
                  Version  => 2.0
             );
  
@@ -61,7 +61,7 @@
  =head1 METHODS
  
  =over 4
-@@ -125,12 +150,17 @@
+@@ -129,12 +154,17 @@
      }
  
      my $self = bless( {
@@ -85,7 +85,7 @@
      }, $type );
  
      $self->update();
-@@ -146,7 +176,9 @@
+@@ -150,7 +180,9 @@
  
  sub update {
      my $self = shift;
@@ -96,7 +96,7 @@
          return $self->update_v2( @_ );
      }
      return $self->update_v1( @_ );
-@@ -300,6 +332,97 @@
+@@ -304,6 +336,97 @@
      1;
  }
  




More information about the Pkg-perl-cvs-commits mailing list