View | Details | Raw Unified
Collapse All | Expand All

(-) tct-1.15.orig/Makefile (-3 lines)
 Lines 16-22    Link Here 
	cd src/misc; make "CC=$(CC)" MAKELEVEL=
	cd src/misc; make "CC=$(CC)" MAKELEVEL=
	cd src/fstools; make "CC=$(CC)" MAKELEVEL=
	cd src/fstools; make "CC=$(CC)" MAKELEVEL=
	cd src/pcat; make "CC=$(CC)" MAKELEVEL=
	cd src/pcat; make "CC=$(CC)" MAKELEVEL=
	cd src/file; make "CC=$(CC)" MAKELEVEL=
	cd src/lastcomm; make "CC=$(CC)" MAKELEVEL=
	cd src/lastcomm; make "CC=$(CC)" MAKELEVEL=
	cd src/major_minor; make "CC=$(CC)" MAKELEVEL=
	cd src/major_minor; make "CC=$(CC)" MAKELEVEL=
	cd extras/entropy; make "CC=$(CC)" MAKELEVEL=
	cd extras/entropy; make "CC=$(CC)" MAKELEVEL=
 Lines 30-36    Link Here 
	cd src/misc; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/misc; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/fstools; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/fstools; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/pcat; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/pcat; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/file; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/lastcomm; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/lastcomm; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/major_minor; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/major_minor; make $@ "CC=$(CC)" MAKELEVEL=
	cd extras/entropy; make $@ "CC=$(CC)" MAKELEVEL=
	cd extras/entropy; make $@ "CC=$(CC)" MAKELEVEL=
 Lines 44-50    Link Here 
	cd src/misc; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/misc; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/fstools; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/fstools; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/pcat; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/pcat; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/file; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/lastcomm; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/lastcomm; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/major_minor; make $@ "CC=$(CC)" MAKELEVEL=
	cd src/major_minor; make $@ "CC=$(CC)" MAKELEVEL=
	cd extras/entropy; make $@ "CC=$(CC)" MAKELEVEL=
	cd extras/entropy; make $@ "CC=$(CC)" MAKELEVEL=
(-) tct-1.15.orig/bin/grave-robber (-10 / +3 lines)
 Lines 424-432    Link Here 
	die "Can't find TCT_HOME - did you run reconfig?\n";
	die "Can't find TCT_HOME - did you run reconfig?\n";
	}
	}
if (!-f "$BIN/file") {
die "Can't find \"$FILE\" command \n" unless (-f $FILE);
	die "Can't find our \"$BIN/file\" command  - did you type \"make\" first?\n";
	}
require "logger.pl";
require "logger.pl";
require "command.pl";
require "command.pl";
 Lines 495-509    Link Here 
#
#
#  we usually carry around the alternate magic file...
#  we usually carry around the alternate magic file...
#
#
if (-f "$ETC/magic") { $magic_file = "$ETC/magic"; }
$magic_file = "/usr/share/misc/file/magic";
        else {
die "Can't find $magic_file" unless (-f $magic_file);
        die "Can't find the /etc/magic file\n" unless (-f "/etc/magic");
        $magic_file = "/etc/magic";
        warn "Couldn't find $ETC/magic, switching over to $magic_file\n";
        }
}
}
#
#
#  does a system have a proc file system?  Returns 0 if so, !0 if no
#  does a system have a proc file system?  Returns 0 if so, !0 if no
#
#
(-) tct-1.15.orig/conf/coroner.cf (-2 / +2 lines)
 Lines 2-8    Link Here 
# Configuration file for coroner's toolkit
# Configuration file for coroner's toolkit
#
#
$TCT_HOME = "";
$TCT_HOME = "/usr/lib/tct";
$ETC    = "$TCT_HOME/etc"  unless $ETC;
$ETC    = "$TCT_HOME/etc"  unless $ETC;
 Lines 21-27    Link Here 
#
#
# All sensitive operations are logged with a time stamp.
# All sensitive operations are logged with a time stamp.
#
#
$logfile = "coroner.log";
$logfile = "/var/log/tct/coroner.log";
#
#
#  What colors to use for MACtime HTML stuff
#  What colors to use for MACtime HTML stuff
(-) tct-1.15.orig/conf/grave-robber.cf (-2 / +2 lines)
 Lines 2-8    Link Here 
# Configuration file for coroner's toolkit
# Configuration file for coroner's toolkit
#
#
$TCT_HOME = "";
$TCT_HOME = "/usr/lib/tct";
$LIB    = "$TCT_HOME/lib"  unless $LIB;
$LIB    = "$TCT_HOME/lib"  unless $LIB;
$BIN    = "$TCT_HOME/bin"  unless $BIN;
$BIN    = "$TCT_HOME/bin"  unless $BIN;
 Lines 28-34    Link Here 
#
#
# stderr goes...
# stderr goes...
#
#
$error_log = "error.log";
$error_log = "/var/log/tct/error.log";
#
#
# Don't copy file larger than this (bytes).  Set to 0 if don't want limits
# 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 
$CRONTAB="/usr/bin/crontab";
$CRONTAB="/usr/bin/crontab";
$DATE="/bin/date";
$DATE="/bin/date";
$DMESG="/sbin/dmesg";
$DMESG="/bin/dmesg";
$DOMAINNAME="/bin/domainname";
$DOMAINNAME="/bin/domainname";
$ECHO="/bin/echo";
$ECHO="/bin/echo";
 Lines 21-40    Link Here 
$FINGER="/usr/bin/finger";
$FINGER="/usr/bin/finger";
$IFCONFIG="/sbin/ifconfig";
$IFCONFIG="/sbin/ifconfig";
$IPCS="/usr/bin/ipcs";
$IPCS="/usr/bin/ipcs";
$LAST="/usr/bin/last";
$LAST="/bin/last";
$LSOF="/usr/local/sbin/lsof";
$LSOF="/usr/sbin/lsof";
$MKDIR="/bin/mkdir";
$MKDIR="/bin/mkdir";
$NETSTAT="/usr/bin/netstat";
$NETSTAT="/bin/netstat";
$PS="/bin/ps";
$PS="/bin/ps";
$PWD="/bin/pwd";
$PWD="/bin/pwd";
$RPCINFO="/usr/bin/rpcinfo";
$RPCINFO="/usr/sbin/rpcinfo";
$SHOWMOUNT="/usr/bin/showmount";
$SHOWMOUNT="/usr/bin/showmount";
$STRINGS="/usr/bin/strings";
$STRINGS="/usr/bin/strings";
$SU="/usr/bin/su";
$SU="/bin/su";
$SYNC="/bin/sync";
$SYNC="/bin/sync";
$TEE="/usr/bin/tee";
$TEE="/bin/tee";
$TOP="/usr/bin/top";
$TOP="/usr/bin/top";
$UNAME="/usr/bin/uname";
$UNAME="/usr/bin/uname";
 Lines 61-69    Link Here 
$PSTAT="/usr/sbin/pstat";
$PSTAT="/usr/sbin/pstat";
# linux
# linux
$RPM="/usr/local/bin/rpm";
$RPM="/usr/bin/rpm";
$KSYMS="/sbin/ksyms";
$KSYMS="/sbin/ksyms";
$LSMOD="/sbin/lsmod";
$LSMOD="/bin/lsmod";
# kernel modules
# kernel modules
$MODINFO="/sbin/modinfo";
$MODINFO="/sbin/modinfo";
 Lines 77-83    Link Here 
#
#
# our stuff
# our stuff
#
#
$FILE     = "$TCT_HOME/bin/file";
$FILE     = "/usr/bin/file";
$MD5      = "$TCT_HOME/bin/md5";
$MD5      = "$TCT_HOME/bin/md5";
$PCAT     = "$TCT_HOME/bin/pcat";
$PCAT     = "$TCT_HOME/bin/pcat";
$ICAT     = "$TCT_HOME/bin/icat";
$ICAT     = "$TCT_HOME/bin/icat";
(-) tct-1.15.orig/lazarus/lazarus (-6 / +3 lines)
 Lines 88-99    Link Here 
#
#
#  we usually carry around the alternate magic file...
#  we usually carry around the alternate magic file...
#
#
if (-f "$ETC/magic") { $magic_file = "$ETC/magic"; }
$magic_file="/usr/share/misc/file/magic";
else {
die "Can't find $magic_file\n" unless (-f $magic_file);
	die "Can't find the /etc/magic file\n" unless (-f "/etc/magic");
	$magic_file = "/etc/magic";
	warn "Couldn't find $ETC/magic, switching over to $magic_file\n";
	}
#
#
#  Currently the default is to save/write everything other than unresolved
#  Currently the default is to save/write everything other than unresolved
(-) tct-1.15.orig/reconfig (-1 / +2 lines)
 Lines 157-163    Link Here 
		   "extras/ils2mac", "extras/realpath");
		   "extras/ils2mac", "extras/realpath");
# where are we now?
# where are we now?
chop($cwd = `pwd`);
#chop($cwd = `pwd`);
$cwd = "/usr/lib/tct";
# a few small files; suck them in, change in memory, overwrite the old one
# a few small files; suck them in, change in memory, overwrite the old one
for $file (@files2reconfig) {
for $file (@files2reconfig) {