diff options
Diffstat (limited to 'net-wireless')
18 files changed, 279 insertions, 0 deletions
diff --git a/net-wireless/bluez-bluefw/ChangeLog b/net-wireless/bluez-bluefw/ChangeLog new file mode 100644 index 000000000000..59481ea5095b --- /dev/null +++ b/net-wireless/bluez-bluefw/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-wireless/bluez-bluefw +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-bluefw/ChangeLog,v 1.1 2002/11/08 22:57:33 jrray Exp $ + +*bluez-bluefw-0.7 (08 Nov 2002) + + 08 Nov 2002; J Robert Ray <jrray@gentoo.org> : + New ebuild. diff --git a/net-wireless/bluez-bluefw/bluez-bluefw-0.7.ebuild b/net-wireless/bluez-bluefw/bluez-bluefw-0.7.ebuild new file mode 100644 index 000000000000..c3b72d50a4ac --- /dev/null +++ b/net-wireless/bluez-bluefw/bluez-bluefw-0.7.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-bluefw/bluez-bluefw-0.7.ebuild,v 1.1 2002/11/08 22:57:33 jrray Exp $ + +DESCRIPTION="bluetooth firmware downloader" +HOMEPAGE="http://bluez.sourceforge.net/" +SRC_URI="http://bluez.sourceforge.net/download/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="sys-apps/hotplug + >=net-wireless/bluez-kernel-2.3 + >=net-wireless/bluez-libs-2.2" +S="${WORKDIR}/${P}" + +src_compile() { + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die +} + +pkg_postinst() { + # in order for hotplug to work, the id string from bluefw.usermap has + # to be added to usb.usermap + # unfortunately this isn't conveniently reversable + if [[ ! `grep ^bluefw /etc/hotplug/usb.usermap` ]]; then + cat /etc/hotplug/usb/bluefw.usermap >> /etc/hotplug/usb.usermap + fi +} diff --git a/net-wireless/bluez-bluefw/files/digest-bluez-bluefw-0.7 b/net-wireless/bluez-bluefw/files/digest-bluez-bluefw-0.7 new file mode 100644 index 000000000000..5d8063f96d43 --- /dev/null +++ b/net-wireless/bluez-bluefw/files/digest-bluez-bluefw-0.7 @@ -0,0 +1 @@ +MD5 0b69a7a694aa849a520b1ac6e01db569 bluez-bluefw-0.7.tar.gz 103931 diff --git a/net-wireless/bluez-hcidump/ChangeLog b/net-wireless/bluez-hcidump/ChangeLog new file mode 100644 index 000000000000..1e7c2f4261c4 --- /dev/null +++ b/net-wireless/bluez-hcidump/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-wireless/bluez-hcidump +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-hcidump/ChangeLog,v 1.1 2002/11/08 22:57:33 jrray Exp $ + +*bluez-hcidump-1.3 (08 Nov 2002) + + 08 Nov 2002; J Robert Ray <jrray@gentoo.org> : + New ebuild. diff --git a/net-wireless/bluez-hcidump/bluez-hcidump-1.3.ebuild b/net-wireless/bluez-hcidump/bluez-hcidump-1.3.ebuild new file mode 100644 index 000000000000..809c4dd68034 --- /dev/null +++ b/net-wireless/bluez-hcidump/bluez-hcidump-1.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-hcidump/bluez-hcidump-1.3.ebuild,v 1.1 2002/11/08 22:57:33 jrray 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" +IUSE="" +DEPEND=">=net-wireless/bluez-kernel-2.3 + >=net-wireless/bluez-libs-2.2" +S="${WORKDIR}/${P}" + +src_compile() { + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die +} diff --git a/net-wireless/bluez-hcidump/files/digest-bluez-hcidump-1.3 b/net-wireless/bluez-hcidump/files/digest-bluez-hcidump-1.3 new file mode 100644 index 000000000000..08622c5f3418 --- /dev/null +++ b/net-wireless/bluez-hcidump/files/digest-bluez-hcidump-1.3 @@ -0,0 +1 @@ +MD5 261110b8e9816c4661ad4fcb5afeb4ff bluez-hcidump-1.3.tar.gz 165063 diff --git a/net-wireless/bluez-kernel/ChangeLog b/net-wireless/bluez-kernel/ChangeLog new file mode 100644 index 000000000000..14eb7030ff23 --- /dev/null +++ b/net-wireless/bluez-kernel/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-wireless/bluez-kernel +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-kernel/ChangeLog,v 1.1 2002/11/08 22:57:33 jrray Exp $ + +*bluez-kernel-2.3 (08 Nov 2002) + + 08 Nov 2002; J Robert Ray <jrray@gentoo.org> : + New ebuild. diff --git a/net-wireless/bluez-kernel/bluez-kernel-2.3.ebuild b/net-wireless/bluez-kernel/bluez-kernel-2.3.ebuild new file mode 100644 index 000000000000..7de90ff231c5 --- /dev/null +++ b/net-wireless/bluez-kernel/bluez-kernel-2.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-kernel/bluez-kernel-2.3.ebuild,v 1.1 2002/11/08 22:57:33 jrray Exp $ + +DESCRIPTION="bluetooth kernel drivers" +HOMEPAGE="http://bluez.sourceforge.net/" +SRC_URI="http://bluez.sourceforge.net/download/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="" +S="${WORKDIR}/${P}" + +src_unpack() { + unpack ${A} || die "unpack failed" + cd ${S} || die + + # don't let the install target try to run depmod + # and 'bnep' fails to compile + + mv Makefile.in Makefile.in.orig + sed -e '25d' \ + -e 's|bnep\s*||' \ + Makefile.in.orig > Makefile.in +} + +src_compile() { + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die +} + +pkg_setup() { + # bluez shouldn't be used with the std linux bluetooth usb driver + if [ -f /usr/src/linux/.config ]; then + if [[ `grep ^CONFIG_USB_BLUETOOTH=y /usr/src/linux/.config` ]]; then + einfo "You must disable the USB bluetooth driver in the linux kernel" + einfo "before running bluez" + die "Bad kernel config" + elif [[ `grep ^CONFIG_USB_BLUETOOTH=m /usr/src/linux/.config` ]]; then + einfo "Warning: bluez should not be used with the USB bluetooth driver" + einfo "Warning: in the linux kernel" + fi + fi +} + +pkg_postinst() { + if [ "${ROOT}" = / ] + then + [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules + fi +} diff --git a/net-wireless/bluez-kernel/files/digest-bluez-kernel-2.3 b/net-wireless/bluez-kernel/files/digest-bluez-kernel-2.3 new file mode 100644 index 000000000000..1f00042d6768 --- /dev/null +++ b/net-wireless/bluez-kernel/files/digest-bluez-kernel-2.3 @@ -0,0 +1 @@ +MD5 1193a6242a0b1f607dcdde7aaeb2095c bluez-kernel-2.3.tar.gz 174004 diff --git a/net-wireless/bluez-libs/ChangeLog b/net-wireless/bluez-libs/ChangeLog new file mode 100644 index 000000000000..c234a5e84f7a --- /dev/null +++ b/net-wireless/bluez-libs/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-wireless/bluez-libs +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-libs/ChangeLog,v 1.1 2002/11/08 22:57:33 jrray Exp $ + +*bluez-libs-2.2 (08 Nov 2002) + + 08 Nov 2002; J Robert Ray <jrray@gentoo.org> : + New ebuild. diff --git a/net-wireless/bluez-libs/bluez-libs-2.2.ebuild b/net-wireless/bluez-libs/bluez-libs-2.2.ebuild new file mode 100644 index 000000000000..c325c5ad20ed --- /dev/null +++ b/net-wireless/bluez-libs/bluez-libs-2.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-libs/bluez-libs-2.2.ebuild,v 1.1 2002/11/08 22:57:33 jrray Exp $ + +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="~x86" +IUSE="" +DEPEND="" +RDEPEND=">=net-wireless/bluez-kernel-2.3" +S="${WORKDIR}/${P}" + +src_compile() { + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die +} diff --git a/net-wireless/bluez-libs/files/digest-bluez-libs-2.2 b/net-wireless/bluez-libs/files/digest-bluez-libs-2.2 new file mode 100644 index 000000000000..32ade2625e20 --- /dev/null +++ b/net-wireless/bluez-libs/files/digest-bluez-libs-2.2 @@ -0,0 +1 @@ +MD5 f99469e87880e965a55bc3527194c5e3 bluez-libs-2.2.tar.gz 174770 diff --git a/net-wireless/bluez-sdp/ChangeLog b/net-wireless/bluez-sdp/ChangeLog new file mode 100644 index 000000000000..54ef1fc3d31b --- /dev/null +++ b/net-wireless/bluez-sdp/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-wireless/bluez-sdp +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-sdp/ChangeLog,v 1.1 2002/11/08 22:57:33 jrray Exp $ + +*bluez-sdp-0.8 (08 Nov 2002) + + 08 Nov 2002; J Robert Ray <jrray@gentoo.org> : + New ebuild. diff --git a/net-wireless/bluez-sdp/bluez-sdp-0.8.ebuild b/net-wireless/bluez-sdp/bluez-sdp-0.8.ebuild new file mode 100644 index 000000000000..08884a35b228 --- /dev/null +++ b/net-wireless/bluez-sdp/bluez-sdp-0.8.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-sdp/bluez-sdp-0.8.ebuild,v 1.1 2002/11/08 22:57:33 jrray Exp $ + +DESCRIPTION="bluetooth service discovery protocol (sdp) utility" +HOMEPAGE="http://bluez.sourceforge.net/" +SRC_URI="http://bluez.sourceforge.net/download/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND=">=net-wireless/bluez-kernel-2.3 + >=net-wireless/bluez-libs-2.2" +S="${WORKDIR}/${P}" + +src_compile() { + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die +} diff --git a/net-wireless/bluez-sdp/files/digest-bluez-sdp-0.8 b/net-wireless/bluez-sdp/files/digest-bluez-sdp-0.8 new file mode 100644 index 000000000000..e074391183e4 --- /dev/null +++ b/net-wireless/bluez-sdp/files/digest-bluez-sdp-0.8 @@ -0,0 +1 @@ +MD5 f07539efcafc1999c4ca7bb442463eaf bluez-sdp-0.8.tar.gz 206853 diff --git a/net-wireless/bluez-utils/ChangeLog b/net-wireless/bluez-utils/ChangeLog new file mode 100644 index 000000000000..58eb081e4917 --- /dev/null +++ b/net-wireless/bluez-utils/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-wireless/bluez-utils +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/ChangeLog,v 1.1 2002/11/08 22:57:33 jrray Exp $ + +*bluez-utils-2.1 (08 Nov 2002) + + 08 Nov 2002; J Robert Ray <jrray@gentoo.org> : + New ebuild. diff --git a/net-wireless/bluez-utils/bluez-utils-2.1.ebuild b/net-wireless/bluez-utils/bluez-utils-2.1.ebuild new file mode 100644 index 000000000000..17818e788342 --- /dev/null +++ b/net-wireless/bluez-utils/bluez-utils-2.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2002 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.1.ebuild,v 1.1 2002/11/08 22:57:33 jrray Exp $ + +DESCRIPTION="bluetooth utilities" +HOMEPAGE="http://bluez.sourceforge.net/" +SRC_URI="http://bluez.sourceforge.net/download/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="sys-devel/bison + sys-devel/flex + >=net-wireless/bluez-libs-2.2" +RDEPEND=">=net-wireless/bluez-kernel-2.3 + >=net-wireless/bluez-libs-2.2" +S="${WORKDIR}/${P}" + +src_compile() { + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die +} + +pkg_postinst() { + # rfcomm needs some devices created to function properly + C=0 + while [ $C -lt 16 ]; do + if [ ! -c /dev/rfcomm$C ]; then + mknod -m 666 /dev/rfcomm$C c 216 $C + fi + C=`expr $C + 1` + done +} diff --git a/net-wireless/bluez-utils/files/digest-bluez-utils-2.1 b/net-wireless/bluez-utils/files/digest-bluez-utils-2.1 new file mode 100644 index 000000000000..e40937111093 --- /dev/null +++ b/net-wireless/bluez-utils/files/digest-bluez-utils-2.1 @@ -0,0 +1 @@ +MD5 ad3eedb9f64fe051b21341a154c6c0d7 bluez-utils-2.1.tar.gz 231584 |