From aa233f733225c638d88d9e68a86c4c414fcb1712 Mon Sep 17 00:00:00 2001 From: Henry Gebhardt Date: Sun, 10 Jul 2011 16:14:54 +0200 Subject: net-wireless/bluez: Remove, systemd support in main tree --- net-wireless/bluez/Manifest | 22 --- net-wireless/bluez/bluez-4.94-r1.ebuild | 178 ---------------------- net-wireless/bluez/files/4.18/bluetooth-conf.d | 10 -- net-wireless/bluez/files/4.18/bluetooth-init.d | 48 ------ net-wireless/bluez/files/4.18/conf.d-hidd | 5 - net-wireless/bluez/files/4.18/cups-location.patch | 18 --- net-wireless/bluez/files/4.18/init.d-hidd | 29 ---- net-wireless/bluez/files/4.60/bluetooth-conf.d | 7 - net-wireless/bluez/files/4.60/bluetooth-init.d | 31 ---- net-wireless/bluez/files/4.60/cups-location.patch | 13 -- net-wireless/bluez/files/bluetooth-conf.d | 7 - net-wireless/bluez/files/bluetooth-init.d | 33 ---- net-wireless/bluez/files/bluetooth.service | 10 -- net-wireless/bluez/files/bluez-4.18-udev.rules | 5 - net-wireless/bluez/files/bluez-4.18-udev.script | 28 ---- net-wireless/bluez/files/bluez-plugdev.patch | 14 -- net-wireless/bluez/files/conf.d-dund | 4 - net-wireless/bluez/files/conf.d-hidd | 5 - net-wireless/bluez/files/init.d-dund | 25 --- net-wireless/bluez/files/init.d-hidd | 30 ---- net-wireless/bluez/metadata.xml | 28 ---- 21 files changed, 550 deletions(-) delete mode 100644 net-wireless/bluez/Manifest delete mode 100644 net-wireless/bluez/bluez-4.94-r1.ebuild delete mode 100644 net-wireless/bluez/files/4.18/bluetooth-conf.d delete mode 100644 net-wireless/bluez/files/4.18/bluetooth-init.d delete mode 100644 net-wireless/bluez/files/4.18/conf.d-hidd delete mode 100644 net-wireless/bluez/files/4.18/cups-location.patch delete mode 100644 net-wireless/bluez/files/4.18/init.d-hidd delete mode 100644 net-wireless/bluez/files/4.60/bluetooth-conf.d delete mode 100644 net-wireless/bluez/files/4.60/bluetooth-init.d delete mode 100644 net-wireless/bluez/files/4.60/cups-location.patch delete mode 100644 net-wireless/bluez/files/bluetooth-conf.d delete mode 100644 net-wireless/bluez/files/bluetooth-init.d delete mode 100644 net-wireless/bluez/files/bluetooth.service delete mode 100644 net-wireless/bluez/files/bluez-4.18-udev.rules delete mode 100644 net-wireless/bluez/files/bluez-4.18-udev.script delete mode 100755 net-wireless/bluez/files/bluez-plugdev.patch delete mode 100644 net-wireless/bluez/files/conf.d-dund delete mode 100644 net-wireless/bluez/files/conf.d-hidd delete mode 100644 net-wireless/bluez/files/init.d-dund delete mode 100644 net-wireless/bluez/files/init.d-hidd delete mode 100644 net-wireless/bluez/metadata.xml diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest deleted file mode 100644 index 3860964..0000000 --- a/net-wireless/bluez/Manifest +++ /dev/null @@ -1,22 +0,0 @@ -AUX 4.18/bluetooth-conf.d 257 RMD160 d3a6cd6e9fb77f6bc0c6aac4833b15c60b781c52 SHA1 c1088c509e2182a3b5987148da03393ab2053101 SHA256 73427f2c46e7be41c24e4c536107ecf8845e0125b34997d74934b92d40f79ee4 -AUX 4.18/bluetooth-init.d 1171 RMD160 6ef1d5dc53200f282ccd02aacd5ff50d78484d78 SHA1 ef39d708cf433d9ec2d8e59b1bd3729586895449 SHA256 e314970474e19b33598272c0539bb540b45fd6e65a2d1d165648f50d54308b6e -AUX 4.18/conf.d-hidd 89 RMD160 31407e00bcb00eb0b9c1adeb7434a922bfb967e9 SHA1 dc6831fa817c8bd2378830e13bc96d3ff3fdffa2 SHA256 8fc50b8c644e0bc69eacef2a9555118b2f4758aafcb42e8ea3ca1293e8f3a211 -AUX 4.18/cups-location.patch 480 RMD160 3da74418b140c2ea05d2c9e0d743eaf004deba5d SHA1 3605b1633c92b2b7eefc7e6b78e98df3e12088a8 SHA256 cede5fed7e4ece7cf4977d40e7fd8f9a22200660b06cca15d39c9c40542ab33d -AUX 4.18/init.d-hidd 779 RMD160 8dc919f4d0aa2df8464e3326c14b6f5a9f0c360f SHA1 45901988313787db4f1d5a0fdc44009ffa3d650b SHA256 d5816349cc85313a8f7f1b79112918aeda863ff59f298b99462611860605c737 -AUX 4.60/bluetooth-conf.d 181 RMD160 287e1806e25a4f74b4a9f6fc401b78dac31d44ee SHA1 595f897553a6e99000b4a4757f8973b9f39ce11d SHA256 63a96c907996158f637abc3202235b81e7c8a998df487b3e83554062433dd2f8 -AUX 4.60/bluetooth-init.d 744 RMD160 2ba879ecc26046d64957d87f6fd67efd4b16a75f SHA1 bfee70f3491d57f5da556850260d49c06408dfa6 SHA256 bd15833f1fab747a1e90997696c49754e0b1ba121ad8017df567b35c60e2ac3a -AUX 4.60/cups-location.patch 311 RMD160 25260d0d4c0b28def0ca29dbe4579d582c632a06 SHA1 0e5218280082a2121c7553e79aba9cbb703c9fe0 SHA256 2240f0ce509f323f0b657049140a75fda3d83242b02546d81eeaa1bb3f7c26ec -AUX bluetooth-conf.d 181 RMD160 287e1806e25a4f74b4a9f6fc401b78dac31d44ee SHA1 595f897553a6e99000b4a4757f8973b9f39ce11d SHA256 63a96c907996158f637abc3202235b81e7c8a998df487b3e83554062433dd2f8 -AUX bluetooth-init.d 767 RMD160 7afb50646e359ed1ede5abdc4e5e01319dc9e3c4 SHA1 3685d4dbbf56802cb03a483dad23825968dc57f8 SHA256 38efb9dffaab70477f7525dd6657dffc725c61e29c05b0649e95c31f589b31ce -AUX bluetooth.service 160 RMD160 78975eebfd1005c59709a8f4cb5a15df39aceb9a SHA1 b0f4319571b88b9ee4f5ca57b5d94c86a7a4ebd0 SHA256 f65d83f99160098c5cf7433bc7f91d18019bf6aa054fb14e20b270b88ea69591 -AUX bluez-4.18-udev.rules 228 RMD160 ab9b4ce8907c62eb9d1f14406cc2ff3f5ec69a19 SHA1 14e652de6cfed28f215727800460e600129007c2 SHA256 7577c2ed295b67f960f17ac65a44889c6536c125b34e33860d6d9f128a59fa82 -AUX bluez-4.18-udev.script 752 RMD160 d8f60749dbe497bef7362a4c3f56b2b83ca079cb SHA1 0c39b4b4f4c57fb334daa793f89c0ffac046b956 SHA256 cb41a4eeea5137fb27d82d74f34e5e7dd725ddf8442c39ea623afe0d3c041fcf -AUX bluez-plugdev.patch 469 RMD160 a70cd0310240491cf14a5a6d7b60e760804e9816 SHA1 b273aac740e7c19aebc441c6c77e0ba8d32f3480 SHA256 ec3f06f24f530574edf5eef308afcf16bb7e0a88336a454a0b24698d2491f5f2 -AUX conf.d-dund 96 RMD160 cf0a59a45f6f1bab134e4aab3545a94dfe094ae0 SHA1 c8d3196d8a917ee5240900af8478bb5adc6c7dea SHA256 fcbf3993c373a71e14557ed35854e839fd7ebf3526f753c83cee07194afca64b -AUX conf.d-hidd 89 RMD160 31407e00bcb00eb0b9c1adeb7434a922bfb967e9 SHA1 dc6831fa817c8bd2378830e13bc96d3ff3fdffa2 SHA256 8fc50b8c644e0bc69eacef2a9555118b2f4758aafcb42e8ea3ca1293e8f3a211 -AUX init.d-dund 551 RMD160 273a9fb1989b80f12dc9813e9fe9ca42bd010e33 SHA1 51a24ecdf6d973c09553ed525e97e1cad2d6261f SHA256 e4985a2295d1cd2361b4a6a01b2d474820bf66cb1ff9251742d7aacd0fa574aa -AUX init.d-hidd 780 RMD160 46a761ad2e151c2e1d997a9455edf4e3e4d61df0 SHA1 7d2d80a91517d5fa2965c1ac6078d8cc4f382198 SHA256 b1878d70112fd8fa1b851aaa4caa5e2b4efb55bf8e2dda02c014b55ce93adedb -DIST bluez-4.94.tar.gz 1152526 RMD160 20010e0db361fce9e08c0342d092f8397e478551 SHA1 5a6ac6dfe6074e002a517f6e841623f0ded66e41 SHA256 c36d11cb9dae2143cf513e9b3e76c4a96cb88635a141c721a909136aae9af1c5 -DIST oui-20110605.txt.xz 513744 RMD160 9d6d09d1cc8fbabe9b4d23395e9e2f401be6d3c5 SHA1 2ffbb6aead3b36d9f18c642c4febdfa61aae6977 SHA256 3e0b16a7293eadaea7bea9b58cde119769a948ccd3c1f89413efc2183956fc38 -EBUILD bluez-4.94-r1.ebuild 4869 RMD160 2580eb48bdf180072e538c51b6765705134e1074 SHA1 74ed5f22db8ed4f66aa331307dc38ff2a86fcec6 SHA256 5026c21c1930163b47a264de8b0a6e0c322de998d0a6fa03f465b076ff136a3b -MISC metadata.xml 1002 RMD160 39cba3b507b69bcf58bb5561d8d6af1fd4a9aef4 SHA1 b7eaf92005d3a6f1a697f179f87a2b31e52cf50e SHA256 eefe2611dfa35dc04b39e2c7b36d9ebdfb3764bf945249bf994bd20606dfdeef diff --git a/net-wireless/bluez/bluez-4.94-r1.ebuild b/net-wireless/bluez/bluez-4.94-r1.ebuild deleted file mode 100644 index a364f2a..0000000 --- a/net-wireless/bluez/bluez-4.94-r1.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-4.94-r1.ebuild,v 1.2 2011/06/13 15:22:55 pacho Exp $ - -EAPI="4" - -inherit multilib eutils systemd - -DESCRIPTION="Bluetooth Tools and System Daemons for Linux" -HOMEPAGE="http://www.bluez.org/" - -# Because of oui.txt changing from time to time without noticement, we need to supply it -# ourselves instead of using http://standards.ieee.org/regauth/oui/oui.txt directly. -# See bugs #345263 and #349473 for reference. -OUIDATE="20110605" -SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.gz - http://dev.gentoo.org/~pacho/bluez/oui-${OUIDATE}.txt.xz" -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" - -IUSE="alsa caps +consolekit cups debug gstreamer maemo6 health old-daemons pcmcia pnat test-programs usb" - -CDEPEND=" - >=dev-libs/glib-2.14:2 - media-libs/libsndfile - sys-apps/dbus - >=sys-fs/udev-169 - alsa? ( - media-libs/alsa-lib[alsa_pcm_plugins_extplug,alsa_pcm_plugins_ioplug] - ) - caps? ( >=sys-libs/libcap-ng-0.6.2 ) - cups? ( net-print/cups ) - gstreamer? ( - >=media-libs/gstreamer-0.10:0.10 - >=media-libs/gst-plugins-base-0.10:0.10 - ) - usb? ( dev-libs/libusb:1 ) -" -DEPEND="${CDEPEND} - >=dev-util/pkgconfig-0.20 - sys-devel/flex -" -RDEPEND="${CDEPEND} - !net-wireless/bluez-libs - !net-wireless/bluez-utils - consolekit? ( sys-auth/consolekit ) - test-programs? ( - dev-python/dbus-python - dev-python/pygobject:2 - ) -" - -DOCS=( AUTHORS ChangeLog README ) - -pkg_setup() { - if ! use consolekit; then - enewgroup plugdev - fi -} - -src_prepare() { - if ! use consolekit; then - # No consolekit for at_console etc, so we grant plugdev the rights - epatch "${FILESDIR}/bluez-plugdev.patch" - fi - - if use cups; then - sed -i \ - -e "s:cupsdir = \$(libdir)/cups:cupsdir = `cups-config --serverbin`:" \ - Makefile.tools Makefile.in || die - fi -} - -src_configure() { - econf \ - $(use_enable caps capng) \ - --enable-network \ - --enable-serial \ - --enable-input \ - --enable-audio \ - --enable-service \ - $(use_enable gstreamer) \ - $(use_enable alsa) \ - $(use_enable usb) \ - --enable-tools \ - --enable-bccmd \ - --enable-dfutool \ - $(use_enable old-daemons hidd) \ - $(use_enable old-daemons pand) \ - $(use_enable old-daemons dund) \ - $(use_enable health) \ - $(use_enable pnat) \ - $(use_enable maemo6) \ - $(use_enable cups) \ - $(use_enable test-programs test) \ - --enable-udevrules \ - --enable-configfiles \ - $(use_enable pcmcia) \ - $(use_enable debug) \ - --localstatedir=/var \ - --disable-hal \ - --enable-hid2hci -} - -src_install() { - default - - if use test-programs ; then - cd "${S}/test" - dobin simple-agent simple-service monitor-bluetooth - newbin list-devices list-bluetooth-devices - rm test-textfile.{c,o} || die # bug #356529 - for b in apitest hsmicro hsplay test-* ; do - newbin "${b}" "bluez-${b}" - done - insinto /usr/share/doc/${PF}/test-services - doins service-* - - cd "${S}" - fi - - if use old-daemons; then - newconfd "${FILESDIR}/conf.d-hidd" hidd - newinitd "${FILESDIR}/init.d-hidd" hidd - newconfd "${FILESDIR}/conf.d-dund" dund - newinitd "${FILESDIR}/init.d-dund" dund - fi - - insinto /etc/bluetooth - doins \ - input/input.conf \ - audio/audio.conf \ - network/network.conf \ - serial/serial.conf - - insinto /lib/udev/rules.d/ - newins "${FILESDIR}/${PN}-4.18-udev.rules" 70-bluetooth.rules - exeinto /lib/udev/ - newexe "${FILESDIR}/${PN}-4.18-udev.script" bluetooth.sh - - newinitd "${FILESDIR}/bluetooth-init.d" bluetooth - newconfd "${FILESDIR}/bluetooth-conf.d" bluetooth - - # Install oui.txt as requested in bug #283791 and approved by upstream - insinto /var/lib/misc - newins "${WORKDIR}/oui-${OUIDATE}.txt" oui.txt - - systemd_dounit "${FILESDIR}"/bluetooth.service - - find "${ED}" -name "*.la" -delete -} - -pkg_postinst() { - udevadm control --reload-rules && udevadm trigger --subsystem-match=bluetooth - - if ! has_version "net-dialup/ppp"; then - elog "To use dial up networking you must install net-dialup/ppp." - fi - - if use old-daemons; then - elog "dund and hidd init scripts were installed because you have the old-daemons" - elog "use flag on. They are not started by default via udev so please add them" - elog "to the required runlevels using rc-update add . If" - elog "you need init scripts for the other daemons, please file requests" - elog "to https://bugs.gentoo.org." - fi - - if use consolekit; then - elog "If you want to use rfcomm as a normal user, you need to add the user" - elog "to the uucp group." - else - elog "Since you have the consolekit use flag disabled, you will only be able to run" - elog "bluetooth clients as root. If you want to be able to run bluetooth clientes as " - elog "a regular user, you need to enable the consolekit use flag for this package or" - elog "to add the user to the plugdev group." - fi -} diff --git a/net-wireless/bluez/files/4.18/bluetooth-conf.d b/net-wireless/bluez/files/4.18/bluetooth-conf.d deleted file mode 100644 index c84ac4f..0000000 --- a/net-wireless/bluez/files/4.18/bluetooth-conf.d +++ /dev/null @@ -1,10 +0,0 @@ -# Bluetooth configuraton file - -# Run hid2hci (allowed values are "true" and "false") -HID2HCI_ENABLE=false - -# Bind rfcomm devices (allowed values are "true" and "false") -RFCOMM_ENABLE=true - -# Config file for rfcomm -RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf" diff --git a/net-wireless/bluez/files/4.18/bluetooth-init.d b/net-wireless/bluez/files/4.18/bluetooth-init.d deleted file mode 100644 index d667084..0000000 --- a/net-wireless/bluez/files/4.18/bluetooth-init.d +++ /dev/null @@ -1,48 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/4.18/bluetooth-init.d,v 1.1 2008/11/28 21:21:35 dev-zero Exp $ - -depend() { - after coldplug - need dbus localmount -} - -start() { - ebegin "Starting Bluetooth" - local result=0 - - ebegin " Starting bluetoothd" - # -s enables internal sdp server - start-stop-daemon --start \ - --exec /usr/sbin/bluetoothd - result=$? - eend ${result} - - if [ "${HID2HCI_ENABLE}" = "true" -a -x /usr/sbin/hid2hci ]; then - ebegin " Running hid2hci" - /usr/sbin/hid2hci --tohci -q #be quiet - [ ${result} == 0 ] && result=$? - eend ${result} - 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 - [ ${result} == 0 ] && result=$? - eend ${result} - else - ewarn "Not enabling rfcomm because RFCOMM_CONFIG does not exists" - fi - fi - - eend ${result} -} - -stop() { - ebegin "Shutting down Bluetooth" - - start-stop-daemon --stop --quiet --exec /usr/sbin/bluetoothd - eend $? -} diff --git a/net-wireless/bluez/files/4.18/conf.d-hidd b/net-wireless/bluez/files/4.18/conf.d-hidd deleted file mode 100644 index 1677ef0..0000000 --- a/net-wireless/bluez/files/4.18/conf.d-hidd +++ /dev/null @@ -1,5 +0,0 @@ -# Bluetooth hidd daemon configuraton file - -# Arguments to hidd -HIDD_OPTIONS="--encrypt" - diff --git a/net-wireless/bluez/files/4.18/cups-location.patch b/net-wireless/bluez/files/4.18/cups-location.patch deleted file mode 100644 index e0ddc02..0000000 --- a/net-wireless/bluez/files/4.18/cups-location.patch +++ /dev/null @@ -1,18 +0,0 @@ -? cups/.deps -? cups/Makefile -? cups/Makefile.in -Index: cups/Makefile.am -=================================================================== -RCS file: /cvsroot/bluez/utils/cups/Makefile.am,v -retrieving revision 1.9 -diff -u -r1.9 Makefile.am ---- cups/Makefile.am 20 Aug 2006 02:21:03 -0000 1.9 -+++ cups/Makefile.am 1 Jun 2007 15:47:14 -0000 -@@ -1,6 +1,6 @@ - - if CUPS --cupsdir = $(libdir)/cups/backend -+cupsdir = `cups-config --serverbin`/backend - - cups_PROGRAMS = bluetooth - else diff --git a/net-wireless/bluez/files/4.18/init.d-hidd b/net-wireless/bluez/files/4.18/init.d-hidd deleted file mode 100644 index 9e61281..0000000 --- a/net-wireless/bluez/files/4.18/init.d-hidd +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/4.18/init.d-hidd,v 1.1 2008/11/28 21:21:35 dev-zero Exp $ - -depend() { - need bluetooth -} - -start() { - ebegin "Starting hidd" - start-stop-daemon --start --quiet \ - --exec /usr/bin/hidd -- ${HIDD_OPTIONS} --server - local result="$?" - local service="/etc/bluetooth/input.service" - if [ "${result}" != "0" ] && grep -q "Autostart=true" ${service}; then - eerror "You have Autostart=true in ${service}." - eerror "Change this to false if you want to use hidd." - fi - eend ${result} -} - -stop() { - ebegin "Stopping hidd" - hidd --killall - start-stop-daemon --stop --quiet --exec /usr/bin/hidd - eend $? -} - diff --git a/net-wireless/bluez/files/4.60/bluetooth-conf.d b/net-wireless/bluez/files/4.60/bluetooth-conf.d deleted file mode 100644 index b0cc744..0000000 --- a/net-wireless/bluez/files/4.60/bluetooth-conf.d +++ /dev/null @@ -1,7 +0,0 @@ -# Bluetooth configuraton file - -# Bind rfcomm devices (allowed values are "true" and "false") -RFCOMM_ENABLE=true - -# Config file for rfcomm -RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf" diff --git a/net-wireless/bluez/files/4.60/bluetooth-init.d b/net-wireless/bluez/files/4.60/bluetooth-init.d deleted file mode 100644 index 42f2238..0000000 --- a/net-wireless/bluez/files/4.60/bluetooth-init.d +++ /dev/null @@ -1,31 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/4.60/bluetooth-init.d,v 1.2 2010/06/11 10:14:00 pacho Exp $ - -depend() { - after coldplug - need dbus localmount -} - -start() { - ebegin "Starting Bluetooth" - - udevadm trigger --subsystem-match=bluetooth --action=add - eend $? - - 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 -} - -stop() { - ebegin "Shutting down Bluetooth" - eend 0 -} diff --git a/net-wireless/bluez/files/4.60/cups-location.patch b/net-wireless/bluez/files/4.60/cups-location.patch deleted file mode 100644 index 66ed8dc..0000000 --- a/net-wireless/bluez/files/4.60/cups-location.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Makefile.tools b/Makefile.tools -index d9a2425..a382e05 100644 ---- a/Makefile.tools -+++ b/Makefile.tools -@@ -122,7 +122,7 @@ EXTRA_DIST += tools/dfubabel.1 tools/avctrl.8 - - - if CUPS --cupsdir = $(libdir)/cups/backend -+cupsdir = `cups-config --serverbin`/backend - - cups_PROGRAMS = cups/bluetooth - diff --git a/net-wireless/bluez/files/bluetooth-conf.d b/net-wireless/bluez/files/bluetooth-conf.d deleted file mode 100644 index b0cc744..0000000 --- a/net-wireless/bluez/files/bluetooth-conf.d +++ /dev/null @@ -1,7 +0,0 @@ -# Bluetooth configuraton file - -# Bind rfcomm devices (allowed values are "true" and "false") -RFCOMM_ENABLE=true - -# Config file for rfcomm -RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf" diff --git a/net-wireless/bluez/files/bluetooth-init.d b/net-wireless/bluez/files/bluetooth-init.d deleted file mode 100644 index 6339f99..0000000 --- a/net-wireless/bluez/files/bluetooth-init.d +++ /dev/null @@ -1,33 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/bluetooth-init.d,v 1.2 2011/03/20 16:57:35 pacho Exp $ - -depend() { - after coldplug - need dbus localmount hostname -} - -start() { - ebegin "Starting Bluetooth" - - udevadm trigger --subsystem-match=bluetooth --action=add - eend $? - - if [ "${RFCOMM_ENABLE}" = "true" -a -x /usr/bin/rfcomm ]; then - if [ -f "${RFCOMM_CONFIG}" ]; then - eindent - ebegin "Starting rfcomm" - /usr/bin/rfcomm -f "${RFCOMM_CONFIG}" bind all - eoutdent - eend $? - else - ewarn "Not enabling rfcomm because RFCOMM_CONFIG does not exists" - fi - fi -} - -stop() { - ebegin "Shutting down Bluetooth" - eend 0 -} diff --git a/net-wireless/bluez/files/bluetooth.service b/net-wireless/bluez/files/bluetooth.service deleted file mode 100644 index 2164ec6..0000000 --- a/net-wireless/bluez/files/bluetooth.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Bluetooth -After=NetworkManager.service - -[Service] -Type=simple -ExecStart=/usr/sbin/bluetoothd --nodetach - -[Install] -WantedBy=graphical.target diff --git a/net-wireless/bluez/files/bluez-4.18-udev.rules b/net-wireless/bluez/files/bluez-4.18-udev.rules deleted file mode 100644 index b3ccd5b..0000000 --- a/net-wireless/bluez/files/bluez-4.18-udev.rules +++ /dev/null @@ -1,5 +0,0 @@ -# Start/Stop bluetooth service on device insertion. Gentoo specific. -SUBSYSTEM=="bluetooth", KERNEL=="hci[0-9]*", RUN+="bluetooth.sh" - -# So that normal users can dial out. -SUBSYSTEM=="tty", SUBSYSTEMS=="bluetooth", GROUP="uucp" diff --git a/net-wireless/bluez/files/bluez-4.18-udev.script b/net-wireless/bluez/files/bluez-4.18-udev.script deleted file mode 100644 index a532e26..0000000 --- a/net-wireless/bluez/files/bluez-4.18-udev.script +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -# -# bluetooth.sh: udev external RUN script -# -# Copyright: -# 2005-2006 Henrik Brix Andersen -# 2007 Petteri Räty -# 2008 Tiziano Müller -# Distributed under the terms of the GNU General Public License v2 - -script=/etc/init.d/bluetooth - -# Find out where sysfs is mounted. Exit if not available -sysfs=`grep -F sysfs /proc/mounts | awk '{print $2}'` -if [ "$sysfs" = "" ]; then - echo "sysfs is required" - exit 1 -fi - -if [ ! -d $sysfs/class/bluetooth/hci[0-9]* -a ! -d $sysfs/bus/bluetooth/devices/hci[0-9]* ]; then - if $script --quiet status; then - IN_HOTPLUG=1 $script --quiet stop - fi -else - if ! $script --quiet status; then - IN_HOTPLUG=1 $script --quiet start - fi -fi diff --git a/net-wireless/bluez/files/bluez-plugdev.patch b/net-wireless/bluez/files/bluez-plugdev.patch deleted file mode 100755 index 726838a..0000000 --- a/net-wireless/bluez/files/bluez-plugdev.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Nurp bluez-4.39.orig/src/bluetooth.conf bluez-4.39/src/bluetooth.conf ---- bluez-4.39.orig/src/bluetooth.conf 2008-12-20 20:18:10.000000000 +0100 -+++ bluez-4.39/src/bluetooth.conf 2009-09-05 13:30:34.411581498 +0200 -@@ -17,6 +17,10 @@ - - - -+ -+ -+ -+ - - - diff --git a/net-wireless/bluez/files/conf.d-dund b/net-wireless/bluez/files/conf.d-dund deleted file mode 100644 index a199fc7..0000000 --- a/net-wireless/bluez/files/conf.d-dund +++ /dev/null @@ -1,4 +0,0 @@ -# Bluetooth DUN daemon configuraton file - -# Arguments to dund -DUND_OPTIONS="--search --persist" diff --git a/net-wireless/bluez/files/conf.d-hidd b/net-wireless/bluez/files/conf.d-hidd deleted file mode 100644 index 1677ef0..0000000 --- a/net-wireless/bluez/files/conf.d-hidd +++ /dev/null @@ -1,5 +0,0 @@ -# Bluetooth hidd daemon configuraton file - -# Arguments to hidd -HIDD_OPTIONS="--encrypt" - diff --git a/net-wireless/bluez/files/init.d-dund b/net-wireless/bluez/files/init.d-dund deleted file mode 100644 index c8c8663..0000000 --- a/net-wireless/bluez/files/init.d-dund +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/init.d-dund,v 1.1 2010/09/24 21:32:51 pacho Exp $ - -depend() { - need bluetooth -} - -start() { - local result service - - ebegin "Starting dund" - start-stop-daemon --start --quiet \ - --exec /usr/bin/dund -- ${DUND_OPTIONS} - result="$?" - eend ${result} -} - -stop() { - ebegin "Stopping dund" - /usr/bin/dund -K - start-stop-daemon --stop --quiet --exec /usr/bin/dund - eend $? -} diff --git a/net-wireless/bluez/files/init.d-hidd b/net-wireless/bluez/files/init.d-hidd deleted file mode 100644 index 39399a9..0000000 --- a/net-wireless/bluez/files/init.d-hidd +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/init.d-hidd,v 1.1 2010/09/07 11:00:27 pacho Exp $ - -depend() { - need bluetooth -} - -start() { - local result service - - ebegin "Starting hidd" - start-stop-daemon --start --quiet \ - --exec /usr/bin/hidd -- ${HIDD_OPTIONS} --server - result="$?" - service="/etc/bluetooth/input.service" - if [ ${result} -ne 0 ] && grep -q "Autostart=true" "${service}"; then - eerror "You have Autostart=true in ${service}." - eerror "Change this to false if you want to use hidd." - fi - eend ${result} -} - -stop() { - ebegin "Stopping hidd" - hidd --killall - start-stop-daemon --stop --quiet --exec /usr/bin/hidd - eend $? -} diff --git a/net-wireless/bluez/metadata.xml b/net-wireless/bluez/metadata.xml deleted file mode 100644 index 71aa61a..0000000 --- a/net-wireless/bluez/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - mobile - pda - - dev-zero@gentoo.org - - - pacho@gentoo.org - - Taking care of this until Tiziano has - enough time for maintaing bluez. - - - - Use sys-auth/pambase[consolekit] to - determine access to bluetooth devices based on whether a user is - logged in locally or remotely - Compile with initial support for HDP - Compile with maemo6 plugin - Install old daemons like hidd and sdpd that are - deprecated by the new Service framework - Enable pnat plugin - Install tools for testing of - various Bluetooth functions - - -- cgit v1.2.3-65-gdbad