View | Details | Raw Unified | Return to bug 98413
Collapse All | Expand All

(-)ports/net-mgmt/nagios/Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	nagios
8
PORTNAME=	nagios
9
PORTVERSION=	2.3.1
9
PORTVERSION=	2.4
10
CATEGORIES=	net-mgmt
10
CATEGORIES=	net-mgmt
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	nagios
12
MASTER_SITE_SUBDIR=	nagios
(-)ports/net-mgmt/nagios/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (nagios-2.3.1.tar.gz) = 22029e5b71b50036c41a44f63e58150d
1
MD5 (nagios-2.4.tar.gz) = bb8f0106dc7f282c239f54db1f308445
2
SHA256 (nagios-2.3.1.tar.gz) = 40cd86756eb859cfd00c47c8a6670aac74c841393c49fc24bd5ed43099e3cdcc
2
SHA256 (nagios-2.4.tar.gz) = e62346de93df5f4387377faac9ad1fd2fbfd5628f0482646144dc2b8d266fcd8
3
SIZE (nagios-2.3.1.tar.gz) = 1734958
3
SIZE (nagios-2.4.tar.gz) = 1735573
(-)ports/net-mgmt/nagios/files/patch-base-Makefile.in (-9 / +8 lines)
Lines 1-16 Link Here
1
--- base/Makefile.in.orig	Thu Dec  9 07:48:33 2004
1
--- base/Makefile.in.orig	Wed May 31 02:01:44 2006
2
+++ base/Makefile.in	Sat Feb 12 13:59:24 2005
2
+++ base/Makefile.in	Sat Jun  3 11:09:48 2006
3
@@ -181,10 +181,10 @@
3
@@ -188,9 +188,9 @@
4
 devclean: distclean
4
 	 $(MAKE) install-basic
5
 
5
 
6
 install:
6
 install-basic:
7
-	$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
7
-	$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
8
-	$(INSTALL) -m 774 $(INSTALL_OPTS) @nagios_name@ $(DESTDIR)$(BINDIR)
8
-	$(INSTALL) -m 774 $(INSTALL_OPTS) @nagios_name@ $(DESTDIR)$(BINDIR)
9
-	$(INSTALL) -m 774 $(INSTALL_OPTS) @nagiostats_name@ $(DESTDIR)$(BINDIR)
9
+	$(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
10
+	$(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
10
+	$(INSTALL) -m 755 $(INSTALL_OPTS) @nagios_name@ $(DESTDIR)$(BINDIR)
11
+	$(INSTALL) -m 755 $(INSTALL_OPTS) @nagios_name@ $(DESTDIR)$(BINDIR)
11
 	$(STRIP) $(DESTDIR)$(BINDIR)/@nagios_name@
12
-	$(INSTALL) -m 774 $(INSTALL_OPTS) @nagiostats_name@ $(DESTDIR)$(BINDIR)
13
+	$(INSTALL) -m 755 $(INSTALL_OPTS) @nagiostats_name@ $(DESTDIR)$(BINDIR)
12
+	$(INSTALL) -m 755 $(INSTALL_OPTS) @nagiostats_name@ $(DESTDIR)$(BINDIR)
14
 	$(STRIP) $(DESTDIR)$(BINDIR)/@nagiostats_name@
15
 
16
 
13
 
14
 strip-post-install:
15
 	$(STRIP) $(DESTDIR)$(BINDIR)/@nagios_name@
(-)ports/net-mgmt/nagios/files/patch-cgi-Makefile.in (-6 / +6 lines)
Lines 1-14 Link Here
1
--- cgi/Makefile.in.orig	Mon Oct 25 07:05:54 2004
1
--- cgi/Makefile.in.orig	Wed May 31 02:01:44 2006
2
+++ cgi/Makefile.in	Sat Feb 12 13:56:57 2005
2
+++ cgi/Makefile.in	Sat Jun  3 11:14:04 2006
3
@@ -191,9 +191,9 @@
3
@@ -198,9 +198,9 @@
4
 devclean: distclean
4
 	 $(MAKE) install-basic
5
 
5
 
6
 install:
6
 install-basic:
7
-	$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
7
-	$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
8
+	$(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
8
+	$(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
9
 	for file in *.cgi; do \
9
 	for file in *.cgi; do \
10
-		$(INSTALL) -m 775 $(INSTALL_OPTS) $$file $(DESTDIR)$(CGIDIR); \
10
-		$(INSTALL) -m 775 $(INSTALL_OPTS) $$file $(DESTDIR)$(CGIDIR); \
11
+		$(INSTALL) -m 755 $(INSTALL_OPTS) $$file $(DESTDIR)$(CGIDIR); \
11
+		$(INSTALL) -m 755 $(INSTALL_OPTS) $$file $(DESTDIR)$(CGIDIR); \
12
 		$(STRIP) $(DESTDIR)$(CGIDIR)/$$file; \
13
 	done
12
 	done
14
 
13
 
14
 strip-post-install:
(-)ports/net-mgmt/nagios/files/patch-cgi-getcgi.c (-10 lines)
Lines 1-10 Link Here
1
--- cgi/getcgi.c.orig	Thu Apr 13 04:47:23 2006
2
+++ cgi/getcgi.c	Sun May 21 01:14:04 2006
3
@@ -10,6 +10,7 @@
4
 #include "../include/getcgi.h"
5
 #include <stdio.h>
6
 #include <stdlib.h>
7
+#include <limits.h>
8
 
9
 
10
 #undef PARANOID_CGI_INPUT
(-)ports/net-mgmt/nagios/files/patch-include-config.h.in (-26 lines)
Lines 1-26 Link Here
1
--- include/config.h.in.orig	Mon Aug 29 17:34:30 2005
2
+++ include/config.h.in	Mon Aug 29 17:41:03 2005
3
@@ -108,11 +108,6 @@
4
 #include <stdio.h>
5
 #include <stdlib.h>
6
 
7
-#undef HAVE_SYS_RESOURCE_H
8
-#ifdef HAVE_SYS_RESOURCE_H
9
-#include <sys/resource.h>
10
-#endif
11
-
12
 #undef HAVE_PWD_H
13
 #ifdef HAVE_PWD_H
14
 #include <pwd.h>
15
@@ -190,6 +185,11 @@
16
 #else
17
 #include <time.h>
18
 #endif
19
+#endif
20
+
21
+#undef HAVE_SYS_RESOURCE_H
22
+#ifdef HAVE_SYS_RESOURCE_H
23
+#include <sys/resource.h>
24
 #endif
25
 
26
 #undef HAVE_SYS_TIMEB_H

Return to bug 98413