Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2021 13:55:18 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567846 - head/net-mgmt/net-snmp
Message-ID:  <202103081355.128DtIN3033997@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Mon Mar  8 13:55:17 2021
New Revision: 567846
URL: https://svnweb.freebsd.org/changeset/ports/567846

Log:
  - Move SCTP support to an OPTION, off by default, to reflect 13.x changes
  - Bump PORTREVISION
  
  PR:		254056

Modified:
  head/net-mgmt/net-snmp/Makefile

Modified: head/net-mgmt/net-snmp/Makefile
==============================================================================
--- head/net-mgmt/net-snmp/Makefile	Mon Mar  8 13:40:09 2021	(r567845)
+++ head/net-mgmt/net-snmp/Makefile	Mon Mar  8 13:55:17 2021	(r567846)
@@ -3,7 +3,7 @@
 
 PORTNAME=	snmp
 PORTVERSION=	5.9
-PORTREVISION=   2
+PORTREVISION=   3
 PORTEPOCH=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION} \
@@ -22,7 +22,7 @@ NOT_FOR_ARCHS_REASON=	SSP is currently broken on MIPS
 
 OPTIONS_DEFINE=	IPV6 MFD_REWRITES PERL PERL_EMBEDDED PYTHON DUMMY TKMIB \
 		MYSQL AX_SOCKONLY UNPRIVILEGED SMUX DOCS JAIL AX_DISABLE_TRAP \
-		TLS NEWSYSLOG NOLIBPKG
+		TLS NEWSYSLOG NOLIBPKG SCTP
 OPTIONS_DEFAULT=PERL PERL_EMBEDDED DUMMY SMUX NEWSYSLOG
 OPTIONS_SUB=	yes
 
@@ -37,6 +37,7 @@ SMUX_DESC=		Build with SNMP multiplexing (SMUX) suppor
 JAIL_DESC=		Options for running snmpd within a jail(8)
 NEWSYSLOG_DESC=		Automatically rotate snmpd.log via newsyslog
 NOLIBPKG_DESC=		Build without libpkg
+SCTP_DESC=		Build with SCTP MIB support
 
 MAKE_JOBS_UNSAFE=	yes
 
@@ -156,10 +157,14 @@ NET_SNMP_SYS_CONTACT?=	nobody@nowhere.invalid
 NET_SNMP_SYS_LOCATION?=	somewhere
 NET_SNMP_LOGFILE?=	/var/log/snmpd.log
 NET_SNMP_PERSISTENTDIR?=/var/net-snmp
-NET_SNMP_WITH_MIB_MODULE_LIST+=	host disman/event-mib mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio sctp-mib
+NET_SNMP_WITH_MIB_MODULE_LIST+=	host disman/event-mib mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio
 
 .if ${OPSYS} == FreeBSD
 NET_SNMP_WITHOUT_MIB_MODULE_LIST+=	mibII/ipv6
+.endif
+
+.if ${PORT_OPTIONS:MSCTP}
+NET_SNMP_WITH_MIB_MODULE_LIST+=	sctp-mib
 .endif
 
 .if ${PORT_OPTIONS:MMFD_REWRITES}



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