summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Haustein <mario.haustein@hrz.tu-chemnitz.de>2022-12-16 23:21:45 +0100
committerSam James <sam@gentoo.org>2022-12-16 22:57:09 +0000
commit74d35979c4882942b9f75aac388070e9bf39b6e4 (patch)
tree58bf81aaa9bcfe9c688be8a879f3160f0b71f3ea
parentdev-libs/mpc: add 1.3.1, drop 1.3.1_rc2 (diff)
downloadgentoo-74d35979c4882942b9f75aac388070e9bf39b6e4.tar.gz
gentoo-74d35979c4882942b9f75aac388070e9bf39b6e4.tar.bz2
gentoo-74d35979c4882942b9f75aac388070e9bf39b6e4.zip
app-forensics/volatility3: don't install test files
Closes: https://bugs.gentoo.org/886031 Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--app-forensics/volatility3/Manifest2
-rw-r--r--app-forensics/volatility3/files/volatility3-2.4.0-dont-install-tests.patch14
-rw-r--r--app-forensics/volatility3/volatility3-2.4.0-r1.ebuild (renamed from app-forensics/volatility3/volatility3-2.4.0.ebuild)4
3 files changed, 20 insertions, 0 deletions
diff --git a/app-forensics/volatility3/Manifest b/app-forensics/volatility3/Manifest
index 71819e74c429..ce3138d5d266 100644
--- a/app-forensics/volatility3/Manifest
+++ b/app-forensics/volatility3/Manifest
@@ -1,2 +1,4 @@
DIST volatility3-2.0.1.tar.gz 427679 BLAKE2B eb9b4ebb885a8dd4de2769c666b503da4bef792389efbf487815808fd514cf84f7f10b5a12926cf398a4028e7b72a5b78892c4c92d3709fea37fe13a6f32af7d SHA512 752b3fc23b3668df4329f6dbefa2ff8eb2dd63bc6e22e18774096cebae93053567727e3dc6e5ecbf7a0731459c829c37cea8ac735564c62f96a4f652ad2b6cb9
DIST volatility3-2.4.0.gh.tar.gz 464123 BLAKE2B 436f0996b7c1d997727885949941fdaff3d801dbd5182ec9332d6f8182fc9bb56b91b50aad11f901e84bf4f3399f7ac0a61d484cd57fc36d7baf106ffcdb8fbd SHA512 03d74ff1c34a583dfc6a43fdb94947e4bd691e92a7f6a52d7323388edb47e955c06db523c21d9969012a4c607896daa8f20d82393d4ec457ebbf8c09b6537d25
+DIST volatility3-linux-sample-1.bin.gz 143967523 BLAKE2B 3321e991a50b6e4ccf19e0ee48d779664f43f4cdbdb950ca31a5d08c8ee9de0018e2d4f69f42206f7e8f1c6ea735c47f8aa42806ed0f85e9a837b611f07b3289 SHA512 82a34aa1d4e7d7deb9ea12e892f14ba0a28908b2da2e31ca76efd1e9e59d87769064a1ffffe8979a58b992cea7005fa20954df50984dbe1dd186513ad95168d7
+DIST volatility3-win-xp-laptop-2005-06-25.img.gz 180343409 BLAKE2B 9fc10ddb9208d7023854e9619f6cf5ce140f2a2aa5772ccd8bcd852dd50c6f77e36298dbf7df1512334e7976b6ab35dd77f4c49505e531c3a289dd0f26cfc01e SHA512 a1f758cc1b4febcf11f64bc01b872c7528d19c686d81f8e03d742424fa0600254914e656cdf35c3752b406354f769a8aa256622b2f2afe2d691c4bb6d3be3f52
diff --git a/app-forensics/volatility3/files/volatility3-2.4.0-dont-install-tests.patch b/app-forensics/volatility3/files/volatility3-2.4.0-dont-install-tests.patch
new file mode 100644
index 000000000000..7bda65385df0
--- /dev/null
+++ b/app-forensics/volatility3/files/volatility3-2.4.0-dont-install-tests.patch
@@ -0,0 +1,14 @@
+Don't install test files
+https://bugs.gentoo.org/886031
+
+--- a/setup.py
++++ b/setup.py
+@@ -40,7 +40,7 @@ setuptools.setup(name = "volatility3",
+ '': ['development', 'development.*'],
+ 'development': ['*']
+ },
+- packages = setuptools.find_namespace_packages(exclude = ["development", "development.*"]),
++ packages = setuptools.find_namespace_packages(exclude = ["development", "development.*", "test", "test.*"]),
+ entry_points = {
+ 'console_scripts': [
+ 'vol = volatility3.cli:main',
diff --git a/app-forensics/volatility3/volatility3-2.4.0.ebuild b/app-forensics/volatility3/volatility3-2.4.0-r1.ebuild
index 077ddf81a4ee..c167af282f11 100644
--- a/app-forensics/volatility3/volatility3-2.4.0.ebuild
+++ b/app-forensics/volatility3/volatility3-2.4.0-r1.ebuild
@@ -29,3 +29,7 @@ RDEPEND="
yara? ( >=dev-python/yara-python-3.8.0[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-dont-install-tests.patch"
+)