From 59ef3232c067d4934ea1178c44535b1b2fa8bb39 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Mon, 19 Jun 2006 13:16:12 +0000 Subject: [PATCH] Removed old versions, bug #137084. Package-Manager: portage-2.1 --- net-wireless/bluez-utils/Manifest | 43 +----- .../bluez-utils/bluez-utils-2.19.ebuild | 112 -------------- .../bluez-utils/bluez-utils-2.21.ebuild | 107 ------------- .../bluez-utils/bluez-utils-2.22.ebuild | 107 ------------- .../bluez-utils/files/bluez-utils-2.21-init.d | 143 ------------------ .../bluez-utils/files/bluez-utils-2.21-pin | 1 - .../files/bluez-utils-2.21-pin-helper.sh | 4 - .../bluez-utils/files/digest-bluez-utils-2.19 | 1 - .../bluez-utils/files/digest-bluez-utils-2.21 | 1 - .../bluez-utils/files/digest-bluez-utils-2.22 | 1 - 10 files changed, 4 insertions(+), 516 deletions(-) delete mode 100644 net-wireless/bluez-utils/bluez-utils-2.19.ebuild delete mode 100644 net-wireless/bluez-utils/bluez-utils-2.21.ebuild delete mode 100644 net-wireless/bluez-utils/bluez-utils-2.22.ebuild delete mode 100644 net-wireless/bluez-utils/files/bluez-utils-2.21-init.d delete mode 100644 net-wireless/bluez-utils/files/bluez-utils-2.21-pin delete mode 100644 net-wireless/bluez-utils/files/bluez-utils-2.21-pin-helper.sh delete mode 100644 net-wireless/bluez-utils/files/digest-bluez-utils-2.19 delete mode 100644 net-wireless/bluez-utils/files/digest-bluez-utils-2.21 delete mode 100644 net-wireless/bluez-utils/files/digest-bluez-utils-2.22 diff --git a/net-wireless/bluez-utils/Manifest b/net-wireless/bluez-utils/Manifest index 6ee65daf9c85..5054841cc283 100644 --- a/net-wireless/bluez-utils/Manifest +++ b/net-wireless/bluez-utils/Manifest @@ -26,18 +26,6 @@ AUX bluez-utils-2.10-handsfree.patch 540 RMD160 0303c73eb30931afea7076d5efdf893c MD5 2fcf0c81d0479f85cb7244f2b1900c6d files/bluez-utils-2.10-handsfree.patch 540 RMD160 0303c73eb30931afea7076d5efdf893cdae74f2c files/bluez-utils-2.10-handsfree.patch 540 SHA256 5f089ad70e5fbf7c6bf345b0ab5e812c2987c8bf3741923d8efd2daedb1896de files/bluez-utils-2.10-handsfree.patch 540 -AUX bluez-utils-2.21-init.d 3399 RMD160 efd5cd101d55d4cdb2efa4d83f3ccbfd6280f2e2 SHA1 6ab8f7223b8f81babb33179ed3dad368aca56997 SHA256 9db967d82193c5196ca7236c808d721a315dc54b9c4625f199eeaed1ef54c508 -MD5 7a47fa7ef1dc74a77dfb13ed5f96b983 files/bluez-utils-2.21-init.d 3399 -RMD160 efd5cd101d55d4cdb2efa4d83f3ccbfd6280f2e2 files/bluez-utils-2.21-init.d 3399 -SHA256 9db967d82193c5196ca7236c808d721a315dc54b9c4625f199eeaed1ef54c508 files/bluez-utils-2.21-init.d 3399 -AUX bluez-utils-2.21-pin 5 RMD160 0bb5d1252d5182a7a7513897bde831ed118661d4 SHA1 1be168ff837f043bde17c0314341c84271047b31 SHA256 a883dafc480d466ee04e0d6da986bd78eb1fdd2178d04693723da3a8f95d42f4 -MD5 e7df7cd2ca07f4f1ab415d457a6e1c13 files/bluez-utils-2.21-pin 5 -RMD160 0bb5d1252d5182a7a7513897bde831ed118661d4 files/bluez-utils-2.21-pin 5 -SHA256 a883dafc480d466ee04e0d6da986bd78eb1fdd2178d04693723da3a8f95d42f4 files/bluez-utils-2.21-pin 5 -AUX bluez-utils-2.21-pin-helper.sh 49 RMD160 44df494012f060b91d8d65610779d805e0445cec SHA1 b5b31bae6d3c3f8f1d3307484efd3579042c5c25 SHA256 4575783e5b65242ced8c20d362d6ef4c00974da4557e71b34820dab2524f7bb1 -MD5 992426019dbbd772c9326512d2a0033d files/bluez-utils-2.21-pin-helper.sh 49 -RMD160 44df494012f060b91d8d65610779d805e0445cec files/bluez-utils-2.21-pin-helper.sh 49 -SHA256 4575783e5b65242ced8c20d362d6ef4c00974da4557e71b34820dab2524f7bb1 files/bluez-utils-2.21-pin-helper.sh 49 AUX bluez-utils-2.22-dbus-0.60.patch 374 RMD160 e67b7ec8bd84e2e16edec23ca08a119099eda5b3 SHA1 58c6406cf3832615f1cc5e7a05f66e9fc64a4f69 SHA256 e25d74d16bed13f7b2b4a317a92cbd07b6a60d351d36ab7ec33e64e81305b2d0 MD5 b0d830f3f31316886a42497d632d0ac1 files/bluez-utils-2.22-dbus-0.60.patch 374 RMD160 e67b7ec8bd84e2e16edec23ca08a119099eda5b3 files/bluez-utils-2.22-dbus-0.60.patch 374 @@ -94,27 +82,13 @@ AUX pin.sample 26 RMD160 d765102515a5a74f4e21045572253aca3086a52f SHA1 694988c2d MD5 7449a658ef08ac7e86b221b3c43961af files/pin.sample 26 RMD160 d765102515a5a74f4e21045572253aca3086a52f files/pin.sample 26 SHA256 d1da7197eca196913a2e43adc3e54630f10f7a60631e4fc444e73d3f30ad5c2c files/pin.sample 26 -DIST bluez-utils-2.19.tar.gz 496241 -DIST bluez-utils-2.21.tar.gz 506081 DIST bluez-utils-2.22.tar.gz 545622 DIST bluez-utils-2.24.tar.gz 585401 RMD160 b1aa8cee2ce8cafb08312e1da2e2be908ed1ac22 SHA256 06290c2d6b05d8f6736038c86fe12bb63f6661dcbf95563a531b93085503c991 DIST bluez-utils-2.25.tar.gz 592073 RMD160 ec28db230c8f612f799dc7ca4e77480093e8c8f3 SHA1 fa28eaf4e81cdf5b05acf80bd8d5614f9ee3eb3e SHA256 dce533631ddba65044293f6fb5ee429232c1a8bf0146e0b7af89add348d0fc3f -EBUILD bluez-utils-2.19.ebuild 2897 RMD160 8810fd5c9bdbb9edb7fe85860830e27ed8f1078f SHA1 171536709197e93a5979f0d0cc18f645681a3599 SHA256 a34f5c339ab780864e732f24a729cb94c82d6aa7b7d45d242c3e3b02f0394fb4 -MD5 909705b6dbfe23a99cd6353c2a1a0710 bluez-utils-2.19.ebuild 2897 -RMD160 8810fd5c9bdbb9edb7fe85860830e27ed8f1078f bluez-utils-2.19.ebuild 2897 -SHA256 a34f5c339ab780864e732f24a729cb94c82d6aa7b7d45d242c3e3b02f0394fb4 bluez-utils-2.19.ebuild 2897 -EBUILD bluez-utils-2.21.ebuild 2630 RMD160 acb6bb9c47ea0e0cce6d97d2ba8353e363451748 SHA1 992ddc596d9e4fef6b327ef5595cf0ad6b1c826c SHA256 0c1a7f89144fb12db7d1aa06870c5f926a7e39d60433e0373e555a545eba6a96 -MD5 bc6b50744c64a764187e0f446a3233de bluez-utils-2.21.ebuild 2630 -RMD160 acb6bb9c47ea0e0cce6d97d2ba8353e363451748 bluez-utils-2.21.ebuild 2630 -SHA256 0c1a7f89144fb12db7d1aa06870c5f926a7e39d60433e0373e555a545eba6a96 bluez-utils-2.21.ebuild 2630 EBUILD bluez-utils-2.22-r1.ebuild 2737 RMD160 5cb85765c1d08f5d94a4f84c8248c542be75c8d3 SHA1 f58912d738a24a67feaa7367939fc96ebd49ee9a SHA256 6e9283ed7c65a2a04090762a663ba4370e0ef25f2971c0069faa3b781a9e2469 MD5 c6644dd4c0d619e6f90a24ae7b8f7a3f bluez-utils-2.22-r1.ebuild 2737 RMD160 5cb85765c1d08f5d94a4f84c8248c542be75c8d3 bluez-utils-2.22-r1.ebuild 2737 SHA256 6e9283ed7c65a2a04090762a663ba4370e0ef25f2971c0069faa3b781a9e2469 bluez-utils-2.22-r1.ebuild 2737 -EBUILD bluez-utils-2.22.ebuild 2635 RMD160 c328435cb823040f0753b95eeed6110c18d785b7 SHA1 0f101063df7f10be0c14b9ad4c2465e9e1e9b7c0 SHA256 cffc5003a73acc42136dc125a4463c48f6412b2e4a7af205ba75783240b971e8 -MD5 31ae77e0e67d31710053fec9ed8a9671 bluez-utils-2.22.ebuild 2635 -RMD160 c328435cb823040f0753b95eeed6110c18d785b7 bluez-utils-2.22.ebuild 2635 -SHA256 cffc5003a73acc42136dc125a4463c48f6412b2e4a7af205ba75783240b971e8 bluez-utils-2.22.ebuild 2635 EBUILD bluez-utils-2.24.ebuild 2944 RMD160 aef86138b7786a18534caf2fc41d0cf6368d9da2 SHA1 3f66fa8419408fa6d706830c9bc18321d8b611a4 SHA256 2265a08ec6a103d246f0c83d9feaf111ba9b62e3e99dbcb36928897ddb415d5b MD5 d12a3d63b6ec1d8f1b88b734a988a9b6 bluez-utils-2.24.ebuild 2944 RMD160 aef86138b7786a18534caf2fc41d0cf6368d9da2 bluez-utils-2.24.ebuild 2944 @@ -127,23 +101,14 @@ EBUILD bluez-utils-2.25.ebuild 3077 RMD160 f7f74a70a3a1ce93615b221e7f0154ce90842 MD5 5dd24dd67a1d57fd89f930895882e25b bluez-utils-2.25.ebuild 3077 RMD160 f7f74a70a3a1ce93615b221e7f0154ce908426ff bluez-utils-2.25.ebuild 3077 SHA256 c612f0de47e5a97d2725b33e4f2b350eef15c04fd2556757c4cd547493a8b90e bluez-utils-2.25.ebuild 3077 -MISC ChangeLog 11736 RMD160 6f3986c0d1b13e4a91f396350b6e541d9173b969 SHA1 eb7bdbb55a360fdb4ad8d96ff2e1557ff5363acf SHA256 9b20f8b7d2122b387fd385d5f896da92d98f680398f7a158caaff919b8e9b3ee -MD5 66dcdcf126262fd0cfb24f6d373389b4 ChangeLog 11736 -RMD160 6f3986c0d1b13e4a91f396350b6e541d9173b969 ChangeLog 11736 -SHA256 9b20f8b7d2122b387fd385d5f896da92d98f680398f7a158caaff919b8e9b3ee ChangeLog 11736 +MISC ChangeLog 12009 RMD160 b5b2db845c3c3b8b5256b52d9818b7a2d9a6d3fe SHA1 cd18aa3687321cd155312343fa8b7b0c635d4a5b SHA256 b7368b8926b2edb974fd0a2b414d67182eb24fa9dc033ed986e3bb8ecf4b09fb +MD5 22918ea17c5ad8b62753ba690a2c419e ChangeLog 12009 +RMD160 b5b2db845c3c3b8b5256b52d9818b7a2d9a6d3fe ChangeLog 12009 +SHA256 b7368b8926b2edb974fd0a2b414d67182eb24fa9dc033ed986e3bb8ecf4b09fb ChangeLog 12009 MISC metadata.xml 235 RMD160 fb83fc852c808450a2cc256fa9b9c7c784b884e2 SHA1 4d6be75db06dc110a472d910e8edeb03ba99e4f9 SHA256 492cfc1c578fed368c8ae0ed98fbf455f9a5fa097235004b6cf3a3981d6fa983 MD5 439de383d422683abddb9ff8b75aa67b metadata.xml 235 RMD160 fb83fc852c808450a2cc256fa9b9c7c784b884e2 metadata.xml 235 SHA256 492cfc1c578fed368c8ae0ed98fbf455f9a5fa097235004b6cf3a3981d6fa983 metadata.xml 235 -MD5 5b6549a4300097637d65ab565a6c9535 files/digest-bluez-utils-2.19 68 -RMD160 9c8c387a3fe13ca6c03f91394287ecd85589a04c files/digest-bluez-utils-2.19 68 -SHA256 c5de60006298c091f455fcf1799ad075f012d4915d32e27e40e059505b21ebd9 files/digest-bluez-utils-2.19 68 -MD5 f98d1052bca4dd960f4d92ad331ba348 files/digest-bluez-utils-2.21 68 -RMD160 6b90858180b7be8965092182c5bfcb4aac14b431 files/digest-bluez-utils-2.21 68 -SHA256 3bf60ca882aff356895387fcf79ec60c4aae7cf71f98cf1ba67e3931d54b2194 files/digest-bluez-utils-2.21 68 -MD5 62268482cd2b786b23286eda333562d1 files/digest-bluez-utils-2.22 68 -RMD160 7c3b4e16913f3de4f8c7425c0d26e8093add1b32 files/digest-bluez-utils-2.22 68 -SHA256 62d210c83e23021d395eaf873326edb2bb7a9bd5d09a42b5dac5fe6380446c03 files/digest-bluez-utils-2.22 68 MD5 62268482cd2b786b23286eda333562d1 files/digest-bluez-utils-2.22-r1 68 RMD160 7c3b4e16913f3de4f8c7425c0d26e8093add1b32 files/digest-bluez-utils-2.22-r1 68 SHA256 62d210c83e23021d395eaf873326edb2bb7a9bd5d09a42b5dac5fe6380446c03 files/digest-bluez-utils-2.22-r1 68 diff --git a/net-wireless/bluez-utils/bluez-utils-2.19.ebuild b/net-wireless/bluez-utils/bluez-utils-2.19.ebuild deleted file mode 100644 index 9d8833263590..000000000000 --- a/net-wireless/bluez-utils/bluez-utils-2.19.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2006 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.19.ebuild,v 1.7 2006/01/02 07:47:06 compnerd Exp $ - -IUSE="gtk alsa cups pcmcia dbus" - -inherit eutils - -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 hppa ppc sparc x86" - -RDEPEND=">=net-wireless/bluez-libs-2.19 - !net-wireless/bluez-pan - dev-libs/libusb - gtk? ( >=dev-python/pygtk-2.2 ) - alsa? ( media-libs/alsa-lib ) - cups? ( net-print/cups ) - dbus? ( >=sys-apps/dbus-0.23 !>=sys-apps/dbus-0.60 ) - pcmcia? ( virtual/pcmcia sys-apps/setserial )" - -DEPEND="sys-devel/bison - sys-devel/flex - >=sys-apps/sed-4 - ${RDEPEND}" - -src_unpack() { - unpack ${A} - cd ${S} - if ! use gtk; then - mv -f scripts/Makefile.in ${T}/Makefile.in - sed -e "s:= bluepin:= :" \ - ${T}/Makefile.in > scripts/Makefile.in - fi - cd ${S}/scripts - epatch ${FILESDIR}/2.15-bluepin.patch -} - -src_compile() { - - econf \ - $(use_enable cups) \ - $(use_enable alsa) \ - $(use_enable pcmcia) \ - $(use_enable gtk bluepin) \ - $(use_enable dbus) \ - --enable-usb \ - --disable-initscripts \ - --enable-obex \ - --enable-hid2hci \ - --enable-bcm203x \ - --enable-avctrl \ - --enable-dfutool \ - --localstatedir=/var \ - || die "econf failed" - emake || die "make failed" -} - -src_install() { - make DESTDIR=${D} install || die - dodoc README ChangeLog - # optional bluetooth utils - cd ${S}/tools - dosbin hcisecfilter ppporc pskey bccmd - cd ${S} - - sed -e "s:security auto;:security user;:" \ - -i ${D}/etc/bluetooth/hcid.conf - - if use gtk; then - sed -e "s:\(pin_helper \).*:\1/usr/bin/bluepin;:" \ - -i ${D}/etc/bluetooth/hcid.conf - else - sed -e "s:\(pin_helper \).*:\1/etc/bluetooth/pin-helper;:" \ - -i ${D}/etc/bluetooth/hcid.conf - fi - - exeinto /etc/init.d - newexe ${FILESDIR}/2.16/bluetooth.rc bluetooth - - exeinto /etc/bluetooth - newexe ${FILESDIR}/2.10-r1/pin-helper.sh pin-helper - insinto /etc/bluetooth - newins ${FILESDIR}/2.10-r1/pin pin - fperms 0600 /etc/bluetooth/pin - - insinto /etc/conf.d - newins ${S}/scripts/bluetooth.default bluetooth - sed -i -e 's/^HIDD_ENABLE=.*/HIDD_ENABLE=false/' \ - -e 's/^HID2HCI_ENABLE=.*/HID2HCI_ENABLE=false/' \ - ${D}/etc/conf.d/bluetooth -} - -pkg_postinst() { - einfo "" - einfo "A startup script has been installed in /etc/init.d/bluetooth." - einfo "RFComm devices are found in /dev/bluetooth/rfcomm/* instead of /dev/rfcomm*" - echo - 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." - echo - - if use gtk; then - einfo "By default, /usr/bin/bluepin will be launched on the desktop display" - einfo "for pin number input." - fi - einfo "" -} diff --git a/net-wireless/bluez-utils/bluez-utils-2.21.ebuild b/net-wireless/bluez-utils/bluez-utils-2.21.ebuild deleted file mode 100644 index 23f4c84c2830..000000000000 --- a/net-wireless/bluez-utils/bluez-utils-2.21.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2006 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.21.ebuild,v 1.2 2006/01/02 07:47:06 compnerd 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.21 - dev-libs/libusb - alsa? ( >=media-libs/alsa-lib-1.0.9 ) - cups? ( net-print/cups ) - dbus? ( >=sys-apps/dbus-0.31 !>=sys-apps/dbus-0.60 ) - 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/bluez-utils-2.22.ebuild b/net-wireless/bluez-utils/bluez-utils-2.22.ebuild deleted file mode 100644 index 8b6cc0c998a8..000000000000 --- a/net-wireless/bluez-utils/bluez-utils-2.22.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2006 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.3 2006/01/02 07:47:06 compnerd 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 hppa ~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 !>=sys-apps/dbus-0.60 ) - 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.21-init.d b/net-wireless/bluez-utils/files/bluez-utils-2.21-init.d deleted file mode 100644 index 61a8b7a86f06..000000000000 --- a/net-wireless/bluez-utils/files/bluez-utils-2.21-init.d +++ /dev/null @@ -1,143 +0,0 @@ -#!/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.21-init.d,v 1.1 2005/10/23 13:00:24 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.21-pin b/net-wireless/bluez-utils/files/bluez-utils-2.21-pin deleted file mode 100644 index 81c545efebe5..000000000000 --- a/net-wireless/bluez-utils/files/bluez-utils-2.21-pin +++ /dev/null @@ -1 +0,0 @@ -1234 diff --git a/net-wireless/bluez-utils/files/bluez-utils-2.21-pin-helper.sh b/net-wireless/bluez-utils/files/bluez-utils-2.21-pin-helper.sh deleted file mode 100644 index b8c05b48b219..000000000000 --- a/net-wireless/bluez-utils/files/bluez-utils-2.21-pin-helper.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -echo -n "PIN:" -cat /etc/bluetooth/pin - diff --git a/net-wireless/bluez-utils/files/digest-bluez-utils-2.19 b/net-wireless/bluez-utils/files/digest-bluez-utils-2.19 deleted file mode 100644 index 257cbde0ab55..000000000000 --- a/net-wireless/bluez-utils/files/digest-bluez-utils-2.19 +++ /dev/null @@ -1 +0,0 @@ -MD5 8f9fb314bbe0041c47bf34f1465dbed4 bluez-utils-2.19.tar.gz 496241 diff --git a/net-wireless/bluez-utils/files/digest-bluez-utils-2.21 b/net-wireless/bluez-utils/files/digest-bluez-utils-2.21 deleted file mode 100644 index 94411df0615a..000000000000 --- a/net-wireless/bluez-utils/files/digest-bluez-utils-2.21 +++ /dev/null @@ -1 +0,0 @@ -MD5 f61b3b87177d876c4fcfaba890b049b4 bluez-utils-2.21.tar.gz 506081 diff --git a/net-wireless/bluez-utils/files/digest-bluez-utils-2.22 b/net-wireless/bluez-utils/files/digest-bluez-utils-2.22 deleted file mode 100644 index 1fb83076a700..000000000000 --- a/net-wireless/bluez-utils/files/digest-bluez-utils-2.22 +++ /dev/null @@ -1 +0,0 @@ -MD5 cb5d25f79ff4a744a742070617245ce4 bluez-utils-2.22.tar.gz 545622 -- 2.26.2