Date: Sat, 10 Jul 2004 19:49:53 +0900 From: Kimura Fuyuki <fuyuki@hadaly.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/68890: Update port: net/ifstat (snmp knob) Message-ID: <86iscw3zn2.wl%fuyuki@hadaly.org> Resent-Message-ID: <200407101100.i6AB0S2s024258@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 68890 >Category: ports >Synopsis: Update port: net/ifstat (snmp knob) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 10 11:00:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Kimura Fuyuki >Release: FreeBSD 5.2.1-RELEASE-p9 i386 >Organization: >Environment: FreeBSD ns.nigredo.org 5.2.1-RELEASE-p9 i386 >Description: Add a knob for net-snmp support. It is rarely required by those who is living in a simple network. >How-To-Repeat: >Fix: cvs diff: Diffing . Index: Makefile =================================================================== RCS file: /cvs/FreeBSD/ports/net/ifstat/Makefile,v retrieving revision 1.7 diff -u -r1.7 Makefile --- Makefile 1 Apr 2004 09:39:46 -0000 1.7 +++ Makefile 10 Jul 2004 10:40:20 -0000 @@ -14,12 +14,20 @@ MAINTAINER= krion@FreeBSD.org COMMENT= Network interface statistics monitoring tool -LIB_DEPENDS= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp - GNU_CONFIGURE= yes USE_OPENSSL= yes MAN1= ifstat.1 PLIST_FILES= bin/ifstat -.include <bsd.port.mk> +OPTIONS= SNMP "With Net-SNMP support" on + +.include <bsd.port.pre.mk> + +.if defined(WITH_SNMP) +LIB_DEPENDS= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp +.else +CONFIGURE_ARGS+= --without-snmp +.endif + +.include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86iscw3zn2.wl%fuyuki>