Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2008 05:35:22 GMT
From:      Andrey Volkov <support@nolty.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121954: [PATCH] net-mgmt/nagios-snmp-plugins: update to 1.2
Message-ID:  <200803220535.m2M5ZMxP007956@www.freebsd.org>
Resent-Message-ID: <200803220540.m2M5e2Cj075290@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         121954
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/nagios-snmp-plugins: update to 1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 22 05:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Volkov
>Release:        FreeBSD 7.0-RELEASE
>Organization:
Nolty
>Environment:
FreeBSD nns.nolty.ru 7.0-RELEASE FreeBSD 7.0-RELEASE #2: Mon Feb 25 02:15:01 YEKT 2008     volkov@nns.nolty.ru:/usr/home/volkov/kernels/kernbuild/7.0/obj/usr/home/volkov/kernels/kernbuild/7.0/src/sys/NNS  i386
>Description:
Update to Version 1.2 (Released 2008-01-27)

* fixed build error with with gcc 4.2 (FreeBSD 7.0)
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN ports/net-mgmt/nagios-snmp-plugins.orig/Makefile ports/net-mgmt/nagios-snmp-plugins/Makefile
--- ports/net-mgmt/nagios-snmp-plugins.orig/Makefile	2008-03-20 14:56:47.000000000 +0500
+++ ports/net-mgmt/nagios-snmp-plugins/Makefile	2008-03-22 10:14:01.000000000 +0500
@@ -6,15 +6,14 @@
 #
 
 PORTNAME=	nagios-snmp-plugins
-PORTVERSION=	1.0
-PORTREVISION=	6
+PORTVERSION=	1.2
 CATEGORIES=	net-mgmt
-MASTER_SITES=	ftp://ftp.hometree.net/pub/${PORTNAME}/
+MASTER_SITES=	http://www.softwareforge.de/releases/${PORTNAME}/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Additional SNMP plugins for Nagios
 
-LIB_DEPENDS=    netsnmp.10:${PORTSDIR}/net-mgmt/net-snmp
+LIB_DEPENDS=	netsnmp.10:${PORTSDIR}/net-mgmt/net-snmp
 
 GNU_CONFIGURE=		yes
 USE_AUTOTOOLS=	automake:14 autoheader:261 autoconf:261
@@ -33,14 +32,10 @@
 CONFIGURE_ENV=	LOCALBASE=${LOCALBASE}
 
 # Workaround configure.in lameness.
-CONFIGURE_ENV+= CPPFLAGS="`net-snmp-config --cflags`"
+CONFIGURE_ENV+=	CPPFLAGS="`net-snmp-config --cflags`"
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 700042
-BROKEN=		Broken with gcc 4.2
-.endif
-
 pre-configure:
 	@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOMAKE_ENV} ${ACLOCAL} \
 		--acdir=${ACLOCAL_DIR})
diff -ruN ports/net-mgmt/nagios-snmp-plugins.orig/distinfo ports/net-mgmt/nagios-snmp-plugins/distinfo
--- ports/net-mgmt/nagios-snmp-plugins.orig/distinfo	2006-02-01 06:08:07.000000000 +0500
+++ ports/net-mgmt/nagios-snmp-plugins/distinfo	2008-03-22 10:14:01.000000000 +0500
@@ -1,3 +1,3 @@
-MD5 (nagios-snmp-plugins-1.0.tar.gz) = cf70e405718d016debe206d01f54262c
-SHA256 (nagios-snmp-plugins-1.0.tar.gz) = dd0dd45d941ffe2ab3ae04de98e1fc2c2bd88d080bff333ce4458cfabb110897
-SIZE (nagios-snmp-plugins-1.0.tar.gz) = 14793
+MD5 (nagios-snmp-plugins-1.2.tar.gz) = 54f2b7ad0df22a9c9dcd8c64cb8ef955
+SHA256 (nagios-snmp-plugins-1.2.tar.gz) = 335718cf4e14a62001c4cc974a69c23d7568f954515dfb6f0357f6d6d66b510d
+SIZE (nagios-snmp-plugins-1.2.tar.gz) = 16454


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803220535.m2M5ZMxP007956>