update sleuthkit to 4.3.0.

inputs and ok nigel@.
This commit is contained in:
rpointel 2016-10-10 18:58:38 +00:00
parent 94cb53db53
commit 07da3519b6
5 changed files with 91 additions and 70 deletions

View File

@ -1,12 +1,11 @@
# $OpenBSD: Makefile,v 1.16 2015/02/16 22:57:13 naddy Exp $
# $OpenBSD: Makefile,v 1.17 2016/10/10 18:58:38 rpointel Exp $
COMMENT= forensic toolkit based on TCT
DISTNAME= sleuthkit-3.0.1
REVISION = 0
DISTNAME= sleuthkit-4.3.0
CATEGORIES= sysutils security
SHARED_LIBS= tsk3 4.3
SHARED_LIBS += tsk 0.0 # 14.0
HOMEPAGE= http://www.sleuthkit.org/
@ -16,17 +15,22 @@ MAINTAINER= Nigel Taylor <nigel@openbsd.org>
PERMIT_PACKAGE_CDROM= commercial contributor must indemnify all others
PERMIT_PACKAGE_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sleuthkit/}
MASTER_SITES = https://github.com/sleuthkit/sleuthkit/releases/download/${DISTNAME}/
WANTLIB= c m stdc++
WANTLIB += c m pthread stdc++ z
CONFIGURE_STYLE= simple
CONFIGURE_STYLE = simple
CONFIGURE_ARGS += --mandir='${PREFIX}/man' \
--disable-java \
--without-afflib \
--without-libewf
RUN_DEPENDS= converters/p5-DateManip
NO_TEST= Yes
NO_TEST = Yes
pre-configure:
@perl -pi -e "s:%%PREFIX%%:${PREFIX}:" ${WRKSRC}/man/sorter.1
@sed -i 's:%%PREFIX%%:${PREFIX}:' ${WRKSRC}/man/sorter.1
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (sleuthkit-3.0.1.tar.gz) = cPrFTDn4YxpuztxEs5OV3bPRf5I21x1QvL+r9ei2Dd0=
SIZE (sleuthkit-3.0.1.tar.gz) = 814032
SHA256 (sleuthkit-4.3.0.tar.gz) = mJxpGD5Le+w3NGQlOIAs3KvjRqbcrTHN5F7ry5v8GR8=
SIZE (sleuthkit-4.3.0.tar.gz) = 8539568

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-man_hfind_1,v 1.2 2009/01/05 22:15:56 rui Exp $
--- man/hfind.1.orig Mon Sep 29 00:02:46 2008
+++ man/hfind.1 Sun Dec 28 14:02:02 2008
$OpenBSD: patch-man_hfind_1,v 1.3 2016/10/10 18:58:38 rpointel Exp $
--- man/hfind.1.orig Wed Sep 16 19:07:12 2015
+++ man/hfind.1 Sat Sep 19 20:34:08 2015
@@ -13,7 +13,7 @@ hfind \- Lookup a hash value in a hash database
looks up hash values in a database using a binary search algorithm.
This allows one to easily create a hash database and identify if a file
@ -9,7 +9,7 @@ $OpenBSD: patch-man_hfind_1,v 1.2 2009/01/05 22:15:56 rui Exp $
+Library (NSRL) and the output of 'md5'.
Before the database can be used by 'hfind', an index file must be created
with the '-i' option.
with the '\-i' option.
@@ -28,7 +28,7 @@ search algorithm instead of a linear search such as 'g
.IP "-i db_type"
Create an index file for the database. This step must be done before
@ -28,7 +28,7 @@ $OpenBSD: patch-man_hfind_1,v 1.2 2009/01/05 22:15:56 rui Exp $
databases. 'hfind' can take data in both common formats:
MD5 (test.txt) = 76b1f4de1522c20b67acc132937cf82e
@@ -100,11 +100,11 @@ You can even do both SHA-1 and MD5 if you want:
@@ -101,11 +101,11 @@ You can even do both SHA-1 and MD5 if you want:
80001A80B3F1B80076B297CEE8805AAA04E1B5BA thrdcore.cpp
@ -38,26 +38,26 @@ $OpenBSD: patch-man_hfind_1,v 1.2 2009/01/05 22:15:56 rui Exp $
- # md5sum /bin/* /sbin/* /usr/bin/* /usr/bin/* /usr/local/bin/* /usr/local/sbin/* > system.md5
+ # md5 -s /bin/* /sbin/* /usr/bin/* /usr/bin/* /usr/local/bin/* /usr/local/sbin/* > system.md5
- # hfind -i md5sum system.md5
- # hfind \-i md5sum system.md5
+ # hfind -i md5 -s system.md5
To look entries up, the following will work:
@@ -114,7 +114,7 @@ To look entries up, the following will work:
@@ -115,7 +115,7 @@ To look entries up, the following will work:
or
- # md5sum -q /bin/* | hfind system.md5
- # md5sum \-q /bin/* | hfind system.md5
+ # md5 -s /bin/* | hfind system.md5
928682269cd3edb1acdf9a7f7e606ff2 /bin/bash
@@ -122,7 +122,7 @@ or
@@ -123,7 +123,7 @@ or
or
- # md5sum -q /bin/* > bin.md5
- # md5sum \-q /bin/* > bin.md5
+ # md5 -s /bin/* > bin.md5
# hfind -f bin.md5 system.md5
# hfind \-f bin.md5 system.md5

View File

@ -1,13 +1,13 @@
$OpenBSD: patch-man_sorter_1,v 1.2 2009/01/05 22:15:56 rui Exp $
--- man/sorter.1.orig Mon Sep 29 00:02:46 2008
+++ man/sorter.1 Sun Dec 28 14:02:02 2008
@@ -76,7 +76,7 @@ have priority over the standard files.
$OpenBSD: patch-man_sorter_1,v 1.3 2016/10/10 18:58:38 rpointel Exp $
--- man/sorter.1.orig Wed Sep 16 19:07:12 2015
+++ man/sorter.1 Sat Sep 19 20:35:52 2015
@@ -78,7 +78,7 @@ have priority over the standard files.
.IP "-C config"
Specify the location of the ONLY configuration file. The standard config
files will not be loaded if this option is given. For example, in the
-\'share/sort\' directory there is a file called 'images.sort'. This file
+\'%%PREFIX%%/share/tsk/sorter/\' directory there is a file called 'images.sort'. This file
contains only rules about graphic images. If it is specified with -C, then
contains only rules about graphic images. If it is specified with \-C, then
only images will be saved about the image.
.IP "-m mnt"
@@ -201,7 +201,7 @@ file systems will produce data from this step).
@ -23,8 +23,8 @@ $OpenBSD: patch-man_sorter_1,v 1.2 2009/01/05 22:15:56 rui Exp $
To just identify images using the supplied 'images.sort' file:
- # sorter -f ntfs -C /usr/local/sleuthkit/share/sort/images.sort \
+ # sorter -f ntfs -C %%PREFIX%%/share/tsk/sort/images.sort \
-d data/sorter -h -s images/hda1.dd
- # sorter \-f ntfs \-C /usr/local/sleuthkit/share/sort/images.sort \
+ # sorter \-f ntfs \-C %%PREFIX%%/share/tsk/sort/images.sort \
\-d data/sorter \-h \-s images/hda1.dd
.SH REQUIREMENTS

View File

@ -1,12 +1,15 @@
@comment $OpenBSD: PLIST,v 1.7 2009/01/05 22:15:56 rui Exp $
@comment $OpenBSD: PLIST,v 1.8 2016/10/10 18:58:38 rpointel Exp $
@conflict ja-jvim-*
@conflict freeze-*
@bin bin/blkcalc
@bin bin/blkcat
@bin bin/blkls
@bin bin/blkstat
@comment bin/disk_sreset
@comment bin/disk_stat
@bin bin/fcat
@bin bin/ffind
@bin bin/fiwalk
@bin bin/fls
@bin bin/fsstat
@bin bin/hfind
@ -18,6 +21,7 @@
@bin bin/istat
@bin bin/jcat
@bin bin/jls
@bin bin/jpeg_extract
bin/mactime
@bin bin/mmcat
@bin bin/mmls
@ -25,40 +29,49 @@ bin/mactime
@bin bin/sigfind
bin/sorter
@bin bin/srch_strings
include/tsk3/
include/tsk3/base/
include/tsk3/base/tsk_base.h
include/tsk3/base/tsk_os.h
include/tsk3/fs/
include/tsk3/fs/tsk_ext2fs.h
include/tsk3/fs/tsk_fatfs.h
include/tsk3/fs/tsk_ffs.h
include/tsk3/fs/tsk_fs.h
include/tsk3/fs/tsk_hfs.h
include/tsk3/fs/tsk_iso9660.h
include/tsk3/fs/tsk_ntfs.h
include/tsk3/hashdb/
include/tsk3/hashdb/tsk_hashdb.h
include/tsk3/img/
include/tsk3/img/tsk_img.h
include/tsk3/libtsk.h
include/tsk3/tsk_incs.h
include/tsk3/vs/
include/tsk3/vs/tsk_bsd.h
include/tsk3/vs/tsk_dos.h
include/tsk3/vs/tsk_gpt.h
include/tsk3/vs/tsk_mac.h
include/tsk3/vs/tsk_sun.h
include/tsk3/vs/tsk_vs.h
lib/libtsk3.a
lib/libtsk3.la
@lib lib/libtsk3.so.${LIBtsk3_VERSION}
@bin bin/tsk_comparedir
@bin bin/tsk_gettimes
@bin bin/tsk_loaddb
@bin bin/tsk_recover
include/tsk/
include/tsk/auto/
include/tsk/auto/sqlite3.h
include/tsk/auto/tsk_auto.h
include/tsk/base/
include/tsk/base/tsk_base.h
include/tsk/base/tsk_os.h
include/tsk/fs/
include/tsk/fs/tsk_exfatfs.h
include/tsk/fs/tsk_ext2fs.h
include/tsk/fs/tsk_fatfs.h
include/tsk/fs/tsk_fatxxfs.h
include/tsk/fs/tsk_ffs.h
include/tsk/fs/tsk_fs.h
include/tsk/fs/tsk_hfs.h
include/tsk/fs/tsk_iso9660.h
include/tsk/fs/tsk_ntfs.h
include/tsk/fs/tsk_yaffs.h
include/tsk/hashdb/
include/tsk/hashdb/tsk_hashdb.h
include/tsk/img/
include/tsk/img/tsk_img.h
include/tsk/libtsk.h
include/tsk/tsk_incs.h
include/tsk/vs/
include/tsk/vs/tsk_bsd.h
include/tsk/vs/tsk_dos.h
include/tsk/vs/tsk_gpt.h
include/tsk/vs/tsk_mac.h
include/tsk/vs/tsk_sun.h
include/tsk/vs/tsk_vs.h
lib/libtsk.a
lib/libtsk.la
@lib lib/libtsk.so.${LIBtsk_VERSION}
@man man/man1/blkcalc.1
@man man/man1/blkcat.1
@man man/man1/blkls.1
@man man/man1/blkstat.1
@man man/man1/disk_sreset.1
@man man/man1/disk_stat.1
@man man/man1/fcat.1
@man man/man1/ffind.1
@man man/man1/fls.1
@man man/man1/fsstat.1
@ -77,12 +90,16 @@ lib/libtsk3.la
@man man/man1/mmstat.1
@man man/man1/sigfind.1
@man man/man1/sorter.1
share/tsk3/
share/tsk3/sorter/
share/tsk3/sorter/default.sort
share/tsk3/sorter/freebsd.sort
share/tsk3/sorter/images.sort
share/tsk3/sorter/linux.sort
share/tsk3/sorter/openbsd.sort
share/tsk3/sorter/solaris.sort
share/tsk3/sorter/windows.sort
@man man/man1/tsk_comparedir.1
@man man/man1/tsk_gettimes.1
@man man/man1/tsk_loaddb.1
@man man/man1/tsk_recover.1
share/tsk/
share/tsk/sorter/
share/tsk/sorter/default.sort
share/tsk/sorter/freebsd.sort
share/tsk/sorter/images.sort
share/tsk/sorter/linux.sort
share/tsk/sorter/openbsd.sort
share/tsk/sorter/solaris.sort
share/tsk/sorter/windows.sort