summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/README59
-rwxr-xr-xnoncore/net/wellenreiter/build28
-rw-r--r--noncore/net/wellenreiter/gui/configwindow.cpp2
-rw-r--r--noncore/net/wellenreiter/gui/gui.pro3
-rw-r--r--noncore/net/wellenreiter/lib/lib.pro11
-rwxr-xr-xnoncore/net/wellenreiter/makedist.sh54
6 files changed, 109 insertions, 48 deletions
diff --git a/noncore/net/wellenreiter/README b/noncore/net/wellenreiter/README
index a4541b4..291f1fe 100644
--- a/noncore/net/wellenreiter/README
+++ b/noncore/net/wellenreiter/README
@@ -4,3 +4,3 @@
4/* 4/*
5 Version: Opie-ALPHA-April 5/* Version: ALPHA-2-April
6/************************************************************************ 6/************************************************************************
@@ -15,10 +15,7 @@ Release Notes for Opie-ALPHA Version April 2003
15 15
16- HERMES chipset [ orinoco or hostap ], e.g. Lucent/Agere cards 16- HERMES chipset [ orinoco or hostap ], e.g. Lucent/Agere cards, ...
17- PRISM2 chipset [ orinoco or hostap ], e.g. D-Link, Buffallo 17- PRISM2 chipset [ orinoco or hostap ], e.g. D-Link, Buffallo, ...
18- SYMBOL/SPECTRUM chipset* [ orinoco ], e.g. Symbol Spectrum 24, Socket Lowpower CF 18- SYMBOL/SPECTRUM chipset [ orinoco ], e.g. Symbol Spectrum 24, Socket Lowpower CF, ...
19- CISCO chipset 19- CISCO chipset
20- 20- wlan-ng supported chipsets
21
22* Warning: Current Symbol/Spectrum CF drivers have bugs - they freeze the system in monitor mode.
23 This has nothing todo with Wellenreiter as its a driver problem.
24 21
@@ -28,32 +25,16 @@ Release Notes for Opie-ALPHA Version April 2003
28 25
29(I) Opie Build Environment 26To compile a standalone Wellenreiter for X11, you need Qt3 and the development
30 27packages for Qt3, e.g. libqt3-devel.
31To compile Wellenreiter within the Opie build environment, do
32'make menuconfig' and check Wellenreiter in the subsection
33"Communications and Networking". Make sure you have enabled the
34dependencies in "Experimental->libopie2"
35
36'make SUBDIRS=noncore/net/wellenreiter' or 'make' (to build everything)
37Note that you need to have libpcap in your toolchain.
38
39(II) OpenZaurus Build Environment
40
41See (I), but you must build a complete opie via 'make SUBDIRS=packages/opie'
42 28
43(III) To compile a standalone Wellenreiter for X11, you need Qt3 and the development 29 * Set $QTDIR to the appropriate directory (e.g. /usr/lib/qt3)
44packages for Qt3, e.g. libqt3-devel. Assuming, $QTDIR is set to your Qt-Director 30 * './build make'
45(e.g. /usr/lib/qt3), set $OPIEDIR to the root of the checked out Opie, then 31 * as root, './build install'
46'export QMAKESPEC=$QTDIR/mkspecs/linux-g++' 32 * Wellenreiter will be installed in /usr/local
47'cd noncore/net/wellenreiter'
48'qmake "platform=x11" wellenreiter.pro'
49'make SUBDIRS=noncore/net/wellenreiter'
50'make install'
51 33
52===================== 34=====================
53= Install 35= Precompiled Binaries
54===================== 36=====================
55 37
56Alternatively, you can use our precompiled ipk. Get it from 38Precompiled binaries are available for the PDA-Version.
57http://opie.net.wox.org/wellenreiter/ where you will also 39Get them from http://opie.net.wox.org/wellenreiter/
58find all necessary dependencies.
59 40
@@ -65,3 +46,3 @@ find all necessary dependencies.
65* Start Sniffing by pressing the execute toolbutton which will be enabled, 46* Start Sniffing by pressing the execute toolbutton which will be enabled,
66if your device has been configured. 47if your device has been properly configured.
67 48
@@ -73,5 +54,5 @@ Wellenreiter II is (C) 2002-2003 M-M-M
73 54
74Sniffer Engine: Max Moser <max@remote-exploit.org> 55Max Moser <max@remote-exploit.org>
75Communication and Protocol: Martin J. Muench <mjm@remote-exploit.org> 56Martin J. Muench <mjm@remote-exploit.org>
76GUI and Packaging: Michael Lauer <mickeyl@handhelds.org> 57Michael Lauer <mickeyl@handhelds.org>
77 58
@@ -81,6 +62,6 @@ GUI and Packaging: Michael Lauer <mickeyl@handhelds.org>
81 62
82Opie Project: http://opie.handhelds.org
83OpenZaurus Project: http://openzaurus.org
84Wellenreiter: http://www.remote-exploit.org 63Wellenreiter: http://www.remote-exploit.org
85Wellenreiter/Opie: http://opie.net.wox.org/wellenreiter 64Wellenreiter/Opie: http://opie.net.wox.org/wellenreiter
65Opie Project: http://opie.handhelds.org
66OpenZaurus Project: http://openzaurus.org
86 67
diff --git a/noncore/net/wellenreiter/build b/noncore/net/wellenreiter/build
new file mode 100755
index 0000000..44eb8d8
--- a/dev/null
+++ b/noncore/net/wellenreiter/build
@@ -0,0 +1,28 @@
1##########################################
2# Wellenreiter X11 standalone build script #
3##########################################
4
5PREFIX=/usr/local
6
7# ------------------- do not change anything below
8
9if [ -z $QTDIR ]
10then
11 echo "*** ERROR: QTDIR is not set. QTDIR must point to your Qt directory, e.g. /usr/lib/qt3"
12 exit
13fi
14
15export QMAKESPEC=$QTDIR/mkspecs/linux-g++
16export OPIEDIR=$PWD
17export PATH=$QTDIR/bin:$PATH
18qmake "platform=x11" wellenreiter.pro
19
20
21case "$1" in
22compile) make;;
23install) cp -dfR output/* $PREFIX/;;
24*) echo "Usage: ./build [compile|install]"; exit;;
25esac
26
27
28
diff --git a/noncore/net/wellenreiter/gui/configwindow.cpp b/noncore/net/wellenreiter/gui/configwindow.cpp
index 59c2a61..ba1119e 100644
--- a/noncore/net/wellenreiter/gui/configwindow.cpp
+++ b/noncore/net/wellenreiter/gui/configwindow.cpp
@@ -76,3 +76,3 @@ WellenreiterConfigWindow::WellenreiterConfigWindow( QWidget * parent, const char
76 okButton->show(); 76 okButton->show();
77 Layout5_2->addWidget( okButton ); //FIXME: rename this in configbase.ui 77 Layout5_2->addWidget( okButton, 0, 3 ); //FIXME: rename this in configbase.ui
78 connect( okButton, SIGNAL( clicked() ), this, SLOT( accept() ) ); 78 connect( okButton, SIGNAL( clicked() ), this, SLOT( accept() ) );
diff --git a/noncore/net/wellenreiter/gui/gui.pro b/noncore/net/wellenreiter/gui/gui.pro
index 5a8972c..5970b01 100644
--- a/noncore/net/wellenreiter/gui/gui.pro
+++ b/noncore/net/wellenreiter/gui/gui.pro
@@ -37,5 +37,6 @@ TARGET = wellenreiter
37contains( platform, x11 ) { 37contains( platform, x11 ) {
38 LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib -lwellenreiter 38 LIBS += -L$(OPIEDIR)/output/lib -Wl,-rpath,$(OPIEDIR)/output/lib -Wl,-rpath,/usr/local/lib -lwellenreiter
39 SOURCES += resource.cpp 39 SOURCES += resource.cpp
40 HEADERS += resource.h 40 HEADERS += resource.h
41 DESTDIR = $(OPIEDIR)/output/bin
41} 42}
diff --git a/noncore/net/wellenreiter/lib/lib.pro b/noncore/net/wellenreiter/lib/lib.pro
index 8728323..e36db11 100644
--- a/noncore/net/wellenreiter/lib/lib.pro
+++ b/noncore/net/wellenreiter/lib/lib.pro
@@ -2,3 +2,3 @@ MOC_DIR = ./tmp
2OBJECTS_DIR = ./tmp 2OBJECTS_DIR = ./tmp
3DESTDIR = $(OPIEDIR)/lib 3DESTDIR = $(OPIEDIR)/output/lib
4TEMPLATE = lib 4TEMPLATE = lib
@@ -8,2 +8,3 @@ HEADERS = $(OPIEDIR)/libopie2/opieui/olistview.h \
8 $(OPIEDIR)/libopie2/opienet/onetutils.h \ 8 $(OPIEDIR)/libopie2/opienet/onetutils.h \
9 $(OPIEDIR)/libopie2/opienet/omanufacturerdb.h \
9 $(OPIEDIR)/libopie2/opienet/onetwork.h \ 10 $(OPIEDIR)/libopie2/opienet/onetwork.h \
@@ -13,2 +14,3 @@ SOURCES = $(OPIEDIR)/libopie2/opieui/olistview.cpp \
13 $(OPIEDIR)/libopie2/opienet/onetutils.cpp \ 14 $(OPIEDIR)/libopie2/opienet/onetutils.cpp \
15 $(OPIEDIR)/libopie2/opienet/omanufacturerdb.cpp \
14 $(OPIEDIR)/libopie2/opienet/onetwork.cpp \ 16 $(OPIEDIR)/libopie2/opienet/onetwork.cpp \
@@ -18,3 +20,3 @@ INCLUDEPATH += $(OPIEDIR)/include
18DEPENDPATH += $(OPIEDIR)/include 20DEPENDPATH += $(OPIEDIR)/include
19LIBS = -lpcap 21LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib -lpcap
20TARGET = wellenreiter 22TARGET = wellenreiter
@@ -22,7 +24,2 @@ VERSION = 1.0.0
22 24
23contains( platform, x11 ) {
24 LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
25 SOURCES += resource.cpp
26 HEADERS += resource.h
27}
28 25
diff --git a/noncore/net/wellenreiter/makedist.sh b/noncore/net/wellenreiter/makedist.sh
new file mode 100755
index 0000000..1795ae5
--- a/dev/null
+++ b/noncore/net/wellenreiter/makedist.sh
@@ -0,0 +1,54 @@
1VERSION=2-alpha2
2
3TGZDIR=$PWD
4
5# script to make a .tgz distributable for the Wellenreiter X11 Standalone Version
6
7find . -name "*.o"|xargs rm -f
8find . -name "Makefile"|xargs rm -f
9find . -name "*moc*"|xargs rm -f
10#TMPFILE=`mktemp -d -q /tmp/build.XXXXXX`
11TMPFILE=/tmp/build
12#if [ $? -ne 0 ]; then
13# echo "$0: Can't create temp file, exiting..."
14# exit 1
15#fi
16
17TMPDIR=$TMPFILE/wellenreiter$VERSION
18OUTPUT=$TMPDIR/output
19
20mkdir -p $TMPDIR/libopie2/opieui
21mkdir -p $TMPDIR/libopie2/opienet
22mkdir -p $TMPDIR/include/opie2
23mkdir -p $OUTPUT/share/wellenreiter/pics
24mkdir -p $OUTPUT/share/wellenreiter
25cp -dfR gui $TMPDIR
26cp -dfR lib $TMPDIR
27cp -dfR build README wellenreiter.pro $TMPDIR
28cp -dfR $OPIEDIR/pics/wellenreiter/* $OUTPUT/share/wellenreiter/
29cp -dfR $OPIEDIR/share/wellenreiter/* $OUTPUT/share/wellenreiter/
30
31# take care about sourcefiles
32
33FILES="libopie2/opienet/onetwork.h libopie2/opienet/onetwork.cpp \
34 libopie2/opienet/opcap.h libopie2/opienet/opcap.cpp libopie2/opienet/802_11_user.h \
35 libopie2/opienet/onetutils.h libopie2/opienet/onetutils.cpp \
36 libopie2/opienet/omanufacturerdb.h libopie2/opienet/omanufacturerdb.cpp \
37 libopie2/opieui/olistview.cpp libopie2/opieui/olistview.h"
38
39for i in $FILES
40 do cp -dfR $OPIEDIR/$i $TMPDIR/$i
41done
42
43# make includes
44pushd $TMPDIR/include/opie2
45ln -sf ../../libopie2/opieui/*.h .
46ln -sf ../../libopie2/opienet/*.h .
47popd
48
49find $TMPDIR -name "CVS"|xargs rm -rf
50
51pushd $TMPFILE
52tar czf $TGZDIR/wellenreiter$VERSION.tgz wellenreiter$VERSION
53popd
54