This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, master has been updated via 0972c65075108978eb7806867912db74cb0c3075 (commit) from 6fea934bf60b770d08c8d36c442b5904539875ff (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 0972c65075108978eb7806867912db74cb0c3075 Author: Christian Schmidt maniacikarus@ipfire.org Date: Mon Jan 10 23:04:29 2011 +0100
Changed snort last update time to perl function.
-----------------------------------------------------------------------
Summary of changes: html/cgi-bin/ids.cgi | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
Difference in files: diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index 8c219ae..7567fd0 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -539,7 +539,8 @@ print <<END END ; if ( -e "/var/tmp/snortrules.tar.gz"){ - $snortsettings{'INSTALLDATE'} = `ls -la /var/tmp/snortrules.tar.gz | cut -d" " -f6-8`; + my @Info = stat("/var/tmp/snortrules.tar.gz"); + $snortsettings{'INSTALLDATE'} = localtime($Info[9]); } print " $Lang::tr{'updates installed'}: $snortsettings{'INSTALLDATE'}</td>";
hooks/post-receive -- IPFire 2.x development tree