libbtbb: readd becauase I'm going to break it in gentoo soon

This commit is contained in:
Zero_Chaos 2012-07-11 03:47:01 +00:00
parent d72768af48
commit 9e085c5657
5 changed files with 203 additions and 0 deletions

View file

@ -0,0 +1,43 @@
# ChangeLog for net-libs/libbtbb
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libbtbb/ChangeLog,v 1.6 2012/07/09 19:02:02 zerochaos Exp $
*libbtbb-0.8-r1 (09 Jul 2012)
09 Jul 2012; Rick Farina <zerochaos@gentoo.org>
+files/wireshark-1.8-btbb.patch, +libbtbb-0.8-r1.ebuild, libbtbb-9999.ebuild:
add wireshark patches for bluetooth baseband support
06 Jul 2012; Rick Farina <zerochaos@gentoo.org> libbtbb-9999.ebuild:
fixing missing SRC_URI in live conditional
*libbtbb-0.8 (05 Jul 2012)
05 Jul 2012; Rick Farina <zerochaos@gentoo.org> +libbtbb-0.8.ebuild,
metadata.xml:
bump to 0.8 stable release
*libbtbb-0.7 (23 Nov 2011)
23 Nov 2011; Nathan Phillip Brink <binki@gentoo.org> -libbtbb-0.6.ebuild,
-files/libbtbb-0.6-soname-symlink.patch, +libbtbb-0.7.ebuild,
libbtbb-9999.ebuild:
Bump to libbtbb-0.7, dropping 0.6, at zero_chaos's request. No longer
requires buildsys patch.
*libbtbb-0.6 (16 Oct 2011)
16 Oct 2011; Nathan Phillip Brink <binki@gentoo.org> -libbtbb-0.5.ebuild,
-files/libbtbb-0.5-flags.patch, -files/libbtbb-0.5-makefile.patch,
+libbtbb-0.6.ebuild, +files/libbtbb-0.6-soname-symlink.patch,
libbtbb-9999.ebuild:
Bump to libbtbb-0.6 at zero_chaos's request, with a patch to fix QA warning
about missing SONAME symlink.
*libbtbb-9999 (31 May 2011)
*libbtbb-0.5 (31 May 2011)
31 May 2011; Nathan Phillip Brink <binki@gentoo.org> +libbtbb-0.5.ebuild,
+files/libbtbb-0.5-flags.patch, +files/libbtbb-0.5-makefile.patch,
+libbtbb-9999.ebuild, +metadata.xml:
Add new ebuild dev-libs/libbtbb, proxy-maintained by zero_chaos.

29
net-libs/libbtbb/Manifest Normal file
View file

@ -0,0 +1,29 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
AUX wireshark-1.8-btbb.patch 3759 SHA256 348084d534a7c8ea49270b3fab42409d37a571ef95beb52b2490d732ac71462b SHA512 14b817f57e3c416b56dbe8a59ad34bc23ddba20e493c7a775ddb427cf7c89d44a07e06ef0cb2503520f04b66e0d2e765fac327b4cc8ee40cdb345dfdc9a3943d WHIRLPOOL 7fbf71fbecc52928905ff72558a8e1282c1abf6b8610b6b679359756d9e4ab7baf789a02204eda3c0a4f60c7c981f8195b462eafc395dbd23fc817a014dbd8d7
DIST libbtbb-0.7.tar.gz 57756 SHA256 b1b2798598b25e5c5232f73451e066e13966b035542221addee4485e86ebbbf1
DIST libbtbb-0.8.tar.gz 70407 SHA256 6ea1aff41be6deec765f10b1b9aba01a88ae0f1eae2d5f617ebd847da72f57dc SHA512 b30fc869eecf718abec1ea54371ecfe4e2b64d394a6c07e6bfdd39b8fc1927aeef55b3cb686b10e0ea0bde054648a7fff13a12bbb2d1a289327a4198854fdfb1 WHIRLPOOL 878c67f934d7f264b81e811ee033dab6e03011ebbed842473911653a95129f286d326a3bfb5e865eaec4400a426c4802555c7a0cb42af81efe65bcd34567a850
EBUILD libbtbb-0.7.ebuild 763 SHA256 4eb0db20cd6e864a1c7ce6fd755c59291fbac20f2bb223965a1602b97bf75dcb SHA512 7be63f2d7331465e9023108cb31e3b0fce9e68f311457abfca13ac4c1dd515b1a49f5dd0237ff4473a0ce17f662c8e024bb4e87faf387c76770aac611dad8d81 WHIRLPOOL cad49682016abe1e89c3722c37150431bfa171ac7c01e37fa0e10fde6e1e258c00bff605a68bb864ccfb1ae8a49e19e6f54bd0e1ad4148fb6613b7fbb4f174fd
EBUILD libbtbb-0.8-r1.ebuild 913 SHA256 d1b998ece9ec178a5f28f998c7c2f62ec18dc1e513da7f4dbbbc39c5556ef15e SHA512 1046d361b560878dace958713c2e5bd57199e081efe152ef25dadbe7deb8f8be0c6fe34b16da77841f15e3181558e5e2836aa8b43fee54208e30ef74eacf856b WHIRLPOOL 41cf48dedc8b50ef93860a37bc6d982bfcf9bd7fd412fb3d03d0a42bfe1c3bec6de33dafe82aef64e285f9923cf326d600d247cbe9b5a9933f44f1e4d3ed13f8
EBUILD libbtbb-0.8.ebuild 767 SHA256 6313860c0515f7ab22c094980fb537bb3169dce76c01c32514920a269b81f18c SHA512 ca49370c294787f4a12312f69406c580eda6a3ad0f3855ec967b3d16f01449b7eed984f6e12e23a9e37ae71ed6f24afe8f8a17853df97ff803d8667e015d5490 WHIRLPOOL 33d35ac044568a1e1ac4870dce1bdb1648046508cd4a79b71d37cdddd5312837c4c051793aa6e028d6a825194721b70c1d77f3cbe43437414ec2ac009a60c47c
EBUILD libbtbb-9999.ebuild 826 SHA256 67acfee7049b407444a8b26ffdeeae899c1a78a8147d3cb1a7521b2d4f51307e SHA512 4ec1e2c44bcdb7aabdf98f38797c8563cb2e70eeb1ea46b7c1d4635c9e0f0f20924d952f52d8b012708b1ee77f5dfb6211d0fab208a0fb63cc6b8f2dd2eaad78 WHIRLPOOL 488d8ffae393fa5f417e123f449c6be24247bf6b657749d3d2a88a7df7bd913894057493323250f391809b04a2177dc7f5a21168915036b6b7407ab49c02945a
MISC ChangeLog 1656 SHA256 1586e2b45f13525cea60aa6834ade8ce0ecd672420590f421eb31e4bffbb9291 SHA512 dd8059f0d4d96a64e47c37214cdc4afa2e5c1d15a096f859901f7d450df454ce905a53c62432a3c49125187a9461edb330db0c6f5ac19d50ed8898123eed4860 WHIRLPOOL 15e94da0e6f8e25f6314ca193cca0c474d1271249f8d273b3f62b8812d07c2d62eeaeeb142c152f157e96c6e6e5e253f13094399cf030a06ac6b792165df0e9e
MISC metadata.xml 239 SHA256 24d3268dbe675a5446456b139438c1bd59bd6190077399a4a715805ef28da3cc SHA512 2fa025f3394a125b4a92ee5fdb579bcfe74755f4e4306d90979bbb04c5239adfd2fdf9242ee7623642909597100ca88a6f6b7578a24512d976930fad186e10f9 WHIRLPOOL ab1b126e1a8170eba68412f8704d38ac7a479cb80a461cb2466ad87966ab8f78ddc04ce66341e5056df8c3aa21e3cf2c530a1f3236461bb502b91842089b49bb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQIcBAEBCgAGBQJP+yraAAoJEKXdFCfdEflKerwP/3EOpD+mteUpZDQUcqLNzHU9
4CyKljlBt3+IU5aQKwlGh45KFGH0ILmMDxT6XgTVkjmXtqVgxS3s0vC5JA0LMr4M
Y9UmWYxapCBlEjT2+1kLOH8C44Xej1y/RvufDYM3J0Vy5bWbIqW+rIy+is8fKWvk
UEicBc//MYmBdjfxwAxM6yD3UpK4jZogkTA0vK3Vkic0mteOoit16UrERin+OpL1
Aefu/FyLUA3b5bIrYvAZvuHBWNMzFb2dJpg976/SkN7F2FuHqTkJ0MO75r/NwOWg
q6zrwmlwJ2KhIMFL00OMXLMn+zj1qvgWwEpM6Ih/7Yy9uaqRAmI+xY/uHbtV/p7y
D2+nLLUXmsWPzJJuR97b5TZBMd0n9vS2qrLFOQcMLRaIeojIjGmaGmXDXrSuFcaE
X96F932X6woV3Meq/vJShpPzEJFAY+wlUSLDQgPy1INgi14C168wcxDPAYWhe0VS
gGB+UR3PViJ2heY2hoTvSIfP64cm1T4PX3vmDt9zxXChnQzdPvHLdt0kABqlCH0Z
xGexsy66P0HS099uuB1g6DaMG8jVksy+r1ECXKD+eLffXBZSDM1avYk/2lqGJxGH
A0ciB2nkqFTI5ztQucS4xAxAgFUT04dyryn2UWfguHy++b1Gi0He1Y14QulkzkyR
CM5G2kj5UXwVVm2yrtRJ
=ouDW
-----END PGP SIGNATURE-----

View file

@ -0,0 +1,89 @@
diff -urN wireshark-1.8.0.orig//CMakeLists.txt wireshark-1.8.0/CMakeLists.txt
--- wireshark-1.8.0.orig//CMakeLists.txt 2012-06-06 00:33:43.000000000 +0800
+++ wireshark-1.8.0/CMakeLists.txt 2012-06-25 21:48:57.997186003 +0800
@@ -409,6 +409,7 @@
set(PLUGIN_DIR="${DATAFILE_DIR}/plugins/${CPACK_PACKAGE_VERSION}")
set(PLUGIN_SRC_DIRS
plugins/asn1
+ plugins/btbb
plugins/docsis
plugins/ethercat
plugins/gryphon
diff -urN wireshark-1.8.0.orig//Makefile.am wireshark-1.8.0/Makefile.am
--- wireshark-1.8.0.orig//Makefile.am 2012-06-20 01:47:22.000000000 +0800
+++ wireshark-1.8.0/Makefile.am 2012-06-25 21:50:00.721186002 +0800
@@ -273,6 +273,7 @@
-include plugins/Custom.make
plugin_ldadd = $(_CUSTOM_plugin_ldadd_) \
-dlopen plugins/asn1/asn1.la \
+ -dlopen plugins/btbb/btbb.la \
-dlopen plugins/docsis/docsis.la \
-dlopen plugins/ethercat/ethercat.la \
-dlopen plugins/gryphon/gryphon.la \
diff -urN wireshark-1.8.0.orig//configure.in wireshark-1.8.0/configure.in
--- wireshark-1.8.0.orig//configure.in 2012-06-22 02:21:10.000000000 +0800
+++ wireshark-1.8.0/configure.in 2012-06-25 21:51:10.925186002 +0800
@@ -2096,6 +2096,7 @@
packaging/svr4/pkginfo
plugins/Makefile
plugins/asn1/Makefile
+ plugins/btbb/Makefile
plugins/docsis/Makefile
plugins/ethercat/Makefile
plugins/gryphon/Makefile
diff -urN wireshark-1.8.0.orig//epan/Makefile.am wireshark-1.8.0/epan/Makefile.am
--- wireshark-1.8.0.orig//epan/Makefile.am 2012-06-09 08:46:54.000000000 +0800
+++ wireshark-1.8.0/epan/Makefile.am 2012-06-25 21:51:55.394186002 +0800
@@ -209,6 +209,8 @@
-include ../plugins/Custom.make
plugin_src = \
../plugins/asn1/packet-asn1.c \
+ ../plugins/btbb/packet-btbb.c \
+ ../plugins/btbb/packet-btlmp.c \
../plugins/docsis/packet-bintrngreq.c \
../plugins/docsis/packet-bpkmattr.c \
../plugins/docsis/packet-bpkmreq.c \
diff -urN wireshark-1.8.0.orig//packaging/nsis/Makefile.nmake wireshark-1.8.0/packaging/nsis/Makefile.nmake
--- wireshark-1.8.0.orig//packaging/nsis/Makefile.nmake 2012-06-20 01:47:22.000000000 +0800
+++ wireshark-1.8.0/packaging/nsis/Makefile.nmake 2012-06-25 21:52:34.248186002 +0800
@@ -46,6 +46,7 @@
PLUGINS= \
../../plugins/asn1/asn1.dll \
+ ../../plugins/btbb/btbb.dll \
../../plugins/docsis/docsis.dll \
../../plugins/ethercat/ethercat.dll \
../../plugins/gryphon/gryphon.dll \
diff -urN wireshark-1.8.0.orig//packaging/nsis/wireshark.nsi wireshark-1.8.0/packaging/nsis/wireshark.nsi
--- wireshark-1.8.0.orig//packaging/nsis/wireshark.nsi 2012-06-20 01:47:22.000000000 +0800
+++ wireshark-1.8.0/packaging/nsis/wireshark.nsi 2012-06-25 21:54:50.288185993 +0800
@@ -806,6 +806,7 @@
;-------------------------------------------
SetOutPath '$INSTDIR\plugins\${VERSION}'
File "${STAGING_DIR}\plugins\${VERSION}\asn1.dll"
+File "${STAGING_DIR}\plugins\${VERSION}\btbb.dll"
File "${STAGING_DIR}\plugins\${VERSION}\docsis.dll"
File "${STAGING_DIR}\plugins\${VERSION}\ethercat.dll"
File "${STAGING_DIR}\plugins\${VERSION}\gryphon.dll"
diff -urN wireshark-1.8.0.orig//plugins/Makefile.am wireshark-1.8.0/plugins/Makefile.am
--- wireshark-1.8.0.orig//plugins/Makefile.am 2012-06-06 00:33:17.000000000 +0800
+++ wireshark-1.8.0/plugins/Makefile.am 2012-06-25 21:55:15.766186001 +0800
@@ -24,6 +24,7 @@
-include Custom.make
SUBDIRS = $(_CUSTOM_SUBDIRS_) \
asn1 \
+ btbb \
docsis \
ethercat \
gryphon \
diff -urN wireshark-1.8.0.orig//plugins/Makefile.nmake wireshark-1.8.0/plugins/Makefile.nmake
--- wireshark-1.8.0.orig//plugins/Makefile.nmake 2012-06-06 00:33:17.000000000 +0800
+++ wireshark-1.8.0/plugins/Makefile.nmake 2012-06-25 21:55:32.469186000 +0800
@@ -8,6 +8,7 @@
PLUGIN_LIST = \
asn1 \
+ btbb \
docsis \
ethercat \
gryphon \

View file

@ -0,0 +1,34 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libbtbb/libbtbb-0.8-r1.ebuild,v 1.1 2012/07/09 19:02:02 zerochaos Exp $
EAPI=4
inherit multilib
DESCRIPTION="A library to decode Bluetooth baseband packets"
HOMEPAGE="http://libbtbb.sourceforge.net/"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="http://git.code.sf.net/p/libbtbb/code"
inherit git-2
KEYWORDS=""
else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE=""
src_install() {
insinto /usr/share/${PN}
doins -r wireshark
insinto /usr/share/${PN}/wireshark/plugins/btbb/
doins "${FILESDIR}"/wireshark-1.8-btbb.patch
dodir /usr/$(get_libdir)
dodir /usr/include
emake LDCONFIG=true DESTDIR="${D}" INSTALL_DIR="${ED}/usr/$(get_libdir)" INCLUDE_DIR="${ED}/usr/include" install
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>zerochaos@gentoo.org</email>
<name>Rick Farina</name>
</maintainer>
</pkgmetadata>