summaryrefslogtreecommitdiff
path: root/security/tct/Makefile
diff options
context:
space:
mode:
authoragc <agc>2002-01-03 10:58:57 +0000
committeragc <agc>2002-01-03 10:58:57 +0000
commit1716dc38cf2dcb5c76c14a6326dff244e8919eb2 (patch)
treedeef914ce57cc84118e238611a68bcfcb9d27003 /security/tct/Makefile
parent24874e017a9efb6d3ea72c523eff90bb2dbaf754 (diff)
downloadpkgsrc-1716dc38cf2dcb5c76c14a6326dff244e8919eb2.tar.gz
Initial import of tct-1.0.9 into the NetBSD Packages Collection.
TCT is a collection of programs by Dan Farmer and Wietse Venema for a post-mortem analysis of a UNIX system after break-in. Notable TCT components are the grave-robber tool that captures information, the ils and mactime tools that display access patterns of files dead or alive, the unrm and lazarus tools that recover deleted files, and the findkey tool that recovers cryptographic keys from a running process or from files. WARNING This software is not for the faint of heart. It is relatively unpolished compared to the software that Dan and Wietse usually release. TCT can spend a lot of time collecting data. And although TCT collects lots of data, many analysis tools still need to be written. Based on patches provided in PR 15081 by frazee.23@osu.edu.
Diffstat (limited to 'security/tct/Makefile')
-rw-r--r--security/tct/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/security/tct/Makefile b/security/tct/Makefile
new file mode 100644
index 00000000000..39d51a59138
--- /dev/null
+++ b/security/tct/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/01/03 10:58:57 agc Exp $
+#
+
+DISTNAME= tct-1.09
+CATEGORIES= sysutils
+MASTER_SITES= http://www.porcupine.org/forensics/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.porcupine.org/forensics/tct.html
+COMMENT= programs to aid post-mortem after a break-in
+
+REPLACE_PERL= bin/grave-robber bin/mactime bin/strip_tct_home
+REPLACE_PERL+= extras/bdf extras/ils2mac extras/realpath
+REPLACE_PERL+= lazarus/lazarus
+
+do-install:
+ cd ${WRKSRC}/bin && \
+ for f in grave-robber mactime; do \
+ ${BSD_INSTALL_SCRIPT} $$f ${LOCALBASE}/sbin; \
+ done; \
+ for f in icat ils lastcomm major_minor pcat timeout unrm; do \
+ ${BSD_INSTALL_PROGRAM} $$f ${LOCALBASE}/sbin; \
+ done
+ cd ${WRKSRC}/extras && \
+ for f in bdf ils2mac realpath; do \
+ ${BSD_INSTALL_SCRIPT} $$f ${LOCALBASE}/sbin; \
+ done
+ ${BSD_INSTALL_SCRIPT} ${WRKSRC}/lazarus/lazarus ${LOCALBASE}/sbin
+ ${INSTALL_DATA_DIR} ${LOCALBASE}/share/doc/tct
+ cd ${WRKSRC}/docs && \
+ for f in README design-notes grave-robber.README lazarus.README mac.README; do \
+ ${BSD_INSTALL_DATA} $$f ${LOCALBASE}/share/doc/tct; \
+ done
+
+.include "../../lang/perl5/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"