update to nagios 3.0.1

fix build of shared object
ok ian, merdely
This commit is contained in:
sturm 2008-04-18 11:08:47 +00:00
parent 97da73dbcb
commit ff999c1442
4 changed files with 28 additions and 16 deletions

View File

@ -1,12 +1,12 @@
# $OpenBSD: Makefile,v 1.27 2008/03/19 17:15:53 sturm Exp $
# $OpenBSD: Makefile,v 1.28 2008/04/18 11:08:47 sturm Exp $
COMMENT-main= host and service monitor
COMMENT-web= cgis and webpages for nagios
V= 3.0
V= 3.0.1
DISTNAME= nagios-${V}
PKGNAME-main= nagios-${V}p0
PKGNAME-web= nagios-web-${V}p0
PKGNAME-main= nagios-${V}
PKGNAME-web= nagios-web-${V}
CATEGORIES= net
HOMEPAGE= http://www.nagios.org/

View File

@ -1,5 +1,5 @@
MD5 (nagios-3.0.tar.gz) = LnuCYi0YfYijuU9IuFSWMA==
RMD160 (nagios-3.0.tar.gz) = lz/w91rzw3aJ6qCybusAUi4j6CI=
SHA1 (nagios-3.0.tar.gz) = FqHEhFrhsBITAgTIlToLLZ2zuWM=
SHA256 (nagios-3.0.tar.gz) = 7iCNZJvBPLRIeJ5Cd6saZ6K3YjNVFbg64H7i2Icv4NU=
SIZE (nagios-3.0.tar.gz) = 2759132
MD5 (nagios-3.0.1.tar.gz) = TDs1O/qUtJphaSTPP5EHNA==
RMD160 (nagios-3.0.1.tar.gz) = o1ot7scwQRNM/4tR4piEIXvUxLY=
SHA1 (nagios-3.0.1.tar.gz) = XhvUbYVocnACtY34MxXRKS/UxPA=
SHA256 (nagios-3.0.1.tar.gz) = FPqGG4w5z+/6sz96N3r0T6UoHGAYI7F0dZcZwdd9nho=
SIZE (nagios-3.0.1.tar.gz) = 2759014

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-cgi_cgiutils_c,v 1.2 2008/03/19 17:15:53 sturm Exp $
--- cgi/cgiutils.c.orig Tue Feb 26 16:58:32 2008
+++ cgi/cgiutils.c Wed Mar 19 18:05:15 2008
@@ -1354,7 +1354,7 @@ char *mmap_fgets_multiline(mmapfile *temp_mmapfile){
$OpenBSD: patch-cgi_cgiutils_c,v 1.3 2008/04/18 11:08:47 sturm Exp $
--- cgi/cgiutils.c.orig Mon Mar 31 21:09:34 2008
+++ cgi/cgiutils.c Thu Apr 17 11:09:07 2008
@@ -1285,7 +1285,7 @@ char *mmap_fgets_multiline(mmapfile *temp_mmapfile){
}
/* one backslash found, so we should continue reading the next line */

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.8 2008/03/18 20:25:11 sturm Exp $
--- configure.orig Thu Mar 13 15:16:17 2008
+++ configure Sat Mar 15 19:58:28 2008
$OpenBSD: patch-configure,v 1.9 2008/04/18 11:08:47 sturm Exp $
--- configure.orig Tue Apr 1 21:32:03 2008
+++ configure Thu Apr 17 11:11:02 2008
@@ -571,7 +571,7 @@ do
ac_prev=sysconfdir ;;
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
@ -87,3 +87,15 @@ $OpenBSD: patch-configure,v 1.8 2008/03/18 20:25:11 sturm Exp $
else
echo "$as_me:$LINENO: result: no" >&5
@@ -6782,9 +6782,9 @@ echo $ECHO_N "checking for linker flags for loadable m
MOD_LDFLAGS="-shared"
MOD_CFLAGS="-fPIC"
;;
- freebsd*)
+ freebsd* | openbsd*)
MOD_LDFLAGS="-shared"
- MOD_CFLAGS="-fPIC"
+ MOD_CFLAGS="-fPIC -DPIC"
;;
*)
# assume GNU linker and ELF