summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorplunky <plunky@pkgsrc.org>2006-12-07 20:30:48 +0000
committerplunky <plunky@pkgsrc.org>2006-12-07 20:30:48 +0000
commitcc469088ac5e6b0e27663632026ced6c635dc823 (patch)
tree4e6d4be09cde8b19c91ebdf220f91f89c0cf2dca /sysutils
parent2f1001442b5d7cdacb1afd41930b3114fb4fd968 (diff)
downloadpkgsrc-cc469088ac5e6b0e27663632026ced6c635dc823.tar.gz
Firmware loading utility for Broadcom BCM2033 chip based Bluetooth USB devices.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/bcmfw/DESCR1
-rw-r--r--sysutils/bcmfw/Makefile39
-rw-r--r--sysutils/bcmfw/PLIST8
-rw-r--r--sysutils/bcmfw/distinfo8
-rw-r--r--sysutils/bcmfw/files/DESCR1
-rw-r--r--sysutils/bcmfw/files/Makefile39
-rw-r--r--sysutils/bcmfw/files/PLIST8
-rw-r--r--sysutils/bcmfw/files/bcmfw.sh18
-rw-r--r--sysutils/bcmfw/files/distinfo8
9 files changed, 130 insertions, 0 deletions
diff --git a/sysutils/bcmfw/DESCR b/sysutils/bcmfw/DESCR
new file mode 100644
index 00000000000..891588cc5ce
--- /dev/null
+++ b/sysutils/bcmfw/DESCR
@@ -0,0 +1 @@
+Firmware loading utility for Broadcom BCM2033 chip based Bluetooth USB devices.
diff --git a/sysutils/bcmfw/Makefile b/sysutils/bcmfw/Makefile
new file mode 100644
index 00000000000..6a59b24cab9
--- /dev/null
+++ b/sysutils/bcmfw/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/12/07 20:30:48 plunky Exp $
+
+DISTNAME= bcmfw-1.0
+CATEGORIES= sysutils
+MASTER_SITES= http://homepages.rya-online.net/plunky/
+DISTFILES= bcmfw-1.0.tar.gz \
+ bluez-firmware-1.2.tar.gz
+SITES.bluez-firmware-1.2.tar.gz= \
+ http://bluez.sourceforge.net/download/
+
+MAINTAINER= plunky@rya-online.net
+COMMENT= Broadcom 2033 Bluetooth Firmware Loader
+
+ONLY_FOR_PLATFORM= NetBSD-[4-9].*-*
+
+RCD_SCRIPTS+= bcmfw
+BUILD_DEFS+= PKGMANDIR
+
+FIRMWARE_DIR= libdata/bcmfw
+
+INSTALLATION_DIRS= ${PKGMANDIR}/man8 \
+ ${FIRMWARE_DIR}
+
+PLIST_SUBST+= FIRMWARE_DIR=${FIRMWARE_DIR}
+
+SUBST_CLASSES+= dir
+SUBST_FILES.dir= bcmfw.8 bcmfw.c
+SUBST_SED.dir= -e 's,BCM2033-,${PREFIX}/${FIRMWARE_DIR}/&,'
+SUBST_STAGE.dir= post-patch
+SUBST_MESSAGE.dir= Fixing path to firmware directory.
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bcmfw ${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/bcmfw.8 ${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_DATA} ${WRKDIR}/bluez-firmware-1.2/broadcom/BCM-LEGAL.txt ${PREFIX}/${FIRMWARE_DIR}
+ ${INSTALL_DATA} ${WRKDIR}/bluez-firmware-1.2/broadcom/BCM2033-FW.bin ${PREFIX}/${FIRMWARE_DIR}
+ ${INSTALL_DATA} ${WRKDIR}/bluez-firmware-1.2/broadcom/BCM2033-MD.hex ${PREFIX}/${FIRMWARE_DIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/bcmfw/PLIST b/sysutils/bcmfw/PLIST
new file mode 100644
index 00000000000..a9c368d7e18
--- /dev/null
+++ b/sysutils/bcmfw/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/12/07 20:30:48 plunky Exp $
+man/man8/bcmfw.8
+sbin/bcmfw
+share/examples/rc.d/bcmfw
+${FIRMWARE_DIR}/BCM-LEGAL.txt
+${FIRMWARE_DIR}/BCM2033-FW.bin
+${FIRMWARE_DIR}/BCM2033-MD.hex
+@dirrm ${FIRMWARE_DIR}
diff --git a/sysutils/bcmfw/distinfo b/sysutils/bcmfw/distinfo
new file mode 100644
index 00000000000..4df518365d8
--- /dev/null
+++ b/sysutils/bcmfw/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/12/07 20:30:48 plunky Exp $
+
+SHA1 (bcmfw-1.0.tar.gz) = f5bff709b814ead7b4cfd6fc71e28ae72ea84166
+RMD160 (bcmfw-1.0.tar.gz) = 0a1c5cddb36beee337d975d612fb03ba66a9f9c1
+Size (bcmfw-1.0.tar.gz) = 3387 bytes
+SHA1 (bluez-firmware-1.2.tar.gz) = 43f98fdd518a2b4371d25015aaafb1d6f3cbde2c
+RMD160 (bluez-firmware-1.2.tar.gz) = 1651dd837c2263cf5d6d5d4da30664cf408b0ba9
+Size (bluez-firmware-1.2.tar.gz) = 370623 bytes
diff --git a/sysutils/bcmfw/files/DESCR b/sysutils/bcmfw/files/DESCR
new file mode 100644
index 00000000000..891588cc5ce
--- /dev/null
+++ b/sysutils/bcmfw/files/DESCR
@@ -0,0 +1 @@
+Firmware loading utility for Broadcom BCM2033 chip based Bluetooth USB devices.
diff --git a/sysutils/bcmfw/files/Makefile b/sysutils/bcmfw/files/Makefile
new file mode 100644
index 00000000000..6a59b24cab9
--- /dev/null
+++ b/sysutils/bcmfw/files/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/12/07 20:30:48 plunky Exp $
+
+DISTNAME= bcmfw-1.0
+CATEGORIES= sysutils
+MASTER_SITES= http://homepages.rya-online.net/plunky/
+DISTFILES= bcmfw-1.0.tar.gz \
+ bluez-firmware-1.2.tar.gz
+SITES.bluez-firmware-1.2.tar.gz= \
+ http://bluez.sourceforge.net/download/
+
+MAINTAINER= plunky@rya-online.net
+COMMENT= Broadcom 2033 Bluetooth Firmware Loader
+
+ONLY_FOR_PLATFORM= NetBSD-[4-9].*-*
+
+RCD_SCRIPTS+= bcmfw
+BUILD_DEFS+= PKGMANDIR
+
+FIRMWARE_DIR= libdata/bcmfw
+
+INSTALLATION_DIRS= ${PKGMANDIR}/man8 \
+ ${FIRMWARE_DIR}
+
+PLIST_SUBST+= FIRMWARE_DIR=${FIRMWARE_DIR}
+
+SUBST_CLASSES+= dir
+SUBST_FILES.dir= bcmfw.8 bcmfw.c
+SUBST_SED.dir= -e 's,BCM2033-,${PREFIX}/${FIRMWARE_DIR}/&,'
+SUBST_STAGE.dir= post-patch
+SUBST_MESSAGE.dir= Fixing path to firmware directory.
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bcmfw ${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/bcmfw.8 ${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_DATA} ${WRKDIR}/bluez-firmware-1.2/broadcom/BCM-LEGAL.txt ${PREFIX}/${FIRMWARE_DIR}
+ ${INSTALL_DATA} ${WRKDIR}/bluez-firmware-1.2/broadcom/BCM2033-FW.bin ${PREFIX}/${FIRMWARE_DIR}
+ ${INSTALL_DATA} ${WRKDIR}/bluez-firmware-1.2/broadcom/BCM2033-MD.hex ${PREFIX}/${FIRMWARE_DIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/bcmfw/files/PLIST b/sysutils/bcmfw/files/PLIST
new file mode 100644
index 00000000000..a9c368d7e18
--- /dev/null
+++ b/sysutils/bcmfw/files/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/12/07 20:30:48 plunky Exp $
+man/man8/bcmfw.8
+sbin/bcmfw
+share/examples/rc.d/bcmfw
+${FIRMWARE_DIR}/BCM-LEGAL.txt
+${FIRMWARE_DIR}/BCM2033-FW.bin
+${FIRMWARE_DIR}/BCM2033-MD.hex
+@dirrm ${FIRMWARE_DIR}
diff --git a/sysutils/bcmfw/files/bcmfw.sh b/sysutils/bcmfw/files/bcmfw.sh
new file mode 100644
index 00000000000..599ba272f81
--- /dev/null
+++ b/sysutils/bcmfw/files/bcmfw.sh
@@ -0,0 +1,18 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: bcmfw.sh,v 1.1.1.1 2006/12/07 20:30:48 plunky Exp $
+#
+
+# PROVIDE: bcmfw
+# REQUIRE: mountall
+# BEFORE: bluetooth
+
+$_rc_subr_loaded . /etc/rc.subr
+
+name="bcmfw"
+rcvar=${name}
+command="@PREFIX@/sbin/${name}"
+command_args="${bcmfw_args:-ugen0}"
+
+load_rc_config ${name}
+run_rc_command "$1"
diff --git a/sysutils/bcmfw/files/distinfo b/sysutils/bcmfw/files/distinfo
new file mode 100644
index 00000000000..4df518365d8
--- /dev/null
+++ b/sysutils/bcmfw/files/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/12/07 20:30:48 plunky Exp $
+
+SHA1 (bcmfw-1.0.tar.gz) = f5bff709b814ead7b4cfd6fc71e28ae72ea84166
+RMD160 (bcmfw-1.0.tar.gz) = 0a1c5cddb36beee337d975d612fb03ba66a9f9c1
+Size (bcmfw-1.0.tar.gz) = 3387 bytes
+SHA1 (bluez-firmware-1.2.tar.gz) = 43f98fdd518a2b4371d25015aaafb1d6f3cbde2c
+RMD160 (bluez-firmware-1.2.tar.gz) = 1651dd837c2263cf5d6d5d4da30664cf408b0ba9
+Size (bluez-firmware-1.2.tar.gz) = 370623 bytes