# Ethereal 0.99.0
# ===============
# A fork/replacement? for Ethereal named Wireshark has been released. It's
# howto is here. If you're
# planning on replacing Ethereal with Wireshark, skip down to the bottom for
# Ethereal uninstallation instructions.
cd
test -f installed/ethereal-0.99.0.tar.bz2 &&
mv installed/ethereal-0.99.0.tar.bz2 .
test ! -f ethereal-0.99.0.tar.bz2 &&
wget http://download.sf.net/ethereal/ethereal-0.99.0.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "ethereal-*" -exec rm -r {} \;
tar xjvf ~/ethereal-0.99.0.tar.bz2
cd ethereal-0.99.0
test $UID = 0 && chown -R root:root .
# If you have the X libraries installed but don't want to build the ethereal
# binary (you only need the text-based tethereal), add --disable-ethereal to
# the configure line below.
# If you have ucd/net-snmp installed but do not want to build it in, add
# either --with-net-snmp=no or --with-ucd-snmp=no to the configure line,
# depending on the one that you have.
# If you would rather build ethereal and/or tethereal with glib/gtk+ 1.x
# support, add --disable-gtk2 to the configure line
# ethereal needs to run as root to have access to interfaces and the like.
# If you need to run it from X, you're probably best off starting X as root
# or starting X as a non-root user and su-ing. You can add
# --enable-setuid-install to configure below, but running it (and just about
# anything else) suid root is generally thought to be dangerous.
#
# Don't forget that you can run the text-based tethereal as root in or out
# of X.
# If you have GnuTLS and OpenSSL installed, it will use GnuTLS
# (even if you pass --with-ssl=/path/to/openssl)
# If you don't have OpenSSL installed in the usual source-installed place
# (/usr/local/ssl), like if you're using a distribution package that puts it
# under the /usr prefix, specify --with-openssl below without a PATH and
# configure should find it.
./configure --with-ssl=/usr/local/ssl --disable-ipv6 --enable-threads
make
# Become root to install it
su
find /usr/local/lib/ethereal/plugins/* -type d -exec rm -r {} \; 2> /dev/null
make install-strip
chown -R $USER .