diff options
Diffstat (limited to 'recipes/btscanner/files')
-rw-r--r-- | recipes/btscanner/files/configurable-paths.patch | 183 | ||||
-rw-r--r-- | recipes/btscanner/files/gcc-4.patch | 12 |
2 files changed, 195 insertions, 0 deletions
diff --git a/recipes/btscanner/files/configurable-paths.patch b/recipes/btscanner/files/configurable-paths.patch new file mode 100644 index 0000000000..b8afbf4059 --- /dev/null +++ b/recipes/btscanner/files/configurable-paths.patch @@ -0,0 +1,183 @@ +Index: btscanner-2.0/btscanner.xml +=================================================================== +--- btscanner-2.0.orig/btscanner.xml 2007-08-11 18:51:51.000000000 +0200 ++++ /dev/null 1970-01-01 00:00:00.000000000 +0000 +@@ -1,81 +0,0 @@ +-<?xml version="1.0" encoding="UTF-8"?> +-<!DOCTYPE btscanner SYSTEM "file:///usr/local/etc/btscanner.dtd"> +-<btscanner> +-<files> +- <log>btscanner.log</log> +- <oui>/usr/local/share/oui.txt</oui> +- <store>~/bts</store> +-</files> +- +-<!-- Global range --> +-<rangedef start="00:00:00:00:00:00" end="FF:FF:FF:FF:FF:FF"> +- <vulnerabilities/> +- <name/> +- <hci/> +-</rangedef> +- +-<!-- Nokia 6310i range 1 --> +-<rangedef start="00:60:57:00:00:00" end="00:60:57:FF:FF:FF"> +- <vulnerabilities>Snarf</vulnerabilities> +- <name/> +- <hci/> +- <rssi/> +- <lq/> +- <txpwr/> +- <sdp/> +-</rangedef> +-<!-- Nokia 6310i range 2 --> +-<rangedef start="00:0E:6D:00:00:00" end="00:0E:6D:FF:FF:FF"> +- <vulnerabilities>Snarf</vulnerabilities> +- <name/> +- <hci/> +- <rssi/> +- <lq/> +- <txpwr/> +- <sdp/> +-</rangedef> +-<!-- Nokia 6310i range 3 --> +-<rangedef start="00:02:EE:00:00:00" end="00:02:EE:FF:FF:FF"> +- <vulnerabilities>Snarf</vulnerabilities> +- <name/> +- <hci/> +- <rssi/> +- <lq/> +- <txpwr/> +- <sdp/> +-</rangedef> +- +-<!-- Nokia 6230 range 1 --> +-<rangedef start="00:E0:03:00:00:00" end="00:E0:03:FF:FF:FF"> +- <vulnerabilities>Snarf</vulnerabilities> +- <name/> +- <hci/> +- <rssi/> +- <lq/> +- <txpwr/> +- <sdp/> +-</rangedef> +- +-<!-- Sony Ericsson T610 range 1 --> +-<rangedef start="00:0E:07:00:00:00" end="00:0E:07:FF:FF:FF"> +- <vulnerabilities>Snarf</vulnerabilities> +- <name/> +- <hci/> +- <rssi/> +- <lq/> +- <txpwr/> +- <sdp/> +-</rangedef> +-<!-- Sony Ericsson T610 (also others) range 2 --> +-<rangedef start="00:0A:D9:00:00:00" end="00:0A:D9:FF:FF:FF"> +- <vulnerabilities>Snarf</vulnerabilities> +- <name/> +- <hci/> +- <rssi/> +- <lq/> +- <txpwr/> +- <sdp/> +-</rangedef> +- +-</btscanner> +- +Index: btscanner-2.0/btscanner.xml.in +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ btscanner-2.0/btscanner.xml.in 2007-08-11 18:52:27.000000000 +0200 +@@ -0,0 +1,81 @@ ++<?xml version="1.0" encoding="UTF-8"?> ++<!DOCTYPE btscanner SYSTEM "file://@sysconfdir@/btscanner.dtd"> ++<btscanner> ++<files> ++ <log>btscanner.log</log> ++ <oui>@datadir@/oui.txt</oui> ++ <store>~/bts</store> ++</files> ++ ++<!-- Global range --> ++<rangedef start="00:00:00:00:00:00" end="FF:FF:FF:FF:FF:FF"> ++ <vulnerabilities/> ++ <name/> ++ <hci/> ++</rangedef> ++ ++<!-- Nokia 6310i range 1 --> ++<rangedef start="00:60:57:00:00:00" end="00:60:57:FF:FF:FF"> ++ <vulnerabilities>Snarf</vulnerabilities> ++ <name/> ++ <hci/> ++ <rssi/> ++ <lq/> ++ <txpwr/> ++ <sdp/> ++</rangedef> ++<!-- Nokia 6310i range 2 --> ++<rangedef start="00:0E:6D:00:00:00" end="00:0E:6D:FF:FF:FF"> ++ <vulnerabilities>Snarf</vulnerabilities> ++ <name/> ++ <hci/> ++ <rssi/> ++ <lq/> ++ <txpwr/> ++ <sdp/> ++</rangedef> ++<!-- Nokia 6310i range 3 --> ++<rangedef start="00:02:EE:00:00:00" end="00:02:EE:FF:FF:FF"> ++ <vulnerabilities>Snarf</vulnerabilities> ++ <name/> ++ <hci/> ++ <rssi/> ++ <lq/> ++ <txpwr/> ++ <sdp/> ++</rangedef> ++ ++<!-- Nokia 6230 range 1 --> ++<rangedef start="00:E0:03:00:00:00" end="00:E0:03:FF:FF:FF"> ++ <vulnerabilities>Snarf</vulnerabilities> ++ <name/> ++ <hci/> ++ <rssi/> ++ <lq/> ++ <txpwr/> ++ <sdp/> ++</rangedef> ++ ++<!-- Sony Ericsson T610 range 1 --> ++<rangedef start="00:0E:07:00:00:00" end="00:0E:07:FF:FF:FF"> ++ <vulnerabilities>Snarf</vulnerabilities> ++ <name/> ++ <hci/> ++ <rssi/> ++ <lq/> ++ <txpwr/> ++ <sdp/> ++</rangedef> ++<!-- Sony Ericsson T610 (also others) range 2 --> ++<rangedef start="00:0A:D9:00:00:00" end="00:0A:D9:FF:FF:FF"> ++ <vulnerabilities>Snarf</vulnerabilities> ++ <name/> ++ <hci/> ++ <rssi/> ++ <lq/> ++ <txpwr/> ++ <sdp/> ++</rangedef> ++ ++</btscanner> ++ +Index: btscanner-2.0/configure.in +=================================================================== +--- btscanner-2.0.orig/configure.in 2007-08-11 18:51:35.000000000 +0200 ++++ btscanner-2.0/configure.in 2007-08-11 18:55:44.000000000 +0200 +@@ -89,5 +89,5 @@ + CFLAGS="$CFLAGS -DCFG_FILE=\\\"$cfgfile\\\" -DCFG_DTD=\\\"$cfgdtd\\\"" + + # output +-AC_CONFIG_FILES([Makefile]) ++AC_CONFIG_FILES([Makefile btscanner.xml]) + AC_OUTPUT diff --git a/recipes/btscanner/files/gcc-4.patch b/recipes/btscanner/files/gcc-4.patch new file mode 100644 index 0000000000..dab2bfa2ff --- /dev/null +++ b/recipes/btscanner/files/gcc-4.patch @@ -0,0 +1,12 @@ +diff -Naur btscanner-2.0.orig/configure.in btscanner-2.0/configure.in +--- btscanner-2.0.orig/configure.in 2004-11-01 12:56:02.000000000 +0100 ++++ btscanner-2.0/configure.in 2007-03-11 14:58:09.000000000 +0100 +@@ -64,7 +64,7 @@ + + # CFLAGS + CFLAGS="$CFLAGS -Wall -pthread -Wshadow -Wbad-function-cast \ +- -Wformat -Wimplicit-function-dec -Wparentheses -Wsign-compare \ ++ -Wformat -Wparentheses -Wsign-compare \ + -Wstrict-prototypes -Wtrigraphs -Wundef -Wuninitialized \ + -W -Wunused -Wformat-security -Wmissing-braces -Wbad-function-cast \ + -Wcast-qual -falign-functions -falign-labels -falign-loops\ |