From owner-svn-ports-all@freebsd.org Fri Feb 15 21:31:36 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE76214EA1B4; Fri, 15 Feb 2019 21:31:35 +0000 (UTC) (envelope-from wulf@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 95F6E865EC; Fri, 15 Feb 2019 21:31:35 +0000 (UTC) (envelope-from wulf@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8A6A1246E2; Fri, 15 Feb 2019 21:31:35 +0000 (UTC) (envelope-from wulf@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x1FLVZMj073016; Fri, 15 Feb 2019 21:31:35 GMT (envelope-from wulf@FreeBSD.org) Received: (from wulf@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x1FLVYZ8073010; Fri, 15 Feb 2019 21:31:34 GMT (envelope-from wulf@FreeBSD.org) Message-Id: <201902152131.x1FLVYZ8073010@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wulf set sender to wulf@FreeBSD.org using -f From: Vladimir Kondratyev Date: Fri, 15 Feb 2019 21:31:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r493009 - in head/comms: . ath3k-firmware ath3k-firmware/files X-SVN-Group: ports-head X-SVN-Commit-Author: wulf X-SVN-Commit-Paths: in head/comms: . ath3k-firmware ath3k-firmware/files X-SVN-Commit-Revision: 493009 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 95F6E865EC X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.95)[-0.955,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2019 21:31:36 -0000 Author: wulf (src committer) Date: Fri Feb 15 21:31:33 2019 New Revision: 493009 URL: https://svnweb.freebsd.org/changeset/ports/493009 Log: New port: comms/ath3k-firmware Firmware for the Atheros AR3011/AR3012 chip based Bluetooth USB devices. To be downloaded with ath3kfw(8). WWW: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git PR: 233889 Approved by: koobs Added: head/comms/ath3k-firmware/ head/comms/ath3k-firmware/Makefile (contents, props changed) head/comms/ath3k-firmware/distinfo (contents, props changed) head/comms/ath3k-firmware/files/ head/comms/ath3k-firmware/files/ath3k.conf.in (contents, props changed) head/comms/ath3k-firmware/pkg-descr (contents, props changed) head/comms/ath3k-firmware/pkg-plist (contents, props changed) Modified: head/comms/Makefile Modified: head/comms/Makefile ============================================================================== --- head/comms/Makefile Fri Feb 15 18:44:48 2019 (r493008) +++ head/comms/Makefile Fri Feb 15 21:31:33 2019 (r493009) @@ -10,6 +10,7 @@ SUBDIR += anyremote SUBDIR += apitran SUBDIR += aprsd + SUBDIR += ath3k-firmware SUBDIR += atslog SUBDIR += bfhist SUBDIR += bforce-kst Added: head/comms/ath3k-firmware/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/ath3k-firmware/Makefile Fri Feb 15 21:31:33 2019 (r493009) @@ -0,0 +1,40 @@ +# Created by: Vladimir Kondratyev +# $FreeBSD$ + +PORTNAME= ath3k-firmware +PORTVERSION= 20161130 +CATEGORIES= comms +MASTER_SITES= DEBIAN/pool/non-free/f/firmware-nonfree/ +DISTNAME= firmware-atheros_${PORTVERSION}-4_all +EXTRACT_SUFX= .deb + +MAINTAINER= wulf@FreeBSD.org +COMMENT= Atheros AR3011/AR3012 bluetooth adaptor firmwares used by ath3kfw(8) + +LICENSE= ATHEROS +LICENSE_NAME= Atheros firmware license +LICENSE_FILE= ${WRKDIR}/usr/share/doc/firmware-atheros/copyright +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +NO_BUILD= yes +NO_ARCH= yes + +EXTRACT_CMD= ${AR} +EXTRACT_BEFORE_ARGS= -p +EXTRACT_AFTER_ARGS= data.tar.xz | ${TAR} -xf - ${EXTRACT_FILES} +EXTRACT_FILES= lib/firmware/ar3k \ + lib/firmware/ath3k-1.fw \ + usr/share/doc/firmware-atheros/copyright + +# Do not track for firmware updates that are irrelevant for us +# ath3k-firmware is a rather stable part of larger distribution package +PORTSCOUT= ignore:1 + +SUB_FILES= ath3k.conf + +do-install: + cd ${WRKDIR}/lib/firmware && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} \ + ${WRKDIR}/ath3k.conf ${STAGEDIR}${PREFIX}/etc/devd/ath3k.conf + +.include Added: head/comms/ath3k-firmware/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/ath3k-firmware/distinfo Fri Feb 15 21:31:33 2019 (r493009) @@ -0,0 +1,3 @@ +TIMESTAMP = 1544093347 +SHA256 (firmware-atheros_20161130-4_all.deb) = 1f40b7d4008b0602a2de54aa096995aa3aeeb3426e136a1e0130de7b17bdf523 +SIZE (firmware-atheros_20161130-4_all.deb) = 3131644 Added: head/comms/ath3k-firmware/files/ath3k.conf.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/ath3k-firmware/files/ath3k.conf.in Fri Feb 15 21:31:33 2019 (r493009) @@ -0,0 +1,80 @@ +# pre-commit hook requires that: +# $FreeBSD$ + +# Atheros AR3011 with sflash firmware +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x0cf3"; + match "product" "0x3000"; + action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%"; +}; + +# Atheros AR3012 with sflash firmware +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x0489"; + match "product" "(0xe04d|0xe04e|0xe056|0xe057|0xe05f|0xe076|0xe078|0xe095)"; + action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%"; +}; +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x04c5"; + match "product" "0x1330"; + action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%"; +}; +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x04ca"; + match "product" "(0x3004|0x3005|0x3006|0x3007|0x3008|0x300b|0x300d|0x300f|0x3010|0x3014|0x3018)"; + action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%"; +}; +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x0930"; + match "product" "(0x0219|0x021c|0x0220|0x0227)"; + action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%"; +}; +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x0b05"; + match "product" "0x17d0"; + action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%"; +}; +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x0cf3"; + match "product" "(0x0036|0x3004|0x3005|0x3008|0x311d|0x311e|0x311f|0x3121|0x817a|0x817b|0xe003|0xe004|0xe005|0xe006)"; + action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%"; +}; +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x13d3"; + match "product" "(0x3362|0x3375|0x3393|0x3402|0x3408|0x3423|0x3432|0x3472|0x3474|0x3487|0x3490)"; + action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%"; +}; + +# Atheros AR5BBU22 with sflash firmware */ +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x0489"; + match "product" "(0xe036|0xe03c)"; + action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%"; +}; Added: head/comms/ath3k-firmware/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/ath3k-firmware/pkg-descr Fri Feb 15 21:31:33 2019 (r493009) @@ -0,0 +1,4 @@ +Firmware for the Atheros AR3011/AR3012 chip based Bluetooth USB devices. +To be downloaded with ath3kfw(8). + +WWW: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git Added: head/comms/ath3k-firmware/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/ath3k-firmware/pkg-plist Fri Feb 15 21:31:33 2019 (r493009) @@ -0,0 +1,20 @@ +etc/devd/ath3k.conf +%%DATADIR%%/ar3k/AthrBT_0x01020001.dfu +%%DATADIR%%/ar3k/AthrBT_0x01020200.dfu +%%DATADIR%%/ar3k/AthrBT_0x01020201.dfu +%%DATADIR%%/ar3k/AthrBT_0x11020000.dfu +%%DATADIR%%/ar3k/AthrBT_0x11020100.dfu +%%DATADIR%%/ar3k/AthrBT_0x31010000.dfu +%%DATADIR%%/ar3k/AthrBT_0x31010100.dfu +%%DATADIR%%/ar3k/AthrBT_0x41020000.dfu +%%DATADIR%%/ar3k/ramps_0x01020001_26.dfu +%%DATADIR%%/ar3k/ramps_0x01020200_26.dfu +%%DATADIR%%/ar3k/ramps_0x01020200_40.dfu +%%DATADIR%%/ar3k/ramps_0x01020201_26.dfu +%%DATADIR%%/ar3k/ramps_0x01020201_40.dfu +%%DATADIR%%/ar3k/ramps_0x11020000_40.dfu +%%DATADIR%%/ar3k/ramps_0x11020100_40.dfu +%%DATADIR%%/ar3k/ramps_0x31010000_40.dfu +%%DATADIR%%/ar3k/ramps_0x31010100_40.dfu +%%DATADIR%%/ar3k/ramps_0x41020000_40.dfu +%%DATADIR%%/ath3k-1.fw