pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/bcmfw Firmware loading utility for Broadcom B...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/86fdbb58c04d
branches:  trunk
changeset: 522362:86fdbb58c04d
user:      plunky <plunky%pkgsrc.org@localhost>
date:      Thu Dec 07 20:30:48 2006 +0000

description:
Firmware loading utility for Broadcom BCM2033 chip based Bluetooth USB devices.

diffstat:

 sysutils/bcmfw/DESCR          |   1 +
 sysutils/bcmfw/Makefile       |  39 +++++++++++++++++++++++++++++++++++++++
 sysutils/bcmfw/PLIST          |   8 ++++++++
 sysutils/bcmfw/distinfo       |   8 ++++++++
 sysutils/bcmfw/files/DESCR    |   1 +
 sysutils/bcmfw/files/Makefile |  39 +++++++++++++++++++++++++++++++++++++++
 sysutils/bcmfw/files/PLIST    |   8 ++++++++
 sysutils/bcmfw/files/bcmfw.sh |  18 ++++++++++++++++++
 sysutils/bcmfw/files/distinfo |   8 ++++++++
 9 files changed, 130 insertions(+), 0 deletions(-)

diffs (166 lines):

diff -r 0deef8cd9728 -r 86fdbb58c04d sysutils/bcmfw/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bcmfw/DESCR      Thu Dec 07 20:30:48 2006 +0000
@@ -0,0 +1,1 @@
+Firmware loading utility for Broadcom BCM2033 chip based Bluetooth USB devices.
diff -r 0deef8cd9728 -r 86fdbb58c04d sysutils/bcmfw/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bcmfw/Makefile   Thu Dec 07 20:30:48 2006 +0000
@@ -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@localhost
+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 -r 0deef8cd9728 -r 86fdbb58c04d sysutils/bcmfw/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bcmfw/PLIST      Thu Dec 07 20:30:48 2006 +0000
@@ -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 -r 0deef8cd9728 -r 86fdbb58c04d sysutils/bcmfw/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bcmfw/distinfo   Thu Dec 07 20:30:48 2006 +0000
@@ -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 -r 0deef8cd9728 -r 86fdbb58c04d sysutils/bcmfw/files/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bcmfw/files/DESCR        Thu Dec 07 20:30:48 2006 +0000
@@ -0,0 +1,1 @@
+Firmware loading utility for Broadcom BCM2033 chip based Bluetooth USB devices.
diff -r 0deef8cd9728 -r 86fdbb58c04d sysutils/bcmfw/files/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bcmfw/files/Makefile     Thu Dec 07 20:30:48 2006 +0000
@@ -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@localhost
+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 -r 0deef8cd9728 -r 86fdbb58c04d sysutils/bcmfw/files/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bcmfw/files/PLIST        Thu Dec 07 20:30:48 2006 +0000
@@ -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 -r 0deef8cd9728 -r 86fdbb58c04d sysutils/bcmfw/files/bcmfw.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bcmfw/files/bcmfw.sh     Thu Dec 07 20:30:48 2006 +0000
@@ -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 -r 0deef8cd9728 -r 86fdbb58c04d sysutils/bcmfw/files/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bcmfw/files/distinfo     Thu Dec 07 20:30:48 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index