Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Dec 2016 23:43:41 +0000 (UTC)
From:      Stephen Hurd <shurd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r427535 - in head/net/bnxt-kmod: . files
Message-ID:  <201612012343.uB1Nhf4n091644@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: shurd
Date: Thu Dec  1 23:43:41 2016
New Revision: 427535
URL: https://svnweb.freebsd.org/changeset/ports/427535

Log:
  Update to latest version, change iflib version number to reflect the port.
  
  Sponsored by:	Broadcom Limited

Added:
  head/net/bnxt-kmod/files/
  head/net/bnxt-kmod/files/patch-sys_dev_bnxt_if__bnxt.c   (contents, props changed)
Modified:
  head/net/bnxt-kmod/Makefile
  head/net/bnxt-kmod/distinfo   (contents, props changed)

Modified: head/net/bnxt-kmod/Makefile
==============================================================================
--- head/net/bnxt-kmod/Makefile	Thu Dec  1 23:42:08 2016	(r427534)
+++ head/net/bnxt-kmod/Makefile	Thu Dec  1 23:43:41 2016	(r427535)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	bnxt-kmod
-PORTVERSION=	308813
+PORTVERSION=	309078
 CATEGORIES=	net
 MASTER_SITES=	LOCAL/shurd
 
@@ -32,6 +32,9 @@ create-tarball:
 	tar czf ${DISTNAME}${EXTRACT_SUFX} -C ${WRKDIR} --exclude=.svn ${DISTNAME}
 	scp ${DISTNAME}${EXTRACT_SUFX} freefall:public_distfiles/
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/sys/dev/bnxt/if_bnxt.c
+
 do-install:
 	${INSTALL_KLD} ${WRKSRC}/sys/modules/bnxt/if_bnxt.ko ${STAGEDIR}${KMODDIR}/if_bnxt.ko
 	${INSTALL_MAN} ${WRKSRC}/share/man/man4/bnxt.4 ${STAGEDIR}${MAN4PREFIX}/man/man4/

Modified: head/net/bnxt-kmod/distinfo
==============================================================================
--- head/net/bnxt-kmod/distinfo	Thu Dec  1 23:42:08 2016	(r427534)
+++ head/net/bnxt-kmod/distinfo	Thu Dec  1 23:43:41 2016	(r427535)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1479550854
-SHA256 (bnxt-kmod-308813.tar.gz) = f840cb4ed2290f18aac7d61fb1ae6c3ab0b7a9a1712b6b08edef0f6114b463cc
-SIZE (bnxt-kmod-308813.tar.gz) = 113745
+TIMESTAMP = 1479977318
+SHA256 (bnxt-kmod-309078.tar.gz) = 723fb856a72d3b1ddfed9fe9425b0bc898dc2a4d0dec89e42a225af31af2482c
+SIZE (bnxt-kmod-309078.tar.gz) = 113930

Added: head/net/bnxt-kmod/files/patch-sys_dev_bnxt_if__bnxt.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/bnxt-kmod/files/patch-sys_dev_bnxt_if__bnxt.c	Thu Dec  1 23:43:41 2016	(r427535)
@@ -0,0 +1,11 @@
+--- sys/dev/bnxt/if_bnxt.c.orig	2016-11-24 08:48:18 UTC
++++ sys/dev/bnxt/if_bnxt.c
+@@ -273,7 +273,7 @@ static driver_t bnxt_iflib_driver = {
+  * iflib shared context
+  */
+ 
+-char bnxt_driver_version[] = "FreeBSD base";
++char bnxt_driver_version[] = "FreeBSD port %%PORTVERSION%%";
+ extern struct if_txrx bnxt_txrx;
+ static struct if_shared_ctx bnxt_sctx_init = {
+ 	.isc_magic = IFLIB_MAGIC,



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