fstrm - A Frame Streams implementation in C ChangeLog

HOWTO


# fstrm
# =====
# Prerequisites:
# git
# autoconf
# automake
# libtool
# pkg-config
# libevent (for fstrm_capture)
# doxygen

# Get it
cd
mkdir -p -m 0700 src
cd src
test -d ./fstrm && ( cd fstrm ; git fetch )
test ! -d ./fstrm &&
git clone https://github.com/farsightsec/fstrm.git
cd fstrm

# Generate configure
test ! -f ./configure && ./autogen.sh

# If you've previously run configure, clean up everything
test -f Makefile && make distclean

# Configure the build for 64-bit
test $(uname -m) = 'x86_64' &&
./configure --libdir=/usr/local/lib64 --mandir=/usr/local/man

# Configure the build for anything else
test $(uname -m) != 'x86_64' &&
./configure --mandir=/usr/local/man

# Build it
make

# Check the build
make check

# Become root to install it
su

# Remove old version library files
( cd /usr/local/lib64 ; rm -f libfstrm.* )

# Install it
make install
ldconfig

# Make sure your non-root user can remove the source later
chown -R $(logname) .
chmod -R u+w .

# Become yourself again
exit

## Done


# If you ever want to uninstall fstrm, this should do it:
cd
su
test -d src/fstrm-* && ( cd src/fstrm-* ; make uninstall )
( cd /usr/local/bin rm -f fstrm_capture fstrm_dump fstrm_replay )
test -d /usr/local/include/fstrm && rm -r /usr/local/include/fstrm/
( cd /usr/local/man/man1
  rm -f fstrm_capture.1 fstrm_dump.1 fstrm_replay.1 )
for libdir in /usr/local/lib /usr/local/lib64;
do
  test -d $libdir &&
  ( cd $libdir
    rm -f libfstrm.*
    test -d pkgconfig && rm -f pkgconfig/libfstrm.pc )
done
rm -f /usr/local/include/fstrm.h
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "fstrm-*" -exec rm -r {} \;
test -d ~/src/fstrm && rm -r ~/src/fstrm
rm -f ~/installed/fstrm-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2018-07-23 4:13pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]