summaryrefslogtreecommitdiff
path: root/filesystems/py-dfvfs
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/py-dfvfs')
-rw-r--r--filesystems/py-dfvfs/Makefile60
-rw-r--r--filesystems/py-dfvfs/distinfo3
-rw-r--r--filesystems/py-dfvfs/pkg-descr5
3 files changed, 68 insertions, 0 deletions
diff --git a/filesystems/py-dfvfs/Makefile b/filesystems/py-dfvfs/Makefile
new file mode 100644
index 000000000000..cf96f98a9a0c
--- /dev/null
+++ b/filesystems/py-dfvfs/Makefile
@@ -0,0 +1,60 @@
+PORTNAME= dfvfs
+PORTVERSION= 20231208
+PORTREVISION= 1
+CATEGORIES= filesystems security devel python
+MASTER_SITES= https://github.com/log2timeline/dfvfs/releases/download/${PORTVERSION}/ \
+ LOCAL/antoine
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= antoine@FreeBSD.org
+COMMENT= Digital Forensics Virtual File System
+WWW= https://github.com/log2timeline/dfvfs
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= libbde>=a:filesystems/libbde \
+ libewf>=0:devel/libewf \
+ libfsapfs>=e:filesystems/libfsapfs \
+ libfsext>=e:filesystems/libfsext \
+ libfsfat>=e:filesystems/libfsfat \
+ libfshfs>=e:filesystems/libfshfs \
+ libfsntfs>=e:filesystems/libfsntfs \
+ libfsxfs>=e:filesystems/libfsxfs \
+ libfvde>=0:sysutils/libfvde \
+ libfwnt>=e:devel/libfwnt \
+ libluksde>=e:devel/libluksde \
+ libmodi>=e:filesystems/libmodi \
+ libphdi>=e:devel/libphdi \
+ libqcow>=a:devel/libqcow \
+ libsigscan>=e:devel/libsigscan \
+ libsmdev>=a:devel/libsmdev \
+ libsmraw>=a:devel/libsmraw \
+ libvhdi>=e:devel/libvhdi \
+ libvmdk>=e:devel/libvmdk \
+ libvsapm>=e:devel/libvsapm \
+ libvsgpt>=e:devel/libvsgpt \
+ libvshadow>=0:devel/libvshadow \
+ libvslvm>=e:devel/libvslvm \
+ ${PYTHON_PKGNAMEPREFIX}dfdatetime>=0:security/py-dfdatetime@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dtfabric>=0:devel/py-dtfabric@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytsk>=0:sysutils/py-pytsk@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}xattr>=0:devel/py-xattr@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyyaml>=3.10:devel/py-pyyaml@${PY_FLAVOR}
+
+USES= python
+USE_LOCALE= en_US.UTF-8
+USE_PYTHON= autoplist concurrent cryptography distutils
+DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD}
+TEST_TARGET= run_tests.py
+
+NO_ARCH= yes
+
+# Upstream archive contains files with UTF-8 names
+EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
+
+post-patch:
+ ${REINPLACE_CMD} "/cffi/d" ${WRKSRC}/requirements.txt
+
+.include <bsd.port.mk>
diff --git a/filesystems/py-dfvfs/distinfo b/filesystems/py-dfvfs/distinfo
new file mode 100644
index 000000000000..7566b547002f
--- /dev/null
+++ b/filesystems/py-dfvfs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1707754540
+SHA256 (dfvfs-20231208.tar.gz) = 522e5225738c14b9134001a7147cf5688538efe4ca42c6536837bb650a204664
+SIZE (dfvfs-20231208.tar.gz) = 98086866
diff --git a/filesystems/py-dfvfs/pkg-descr b/filesystems/py-dfvfs/pkg-descr
new file mode 100644
index 000000000000..cfddc03f0d97
--- /dev/null
+++ b/filesystems/py-dfvfs/pkg-descr
@@ -0,0 +1,5 @@
+dfVFS, or Digital Forensics Virtual File System, provides read-only access to
+file-system objects from various storage media types and file formats. The goal
+of dfVFS is to provide a generic interface for accessing file-system objects,
+for which it uses several back-ends that provide the actual implementation of
+the various storage media types, volume systems and file systems.