Patch for FreeBSD 6.x
Fernando Schapachnik <[email protected]> Fri, 23 Nov 2007 09:16:32 -0300
| Newsgroups | gmane.comp.security.forensics.tct |
|---|---|
| Message-ID | <[email protected]> |
--CUfgB8w4ZwR/yMy5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
For the record (it might be useful for somebody) I'm attaching
a quick and dirty patch to let TCT compile and work in FreeBSD 6.2.
Regards.
Fernando.
--CUfgB8w4ZwR/yMy5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="tct-1.18-FreeBSD6.diff"
diff -ur tct-1.18-orig/extras/entropy/makedefs tct-1.18/extras/entropy/makedefs
--- tct-1.18-orig/extras/entropy/makedefs Sat Aug 30 20:16:41 2003
+++ tct-1.18/extras/entropy/makedefs Wed Nov 14 09:55:12 2007
@@ -10,6 +10,8 @@
;;
FreeBSD.5*) DEFS="-DFREEBSD5"
;;
+ FreeBSD.6*) DEFS="-DFREEBSD5"
+ ;;
OpenBSD.2*) DEFS="-DOPENBSD2"
;;
OpenBSD.3*) DEFS="-DOPENBSD3"
diff -ur tct-1.18-orig/extras/findkey/makedefs tct-1.18/extras/findkey/makedefs
--- tct-1.18-orig/extras/findkey/makedefs Sat Aug 30 20:16:51 2003
+++ tct-1.18/extras/findkey/makedefs Wed Nov 14 09:55:23 2007
@@ -10,6 +10,8 @@
;;
FreeBSD.5*) DEFS="-DFREEBSD5"
;;
+ FreeBSD.6*) DEFS="-DFREEBSD5"
+ ;;
OpenBSD.2*) DEFS="-DOPENBSD2"
;;
OpenBSD.3*) DEFS="-DOPENBSD3"
diff -ur tct-1.18-orig/src/aux/makedefs tct-1.18/src/aux/makedefs
--- tct-1.18-orig/src/aux/makedefs Sat Aug 30 20:17:20 2003
+++ tct-1.18/src/aux/makedefs Wed Nov 14 09:53:46 2007
@@ -10,6 +10,8 @@
;;
FreeBSD.5*) DEFS="-DFREEBSD5"
;;
+ FreeBSD.6*) DEFS="-DFREEBSD5"
+ ;;
OpenBSD.2*) DEFS="-DOPENBSD2"
;;
OpenBSD.3*) DEFS="-DOPENBSD3"
diff -ur tct-1.18-orig/src/file/makedefs tct-1.18/src/file/makedefs
--- tct-1.18-orig/src/file/makedefs Sat Aug 30 21:02:52 2003
+++ tct-1.18/src/file/makedefs Wed Nov 14 09:54:26 2007
@@ -10,6 +10,8 @@
;;
FreeBSD.5*) DEFS="-DFREEBSD5"
;;
+ FreeBSD.6*) DEFS="-DFREEBSD5"
+ ;;
OpenBSD.2*) DEFS="-DOPENBSD2"
;;
OpenBSD.3*) DEFS="-DOPENBSD3"
diff -ur tct-1.18-orig/src/fstools/makedefs tct-1.18/src/fstools/makedefs
--- tct-1.18-orig/src/fstools/makedefs Mon Apr 9 10:32:52 2007
+++ tct-1.18/src/fstools/makedefs Wed Nov 14 09:54:31 2007
@@ -10,6 +10,8 @@
;;
FreeBSD.5*) DEFS="-DFREEBSD5"
;;
+ FreeBSD.6*) DEFS="-DFREEBSD5"
+ ;;
OpenBSD.2*) DEFS="-DOPENBSD2"
;;
OpenBSD.3*) DEFS="-DOPENBSD3"
diff -ur tct-1.18-orig/src/lastcomm/makedefs tct-1.18/src/lastcomm/makedefs
--- tct-1.18-orig/src/lastcomm/makedefs Sat Aug 30 20:49:13 2003
+++ tct-1.18/src/lastcomm/makedefs Wed Nov 14 09:54:34 2007
@@ -10,6 +10,8 @@
;;
FreeBSD.5*) DEFS="-DFREEBSD5"
;;
+ FreeBSD.6*) DEFS="-DFREEBSD5"
+ ;;
OpenBSD.3*) DEFS="-DOPENBSD3"
;;
OpenBSD.2*) DEFS="-DOPENBSD2"
diff -ur tct-1.18-orig/src/major_minor/makedefs tct-1.18/src/major_minor/makedefs
--- tct-1.18-orig/src/major_minor/makedefs Sat Aug 30 20:59:37 2003
+++ tct-1.18/src/major_minor/makedefs Wed Nov 14 09:54:38 2007
@@ -10,6 +10,8 @@
;;
FreeBSD.5*) DEFS="-DFREEBSD5"
;;
+ FreeBSD.6*) DEFS="-DFREEBSD5"
+ ;;
OpenBSD.2*) DEFS="-DOPENBSD2"
;;
OpenBSD.3*) DEFS="-DOPENBSD3"
diff -ur tct-1.18-orig/src/misc/makedefs tct-1.18/src/misc/makedefs
--- tct-1.18-orig/src/misc/makedefs Sat Aug 30 20:18:41 2003
+++ tct-1.18/src/misc/makedefs Wed Nov 14 09:54:04 2007
@@ -10,6 +10,8 @@
;;
FreeBSD.5*) DEFS="-DFREEBSD5"
;;
+ FreeBSD.6*) DEFS="-DFREEBSD5"
+ ;;
OpenBSD.2*) DEFS="-DOPENBSD2"
;;
OpenBSD.3*) DEFS="-DOPENBSD3"
diff -ur tct-1.18-orig/src/pcat/makedefs tct-1.18/src/pcat/makedefs
--- tct-1.18-orig/src/pcat/makedefs Tue Oct 14 18:07:44 2003
+++ tct-1.18/src/pcat/makedefs Wed Nov 14 09:54:51 2007
@@ -14,6 +14,9 @@
FreeBSD.5*) DEFS="-DFREEBSD5"
SYSLIBS="-lkvm"
;;
+ FreeBSD.6*) DEFS="-DFREEBSD5"
+ SYSLIBS="-lkvm"
+ ;;
OpenBSD.2*) DEFS="-DOPENBSD2"
SYSLIBS="-lkvm"
;;
--CUfgB8w4ZwR/yMy5--