Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 75048 | Differences between
and this patch

Collapse All | Expand All

(-)lstat-2.3.old/src/lib/config.in (-1 / +1 lines)
Lines 23-29 Link Here
23
PROC_CPUINFO=/proc/cpuinfo
23
PROC_CPUINFO=/proc/cpuinfo
24
UPTIME=@@uptime@@
24
UPTIME=@@uptime@@
25
IFCONFIG=@@ifconfig@@
25
IFCONFIG=@@ifconfig@@
26
REDHAT=/etc/redhat-release
26
REDHAT=/etc/gentoo-release
27
PROC_VERSION=/proc/version
27
PROC_VERSION=/proc/version
28
FPING=@@fping@@
28
FPING=@@fping@@
29
LOG_PATH=/var/log:/var/log/snort
29
LOG_PATH=/var/log:/var/log/snort
(-)lstat-2.3.old/src/lstatd.in (-2 / +2 lines)
Lines 23-30 Link Here
23
if ($Debugging < 3) {
23
if ($Debugging < 3) {
24
#start daemon
24
#start daemon
25
chdir '/' or die "Can't chdir to /: $!";
25
chdir '/' or die "Can't chdir to /: $!";
26
#umask 0077;
26
umask 0077;
27
umask 0;
27
#umask 0;
28
open STDIN, '/dev/null'   or die "Can't read /dev/null: $!";
28
open STDIN, '/dev/null'   or die "Can't read /dev/null: $!";
29
open (STDOUT, ">$logfile") or die "Can't write to $logfile: $!";
29
open (STDOUT, ">$logfile") or die "Can't write to $logfile: $!";
30
open (STDERR, '>&STDOUT') or die "Can't redirect STDERR to STDOUT: $!";
30
open (STDERR, '>&STDOUT') or die "Can't redirect STDERR to STDOUT: $!";
(-)lstat-2.3.old/src/misc/lstat.conf.in (+1 lines)
Lines 5-8 Link Here
5
Options ExecCGI
5
Options ExecCGI
6
AddHandler cgi-script .cgi
6
AddHandler cgi-script .cgi
7
AllowOverride AuthConfig Limit
7
AllowOverride AuthConfig Limit
8
DirectoryIndex lstat.cgi
8
</Directory>
9
</Directory>

Return to bug 75048