diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2014-04-18 08:54:01 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2014-04-18 08:54:01 +0000 |
commit | 1b6a0aa634e79217a6e0d0c8313a003ce9fe28e0 (patch) | |
tree | 64d7bc0674078c676580bacb0e24e912d90ec39d /net-mgmt/nagios | |
parent | df5da138a6221ef17d78d3edc8fd2bd0665e8eee (diff) | |
download | ports-1b6a0aa634e79217a6e0d0c8313a003ce9fe28e0.tar.gz ports-1b6a0aa634e79217a6e0d0c8313a003ce9fe28e0.zip |
Notes
Diffstat (limited to 'net-mgmt/nagios')
-rw-r--r-- | net-mgmt/nagios/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/nagios/files/patch-0007-fix_downtime_struct | 32 |
2 files changed, 33 insertions, 1 deletions
diff --git a/net-mgmt/nagios/Makefile b/net-mgmt/nagios/Makefile index 2e51fa2492b4..47b658efd31a 100644 --- a/net-mgmt/nagios/Makefile +++ b/net-mgmt/nagios/Makefile @@ -3,7 +3,7 @@ PORTNAME= nagios PORTVERSION= 3.5.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3.x/${PORTNAME}-${PORTVERSION} diff --git a/net-mgmt/nagios/files/patch-0007-fix_downtime_struct b/net-mgmt/nagios/files/patch-0007-fix_downtime_struct new file mode 100644 index 000000000000..819f80d21239 --- /dev/null +++ b/net-mgmt/nagios/files/patch-0007-fix_downtime_struct @@ -0,0 +1,32 @@ +--- ./include/downtime.h.orig 2013-08-30 19:46:14.000000000 +0200 ++++ ./include/downtime.h 2014-04-18 10:49:26.000000000 +0200 +@@ -39,24 +39,26 @@ + char *service_description; + time_t entry_time; + time_t start_time; +- time_t flex_downtime_start; /* Time the flexible downtime started */ + time_t end_time; + int fixed; + unsigned long triggered_by; + unsigned long duration; + unsigned long downtime_id; +- int is_in_effect; +- int start_notification_sent; + char *author; + char *comment; + #ifdef NSCORE + unsigned long comment_id; ++#endif ++ int is_in_effect; ++#ifdef NSCORE + int start_flex_downtime; + int incremented_pending_downtime; + // int start_event; + // int stop_event; + #endif + struct scheduled_downtime_struct *next; ++ time_t flex_downtime_start; /* Time the flexible downtime started */ ++ int start_notification_sent; + } scheduled_downtime; + + |