Index: head/comms/Makefile =================================================================== --- head/comms/Makefile (revision 493008) +++ head/comms/Makefile (revision 493009) @@ -1,219 +1,220 @@ # $FreeBSD$ # COMMENT = Communication utilities SUBDIR += acfax SUBDIR += airspy SUBDIR += aldo SUBDIR += amtterm SUBDIR += anyremote SUBDIR += apitran SUBDIR += aprsd + SUBDIR += ath3k-firmware SUBDIR += atslog SUBDIR += bfhist SUBDIR += bforce-kst SUBDIR += birda SUBDIR += bladerf SUBDIR += bluegps SUBDIR += bluez-firmware SUBDIR += bpl+ SUBDIR += chirp SUBDIR += chu SUBDIR += comserv SUBDIR += concordance SUBDIR += congruity SUBDIR += conserver SUBDIR += conserver-com SUBDIR += cqrlog SUBDIR += cutecom SUBDIR += cwdaemon SUBDIR += cwstudio SUBDIR += dabstick-radio SUBDIR += dcf77pi SUBDIR += deforaos-phone SUBDIR += dfu-programmer SUBDIR += dfu-util SUBDIR += direwolf SUBDIR += dump1090 SUBDIR += ebook2cw SUBDIR += ebook2cwgui SUBDIR += echolinux SUBDIR += efax SUBDIR += ems-flasher SUBDIR += fl_moxgen SUBDIR += flcluster SUBDIR += fldigi SUBDIR += fllog SUBDIR += flrig SUBDIR += flwrap SUBDIR += freedv SUBDIR += gammu SUBDIR += geoid SUBDIR += gkermit SUBDIR += gnocky SUBDIR += gnokii SUBDIR += gnuradio SUBDIR += gpredict SUBDIR += gqrx SUBDIR += gr-osmosdr SUBDIR += grig SUBDIR += gsmlib SUBDIR += gstreamer1-plugins-spandsp SUBDIR += gtkmmorse SUBDIR += hackrf SUBDIR += hamfax SUBDIR += hamlib SUBDIR += hcidump SUBDIR += hidapi SUBDIR += hylafax SUBDIR += ibp SUBDIR += inspectrum SUBDIR += java-simple-serial-connector SUBDIR += jerm SUBDIR += kb SUBDIR += kermit SUBDIR += klog SUBDIR += libbtbb SUBDIR += libconcord SUBDIR += libfap SUBDIR += libfec SUBDIR += libimobiledevice SUBDIR += libirman SUBDIR += libmodbus SUBDIR += librs232 SUBDIR += libsdr SUBDIR += libsdr-gui SUBDIR += libticables2 SUBDIR += libticalcs2 SUBDIR += libusbmuxd SUBDIR += linpsk SUBDIR += linrad SUBDIR += liquid-dsp SUBDIR += lirc SUBDIR += locator SUBDIR += lrzsz SUBDIR += lysdr SUBDIR += mgetty+sendfax SUBDIR += minicom SUBDIR += mlan3 SUBDIR += morse SUBDIR += multimon-ng SUBDIR += nasawash SUBDIR += ncid SUBDIR += nec2c SUBDIR += nmealib SUBDIR += nokryptia SUBDIR += o2sms SUBDIR += obexapp SUBDIR += openobex SUBDIR += owfs SUBDIR += p5-Cisco-UCS SUBDIR += p5-Device-Gsm SUBDIR += p5-Device-Modem SUBDIR += p5-Device-SerialPort SUBDIR += p5-Fax-Hylafax-Client SUBDIR += p5-Nexmo-SMS SUBDIR += p5-SMS-SMS77 SUBDIR += p5-SMS-Send SUBDIR += p5-SMS-Send-DeviceGsm SUBDIR += p5-SMS-Send-NexmoUnicode SUBDIR += p5-SMS-Send-TW-HiAir SUBDIR += p5-SMS-Send-TW-PChome SUBDIR += p5-SMS-Send-TW-Qma SUBDIR += p5-SMS-Send-TW-ShareSMS SUBDIR += p5-SMS-Send-TW-Socket2Air SUBDIR += p5-SMS-Send-TW-chtsns SUBDIR += p5-SMS-Send-TW-emome SUBDIR += pear-Horde_ActiveSync SUBDIR += pear-Horde_SyncMl SUBDIR += picocom SUBDIR += pr SUBDIR += predict SUBDIR += py-adafruit-ampy SUBDIR += py-bulksms SUBDIR += py-esptool SUBDIR += py-gammu SUBDIR += py-hidapi SUBDIR += py-libconcord SUBDIR += py-libimobiledevice SUBDIR += py-lirc SUBDIR += py-qt5-serialport SUBDIR += py-serial SUBDIR += py-xmodem SUBDIR += pyla SUBDIR += qico SUBDIR += qpage SUBDIR += qrq SUBDIR += qsstv SUBDIR += qt5-connectivity SUBDIR += qt5-sensors SUBDIR += qt5-serialbus SUBDIR += qt5-serialport SUBDIR += qtel SUBDIR += quisk SUBDIR += remserial SUBDIR += rtl-sdr SUBDIR += rubygem-callsign SUBDIR += rubygem-ruby-termios SUBDIR += rubygem-serialport SUBDIR += rxtx SUBDIR += scmxx SUBDIR += scrcpy SUBDIR += sdr-wspr SUBDIR += ser2net SUBDIR += serialoverip SUBDIR += seyon SUBDIR += sms_client SUBDIR += smstools3 SUBDIR += snap7 SUBDIR += soapyairspy SUBDIR += soapybladerf SUBDIR += soapyplutosdr SUBDIR += soapyredpitaya SUBDIR += soapyremote SUBDIR += soapysdrhackrf SUBDIR += soapyuhd SUBDIR += spandsp SUBDIR += splat SUBDIR += sredird SUBDIR += sunxi-tools SUBDIR += svxlink SUBDIR += syncterm SUBDIR += tcpser SUBDIR += telldus-core SUBDIR += thebridge SUBDIR += tilp2 SUBDIR += tio SUBDIR += tits SUBDIR += tkhylafax SUBDIR += tkscanfax SUBDIR += tlf SUBDIR += trustedqsl SUBDIR += twpsk SUBDIR += uarduno SUBDIR += uartlirc SUBDIR += ubertooth SUBDIR += uhd SUBDIR += uird SUBDIR += unixcw SUBDIR += usbmuxd SUBDIR += viewfax SUBDIR += vrflash SUBDIR += wsjtx SUBDIR += wwl SUBDIR += wy60 SUBDIR += xastir SUBDIR += xcwcp SUBDIR += xdx SUBDIR += xlog SUBDIR += xmorse SUBDIR += xnec2c SUBDIR += xnecview SUBDIR += yaac SUBDIR += yagiuda SUBDIR += yaps SUBDIR += yfklog SUBDIR += zssh .include Index: head/comms/ath3k-firmware/Makefile =================================================================== --- head/comms/ath3k-firmware/Makefile (nonexistent) +++ head/comms/ath3k-firmware/Makefile (revision 493009) @@ -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 Property changes on: head/comms/ath3k-firmware/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/ath3k-firmware/distinfo =================================================================== --- head/comms/ath3k-firmware/distinfo (nonexistent) +++ head/comms/ath3k-firmware/distinfo (revision 493009) @@ -0,0 +1,3 @@ +TIMESTAMP = 1544093347 +SHA256 (firmware-atheros_20161130-4_all.deb) = 1f40b7d4008b0602a2de54aa096995aa3aeeb3426e136a1e0130de7b17bdf523 +SIZE (firmware-atheros_20161130-4_all.deb) = 3131644 Property changes on: head/comms/ath3k-firmware/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/ath3k-firmware/files/ath3k.conf.in =================================================================== --- head/comms/ath3k-firmware/files/ath3k.conf.in (nonexistent) +++ head/comms/ath3k-firmware/files/ath3k.conf.in (revision 493009) @@ -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%%"; +}; Property changes on: head/comms/ath3k-firmware/files/ath3k.conf.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/ath3k-firmware/pkg-descr =================================================================== --- head/comms/ath3k-firmware/pkg-descr (nonexistent) +++ head/comms/ath3k-firmware/pkg-descr (revision 493009) @@ -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 Property changes on: head/comms/ath3k-firmware/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/ath3k-firmware/pkg-plist =================================================================== --- head/comms/ath3k-firmware/pkg-plist (nonexistent) +++ head/comms/ath3k-firmware/pkg-plist (revision 493009) @@ -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 Property changes on: head/comms/ath3k-firmware/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property