1 # This file contain all configuration information to build
2 # `lustre-release/lustre/contrib/wireshark'
4 ###########################################################################
6 # DOWNLOAD CONFIGURATION
8 ###########################################################################
10 ## BEGIN: -can-edit ##
11 # URL of directory containing all source tar balls
12 export WS_DOWNLOAD_BASE_URL='http://wiresharkdownloads.riverbed.com/wireshark/src/all-versions'
14 # wireshark verion to be used
15 export WS_VERSION='1.6.8'
18 # URL of the wireshark source code tarball
19 # Implicit assumption: Wireshark release names follow the nameing
20 # convention coded in the content of the following varialble
21 export WS_SOURCE_URL="${WS_DOWNLOAD_BASE_URL}/wireshark-${WS_VERSION}.tar.bz2"
24 ###########################################################################
28 ###########################################################################
30 ## BEGIN: -can-edit ##
31 # Space separate list of RPMs needed to be installed for
32 # compilation of wireshark
34 # Package name(s) (can) vary between differnt distributions
35 # If distributions 'marked' by same release file, content has to
36 # parsed and variable PREREQUISITE_RPMS has to be set accoringly to
37 # package name(s) used for each distro.
38 if [ -r /etc/redhat-release ] ; then
39 export PREREQUISITE_RPMS='gtk2 gtk2-devel glib2 libpcap libpcap-devel perl'
40 elif [ -r /etc/SuSE-release ] ; then
41 export PREREQUISITE_RPMS='gtk2 gtk2-devel glib2 libpcap0 libpcap-devel perl'
44 # Include and linker flags needed to Lustre/LNet
45 # Only version indepent information should be added here
46 # (Back ticked expression will be evaluated by make command)
47 export PLUGIN_COMPILE_FLAGS='`pkg-config --libs --cflags glib-2.0`'
50 # Top-level directory to be used to unpack/compile/install wireshark/lustre-git-repo
51 export BUILD_DIR=`pwd`
53 # Directory location of wireshark source code
54 export WS_HOME="${BUILD_DIR}/wireshark-${WS_VERSION}"
56 # (Relative) path of the wireshark contribution directory
57 export LUSTRE_WS_DIR='lustre-release/lustre/contrib/wireshark'
59 # RPM internal name for the Lustre/LNet plugins
60 export PLUGIN_RPM_NAME='lustre-wireshark-plugins'
62 # TAR command + options to be used to create a bzip2 tarball
63 export TAR='/bin/tar jcpf '
64 # TAR command + options to be used to unpack a bzip2 tarball
65 export UNTAR='/bin/tar jxpf '