Merge pull request #175 from daviderickson/extensibility
Extensibility Improvements
This commit is contained in:
+10
-1
@@ -186,6 +186,11 @@ function of13 {
|
|||||||
|
|
||||||
if [ ! -d "ofsoftswitch13" ]; then
|
if [ ! -d "ofsoftswitch13" ]; then
|
||||||
git clone https://github.com/CPqD/ofsoftswitch13.git
|
git clone https://github.com/CPqD/ofsoftswitch13.git
|
||||||
|
if [[ -n "$OF13_SWITCH_REV" ]]; then
|
||||||
|
cd ofsoftswitch13
|
||||||
|
git checkout ${OF13_SWITCH_REV}
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install netbee
|
# Install netbee
|
||||||
@@ -221,7 +226,11 @@ function wireshark {
|
|||||||
sudo apt-get install -y libwiretap-dev libwireshark-dev
|
sudo apt-get install -y libwiretap-dev libwireshark-dev
|
||||||
cd $BUILD_DIR
|
cd $BUILD_DIR
|
||||||
hg clone https://bitbucket.org/barnstorm/of-dissector
|
hg clone https://bitbucket.org/barnstorm/of-dissector
|
||||||
cd of-dissector/src
|
cd of-dissector
|
||||||
|
if [[ -n "$WS_DISSECTOR_REV" ]]; then
|
||||||
|
hg checkout ${WS_DISSECTOR_REV}
|
||||||
|
fi
|
||||||
|
cd src
|
||||||
export WIRESHARK=/usr/include/wireshark
|
export WIRESHARK=/usr/include/wireshark
|
||||||
scons
|
scons
|
||||||
# libwireshark0/ on 11.04; libwireshark1/ on later
|
# libwireshark0/ on 11.04; libwireshark1/ on later
|
||||||
|
|||||||
Reference in New Issue
Block a user