4594213 [rkeene@sledge /home/rkeene/projects/build]$ cat libprelude.txt
# SHORT DESC: Prelude Interface Support Library
# LONG DESC: Libprelude is a library that guarantees secure connections between all sensors and the Prelude Manager. Libprelude provides an Application Programming Interface (API) for the communication with Prelude sub-systems, it supplies the necessary functionality for generating and emitting IDMEF events with Prelude and automates the saving and re-transmission of data in times of temporary interruption of one of the components of the system.

# Backup file from Perl that Libprelude overwrites
PERLLOCALPOD="$(readlink -f "${libdir}"/perl5/*/*-linux-*/perllocal.pod 2>/dev/null)"
if [ -f "${PERLLOCALPOD}" ]; then
	rm -f /tmp/perllocal.pod
	cp -a "${PERLLOCALPOD}" /tmp/perllocal.pod
else
	PERLLOCALPOD=""
fi

retval=0
./configure --prefix=/usr --libdir="${libdir}" --sysconfdir=/etc --localstatedir=/var && \
make && \
make install || retval=1

# Return original file
if [ -n "${PERLLOCALPOD}" ]; then
	cp -a /tmp/perllocal.pod "${PERLLOCALPOD}"
	rm -f /tmp/perllocal.pod
fi

exit ${retval}
4594214 [rkeene@sledge /home/rkeene/projects/build]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2012-05-07 00:52:06