diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-11-03 14:46:00 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-11-03 14:46:00 +0000 |
commit | 3a490a26a3139171d4e711b9e0091208e545ae5c (patch) | |
tree | 8a9ffb9cdd37443bbdb02743ea002fe6bfaac612 /net-wireless | |
parent | Changed maintainter to markusle@gentoo.org (diff) | |
download | gentoo-2-3a490a26a3139171d4e711b9e0091208e545ae5c.tar.gz gentoo-2-3a490a26a3139171d4e711b9e0091208e545ae5c.tar.bz2 gentoo-2-3a490a26a3139171d4e711b9e0091208e545ae5c.zip |
Version bump.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'net-wireless')
19 files changed, 376 insertions, 9 deletions
diff --git a/net-wireless/bluez-firmware/ChangeLog b/net-wireless/bluez-firmware/ChangeLog index 659831c53993..9a7e2ab2925e 100644 --- a/net-wireless/bluez-firmware/ChangeLog +++ b/net-wireless/bluez-firmware/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/bluez-firmware -# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-firmware/ChangeLog,v 1.1 2004/09/26 18:48:22 liquidx Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-firmware/ChangeLog,v 1.2 2005/11/03 14:41:07 brix Exp $ + +*bluez-firmware-1.1 (03 Nov 2005) + + 03 Nov 2005; Henrik Brix Andersen <brix@gentoo.org> + +bluez-firmware-1.1.ebuild: + Version bump. *bluez-firmware-1.0 (26 Sep 2004) diff --git a/net-wireless/bluez-firmware/Manifest b/net-wireless/bluez-firmware/Manifest index a5c4768c6dc5..2477686d4760 100644 --- a/net-wireless/bluez-firmware/Manifest +++ b/net-wireless/bluez-firmware/Manifest @@ -1,4 +1,6 @@ MD5 cee52ece0449377bb3032bd54d7d270d bluez-firmware-1.0.ebuild 492 -MD5 e21e19d9bbb1e38b6542991781059830 ChangeLog 358 +MD5 0f85395b682124bd04cb103d24b4ff27 ChangeLog 494 MD5 439de383d422683abddb9ff8b75aa67b metadata.xml 235 +MD5 6a55939e43a47596ccaec411e48550f6 bluez-firmware-1.1.ebuild 517 MD5 89e9bb7bee2e0f86d5c43804967d59ef files/digest-bluez-firmware-1.0 70 +MD5 2c5f5d1dee59e459c098929b814f7802 files/digest-bluez-firmware-1.1 70 diff --git a/net-wireless/bluez-firmware/bluez-firmware-1.1.ebuild b/net-wireless/bluez-firmware/bluez-firmware-1.1.ebuild new file mode 100644 index 000000000000..9532a9ad8f5c --- /dev/null +++ b/net-wireless/bluez-firmware/bluez-firmware-1.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-firmware/bluez-firmware-1.1.ebuild,v 1.1 2005/11/03 14:41:07 brix Exp $ + +DESCRIPTION="Firmware for Broadcom BCM203x Blutonium devices" +HOMEPAGE="http://bluez.sourceforge.net/" +SRC_URI="http://bluez.sourceforge.net/download/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" +DEPEND="" + +src_compile() { + econf --libdir=/lib || die "econf failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS ChangeLog README +} diff --git a/net-wireless/bluez-firmware/files/digest-bluez-firmware-1.1 b/net-wireless/bluez-firmware/files/digest-bluez-firmware-1.1 new file mode 100644 index 000000000000..e6ffca9a9bee --- /dev/null +++ b/net-wireless/bluez-firmware/files/digest-bluez-firmware-1.1 @@ -0,0 +1 @@ +MD5 2f1c2d939108c865dd07bae3e819c573 bluez-firmware-1.1.tar.gz 363621 diff --git a/net-wireless/bluez-hcidump/ChangeLog b/net-wireless/bluez-hcidump/ChangeLog index 667826b186e9..742c0876d209 100644 --- a/net-wireless/bluez-hcidump/ChangeLog +++ b/net-wireless/bluez-hcidump/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/bluez-hcidump # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-hcidump/ChangeLog,v 1.20 2005/10/23 12:57:16 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-hcidump/ChangeLog,v 1.21 2005/11/03 14:46:00 brix Exp $ + +*bluez-hcidump-1.27 (03 Nov 2005) + + 03 Nov 2005; Henrik Brix Andersen <brix@gentoo.org> + +bluez-hcidump-1.27.ebuild: + Version bump. *bluez-hcidump-1.26 (23 Oct 2005) diff --git a/net-wireless/bluez-hcidump/Manifest b/net-wireless/bluez-hcidump/Manifest index b85bd583a901..ab5bdbeab73a 100644 --- a/net-wireless/bluez-hcidump/Manifest +++ b/net-wireless/bluez-hcidump/Manifest @@ -2,9 +2,11 @@ MD5 ea5bc741e4f7019ac2e97d66975eaff8 bluez-hcidump-1.26.ebuild 670 MD5 716da5187c5dee230472328ccec29a7b bluez-hcidump-1.21.ebuild 633 MD5 142eebd58be2476d7a34803efca4f5f5 bluez-hcidump-1.23.ebuild 632 MD5 e66e54dbe69011dd18753de1263e5f86 bluez-hcidump-1.20.ebuild 629 -MD5 ece3396eea837e489ad9aa6562f5198f ChangeLog 2692 +MD5 b2281d780a78f8b1e85f6752791475b0 bluez-hcidump-1.27.ebuild 558 +MD5 626e85d4e3b1a695774b0a29dc4cd3fa ChangeLog 2828 MD5 439de383d422683abddb9ff8b75aa67b metadata.xml 235 MD5 37d93f7496916e9d805e34446891af8c files/digest-bluez-hcidump-1.20 70 MD5 082298306787840fa0bcc28c4663034e files/digest-bluez-hcidump-1.21 70 MD5 5149845e79bd0f6a9e346c66c1f5153d files/digest-bluez-hcidump-1.23 70 MD5 a0d1c7b7ca6aebe92e70528efad2b541 files/digest-bluez-hcidump-1.26 70 +MD5 c43511fa27491403771a5b8e504a5c0f files/digest-bluez-hcidump-1.27 70 diff --git a/net-wireless/bluez-hcidump/bluez-hcidump-1.27.ebuild b/net-wireless/bluez-hcidump/bluez-hcidump-1.27.ebuild new file mode 100644 index 000000000000..c76c5e7ff96a --- /dev/null +++ b/net-wireless/bluez-hcidump/bluez-hcidump-1.27.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-hcidump/bluez-hcidump-1.27.ebuild,v 1.1 2005/11/03 14:46:00 brix Exp $ + +DESCRIPTION="Bluetooth HCI package analyzer" +HOMEPAGE="http://bluez.sourceforge.net/" +SRC_URI="http://bluez.sourceforge.net/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~sparc ~ppc" + +IUSE="" + +DEPEND=">=net-wireless/bluez-libs-2.22" + +src_compile() { + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS ChangeLog README +} diff --git a/net-wireless/bluez-hcidump/files/digest-bluez-hcidump-1.27 b/net-wireless/bluez-hcidump/files/digest-bluez-hcidump-1.27 new file mode 100644 index 000000000000..5159c8ce6b1b --- /dev/null +++ b/net-wireless/bluez-hcidump/files/digest-bluez-hcidump-1.27 @@ -0,0 +1 @@ +MD5 6e73f8f1750879487e4928bc12a0e825 bluez-hcidump-1.27.tar.gz 132574 diff --git a/net-wireless/bluez-libs/ChangeLog b/net-wireless/bluez-libs/ChangeLog index e9e30fb28642..03aeb9944fcf 100644 --- a/net-wireless/bluez-libs/ChangeLog +++ b/net-wireless/bluez-libs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/bluez-libs # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-libs/ChangeLog,v 1.52 2005/10/23 12:57:11 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-libs/ChangeLog,v 1.53 2005/11/03 14:42:26 brix Exp $ + +*bluez-libs-2.22 (03 Nov 2005) + + 03 Nov 2005; Henrik Brix Andersen <brix@gentoo.org> + +bluez-libs-2.22.ebuild: + Version bump. *bluez-libs-2.21 (23 Oct 2005) diff --git a/net-wireless/bluez-libs/Manifest b/net-wireless/bluez-libs/Manifest index 7005649f17e6..50befa9b7dba 100644 --- a/net-wireless/bluez-libs/Manifest +++ b/net-wireless/bluez-libs/Manifest @@ -1,9 +1,10 @@ MD5 7bf99a228717805d212ebf45e536c534 bluez-libs-2.19.ebuild 568 +MD5 3172a0d7c91552b2e1f71edf37f36714 bluez-libs-2.22.ebuild 521 MD5 acf9de3be5dd7b61213eb6fb9239a14b bluez-libs-2.18.ebuild 575 MD5 2ff50befc8abf10bc58ebc6c1cd24d3f bluez-libs-2.16-r1.ebuild 664 MD5 bdf6c60a1d1be6f891ad12cb7a622629 bluez-libs-2.15.ebuild 571 MD5 f460ade9182808a2326ff36ddcfe793e bluez-libs-2.10.ebuild 648 -MD5 9913a54223272a58e38bf2010239e92e ChangeLog 6504 +MD5 b5d014ef7da4abc39f17920763f37f91 ChangeLog 6634 MD5 439de383d422683abddb9ff8b75aa67b metadata.xml 235 MD5 ce1932c628f7ce277a37eafe3237c327 bluez-libs-2.21.ebuild 627 MD5 9c8ca76b6f379101dfeae80117b15d6a bluez-libs-2.17.ebuild 570 @@ -15,4 +16,5 @@ MD5 d5d0644946bb10d84e7891be9bea0799 files/digest-bluez-libs-2.17 67 MD5 41b6e5a042ee543922802cbe1081e26c files/digest-bluez-libs-2.18 67 MD5 2179cb867e0877152871bb390fa4a772 files/digest-bluez-libs-2.19 67 MD5 b6bfa99265bf1f4e626ff183c1532cdd files/digest-bluez-libs-2.21 67 +MD5 73903e2d7b846d67e8d966cf6bfa1d0a files/digest-bluez-libs-2.22 67 MD5 d8ae1c76ebaed0d5c69e90b4aade8624 files/2.16-bluetooth.h.patch 269 diff --git a/net-wireless/bluez-libs/bluez-libs-2.22.ebuild b/net-wireless/bluez-libs/bluez-libs-2.22.ebuild new file mode 100644 index 000000000000..dc11e2c1835d --- /dev/null +++ b/net-wireless/bluez-libs/bluez-libs-2.22.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-libs/bluez-libs-2.22.ebuild,v 1.1 2005/11/03 14:42:26 brix Exp $ + +inherit eutils + +DESCRIPTION="Bluetooth Userspace Libraries" +HOMEPAGE="http://bluez.sourceforge.net/" +SRC_URI="http://bluez.sourceforge.net/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="" +DEPEND="!net-wireless/bluez-sdp" + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS ChangeLog README +} diff --git a/net-wireless/bluez-libs/files/digest-bluez-libs-2.22 b/net-wireless/bluez-libs/files/digest-bluez-libs-2.22 new file mode 100644 index 000000000000..46e10d15db8b --- /dev/null +++ b/net-wireless/bluez-libs/files/digest-bluez-libs-2.22 @@ -0,0 +1 @@ +MD5 725537db36c125e4f07c722b14c0c6aa bluez-libs-2.22.tar.gz 285122 diff --git a/net-wireless/bluez-utils/ChangeLog b/net-wireless/bluez-utils/ChangeLog index 241f83d5a39f..6ad3c58117e2 100644 --- a/net-wireless/bluez-utils/ChangeLog +++ b/net-wireless/bluez-utils/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/bluez-utils # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/ChangeLog,v 1.58 2005/10/23 13:00:24 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/ChangeLog,v 1.59 2005/11/03 14:44:19 brix Exp $ + +*bluez-utils-2.22 (03 Nov 2005) + + 03 Nov 2005; Henrik Brix Andersen <brix@gentoo.org> + +files/bluez-utils-2.22-init.d, +files/bluez-utils-2.22-pin, + +files/bluez-utils-2.22-pin-helper.sh, +bluez-utils-2.22.ebuild: + Version bump. *bluez-utils-2.21 (23 Oct 2005) diff --git a/net-wireless/bluez-utils/Manifest b/net-wireless/bluez-utils/Manifest index 41bcaa769a6f..0a2879cddd38 100644 --- a/net-wireless/bluez-utils/Manifest +++ b/net-wireless/bluez-utils/Manifest @@ -3,25 +3,30 @@ MD5 b049b8c4d26d949b96515f79c805084c bluez-utils-2.10-r1.ebuild 2591 MD5 586132a6bb409ecbfce3c0ff6b44c201 bluez-utils-2.19.ebuild 2875 MD5 b89a3826074ef2159ebbce5317d1c338 bluez-utils-2.17-r1.ebuild 2735 MD5 5fb15e85a2a314a3177e67893e720933 bluez-utils-2.16-r1.ebuild 2682 +MD5 c43a6536e9d5adfa6ad6d600452651c1 bluez-utils-2.22.ebuild 2496 MD5 e5e21f985e130805eefe32a4e72f2412 bluez-utils-2.18.ebuild 2873 MD5 b8902fd2efa31a57e83025541cddca86 bluez-utils-2.15.ebuild 2511 -MD5 382f42652814d5380e8a5176f80207be ChangeLog 9005 +MD5 d53742c1c214d358b0214e0179ab99c4 ChangeLog 9239 MD5 439de383d422683abddb9ff8b75aa67b metadata.xml 235 MD5 ce3b08e1df53875d1060e9e246810907 files/bluez-utils-2.3-rfcomm_fflush.patch 966 MD5 2fcf0c81d0479f85cb7244f2b1900c6d files/bluez-utils-2.10-handsfree.patch 540 MD5 7449a658ef08ac7e86b221b3c43961af files/pin.sample 26 MD5 336de3d1eba238735777d7d8f8e0c282 files/bluez-utils-2.3-bluepin.patch 461 +MD5 7a47fa7ef1dc74a77dfb13ed5f96b983 files/bluez-utils-2.22-init.d 3399 MD5 d552cb6515bf251c019ca4a95dd266eb files/bluez-utils-2.3-bluepin-gtk2.patch 3295 MD5 992426019dbbd772c9326512d2a0033d files/bluez-utils-2.21-pin-helper.sh 49 MD5 06aa410f5fe0f8459273a2bcda7db8cc files/digest-bluez-utils-2.10-r1 68 MD5 4a3141759c84210a8e1303a9d6f11b43 files/digest-bluez-utils-2.16-r1 68 MD5 7316e8b8851edb4c09b59e386d6b16fb files/digest-bluez-utils-2.17-r1 68 MD5 e7df7cd2ca07f4f1ab415d457a6e1c13 files/bluez-utils-2.21-pin 5 +MD5 e7df7cd2ca07f4f1ab415d457a6e1c13 files/bluez-utils-2.22-pin 5 MD5 7274187d952212ca6469a2306efb0d42 files/2.15-bluepin.patch 355 +MD5 992426019dbbd772c9326512d2a0033d files/bluez-utils-2.22-pin-helper.sh 49 MD5 7b0985abd13b5bbc75fe58e206372a65 files/digest-bluez-utils-2.15 68 MD5 7300259b4a7fdd010164c37004269877 files/digest-bluez-utils-2.18 68 MD5 5b6549a4300097637d65ab565a6c9535 files/digest-bluez-utils-2.19 68 MD5 f98d1052bca4dd960f4d92ad331ba348 files/digest-bluez-utils-2.21 68 +MD5 62268482cd2b786b23286eda333562d1 files/digest-bluez-utils-2.22 68 MD5 7a47fa7ef1dc74a77dfb13ed5f96b983 files/bluez-utils-2.21-init.d 3399 MD5 44ca243c60a83967c811537a38b92549 files/bluetooth.rc 1166 MD5 8640fa9eafee8ea600121af7792b7ad9 files/2.16/bluetooth.rc 3396 diff --git a/net-wireless/bluez-utils/bluez-utils-2.22.ebuild b/net-wireless/bluez-utils/bluez-utils-2.22.ebuild new file mode 100644 index 000000000000..921caae09220 --- /dev/null +++ b/net-wireless/bluez-utils/bluez-utils-2.22.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/bluez-utils-2.22.ebuild,v 1.1 2005/11/03 14:44:20 brix Exp $ + +DESCRIPTION="Bluetooth Tools and System Daemons for using Bluetooth under Linux" +HOMEPAGE="http://bluez.sourceforge.net/" +SRC_URI="http://bluez.sourceforge.net/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +IUSE="alsa cups dbus gtk pcmcia" + +RDEPEND="!net-wireless/bluez-pan + >=net-wireless/bluez-libs-2.22 + dev-libs/libusb + alsa? ( >=media-libs/alsa-lib-1.0.9 ) + cups? ( net-print/cups ) + dbus? ( >=sys-apps/dbus-0.31 ) + gtk? ( >=dev-python/pygtk-2.2 ) + pcmcia? ( virtual/pcmcia + sys-apps/setserial )" +DEPEND="sys-devel/bison + sys-devel/flex + >=sys-apps/sed-4 + ${RDEPEND}" + +src_unpack() { + unpack ${A} + + sed -i \ + -e "s:^HIDD_ENABLE=.*:HIDD_ENABLE=false:" \ + -e "s:^HID2HCI_ENABLE=.*:HID2HCI_ENABLE=false:" \ + ${S}/scripts/bluetooth.default + + sed -i \ + -e "s:security .*;:security user;:" \ + ${S}/hcid/hcid.conf + + if use gtk; then + sed -i -e "s:\(pin_helper \).*:\1/usr/bin/bluepin;:" \ + ${S}/hcid/hcid.conf + else + sed -i -e "s:\(pin_helper \).*:\1/etc/bluetooth/pin-helper;:" \ + ${S}/hcid/hcid.conf + fi +} + +src_compile() { + econf \ + $(use_enable alsa) \ + $(use_enable cups) \ + $(use_enable dbus) \ + $(use_enable pcmcia) \ + $(use_enable gtk bluepin) \ + --enable-avctrl \ + --enable-bcm203x \ + --enable-dfutool \ + --enable-hid2hci \ + --enable-obex \ + --disable-initscripts \ + --localstatedir=/var \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS ChangeLog README + + # optional bluetooth utils + cd ${S}/tools + dosbin bccmd hcisecfilter ppporc pskey + + exeinto /etc/bluetooth + newexe ${FILESDIR}/${P}-pin-helper.sh pin-helper + + insinto /etc/bluetooth + newins ${FILESDIR}/${P}-pin pin + fperms 0600 /etc/bluetooth/pin + + newinitd ${FILESDIR}/${P}-init.d bluetooth + newconfd ${S}/scripts/bluetooth.default bluetooth + + # bug #103498 + if use pcmcia; then + fperms 755 /etc/pcmcia/bluetooth + fi +} + +pkg_postinst() { + einfo + einfo "A startup script has been installed in /etc/init.d/bluetooth." + einfo + einfo "If you need to set a default PIN, edit /etc/bluetooth/pin, and change" + einfo "/etc/bluetooth/hcid.conf option 'pin_helper' to /etc/bluetooth/pin-helper." + einfo + + if use gtk; then + einfo "By default, /usr/bin/bluepin will be launched on the desktop display" + einfo "for pin number input." + einfo + fi +} diff --git a/net-wireless/bluez-utils/files/bluez-utils-2.22-init.d b/net-wireless/bluez-utils/files/bluez-utils-2.22-init.d new file mode 100644 index 000000000000..7ac94908257c --- /dev/null +++ b/net-wireless/bluez-utils/files/bluez-utils-2.22-init.d @@ -0,0 +1,143 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/files/bluez-utils-2.22-init.d,v 1.1 2005/11/03 14:44:20 brix Exp $ + +UART_CONF="/etc/bluetooth/uart" + +depend() { + after coldplug +} + +start_uarts() { + [ -f /usr/sbin/hciattach -a -f ${UART_CONF} ] || return + grep -v '^#' ${UART_CONF} | while read i; do + /usr/sbin/hciattach $i + done +} + +stop_uarts() { + killall hciattach > /dev/null 2>&1 +} + +start() { + ebegin "Starting Bluetooth" + + if [ "${HID2HCI_ENABLE}" = "true" -a -x /usr/sbin/hid2hci ]; then + ebegin " Running hid2hci" + /usr/sbin/hid2hci -0 -q #be quiet + /bin/sleep 1 # delay for hid's to be detected by hotplug + eend $? + fi + + if [ "${HCID_ENABLE}" = "true" -a -x /usr/sbin/hcid ]; then + if [ -f "${HCID_CONFIG}" ]; then + ebegin " Starting hcid" + start-stop-daemon --start --quiet \ + --exec /usr/sbin/hcid -- -f $HCID_CONFIG + eend $? + else + ewarn "Not enabling hcid because HCID_CONFIG is missing." + fi + fi + + + if [ "${SDPD_ENABLE}" = "true" -a -x /usr/sbin/sdpd ]; then + ebegin " Starting sdpd" + start-stop-daemon --start --quiet --exec /usr/sbin/sdpd + eend $? + fi + + + if [ "${HIDD_ENABLE}" = "true" -a -x /usr/bin/hidd ]; then + ebegin " Starting hidd" + start-stop-daemon --start --quiet \ + --exec /usr/bin/hidd -- ${HIDD_OPTIONS} --server + eend $? + fi + + if [ "${RFCOMM_ENABLE}" = "true" -a -x /usr/bin/rfcomm ]; then + if [ -f "${RFCOMM_CONFIG}" ]; then + ebegin " Starting rfcomm" + /usr/bin/rfcomm -f ${RFCOMM_CONFIG} bind all + eend $? + else + ewarn "Not enabling rfcomm because RFCOMM_CONFIG does not exists" + fi + fi + + if [ "${DUND_ENABLE}" = "true" -a -x /usr/bin/dund ]; then + if [ -n "${DUND_OPTIONS}" ]; then + ebegin " Starting dund" + start-stop-daemon --start --quiet \ + --exec /usr/bin/dund -- ${DUND_OPTIONS} + eend $? + else + ewarn "Not starting dund because DUND_OPTIONS not defined." + fi + fi + + if [ "${PAND_ENABLE}" = "true" -a -x /usr/bin/pand ]; then + if [ -n "${PAND_OPTIONS}" ]; then + ebegin " Starting pand" + start-stop-daemon --start --quiet \ + --exec /usr/bin/pand -- ${PAND_OPTIONS} + eend $? + else + ewarn "Not starting pand because PAND_OPTIONS not defined." + fi + fi + + start_uarts + eend 0 +} + +stop() { + ebegin "Shutting down Bluetooth" + + + if [ "${PAND_ENABLE}" = "true" -a -x /usr/bin/pand ]; then + ebegin " Stopping pand" + start-stop-daemon --stop --quiet --exec /usr/bin/pand + eend $? + fi + + if [ "${DUND_ENABLE}" = "true" -a -x /usr/bin/dund ]; then + ebegin " Stopping dund" + start-stop-daemon --stop --quiet --exec /usr/bin/dund + eend $? + fi + + if [ "${RFCOMM_ENABLE}" = "true" -a -x /usr/bin/rfcomm ]; then + ebegin " Stopping rfcomm" + /usr/bin/rfcomm release all + eend $? + fi + + if [ "${HIDD_ENABLE}" = "true" -a -x /usr/bin/hidd ]; then + ebegin " Stopping hidd" + start-stop-daemon --stop --quiet --exec /usr/bin/hidd + eend $? + fi + + + if [ "${SDPD_ENABLE}" = "true" -a -x /usr/sbin/sdpd ]; then + ebegin " Stopping sdpd" + start-stop-daemon --stop --quiet --exec /usr/sbin/sdpd + eend $? + fi + + if [ "${HCID_ENABLE}" = "true" -a -x /usr/sbin/hcid ]; then + ebegin " Stopping hcid" + start-stop-daemon --stop --quiet --exec /usr/sbin/hcid + eend $? + fi + + stop_uarts + eend 0 +} + +restart() { + svc_stop + svc_start +} diff --git a/net-wireless/bluez-utils/files/bluez-utils-2.22-pin b/net-wireless/bluez-utils/files/bluez-utils-2.22-pin new file mode 100644 index 000000000000..81c545efebe5 --- /dev/null +++ b/net-wireless/bluez-utils/files/bluez-utils-2.22-pin @@ -0,0 +1 @@ +1234 diff --git a/net-wireless/bluez-utils/files/bluez-utils-2.22-pin-helper.sh b/net-wireless/bluez-utils/files/bluez-utils-2.22-pin-helper.sh new file mode 100644 index 000000000000..b8c05b48b219 --- /dev/null +++ b/net-wireless/bluez-utils/files/bluez-utils-2.22-pin-helper.sh @@ -0,0 +1,4 @@ +#!/bin/sh +echo -n "PIN:" +cat /etc/bluetooth/pin + diff --git a/net-wireless/bluez-utils/files/digest-bluez-utils-2.22 b/net-wireless/bluez-utils/files/digest-bluez-utils-2.22 new file mode 100644 index 000000000000..1fb83076a700 --- /dev/null +++ b/net-wireless/bluez-utils/files/digest-bluez-utils-2.22 @@ -0,0 +1 @@ +MD5 cb5d25f79ff4a744a742070617245ce4 bluez-utils-2.22.tar.gz 545622 |