summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2003-08-02 15:02:05 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2003-08-02 15:02:05 +0000
commit5124709f8c7dd920cbdf53d30aadb7d33580a0ce (patch)
treeee7b8b4f34ca6ee16e617660091e12be84d3cd95 /net
parent- Upgrade to latest release 030801 (diff)
(1) Fix HTML generation of tac.cgi.
(2) Fix to detect gd1 library. Submitted by: Bradley Dean <bjdean@unimelb.edu.au> (1), kuriyama (2) Approved by: maintainer
Diffstat (limited to 'net')
-rw-r--r--net/nagios/Makefile2
-rw-r--r--net/nagios/files/patch-ad37
-rw-r--r--net/nagios/files/patch-aj13
3 files changed, 46 insertions, 6 deletions
diff --git a/net/nagios/Makefile b/net/nagios/Makefile
index 641691e52f08..3df6e0f4dc54 100644
--- a/net/nagios/Makefile
+++ b/net/nagios/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nagios
PORTVERSION= 1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=nagios
diff --git a/net/nagios/files/patch-ad b/net/nagios/files/patch-ad
index 57212a7fed88..10c3db33738b 100644
--- a/net/nagios/files/patch-ad
+++ b/net/nagios/files/patch-ad
@@ -1,5 +1,5 @@
---- configure.orig Thu Mar 1 04:54:12 2001
-+++ configure Thu Mar 1 21:58:09 2001
+--- configure.orig Tue Jun 3 12:47:57 2003
++++ configure Thu Jul 31 16:35:45 2003
@@ -11,7 +11,7 @@
ac_help=
ac_default_prefix=/usr/local
@@ -9,7 +9,7 @@
ac_help="$ac_help
--with-nagios-user=<user> sets user name to run nagios"
ac_help="$ac_help
-@@ -562,9 +562,9 @@
+@@ -576,9 +576,9 @@
# Prefer explicitly selected file to automatically selected ones.
if test -z "$CONFIG_SITE"; then
if test "x$prefix" != xNONE; then
@@ -21,7 +21,7 @@
fi
fi
for ac_site_file in $CONFIG_SITE; do
-@@ -1298,6 +1298,9 @@
+@@ -2608,6 +2608,9 @@
LDFLAGS="${LDFLAGS} -L${withval}"
LD_RUN_PATH="${withval}${LD_RUN_PATH:+:}${LD_RUN_PATH}"
@@ -31,7 +31,7 @@
fi
# Check whether --with-gd-inc or --without-gd-inc was given.
-@@ -1305,6 +1308,8 @@
+@@ -2615,6 +2618,8 @@
withval="$with_gd_inc"
CFLAGS="${CFLAGS} -I${withval}"
@@ -40,3 +40,30 @@
fi
+@@ -2748,14 +2753,14 @@
+ fi
+
+ if test x$GDLIBFOUND = x; then
+- echo $ac_n "checking for gdImagePng in -lgd (order 3)""... $ac_c" 1>&6
+-echo "configure:2753: checking for gdImagePng in -lgd (order 3)" >&5
++ echo $ac_n "checking for gdImagePng in -lgd1 (order 3)""... $ac_c" 1>&6
++echo "configure:2753: checking for gdImagePng in -lgd1 (order 3)" >&5
+ ac_lib_var=`echo gd'_'gdImagePng'_'3 | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+- LIBS="-lgd -lpng -lz -lm $LIBS"
++ LIBS="-lgd1 -lz -lm -lpng -ljpeg $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 2761 "configure"
+ #include "confdefs.h"
+@@ -2785,7 +2790,7 @@
+ echo "$ac_t""yes" 1>&6
+
+ GDLIBFOUND=yep
+- GDLIBS="-lgd -lpng -lz -lm"
++ GDLIBS="-lgd1 -lz -lm -lpng"
+
+ else
+ echo "$ac_t""no" 1>&6
diff --git a/net/nagios/files/patch-aj b/net/nagios/files/patch-aj
new file mode 100644
index 000000000000..b1677d7b7ccb
--- /dev/null
+++ b/net/nagios/files/patch-aj
@@ -0,0 +1,13 @@
+--- cgi/tac.c.orig Mon May 12 06:18:56 2003
++++ cgi/tac.c Sat Aug 2 16:24:23 2003
+@@ -1220,10 +1220,8 @@
+ printf("</table>\n");
+ printf("</td>\n");
+
+- /*
+ printf("</tr>\n");
+ printf("</table>\n");
+- */
+
+ printf("</td>\n");
+