summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/bluez-utils/ChangeLog6
-rw-r--r--net-wireless/bluez-utils/Manifest5
-rw-r--r--net-wireless/bluez-utils/bluez-utils-2.3-r1.ebuild18
-rw-r--r--net-wireless/bluez-utils/files/pin.sample2
4 files changed, 21 insertions, 10 deletions
diff --git a/net-wireless/bluez-utils/ChangeLog b/net-wireless/bluez-utils/ChangeLog
index cb8d20af9de1..dd042812b398 100644
--- a/net-wireless/bluez-utils/ChangeLog
+++ b/net-wireless/bluez-utils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/bluez-utils
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/ChangeLog,v 1.7 2003/09/19 14:52:11 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/ChangeLog,v 1.8 2003/09/19 18:10:47 liquidx Exp $
+
+ 19 Sep 2003; Alastair Tse <liquidx@gentoo.org> bluez-utils-2.3-r1.ebuild,
+ files/pin.sample:
+ added sample pin script
*bluez-utils-2.3-r1 (19 Sep 2003)
diff --git a/net-wireless/bluez-utils/Manifest b/net-wireless/bluez-utils/Manifest
index ff03c866e897..a8f1159ba981 100644
--- a/net-wireless/bluez-utils/Manifest
+++ b/net-wireless/bluez-utils/Manifest
@@ -1,8 +1,9 @@
-MD5 529f5b8ee5fb6883e53a923b1cc1a398 ChangeLog 1319
-MD5 2919506c01ddfad5d03247b0c4c7d0d4 bluez-utils-2.3-r1.ebuild 1632
+MD5 2ee67cb1c0e7a24ac93c7c8d399f5204 ChangeLog 1442
+MD5 ab5f06ed4f056127bae7cf9f902e9e8e bluez-utils-2.3-r1.ebuild 1800
MD5 f7db3b22bfee688d179582ebd6fb0716 bluez-utils-2.3.ebuild 1540
MD5 23d1ee94cc2fb13eb6dcae0a51b061fa metadata.xml 237
MD5 2ab25111499ea25953a1231ba729de51 files/bluetooth.rc 1081
MD5 336de3d1eba238735777d7d8f8e0c282 files/bluez-utils-2.3-bluepin.patch 461
MD5 8bc76d5064a1fae0dd2481919b1988f1 files/digest-bluez-utils-2.3 67
MD5 8bc76d5064a1fae0dd2481919b1988f1 files/digest-bluez-utils-2.3-r1 67
+MD5 7449a658ef08ac7e86b221b3c43961af files/pin.sample 26
diff --git a/net-wireless/bluez-utils/bluez-utils-2.3-r1.ebuild b/net-wireless/bluez-utils/bluez-utils-2.3-r1.ebuild
index 229019d7de66..15f42fd2118e 100644
--- a/net-wireless/bluez-utils/bluez-utils-2.3-r1.ebuild
+++ b/net-wireless/bluez-utils/bluez-utils-2.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/bluez-utils-2.3-r1.ebuild,v 1.1 2003/09/19 14:52:11 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/bluez-utils-2.3-r1.ebuild,v 1.2 2003/09/19 18:10:47 liquidx Exp $
DESCRIPTION="bluetooth utilities"
HOMEPAGE="http://bluez.sourceforge.net/"
@@ -11,8 +11,8 @@ SLOT="0"
KEYWORDS="~x86"
IUSE="gtk"
RDEPEND=">=net-wireless/bluez-libs-2.4
- gtk? ( >=dev-python/pygtk-0.6.11 )"
-
+ gtk? ( >=dev-python/pygtk-0.6.11 )"
+
DEPEND="sys-devel/bison
sys-devel/flex
>=sys-apps/sed-4
@@ -52,17 +52,21 @@ src_compile() {
src_install() {
make DESTDIR=${D} install || die
dodoc README
-
- sed -e "s:\(pin_helper \)/bin/bluepin:\1/usr/bin/bluepin" \
+
+ sed -e "s:\(pin_helper \)/bin/bluepin:\1/etc/bluetooth/pin" \
-i ${D}/etc/bluetooth/hcid.conf
-
+
insinto /etc/init.d
newins ${FILESDIR}/bluetooth.rc bluetooth
+ insinto /etc/bluetooth
+ newins ${FILESDIR}/pin.sample pin
+ fperms 0700 /etc/bluetooth/pin
}
pkg_postinst() {
einfo ""
einfo "A startup script has been installed in /etc/init.d/bluetooth."
- einfo "Rfcomm devices are found in /dev/bluetooh/rfcomm/*"
+ einfo "RFComm devices are found in /dev/bluetooh/rfcomm/* instead of /dev/rfcomm*"
+ einfo "If you need to set a PIN, edit /etc/bluetooth/pin"
einfo ""
}
diff --git a/net-wireless/bluez-utils/files/pin.sample b/net-wireless/bluez-utils/files/pin.sample
new file mode 100644
index 000000000000..5bde7f4d8757
--- /dev/null
+++ b/net-wireless/bluez-utils/files/pin.sample
@@ -0,0 +1,2 @@
+#!/bin/sh
+echo "PIN:1234"