Linux HOWTOs

About | Home | Search

HOWTO: libspf
Description: A library that provides a C API for SPF
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything

# libspf 1.0rc5
# =============
# I wrote this a while back, but never posted it.  This is that same version
# with a few modernizations, if anything doesn't match up with the current
# procedure for setting this up, let me know.

# Prerequisites:
# gawk
# sed
# grep

test -f installed/libspf-1.0.0-RC5.tar.bz2 &&
 mv installed/libspf-1.0.0-RC5.tar.bz2 .
test ! -f libspf-1.0.0-RC5.tar.bz2 &&
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libspf-*" -exec rm -r {} \;
tar xjvf ~/libspf-1.0.0-RC5.tar.bz2
cd libspf-1.0.0-RC5
test $UID = 0 && chown -R root:root .
su -c "make install"
mkdir -p -m 0700 installed
rm -f installed/libspf-*.tar.*
mv libspf-1.0.0-RC5.tar.bz2 installed/

# See /usr/local/src/libspf-1.0.0-RC5/(docs|examples|patches)/ for sendmail,
# courier, qmail info, patches, and configuration examples.
# I briefly cover patching sendmail in my sendmail howto and this one:
# covers it in more detail.

Back to the list

Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>