Opened 11 years ago

Closed 6 years ago

#43008 closed update (fixed)

[update] nagios 3.5.0 -> 3.5.1/4.0.4

Reported by: jul_bsd@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: Schamschula (Marius Schamschula), chrstphrchvz (Christopher Chavez)
Port: nagios

Description

  • split subport nagios & nagios3
  • examples files & config for apache/nagios, will add them later after a bit more usage/review

Attachments (6)

patch-nagios-Portfile.diff (3.2 KB) - added by jul_bsd@… 11 years ago.
patch-nagios-Portfile.2.diff (11.1 KB) - added by jul_bsd@… 11 years ago.
nagios-universal-main.log (130.5 KB) - added by jul_bsd@… 10 years ago.
patch-nagios-Portfile2.diff (12.4 KB) - added by jul_bsd@… 10 years ago.
patch-lib-runcmd.c.diff (554 bytes) - added by jul_bsd@… 10 years ago.
patch-nagios-Portfile3.diff (12.6 KB) - added by jul_bsd@… 10 years ago.

Download all attachments as: .zip

Change History (20)

Changed 11 years ago by jul_bsd@…

Attachment: patch-nagios-Portfile.diff added

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Cc: markd@… removed
Owner: changed from macports-tickets@… to markd@…

comment:2 Changed 11 years ago by jul_bsd@…

  • port lint --nitpick
  • livecheck
  • /tab/spacex4/

Changed 11 years ago by jul_bsd@…

comment:3 Changed 11 years ago by jul_bsd@…

bump to 4.0.6

comment:4 Changed 10 years ago by jul_bsd@…

  • add notes how to monitor nagios itself
  • I had a but with empty plugins output (http://tracker.nagios.org/view.php?id=604) but it seems solved w nagios 4.0.6/nagios-plugins 2.0.1
  • work in progress variant nagvis for add-on
  • mode line
  • universal review but lot of
    Undefined symbols for architecture x86_64:
    

(log joined)

Changed 10 years ago by jul_bsd@…

Attachment: nagios-universal-main.log added

comment:5 Changed 10 years ago by jul_bsd@…

  • bump to 4.0.7
  • same status for universal

Changed 10 years ago by jul_bsd@…

Attachment: patch-nagios-Portfile2.diff added

comment:6 Changed 10 years ago by jul_bsd@…

  • bump to 4. 0.8 as patch3
  • fail to build
/usr/bin/clang -Wall -pipe -Os -Os -arch x86_64 -arch x86_64 -I/opt/local/include -DHAVE_CONFIG_H -c nsutils.c -o nsutils.o
runcmd.c:590:50: error: expression is not assignable
        if (asprintf(&env_string, "%s=%s", name, value) = -1) return -1;
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
runcmd.c:592:9: warning: equality comparison result unused [-Wunused-comparison]
                errno == ENOMEM;
                ~~~~~~^~~~~~~~~
runcmd.c:592:9: note: use '=' to turn this equality comparison into an assignment
                errno == ENOMEM;
                      ^~
                      =
1 warning and 1 error generated.
make[2]: *** [runcmd.o] Error 1

comment:7 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from markd@… to macports-tickets@…

markd has retired. See #44782.

comment:8 Changed 10 years ago by jul_bsd@…

4.0.8 with patch to solve build problem

Changed 10 years ago by jul_bsd@…

Attachment: patch-lib-runcmd.c.diff added

Changed 10 years ago by jul_bsd@…

Attachment: patch-nagios-Portfile3.diff added

comment:9 Changed 10 years ago by jul_bsd@…

any feedback?

comment:10 Changed 10 years ago by mf2k (Frank Schima)

It's hard to tell what changes you made because you adjusted the whitespace of every line. Can you supply a patch with just your changes? Whitespace can come with a 2nd patch.

comment:11 Changed 10 years ago by Schamschula (Marius Schamschula)

Cc: mschamschula@… added

Cc Me!

comment:12 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

nagios has already been updated to 4.4.3. A nagios3 port was never made, and I don't think creating one is desirable. Are there relevant any changes remaining, or can this be closed?

comment:13 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:14 Changed 6 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.