From: <smi...@pr...> - 2004-01-27 00:13:46
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3081/scripts Modified Files: rrdtool Added Files: webalizer Log Message: added webalizer --- NEW FILE: webalizer --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/webalizer,v $ # $Revision: 1.1 $ # $Date: 2004/01/27 00:12:41 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: webalizer # Required-Start: $basebuildtools $libs # Required-Stop: # Default-Start: 1 2 # Default-Stop: # Description: description ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings case $1 in build ) if [ "$CONFIG_WEBALIZER" = "y" ]; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-dns || exit 1 make LIBS="-lgd -lpng -lz -lm -lnsl -liconv" all || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_WEBALIZER" = "y" ]; then cp -dpf webalizer $CDDIR/usr/bin || exit 1 copy_man cp -dpf sample.conf $ETCDIR/etc/webalizer.conf.sample || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac Index: rrdtool =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/rrdtool,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- rrdtool 26 Jan 2004 23:15:40 -0000 1.1 +++ rrdtool 27 Jan 2004 00:12:40 -0000 1.2 @@ -23,8 +23,6 @@ # source functions and config source $MYDIR/settings -MYNAME=ISC_BIND - case $1 in build ) if [ "$CONFIG_RRDTOOL" = "y" ]; then |