Index: head/net/intel-em-kmod/Makefile =================================================================== --- head/net/intel-em-kmod/Makefile (revision 481559) +++ head/net/intel-em-kmod/Makefile (revision 481560) @@ -1,18 +1,20 @@ # Created by: Franco Fichtner # $FreeBSD$ PORTNAME= em -PORTVERSION= 7.6.2 +PORTVERSION= 7.7.4 MASTER_SITE_SUBDIR= 17509/eng MAINTAINER= franco@opnsense.org COMMENT= Gigabit FreeBSD Base Drivers for Intel(R) Ethernet BROKEN_armv6= fails to compile: implicit declaration of function 'cp15_pmccntr_get' is invalid in C99 BROKEN_powerpc64= fails to compile: pcpu.h: size of array '__assert_0' is negative + +MAX_NETMAP_OSVERSION= 1199999 # Doesn't build w/NETMAP on 12 MASTERDIR= ${.CURDIR}/../intel-ixl-kmod PKGDIR= ${.CURDIR} DISTINFO_FILE= ${.CURDIR}/distinfo .include "${MASTERDIR}/Makefile" Index: head/net/intel-em-kmod/distinfo =================================================================== --- head/net/intel-em-kmod/distinfo (revision 481559) +++ head/net/intel-em-kmod/distinfo (revision 481560) @@ -1,3 +1,3 @@ -TIMESTAMP = 1475184682 -SHA256 (em-7.6.2.tar.gz) = 65a7041d629c5a4ef4b79486d2a0ddaeeebc730f0ef075ff0f7e78d8490756cb -SIZE (em-7.6.2.tar.gz) = 266512 +TIMESTAMP = 1538768154 +SHA256 (em-7.7.4.tar.gz) = cebbe03ca00e8fb961a9199c8aaafe5869b3b4d93ec721f53867e61594c76514 +SIZE (em-7.7.4.tar.gz) = 266142 Index: head/net/intel-ixl-kmod/Makefile =================================================================== --- head/net/intel-ixl-kmod/Makefile (revision 481559) +++ head/net/intel-ixl-kmod/Makefile (revision 481560) @@ -1,69 +1,69 @@ # Created by: Sergey Kozlov # $FreeBSD$ PORTNAME?= ixl PORTVERSION?= 1.9.13 PORTREVISION?= 1 CATEGORIES= net MASTER_SITES= https://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ \ http://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ MASTER_SITE_SUBDIR?= 25160/eng PKGNAMEPREFIX= intel- PKGNAMESUFFIX= -kmod MAINTAINER?= freebsd@intel.com COMMENT?= 40 gigabit FreeBSD Base Driver for Intel(R) Network Connections LICENSE= BSD2CLAUSE USES= kmod # Present version of net/intel-em-kmod has issues building with netmap(4) # support on 11+. Narrowing netmap(4) support to this port only -.if ${PORTNAME} == ixl OPTIONS_SINGLE= NETMAP OPTIONS_SINGLE_NETMAP= NETMAP_AUTO NETMAP_ON NETMAP_OFF OPTIONS_DEFAULT= NETMAP_AUTO NETMAP_AUTO_DESC= Enable netmap(4) support on FreeBSD 11.0+ NETMAP_ON_DESC= Enable netmap(4) support unconditionally NETMAP_OFF_DESC= Disable netmap(4) support unconditionally NETMAP_ON_CFLAGS= -DDEV_NETMAP NETMAP_OFF_CFLAGS= -UDEV_NETMAP -.endif WRKSRC_SUBDIR= src SUB_FILES= pkg-message SUB_LIST= PORTNAME=${PORTNAME} MANPAGENAME?= ${PORTNAME} MANPAGELINKS?= if_${PORTNAME} PLIST_FILES= ${KMODDIR}/if_${PORTNAME}_updated.ko \ man/man4/${MANPAGENAME}.4.gz .for link in ${MANPAGELINKS} PLIST_FILES+= man/man4/${link}.4.gz .endfor +MAX_NETMAP_OSVERSION?= 9900000 # Maximum OSVERSION for which NETMAP support works + .include # Fixup for slave ports that use this as a master port. sbruno .if ${PORTNAME} == ixl ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= Not supported on other architectures, amd64 only. .endif -.if ${PORT_OPTIONS:MNETMAP_AUTO} && ${OSVERSION} >= 1100000 +.if ${PORT_OPTIONS:MNETMAP_AUTO} && ${OSVERSION} >= 1100000 && ${OSVERSION} <= ${MAX_NETMAP_OSVERSION} CFLAGS+= -DDEV_NETMAP .endif do-install: ${INSTALL_KLD} ${WRKSRC}/if_${PORTNAME}.ko ${STAGEDIR}${KMODDIR}/if_${PORTNAME}_updated.ko ${INSTALL_MAN} ${WRKSRC}/${MANPAGENAME}.4 ${STAGEDIR}${MAN4PREFIX}/man/man4/ .for link in ${MANPAGELINKS} ${LN} ${STAGEDIR}${MAN4PREFIX}/man/man4/${MANPAGENAME}.4 ${STAGEDIR}${MAN4PREFIX}/man/man4/${link}.4 .endfor .include