mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 12:26:27 -04:00
Update to 20160918
This commit is contained in:
parent
6566b9a89d
commit
d00edb3bd8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422523
3 changed files with 13 additions and 35 deletions
|
@ -2,8 +2,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= dfvfs
|
PORTNAME= dfvfs
|
||||||
PORTVERSION= 20160108
|
PORTVERSION= 20160918
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= security devel python
|
CATEGORIES= security devel python
|
||||||
MASTER_SITES= https://github.com/log2timeline/dfvfs/releases/download/${PORTVERSION}/ \
|
MASTER_SITES= https://github.com/log2timeline/dfvfs/releases/download/${PORTVERSION}/ \
|
||||||
LOCAL/antoine
|
LOCAL/antoine
|
||||||
|
@ -18,6 +17,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
RUN_DEPENDS= libbde>=a:devel/libbde \
|
RUN_DEPENDS= libbde>=a:devel/libbde \
|
||||||
libewf>=0:devel/libewf \
|
libewf>=0:devel/libewf \
|
||||||
libfsntfs>=e:devel/libfsntfs \
|
libfsntfs>=e:devel/libfsntfs \
|
||||||
|
libfvde>=0:sysutils/libfvde \
|
||||||
|
libfwnt>=e:devel/libfwnt \
|
||||||
libqcow>=a:devel/libqcow \
|
libqcow>=a:devel/libqcow \
|
||||||
libsigscan>=e:devel/libsigscan \
|
libsigscan>=e:devel/libsigscan \
|
||||||
libsmdev>=a:devel/libsmdev \
|
libsmdev>=a:devel/libsmdev \
|
||||||
|
@ -25,15 +26,20 @@ RUN_DEPENDS= libbde>=a:devel/libbde \
|
||||||
libvhdi>=e:devel/libvhdi \
|
libvhdi>=e:devel/libvhdi \
|
||||||
libvmdk>=e:devel/libvmdk \
|
libvmdk>=e:devel/libvmdk \
|
||||||
libvshadow>=0:devel/libvshadow \
|
libvshadow>=0:devel/libvshadow \
|
||||||
|
libvslvm>=e:devel/libvslvm \
|
||||||
|
${PYTHON_PKGNAMEPREFIX}pyliblzma>=0:archivers/py-pyliblzma \
|
||||||
${PYTHON_PKGNAMEPREFIX}construct>=0:devel/py-construct \
|
${PYTHON_PKGNAMEPREFIX}construct>=0:devel/py-construct \
|
||||||
${PYTHON_PKGNAMEPREFIX}protobuf>=0:devel/py-protobuf \
|
${PYTHON_PKGNAMEPREFIX}dfdatetime>=0:security/py-dfdatetime \
|
||||||
|
${PYTHON_PKGNAMEPREFIX}pycrypto>=0:security/py-pycrypto \
|
||||||
${PYTHON_PKGNAMEPREFIX}pytsk>=0:sysutils/py-pytsk \
|
${PYTHON_PKGNAMEPREFIX}pytsk>=0:sysutils/py-pytsk \
|
||||||
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3
|
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3
|
||||||
|
|
||||||
NO_ARCH= yes
|
NO_ARCH= yes
|
||||||
USES= python:2.7
|
USES= python:2.7
|
||||||
USE_PYTHON= distutils autoplist
|
USE_PYTHON= distutils autoplist
|
||||||
|
TEST_ENV= ${MAKE_ENV} LANG=en_US.UTF-8 PYTHONHTTPSVERIFY=0
|
||||||
|
|
||||||
# Note: for regression tests set LANG to en_US.UTF-8
|
do-test:
|
||||||
|
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} run_tests.py)
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
SHA256 (dfvfs-20160108.tar.gz) = d5569b878f9cee79790aa5768689e576d6b52caaf76edbd87a00ed423a96584c
|
TIMESTAMP = 1474205984
|
||||||
SIZE (dfvfs-20160108.tar.gz) = 62250192
|
SHA256 (dfvfs-20160918.tar.gz) = 0eb4f54d745502e43b12456882ee69130b566db05c33c4abefede010422fb666
|
||||||
|
SIZE (dfvfs-20160918.tar.gz) = 77646360
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
# Sleuthkit 4.2.0 switched from 100 nano seconds precision to
|
|
||||||
# 1 nano second precision
|
|
||||||
# See: https://github.com/log2timeline/dfvfs/issues/116
|
|
||||||
|
|
||||||
--- dfvfs/vfs/tsk_file_entry.py.orig 2016-01-11 06:11:52 UTC
|
|
||||||
+++ dfvfs/vfs/tsk_file_entry.py
|
|
||||||
@@ -348,6 +348,22 @@ class TSKFileEntry(file_entry.FileEntry)
|
|
||||||
stat_object.mtime_nano = getattr(
|
|
||||||
tsk_file.info.meta, u'mtime_nano', None)
|
|
||||||
|
|
||||||
+ # Sleuthkit 4.2.0 switched from 100 nano seconds precision to
|
|
||||||
+ # 1 nano second precision.
|
|
||||||
+ if pytsk3.TSK_VERSION_NUM >= 0x040200ff:
|
|
||||||
+ if stat_object.atime_nano is not None:
|
|
||||||
+ stat_object.atime_nano /= 100
|
|
||||||
+ if stat_object.bkup_time_nano is not None:
|
|
||||||
+ stat_object.bkup_time_nano /= 100
|
|
||||||
+ if stat_object.ctime_nano is not None:
|
|
||||||
+ stat_object.ctime_nano /= 100
|
|
||||||
+ if stat_object.crtime_nano is not None:
|
|
||||||
+ stat_object.crtime_nano /= 100
|
|
||||||
+ if stat_object.dtime_nano is not None:
|
|
||||||
+ stat_object.dtime_nano /= 100
|
|
||||||
+ if stat_object.mtime_nano is not None:
|
|
||||||
+ stat_object.mtime_nano /= 100
|
|
||||||
+
|
|
||||||
# Ownership and permissions stat information.
|
|
||||||
stat_object.mode = getattr(tsk_file.info.meta, u'mode', None)
|
|
||||||
stat_object.uid = getattr(tsk_file.info.meta, u'uid', None)
|
|
Loading…
Add table
Reference in a new issue