summaryrefslogtreecommitdiff
path: root/sysutils/tct
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-12 02:27:21 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-12 02:27:21 +0000
commit829c2e8e175f8e8b048aa8bf6bd34af94751bc14 (patch)
treef60ec1ac9b483ab5ca110a094b7115445be78ed1 /sysutils/tct
parentUpdate port: deskutils/xfce4-notes update to 0.9.5 (diff)
[maintainer update] tct update
It collides with the sysutils/file port and with /sbin/md5 binary. It also doesn't install the conf files and perl modules for some programs. PR: ports/57683 Submitted by: Francisco Gomez <francisco@gomezmarin.com>
Notes
Notes: svn path=/head/; revision=90875
Diffstat (limited to 'sysutils/tct')
-rw-r--r--sysutils/tct/Makefile18
-rw-r--r--sysutils/tct/pkg-plist54
2 files changed, 66 insertions, 6 deletions
diff --git a/sysutils/tct/Makefile b/sysutils/tct/Makefile
index 8a84a93caf96..6d545ffce69d 100644
--- a/sysutils/tct/Makefile
+++ b/sysutils/tct/Makefile
@@ -14,16 +14,19 @@ MASTER_SITES= http://www.fish.com/tct/ \
MAINTAINER= francisco@gomezmarin.com
COMMENT= Analyzer for forensic data
-RUN_DEPENDS= ${PERL}:${PORTSDIR}/lang/perl5
RUN_DEPENDS+= ${LOCALBASE}/sbin/lsof:${PORTSDIR}/sysutils/lsof
-MAN1= file.1 ils.1 mactime.1 pcat.1 grave-robber.1 lastcomm.1 major_minor.1 timeout.1 icat.1 lazarus.1 md5.1 unrm.1
+CONFLICTS= file-*
+
+USE_PERL5_RUN= yes
+
+MAN1= ils.1 mactime.1 pcat.1 grave-robber.1 lastcomm.1 major_minor.1 timeout.1 icat.1 lazarus.1 unrm.1
MAN5= magic.5 tm-format.5
PORTDOCS= CHANGES COPYRIGHT INSTALL LICENSE MANIFEST OS-NOTES README.FIRST TODO docs/README docs/design-notes docs/lazarus.README docs/grave-robber.README docs/mac.README
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/bin/file ${LOCALBASE}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/bin/file ${LOCALBASE}/bin/file-tct
@${INSTALL_DATA} -m 555 ${WRKSRC}/bin/grave-robber ${LOCALBASE}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/bin/icat ${LOCALBASE}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/bin/ils ${LOCALBASE}/bin
@@ -31,11 +34,14 @@ do-install:
@${INSTALL_DATA} -m 555 ${WRKSRC}/bin/mactime ${LOCALBASE}/bin
@${INSTALL_DATA} -m 555 ${WRKSRC}/lazarus/lazarus ${LOCALBASE}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/bin/major_minor ${LOCALBASE}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/bin/md5 ${LOCALBASE}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/bin/md5 ${LOCALBASE}/bin/md5-tct
@${INSTALL_PROGRAM} ${WRKSRC}/bin/pcat ${LOCALBASE}/bin
@${INSTALL_DATA} -m 555 ${WRKSRC}/bin/strip_tct_home ${LOCALBASE}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/bin/unrm ${LOCALBASE}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/bin/timeout ${LOCALBASE}/bin
+ @${INSTALL_MAN} ${WRKSRC}/man/man1/file.1 ${PREFIX}/man/man1/file-tct.1
+ @${INSTALL_MAN} ${WRKSRC}/man/man1/md5.1 ${PREFIX}/man/man1/md5-tct.1
+ @${CP} ${WRKSRC}/lib/* ${SITE_PERL}
post-install:
.if !defined(NOPORTDOCS)
@@ -53,4 +59,8 @@ post-install:
@${INSTALL_MAN} ${WRKSRC}/man/man5/${file} ${PREFIX}/man/man5
.endfor
+ @${MKDIR} ${PREFIX}/share/doc/tct/conf
+ @${CP} ${WRKSRC}/conf/* ${PREFIX}/share/doc/tct/conf
+ @${CP} ${WRKSRC}/conf/paths.pl ${SITE_PERL}
+
.include <bsd.port.mk>
diff --git a/sysutils/tct/pkg-plist b/sysutils/tct/pkg-plist
index 50df84a1ae3f..0462527c9aa8 100644
--- a/sysutils/tct/pkg-plist
+++ b/sysutils/tct/pkg-plist
@@ -11,6 +11,15 @@ share/doc/tct/design-notes
share/doc/tct/grave-robber.README
share/doc/tct/lazarus.README
share/doc/tct/mac.README
+share/doc/tct/conf/coroner.cf
+share/doc/tct/conf/grave-robber.cf
+share/doc/tct/conf/lazarus.cf
+share/doc/tct/conf/look@first
+share/doc/tct/conf/mac_file.lst
+share/doc/tct/conf/mac_file.headers
+share/doc/tct/conf/paths.pl
+share/doc/tct/conf/paths.pl.old
+share/doc/tct/conf/save_these_files
bin/ils
bin/grave-robber
bin/lastcomm
@@ -22,6 +31,47 @@ bin/strip_tct_home
bin/timeout
bin/lazarus
bin/icat
-bin/md5
-bin/file
+bin/md5-tct
+bin/file-tct
+man/man1/file-tct.1
+man/man1/md5-tct.1
+%%SITE_PERL%%/body_init.pl
+%%SITE_PERL%%/bsd.pl
+%%SITE_PERL%%/chk_binaries.pl
+%%SITE_PERL%%/command.pl
+%%SITE_PERL%%/crunch.pl
+%%SITE_PERL%%/date.pl
+%%SITE_PERL%%/datez.pl
+%%SITE_PERL%%/dig-sig.pl
+%%SITE_PERL%%/file_mode.pl
+%%SITE_PERL%%/getopts.pl
+%%SITE_PERL%%/hostname.pl
+%%SITE_PERL%%/is_able.pl
+%%SITE_PERL%%/linux.pl
+%%SITE_PERL%%/logger.pl
+%%SITE_PERL%%/major_minor.pl
+%%SITE_PERL%%/maj_min_walk.pl
+%%SITE_PERL%%/misc.pl
+%%SITE_PERL%%/ostype.pl
+%%SITE_PERL%%/pass.cache.pl
+%%SITE_PERL%%/paths.pl
+%%SITE_PERL%%/print_table.pl
+%%SITE_PERL%%/proc.pl
+%%SITE_PERL%%/process_dirs.pl
+%%SITE_PERL%%/ps_spy.pl
+%%SITE_PERL%%/rawdev.pl
+%%SITE_PERL%%/realpath.pl
+%%SITE_PERL%%/save_the_files.pl
+%%SITE_PERL%%/savecore.pl
+%%SITE_PERL%%/solaris.pl
+%%SITE_PERL%%/stat.pl
+%%SITE_PERL%%/suck_free_inodes.pl
+%%SITE_PERL%%/suck_table.pl
+%%SITE_PERL%%/sunos.pl
+%%SITE_PERL%%/system_stubs.pl
+%%SITE_PERL%%/tm_misc.pl
+%%SITE_PERL%%/tree.pl
+%%SITE_PERL%%/trust.pl
+%%SITE_PERL%%/vault_cp.pl
+@dirrm share/doc/tct/conf
@dirrm share/doc/tct