|
From: Björn R. <br...@us...> - 2007-07-30 21:14:14
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv4312 Modified Files: netacct-mysql Log Message: netacct-mysql needs mysql to build Index: netacct-mysql =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/netacct-mysql,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- netacct-mysql 12 Dec 2004 21:48:08 -0000 1.9 +++ netacct-mysql 30 Jul 2007 21:14:11 -0000 1.10 @@ -28,13 +28,16 @@ case $1 in build ) if [ "$CONFIG_NETACCT" = "y" ]; then + if [ "$CONFIG_MYSQL_CLIENT" = "y" ]; then ./configure --prefix=/usr --sysconfdir=/etc --with-libpcap-includes=/lib --with-libpcap-libraries=/usr || exit 1 make $PMAKE all || exit 1 strip_debug + fi fi ;; install ) if [ "$CONFIG_NETACCT" = "y" ]; then + if [ "$CONFIG_MYSQL_CLIENT" = "y" ]; then rm -rf $TMPDIR || exit 1 mkdir -p $TMPDIR/usr/sbin || exit 1 @@ -50,6 +53,7 @@ echo "HELP_$MYNAME=\"$MYNAME is a daemon that logs network traffic\"" >> $SOFTWAREHELP rm -rf $TMPDIR || exit 1 + fi fi ;; |