Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153987295
D46740.id146110.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D46740.id146110.diff
View Options
diff --git a/comms/Makefile b/comms/Makefile
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -168,6 +168,7 @@
SUBDIR += remserial
SUBDIR += rtl-433
SUBDIR += rtl-sdr
+ SUBDIR += rtlbt-firmware
SUBDIR += rubygem-callsign
SUBDIR += rubygem-ruby-termios
SUBDIR += rubygem-serialport
diff --git a/comms/rtlbt-firmware/Makefile b/comms/rtlbt-firmware/Makefile
new file mode 100644
--- /dev/null
+++ b/comms/rtlbt-firmware/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= rtlbt-firmware
+DISTVERSION= 20240709
+DEB_REVISION= 2
+CATEGORIES= comms
+MASTER_SITES= DEBIAN/pool/non-free-firmware/f/firmware-nonfree/
+DISTNAME= firmware-realtek_${PORTVERSION}-${DEB_REVISION}_all
+EXTRACT_SUFX= .deb
+
+MAINTAINER= wulf@FreeBSD.org
+COMMENT= Realtek USB bluetooth adaptor firmwares used by rtlbtfw(8)
+WWW= https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
+
+LICENSE= REALTEK
+LICENSE_NAME= Realtek firmware license
+LICENSE_FILE= ${WRKDIR}/usr/share/doc/firmware-realtek/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= usr/lib/firmware/rtl_bt \
+ usr/share/doc/firmware-realtek/copyright
+
+do-install:
+ cd ${WRKDIR}/usr/lib/firmware/rtl_bt && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/comms/rtlbt-firmware/distinfo b/comms/rtlbt-firmware/distinfo
new file mode 100644
--- /dev/null
+++ b/comms/rtlbt-firmware/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726405097
+SHA256 (firmware-realtek_20240709-2_all.deb) = f34dcc3f986c49e71b767e113aa8d73418c31d2a6d46244f6a35e2f8622d3e7e
+SIZE (firmware-realtek_20240709-2_all.deb) = 2162376
diff --git a/comms/rtlbt-firmware/pkg-descr b/comms/rtlbt-firmware/pkg-descr
new file mode 100644
--- /dev/null
+++ b/comms/rtlbt-firmware/pkg-descr
@@ -0,0 +1,4 @@
+Firmware for the Realtek Bluetooth USB devices.
+To be downloaded with rtlbtfw(8).
+
+See also: https://packages.debian.org/firmware-realtek
diff --git a/comms/rtlbt-firmware/pkg-plist b/comms/rtlbt-firmware/pkg-plist
new file mode 100644
--- /dev/null
+++ b/comms/rtlbt-firmware/pkg-plist
@@ -0,0 +1,38 @@
+%%DATADIR%%/rtl8192ee_fw.bin
+%%DATADIR%%/rtl8192eu_fw.bin
+%%DATADIR%%/rtl8723a_fw.bin
+%%DATADIR%%/rtl8723b_fw.bin
+%%DATADIR%%/rtl8723bs_config-OBDA0623.bin
+%%DATADIR%%/rtl8723bs_config-OBDA8723.bin
+%%DATADIR%%/rtl8723bs_fw.bin
+%%DATADIR%%/rtl8723d_config.bin
+%%DATADIR%%/rtl8723d_fw.bin
+%%DATADIR%%/rtl8761a_fw.bin
+%%DATADIR%%/rtl8761b_config.bin
+%%DATADIR%%/rtl8761b_fw.bin
+%%DATADIR%%/rtl8761bu_config.bin
+%%DATADIR%%/rtl8761bu_fw.bin
+%%DATADIR%%/rtl8812ae_fw.bin
+%%DATADIR%%/rtl8821a_config.bin
+%%DATADIR%%/rtl8821a_fw.bin
+%%DATADIR%%/rtl8821c_config.bin
+%%DATADIR%%/rtl8821c_fw.bin
+%%DATADIR%%/rtl8821cs_config.bin
+%%DATADIR%%/rtl8821cs_fw.bin
+%%DATADIR%%/rtl8822b_config.bin
+%%DATADIR%%/rtl8822b_fw.bin
+%%DATADIR%%/rtl8822cs_config.bin
+%%DATADIR%%/rtl8822cs_fw.bin
+%%DATADIR%%/rtl8822cu_config.bin
+%%DATADIR%%/rtl8822cu_fw.bin
+%%DATADIR%%/rtl8851bu_config.bin
+%%DATADIR%%/rtl8851bu_fw.bin
+%%DATADIR%%/rtl8852au_config.bin
+%%DATADIR%%/rtl8852au_fw.bin
+%%DATADIR%%/rtl8852btu_config.bin
+%%DATADIR%%/rtl8852btu_fw.bin
+%%DATADIR%%/rtl8852bu_config.bin
+%%DATADIR%%/rtl8852bu_fw.bin
+%%DATADIR%%/rtl8852cu_config.bin
+%%DATADIR%%/rtl8852cu_fw.bin
+%%DATADIR%%/rtl8852cu_fw_v2.bin
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 26, 6:49 AM (3 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32170966
Default Alt Text
D46740.id146110.diff (3 KB)
Attached To
Mode
D46740: New port: comms/rtlbt-firmware
Attached
Detach File
Event Timeline
Log In to Comment