|
From: Serge L. <sma...@us...> - 2007-07-31 11:33:49
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv28807/scripts Modified Files: syslog-ng Added Files: eventlog Log Message: - update syslog-ng to 2.0.4 Index: syslog-ng =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/syslog-ng,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- syslog-ng 24 Jan 2005 00:35:20 -0000 1.12 +++ syslog-ng 31 Jul 2007 11:33:46 -0000 1.13 @@ -10,7 +10,7 @@ ### BEGIN INIT INFO # Provides: syslog-ng -# Required-Start: $basebuildtools $libs +# Required-Start: $basebuildtools $libs eventlog # Required-Stop: # Default-Start: 1 2 # Default-Stop: @@ -25,7 +25,8 @@ case $1 in build ) - ./configure --prefix=/usr --sysconfdir=/etc || exit 1 + ./configure --prefix=/usr --sysconfdir=/etc/syslog-ng/ --enable-ipv6 --enable-spoof-source --enable-dynamic-linking || exit 1 + make $PMAKE all || exit 1 strip_debug ;; --- NEW FILE: eventlog --- #!/bin/bash # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: eventlog # Required-Start: $basebuildtools $libs # Required-Stop: # Default-Start: 1 # 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 ) ./configure --prefix=/usr || exit 1 make || exit 1 # install it in local system, because other programs could need it make install || exit 1 ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |