Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 70307
Collapse All | Expand All

(-)tct-1.15.orig/Makefile (-3 lines)
Lines 16-22 Link Here
16
	cd src/misc; make "CC=$(CC)" MAKELEVEL=
16
	cd src/misc; make "CC=$(CC)" MAKELEVEL=
17
	cd src/fstools; make "CC=$(CC)" MAKELEVEL=
17
	cd src/fstools; make "CC=$(CC)" MAKELEVEL=
18
	cd src/pcat; make "CC=$(CC)" MAKELEVEL=
18
	cd src/pcat; make "CC=$(CC)" MAKELEVEL=
19
	cd src/file; make "CC=$(CC)" MAKELEVEL=
20
	cd src/lastcomm; make "CC=$(CC)" MAKELEVEL=
19
	cd src/lastcomm; make "CC=$(CC)" MAKELEVEL=
21
	cd src/major_minor; make "CC=$(CC)" MAKELEVEL=
20
	cd src/major_minor; make "CC=$(CC)" MAKELEVEL=
22
	cd extras/entropy; make "CC=$(CC)" MAKELEVEL=
21
	cd extras/entropy; make "CC=$(CC)" MAKELEVEL=
Lines 30-36 Link Here
30
	cd src/misc; make $@ "CC=$(CC)" MAKELEVEL=
29
	cd src/misc; make $@ "CC=$(CC)" MAKELEVEL=
31
	cd src/fstools; make $@ "CC=$(CC)" MAKELEVEL=
30
	cd src/fstools; make $@ "CC=$(CC)" MAKELEVEL=
32
	cd src/pcat; make $@ "CC=$(CC)" MAKELEVEL=
31
	cd src/pcat; make $@ "CC=$(CC)" MAKELEVEL=
33
	cd src/file; make $@ "CC=$(CC)" MAKELEVEL=
34
	cd src/lastcomm; make $@ "CC=$(CC)" MAKELEVEL=
32
	cd src/lastcomm; make $@ "CC=$(CC)" MAKELEVEL=
35
	cd src/major_minor; make $@ "CC=$(CC)" MAKELEVEL=
33
	cd src/major_minor; make $@ "CC=$(CC)" MAKELEVEL=
36
	cd extras/entropy; make $@ "CC=$(CC)" MAKELEVEL=
34
	cd extras/entropy; make $@ "CC=$(CC)" MAKELEVEL=
Lines 44-50 Link Here
44
	cd src/misc; make $@ "CC=$(CC)" MAKELEVEL=
42
	cd src/misc; make $@ "CC=$(CC)" MAKELEVEL=
45
	cd src/fstools; make $@ "CC=$(CC)" MAKELEVEL=
43
	cd src/fstools; make $@ "CC=$(CC)" MAKELEVEL=
46
	cd src/pcat; make $@ "CC=$(CC)" MAKELEVEL=
44
	cd src/pcat; make $@ "CC=$(CC)" MAKELEVEL=
47
	cd src/file; make $@ "CC=$(CC)" MAKELEVEL=
48
	cd src/lastcomm; make $@ "CC=$(CC)" MAKELEVEL=
45
	cd src/lastcomm; make $@ "CC=$(CC)" MAKELEVEL=
49
	cd src/major_minor; make $@ "CC=$(CC)" MAKELEVEL=
46
	cd src/major_minor; make $@ "CC=$(CC)" MAKELEVEL=
50
	cd extras/entropy; make $@ "CC=$(CC)" MAKELEVEL=
47
	cd extras/entropy; make $@ "CC=$(CC)" MAKELEVEL=
(-)tct-1.15.orig/bin/grave-robber (-10 / +3 lines)
Lines 424-432 Link Here
424
	die "Can't find TCT_HOME - did you run reconfig?\n";
424
	die "Can't find TCT_HOME - did you run reconfig?\n";
425
	}
425
	}
426
426
427
if (!-f "$BIN/file") {
427
die "Can't find \"$FILE\" command \n" unless (-f $FILE);
428
	die "Can't find our \"$BIN/file\" command  - did you type \"make\" first?\n";
429
	}
430
428
431
require "logger.pl";
429
require "logger.pl";
432
require "command.pl";
430
require "command.pl";
Lines 495-509 Link Here
495
#
493
#
496
#  we usually carry around the alternate magic file...
494
#  we usually carry around the alternate magic file...
497
#
495
#
498
if (-f "$ETC/magic") { $magic_file = "$ETC/magic"; }
496
$magic_file = "/usr/share/misc/file/magic";
499
        else {
497
die "Can't find $magic_file" unless (-f $magic_file);
500
        die "Can't find the /etc/magic file\n" unless (-f "/etc/magic");
501
        $magic_file = "/etc/magic";
502
        warn "Couldn't find $ETC/magic, switching over to $magic_file\n";
503
        }
504
498
505
}
499
}
506
507
#
500
#
508
#  does a system have a proc file system?  Returns 0 if so, !0 if no
501
#  does a system have a proc file system?  Returns 0 if so, !0 if no
509
#
502
#
(-)tct-1.15.orig/conf/coroner.cf (-2 / +2 lines)
Lines 2-8 Link Here
2
# Configuration file for coroner's toolkit
2
# Configuration file for coroner's toolkit
3
#
3
#
4
4
5
$TCT_HOME = "";
5
$TCT_HOME = "/usr/lib/tct";
6
6
7
$ETC    = "$TCT_HOME/etc"  unless $ETC;
7
$ETC    = "$TCT_HOME/etc"  unless $ETC;
8
8
Lines 21-27 Link Here
21
#
21
#
22
# All sensitive operations are logged with a time stamp.
22
# All sensitive operations are logged with a time stamp.
23
#
23
#
24
$logfile = "coroner.log";
24
$logfile = "/var/log/tct/coroner.log";
25
25
26
#
26
#
27
#  What colors to use for MACtime HTML stuff
27
#  What colors to use for MACtime HTML stuff
(-)tct-1.15.orig/conf/grave-robber.cf (-2 / +2 lines)
Lines 2-8 Link Here
2
# Configuration file for coroner's toolkit
2
# Configuration file for coroner's toolkit
3
#
3
#
4
4
5
$TCT_HOME = "";
5
$TCT_HOME = "/usr/lib/tct";
6
6
7
$LIB    = "$TCT_HOME/lib"  unless $LIB;
7
$LIB    = "$TCT_HOME/lib"  unless $LIB;
8
$BIN    = "$TCT_HOME/bin"  unless $BIN;
8
$BIN    = "$TCT_HOME/bin"  unless $BIN;
Lines 28-34 Link Here
28
#
28
#
29
# stderr goes...
29
# stderr goes...
30
#
30
#
31
$error_log = "error.log";
31
$error_log = "/var/log/tct/error.log";
32
32
33
#
33
#
34
# Don't copy file larger than this (bytes).  Set to 0 if don't want limits
34
# Don't copy file larger than this (bytes).  Set to 0 if don't want limits
(-)tct-1.15.orig/conf/paths.pl (-10 / +10 lines)
Lines 13-19 Link Here
13
13
14
$CRONTAB="/usr/bin/crontab";
14
$CRONTAB="/usr/bin/crontab";
15
$DATE="/bin/date";
15
$DATE="/bin/date";
16
$DMESG="/sbin/dmesg";
16
$DMESG="/bin/dmesg";
17
$DOMAINNAME="/bin/domainname";
17
$DOMAINNAME="/bin/domainname";
18
$ECHO="/bin/echo";
18
$ECHO="/bin/echo";
19
19
Lines 21-40 Link Here
21
$FINGER="/usr/bin/finger";
21
$FINGER="/usr/bin/finger";
22
$IFCONFIG="/sbin/ifconfig";
22
$IFCONFIG="/sbin/ifconfig";
23
$IPCS="/usr/bin/ipcs";
23
$IPCS="/usr/bin/ipcs";
24
$LAST="/usr/bin/last";
24
$LAST="/bin/last";
25
25
26
$LSOF="/usr/local/sbin/lsof";
26
$LSOF="/usr/sbin/lsof";
27
$MKDIR="/bin/mkdir";
27
$MKDIR="/bin/mkdir";
28
$NETSTAT="/usr/bin/netstat";
28
$NETSTAT="/bin/netstat";
29
$PS="/bin/ps";
29
$PS="/bin/ps";
30
$PWD="/bin/pwd";
30
$PWD="/bin/pwd";
31
31
32
$RPCINFO="/usr/bin/rpcinfo";
32
$RPCINFO="/usr/sbin/rpcinfo";
33
$SHOWMOUNT="/usr/bin/showmount";
33
$SHOWMOUNT="/usr/bin/showmount";
34
$STRINGS="/usr/bin/strings";
34
$STRINGS="/usr/bin/strings";
35
$SU="/usr/bin/su";
35
$SU="/bin/su";
36
$SYNC="/bin/sync";
36
$SYNC="/bin/sync";
37
$TEE="/usr/bin/tee";
37
$TEE="/bin/tee";
38
38
39
$TOP="/usr/bin/top";
39
$TOP="/usr/bin/top";
40
$UNAME="/usr/bin/uname";
40
$UNAME="/usr/bin/uname";
Lines 61-69 Link Here
61
$PSTAT="/usr/sbin/pstat";
61
$PSTAT="/usr/sbin/pstat";
62
62
63
# linux
63
# linux
64
$RPM="/usr/local/bin/rpm";
64
$RPM="/usr/bin/rpm";
65
$KSYMS="/sbin/ksyms";
65
$KSYMS="/sbin/ksyms";
66
$LSMOD="/sbin/lsmod";
66
$LSMOD="/bin/lsmod";
67
67
68
# kernel modules
68
# kernel modules
69
$MODINFO="/sbin/modinfo";
69
$MODINFO="/sbin/modinfo";
Lines 77-83 Link Here
77
#
77
#
78
# our stuff
78
# our stuff
79
#
79
#
80
$FILE     = "$TCT_HOME/bin/file";
80
$FILE     = "/usr/bin/file";
81
$MD5      = "$TCT_HOME/bin/md5";
81
$MD5      = "$TCT_HOME/bin/md5";
82
$PCAT     = "$TCT_HOME/bin/pcat";
82
$PCAT     = "$TCT_HOME/bin/pcat";
83
$ICAT     = "$TCT_HOME/bin/icat";
83
$ICAT     = "$TCT_HOME/bin/icat";
(-)tct-1.15.orig/lazarus/lazarus (-6 / +3 lines)
Lines 88-99 Link Here
88
#
88
#
89
#  we usually carry around the alternate magic file...
89
#  we usually carry around the alternate magic file...
90
#
90
#
91
if (-f "$ETC/magic") { $magic_file = "$ETC/magic"; }
91
$magic_file="/usr/share/misc/file/magic";
92
else {
92
die "Can't find $magic_file\n" unless (-f $magic_file);
93
	die "Can't find the /etc/magic file\n" unless (-f "/etc/magic");
93
94
	$magic_file = "/etc/magic";
95
	warn "Couldn't find $ETC/magic, switching over to $magic_file\n";
96
	}
97
94
98
#
95
#
99
#  Currently the default is to save/write everything other than unresolved
96
#  Currently the default is to save/write everything other than unresolved
(-)tct-1.15.orig/reconfig (-1 / +2 lines)
Lines 157-163 Link Here
157
		   "extras/ils2mac", "extras/realpath");
157
		   "extras/ils2mac", "extras/realpath");
158
158
159
# where are we now?
159
# where are we now?
160
chop($cwd = `pwd`);
160
#chop($cwd = `pwd`);
161
$cwd = "/usr/lib/tct";
161
162
162
# a few small files; suck them in, change in memory, overwrite the old one
163
# a few small files; suck them in, change in memory, overwrite the old one
163
for $file (@files2reconfig) {
164
for $file (@files2reconfig) {

Return to bug 70307