aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-22 07:24:04 +0800
committerpav <pav@FreeBSD.org>2004-05-22 07:24:04 +0800
commit19d14c583563eef4724d24ba8faf5104dfd5c48e (patch)
treed47d0a91c8cc912c5c6d4e134a295abf43694b3e /sysutils
parent4f397e8fc0a8df61afaa42499bd50294b208dc62 (diff)
downloadfreebsd-ports-gnome-19d14c583563eef4724d24ba8faf5104dfd5c48e.tar.gz
freebsd-ports-gnome-19d14c583563eef4724d24ba8faf5104dfd5c48e.tar.zst
freebsd-ports-gnome-19d14c583563eef4724d24ba8faf5104dfd5c48e.zip
- Update to 1.14
PR: ports/66985 Submitted by: FGM <francisco@gomezmarin.com> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/tct/Makefile71
-rw-r--r--sysutils/tct/distinfo4
-rw-r--r--sysutils/tct/pkg-message4
-rw-r--r--sysutils/tct/pkg-plist84
4 files changed, 87 insertions, 76 deletions
diff --git a/sysutils/tct/Makefile b/sysutils/tct/Makefile
index 0aa8cd9ddbbe..a68db1015461 100644
--- a/sysutils/tct/Makefile
+++ b/sysutils/tct/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tct
-PORTVERSION= 1.12
+PORTVERSION= 1.14
CATEGORIES= sysutils
MASTER_SITES= http://www.fish.com/tct/ \
http://www.porcupine.org/forensics/
@@ -14,59 +14,60 @@ MASTER_SITES= http://www.fish.com/tct/ \
MAINTAINER= francisco@gomezmarin.com
COMMENT= Analyzer for forensic data
-RUN_DEPENDS+= ${LOCALBASE}/sbin/lsof:${PORTSDIR}/sysutils/lsof
+USE_PERL5= yes
-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
+MAN1= file-tct.1 ils.1 mactime.1 md5-tct.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
MYPORTDOCS= 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
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502000
-BROKEN= "Install broken"
-.endif
-
do-install:
- @${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
- @${INSTALL_PROGRAM} ${WRKSRC}/bin/lastcomm ${LOCALBASE}/bin
- @${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/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}
+ ${MKDIR} ${PREFIX}/share/doc/tct/lib
+ ${MKDIR} ${PREFIX}/share/doc/tct/lazarus
+ ${MKDIR} ${PREFIX}/share/doc/tct/etc
+ ${MKDIR} ${PREFIX}/share/doc/tct/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/file ${PREFIX}/bin/file-tct
+ ${INSTALL_DATA} -m 555 ${WRKSRC}/bin/grave-robber ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/icat ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/ils ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/lastcomm ${PREFIX}/bin
+ ${INSTALL_DATA} -m 555 ${WRKSRC}/bin/mactime ${PREFIX}/bin
+ ${INSTALL_DATA} -m 555 ${WRKSRC}/lazarus/lazarus ${PREFIX}/bin
+ ${LN} -s ${PREFIX}/bin/lazarus ${LOCALBASE}/share/doc/tct/lazarus/lazarus
+ ${LN} -s ${PREFIX}/bin/file-tct ${LOCALBASE}/share/doc/tct/bin/file
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/major_minor ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/md5 ${PREFIX}/bin/md5-tct
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/pcat ${PREFIX}/bin
+ ${INSTALL_DATA} -m 555 ${WRKSRC}/bin/strip_tct_home ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/unrm ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/timeout ${PREFIX}/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} -Rp ${WRKSRC}/lib ${PREFIX}/share/doc/tct
+ ${CP} ${WRKSRC}/lib/savecore.pl ${SITE_PERL}
+ ${CP} ${WRKSRC}/conf/paths.pl ${SITE_PERL}
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/tct
.for file in ${MYPORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/tct
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/tct
.endfor
.endif
-.for file in ${MAN1}
- @${INSTALL_MAN} ${WRKSRC}/man/man1/${file} ${PREFIX}/man/man1
+.for file in ${MAN1:S/file-tct.1//:S/md5-tct.1//}
+ ${INSTALL_MAN} ${WRKSRC}/man/man1/${file} ${PREFIX}/man/man1
.endfor
.for file in ${MAN5}
- @${INSTALL_MAN} ${WRKSRC}/man/man5/${file} ${PREFIX}/man/man5
+ ${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}
+ ${MKDIR} ${PREFIX}/share/doc/tct/conf
+ ${CP} ${WRKSRC}/conf/* ${PREFIX}/share/doc/tct/conf
+ ${CP} ${WRKSRC}/etc/magic ${PREFIX}/share/doc/tct/etc
+ ${CP} ${WRKSRC}/src/file/Magdir/magic ${PREFIX}/share/doc/tct/etc
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/sysutils/tct/distinfo b/sysutils/tct/distinfo
index 8fcea0dc597e..77c06837a5e6 100644
--- a/sysutils/tct/distinfo
+++ b/sysutils/tct/distinfo
@@ -1,2 +1,2 @@
-MD5 (tct-1.12.tar.gz) = 7a2a2404bd992fed438d547b9ea14348
-SIZE (tct-1.12.tar.gz) = 314679
+MD5 (tct-1.14.tar.gz) = 732d01e7771da6c940dbdae80cefb60e
+SIZE (tct-1.14.tar.gz) = 316852
diff --git a/sysutils/tct/pkg-message b/sysutils/tct/pkg-message
new file mode 100644
index 000000000000..8e7ddd2f9159
--- /dev/null
+++ b/sysutils/tct/pkg-message
@@ -0,0 +1,4 @@
+
+You will need to edit some files like lazarus or coroner.cf and change the path for
+$TCT_HOME to /usr/local/share/doc/tct. It is recommended to install sysutils/lsof too.
+
diff --git a/sysutils/tct/pkg-plist b/sysutils/tct/pkg-plist
index 0462527c9aa8..b99b5e3ff204 100644
--- a/sysutils/tct/pkg-plist
+++ b/sysutils/tct/pkg-plist
@@ -20,6 +20,8 @@ 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
+share/doc/tct/lazarus/lazarus
+share/doc/tct/bin/file
bin/ils
bin/grave-robber
bin/lastcomm
@@ -33,45 +35,49 @@ bin/lazarus
bin/icat
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
+share/doc/tct/lib/body_init.pl
+share/doc/tct/lib/bsd.pl
+share/doc/tct/lib/chk_binaries.pl
+share/doc/tct/lib/command.pl
+share/doc/tct/lib/crunch.pl
+share/doc/tct/lib/date.pl
+share/doc/tct/lib/datez.pl
+share/doc/tct/lib/dig-sig.pl
+share/doc/tct/lib/file_mode.pl
+share/doc/tct/lib/getopts.pl
+share/doc/tct/lib/hostname.pl
+share/doc/tct/lib/is_able.pl
+share/doc/tct/lib/linux.pl
+share/doc/tct/lib/logger.pl
+share/doc/tct/lib/major_minor.pl
+share/doc/tct/lib/maj_min_walk.pl
+share/doc/tct/lib/misc.pl
+share/doc/tct/lib/ostype.pl
+share/doc/tct/lib/pass.cache.pl
+share/doc/tct/lib/print_table.pl
+share/doc/tct/lib/proc.pl
+share/doc/tct/lib/process_dirs.pl
+share/doc/tct/lib/ps_spy.pl
+share/doc/tct/lib/rawdev.pl
+share/doc/tct/lib/realpath.pl
+share/doc/tct/lib/save_the_files.pl
+share/doc/tct/lib/savecore.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
+%%SITE_PERL%%/paths.pl
+share/doc/tct/lib/solaris.pl
+share/doc/tct/lib/stat.pl
+share/doc/tct/lib/suck_free_inodes.pl
+share/doc/tct/lib/suck_table.pl
+share/doc/tct/lib/sunos.pl
+share/doc/tct/lib/system_stubs.pl
+share/doc/tct/lib/tm_misc.pl
+share/doc/tct/lib/tree.pl
+share/doc/tct/lib/trust.pl
+share/doc/tct/lib/vault_cp.pl
+share/doc/tct/etc/magic
@dirrm share/doc/tct/conf
+@dirrm share/doc/tct/lib
+@dirrm share/doc/tct/lazarus
+@dirrm share/doc/tct/etc
+@dirrm share/doc/tct/bin
@dirrm share/doc/tct