cd
test -f installed/ulogd-1.23.tar.bz2 && mv installed/ulogd-1.23.tar.bz2 .
test ! -f ulogd-1.23.tar.bz2 &&
wget http://www.netfilter.org/projects/ulogd/files/ulogd-1.23.tar.bz2
cd
test -f installed/ulogd-2.0.0beta1.tar.bz2 &&
mv installed/ulogd-2.0.0beta1.tar.bz2 .
test ! -f ulogd-2.0.0beta1.tar.bz2 &&
wget http://www.netfilter.org/projects/ulogd/files/ulogd-2.0.0beta1.tar.bz2
## The sig was missing when I wrote this, but I wrote the webmaster (Harald)
# Verify tarball w/ gpg:
gpg --list-keys 30F48BFF > /dev/null 2>&1 ||
( wget -O - http://www.netfilter.org/files/coreteam-gpg-key.txt | \
gpg --import )
wget -nc http://www.netfilter.org/projects/ulogd/files/\
ulogd-2.0.0beta1.tar.bz2.sig &&
gpg --verify ulogd-2.0.0beta1.tar.bz2.sig &&
rm ulogd-2.0.0beta1.tar.bz2.sig
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "ulogd-*" -exec rm -r {} \;
tar xjvf ~/ulogd-2.0.0beta1.tar.bz2
cd ulogd-2.0.0beta1
test $UID = 0 && chown -R root:root .
./configure
make
su -c "make install"