Index: sysutils/Makefile =================================================================== --- sysutils/Makefile +++ sysutils/Makefile @@ -433,6 +433,7 @@ SUBDIR += iat SUBDIR += inotify-tools SUBDIR += installwatch + SUBDIR += intel-nvmupdate SUBDIR += intel-pcm SUBDIR += iocage SUBDIR += iocage-devel Index: sysutils/intel-nvmupdate/Makefile =================================================================== --- sysutils/intel-nvmupdate/Makefile +++ sysutils/intel-nvmupdate/Makefile @@ -0,0 +1,50 @@ +# Created by: Sergey Kozlov +# $FreeBSD$ + +PORTNAME= nvmupdate +PORTVERSION= 5.02 +CATEGORIES= sysutils +MASTER_SITES= https://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ \ + http://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ +MASTER_SITE_SUBDIR= 25792/eng +PKGNAMEPREFIX= intel- +DISTNAME= XL710_NVMUpdatePackage_v${PORTVERSION:S/./_/}_FreeBSD + +MAINTAINER= freebsd@intel.com +COMMENT= NVM Update Utility for Intel(R) Ethernet Adapters + +LICENSE= IFL IPL +LICENSE_COMB= multi + +LICENSE_NAME_IFL= Intel Firmware License +LICENSE_FILE_IFL= ${WRKSRC}/Intel_firmware_license.txt +LICENSE_PERMS_IFL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +LICENSE_NAME_IPL= Intel Proprietary License +LICENSE_FILE_IPL= ${WRKSRC}/license.txt +LICENSE_PERMS_IPL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +WRKSRC= ${WRKDIR}/XL710 +WRKSRC_SUBDIR= FreeBSDx64 +NO_BUILD= yes +ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS_REASON= not supported on anything other than amd64 + +SUB_FILES= nvmupdate +SUB_LIST= NVMUPDATE_DIR=${NVMUPDATE_DIR} + +NVMUPDATE_DIR= intel-nvmupdate + +.include + +.if ${OSVERSION} < 1002000 +IGNORE= is not supported on FreeBSD 10.1 and older +.endif + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${NVMUPDATE_DIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${NVMUPDATE_DIR} "! -name 'nvmupdate64e'" + ${INSTALL_PROGRAM} ${WRKSRC}/nvmupdate64e ${STAGEDIR}${PREFIX}/${NVMUPDATE_DIR} + ${INSTALL_SCRIPT} ${WRKDIR}/nvmupdate ${STAGEDIR}${PREFIX}/sbin/ + +.include Index: sysutils/intel-nvmupdate/distinfo =================================================================== --- sysutils/intel-nvmupdate/distinfo +++ sysutils/intel-nvmupdate/distinfo @@ -0,0 +1,2 @@ +SHA256 (XL710_NVMUpdatePackage_v5_02_FreeBSD.tar.gz) = b2d4f4ed66c5879c47fb6c0937a50fcf50e7007d8e24246d1e9f4531ba1b90a8 +SIZE (XL710_NVMUpdatePackage_v5_02_FreeBSD.tar.gz) = 24168353 Index: sysutils/intel-nvmupdate/files/nvmupdate.in =================================================================== --- sysutils/intel-nvmupdate/files/nvmupdate.in +++ sysutils/intel-nvmupdate/files/nvmupdate.in @@ -0,0 +1,4 @@ +#!/bin/sh + +cd %%PREFIX%%/%%NVMUPDATE_DIR%% +./nvmupdate64e $@ Index: sysutils/intel-nvmupdate/pkg-descr =================================================================== --- sysutils/intel-nvmupdate/pkg-descr +++ sysutils/intel-nvmupdate/pkg-descr @@ -0,0 +1,5 @@ +This package contains all the required files to update the NVM on the +Intel(R) Ethernet adapters in your system. It contains the NVMUpdate utility, +configuration file, updated NVM binaries, and required driver files. + +WWW: https://downloadcenter.intel.com Index: sysutils/intel-nvmupdate/pkg-message =================================================================== --- sysutils/intel-nvmupdate/pkg-message +++ sysutils/intel-nvmupdate/pkg-message @@ -0,0 +1,27 @@ +=============================================================================== + +THIS PACKAGE INSTALLS THE NEWER VERSION OF THE SOFTWARE WHICH CAN CAUSE SYSTEM +INSTABILITY WHILE USED. USE THE UPDATED VERSION ONLY IF YOU EXPERIENCE +PROBLEMS WITH THE PRESENT NVM IMAGE VERSION + +This package should only be used on Intel branded adapters. Please contact your +OEM vendor for an appropriate package. This package only updates the NVM image. +It does not update the preboot image. To update your preboot image, please +download the appropriate package. + +DO NOT +- Power down your system during the NVM Update. +- Remove the NIC before the NVM Update completes. +- Interrupt the NVM Update in any other way. +Doing so may make your device unusable. + +For the package to function properly please make sure you have latest ixl driver +installed. If necessary - install the updated version from net/intel-ixl-kmod + +Usage: +# nvmupdate + +Getting help: +# nvmupdate -h + +============================================================================== Index: sysutils/intel-nvmupdate/pkg-plist =================================================================== --- sysutils/intel-nvmupdate/pkg-plist +++ sysutils/intel-nvmupdate/pkg-plist @@ -0,0 +1,66 @@ +intel-nvmupdate/AXX1P40FRTIOM_4p42_CFGID4p0_80001934.bin +intel-nvmupdate/AXX1P40FRTIOM_5p02_CFGID4p0.bin +intel-nvmupdate/AXX1P40FRTIOM_gpio.txt +intel-nvmupdate/AXX2P40FRTIOM_4p42_CFGID4p5_80001935.bin +intel-nvmupdate/AXX2P40FRTIOM_5p02_CFGID4p5.bin +intel-nvmupdate/AXX2P40FRTIOM_gpio.txt +intel-nvmupdate/Intel_Proprietary_License.pdf +intel-nvmupdate/Intel_firmware_license.txt +intel-nvmupdate/PF_Alloc.txt +intel-nvmupdate/PF_Alloc_1589.txt +intel-nvmupdate/PF_Alloc_LR4.txt +intel-nvmupdate/PF_Alloc_WOL_DIS.txt +intel-nvmupdate/X710DA2_4p42_CFGID7p2_OEMGEN.bin +intel-nvmupdate/X710DA2_5p02_CFGID7p2_OEMGEN.bin +intel-nvmupdate/X710DA4FH_4p42_CFGID7p2_OEMGEN.bin +intel-nvmupdate/X710DA4FH_5p02_CFGID7p2_OEMGEN.bin +intel-nvmupdate/X710DA4_4p42_CFGID7p2_OEMGEN.bin +intel-nvmupdate/X710DA4_5p02_CFGID7p2_OEMGEN.bin +intel-nvmupdate/XL710QDA1_4p42_CFGID4p0_OEMGEN.bin +intel-nvmupdate/XL710QDA1_5p02_CFGID4p0_OEMGEN.bin +intel-nvmupdate/XL710QDA1_gpio.txt +intel-nvmupdate/XL710QDA2_4p42_CFGID4p5_OEMGEN.bin +intel-nvmupdate/XL710QDA2_5p02_CFGID4p5_OEMGEN.bin +intel-nvmupdate/XL710QDA2_gpio.txt +intel-nvmupdate/XL710_4p42_KR_KR4_NCSI_CFGID2p0_Single.bin +intel-nvmupdate/XL710_4p42_KR_KR4_NCSI_CFGID2p4_Dual.bin +intel-nvmupdate/XL710_4p42_KR_KX_NCSI_CFGID3p8_Quad.bin +intel-nvmupdate/XL710_4p42_KX_KX4_NCSI_CFGID1p0_Dual.bin +intel-nvmupdate/XL710_4p42_QSFP_MCTP_CFGID4p0_Single.bin +intel-nvmupdate/XL710_4p42_QSFP_MCTP_CFGID4p5_Dual.bin +intel-nvmupdate/XL710_4p42_QSFP_NCSI_CFGID4p0_Single.bin +intel-nvmupdate/XL710_4p42_QSFP_NCSI_CFGID4p5_Dual.bin +intel-nvmupdate/XL710_4p42_SFI_MCTP_CFGID7p2_Quad.bin +intel-nvmupdate/XL710_4p42_SFI_NCSI_CFGID7p2_Quad.bin +intel-nvmupdate/XL710_5p02_KR_KR4_NCSI_CFGID2p0_Single.bin +intel-nvmupdate/XL710_5p02_KR_KR4_NCSI_CFGID2p4_Dual.bin +intel-nvmupdate/XL710_5p02_KR_KX_NCSI_CFGID3p0_Quad.bin +intel-nvmupdate/XL710_5p02_KR_KX_NCSI_CFGID3p2_Quad.bin +intel-nvmupdate/XL710_5p02_KR_KX_NCSI_CFGID3p8_Quad.bin +intel-nvmupdate/XL710_5p02_KX_KX4_NCSI_CFGID1p0_Dual.bin +intel-nvmupdate/XL710_5p02_QSFP_Breakout_MCTP_CFGID6p0_Quad.bin +intel-nvmupdate/XL710_5p02_QSFP_Breakout_MCTP_CFGID6p4_Quad.bin +intel-nvmupdate/XL710_5p02_QSFP_Breakout_NCSI_CFGID6p0_Quad.bin +intel-nvmupdate/XL710_5p02_QSFP_MCTP_CFGID4p0_Single.bin +intel-nvmupdate/XL710_5p02_QSFP_MCTP_CFGID4p5_Dual.bin +intel-nvmupdate/XL710_5p02_QSFP_NCSI_CFGID4p0_Single.bin +intel-nvmupdate/XL710_5p02_QSFP_NCSI_CFGID4p5_Dual.bin +intel-nvmupdate/XL710_5p02_SFI_MCTP_CFGID7p2_Quad.bin +intel-nvmupdate/XL710_5p02_SFI_NCSI_CFGID7p2_Quad.bin +intel-nvmupdate/XL710_5p02_XLAUI_NCSI_CFGID2p61_Dual.bin +intel-nvmupdate/XL710_X710_4p42_KR_KX_NCSI_CFGID0p5_Dual.bin +intel-nvmupdate/XL710_X710_4p42_SFI_Backplane_MCTP_CFGID7p2_Dual.bin +intel-nvmupdate/XL710_X710_4p42_SFI_MCTP_CFGID7p2_Dual.bin +intel-nvmupdate/XL710_X710_4p42_SFI_NCSI_CFGID7p2_Dual.bin +intel-nvmupdate/XL710_X710_5p02_KR_KX_NCSI_CFGID0p5_Dual.bin +intel-nvmupdate/XL710_X710_5p02_SFI_Backplane_MCTP_CFGID7p2_Dual.bin +intel-nvmupdate/XL710_X710_5p02_SFI_MCTP_CFGID7p2_Dual.bin +intel-nvmupdate/XL710_X710_5p02_SFI_NCSI_CFGID7p2_Dual.bin +intel-nvmupdate/file_license.txt +intel-nvmupdate/license.pdf +intel-nvmupdate/license.txt +intel-nvmupdate/nvmupdate.cfg +@(,,0755) intel-nvmupdate/nvmupdate64e +intel-nvmupdate/readme.txt +intel-nvmupdate/version.txt +sbin/nvmupdate