Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2013 20:15:55 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334348 - in head/net-mgmt/net-snmp: . files
Message-ID:  <201311192015.rAJKFt0r057232@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Tue Nov 19 20:15:54 2013
New Revision: 334348
URL: http://svnweb.freebsd.org/changeset/ports/334348

Log:
  Add support for FreeBSD 11.
  
  PR:		ports/183594
  Approved by:	maintainer timeout (17 days)

Added:
  head/net-mgmt/net-snmp/files/patch-agent-mibgroup-mibII-ipv6.c   (contents, props changed)
  head/net-mgmt/net-snmp/files/patch-include-net-snmp-system-freebsd   (contents, props changed)
Modified:
  head/net-mgmt/net-snmp/Makefile

Modified: head/net-mgmt/net-snmp/Makefile
==============================================================================
--- head/net-mgmt/net-snmp/Makefile	Tue Nov 19 20:00:54 2013	(r334347)
+++ head/net-mgmt/net-snmp/Makefile	Tue Nov 19 20:15:54 2013	(r334348)
@@ -150,7 +150,7 @@ 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
 
-.if ${OSVERSION} >= 700028 && ${OSVERSION} < 1100000
+.if ${OSVERSION} >= 700028
 NET_SNMP_WITH_MIB_MODULE_LIST+=	sctp-mib
 .endif
 

Added: head/net-mgmt/net-snmp/files/patch-agent-mibgroup-mibII-ipv6.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/net-snmp/files/patch-agent-mibgroup-mibII-ipv6.c	Tue Nov 19 20:15:54 2013	(r334348)
@@ -0,0 +1,10 @@
+--- agent/mibgroup/mibII/ipv6.c.orig	2012-10-10 00:28:58.000000000 +0200
++++ agent/mibgroup/mibII/ipv6.c	2013-11-19 21:01:33.000000000 +0100
+@@ -55,6 +55,7 @@
+ #endif
+ #include <net/if.h>
+ #if HAVE_NET_IF_VAR_H
++#define _WANT_IFADDR
+ #include <net/if_var.h>
+ #endif
+ #if HAVE_NET_IF_DL_H

Added: head/net-mgmt/net-snmp/files/patch-include-net-snmp-system-freebsd
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/net-snmp/files/patch-include-net-snmp-system-freebsd	Tue Nov 19 20:15:54 2013	(r334348)
@@ -0,0 +1,21 @@
+--- include/net-snmp/system/freebsd9.h.orig
++++ include/net-snmp/system/freebsd9.h
+@@ -1,3 +1,3 @@
+ /* freebsd9 is a superset of freebsd8 */
+ #include "freebsd8.h"
+-#define freebsd9 freebsd9
++#define freebsd8 freebsd8
+--- include/net-snmp/system/freebsd10.h.orig
++++ include/net-snmp/system/freebsd10.h
+@@ -1,3 +1,3 @@
+-/* freebsd9 is a superset of freebsd10 */
++/* freebsd10 is a superset of freebsd9 */
+ #include "freebsd9.h"
+-#define freebsd10 freebsd10
++#define freebsd9 freebsd9
+--- include/net-snmp/system/freebsd11.h.orig
++++ include/net-snmp/system/freebsd11.h
+@@ -0,0 +1,3 @@
++/* freebsd11 is a superset of freebsd10 */
++#include "freebsd10.h"
++#define freebsd10 freebsd10



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