summaryrefslogtreecommitdiff
path: root/app-forensics/magicrescue
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-22 01:55:45 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-22 01:55:45 +0000
commitb2c59335bfbeb25c5644f32172e1e9b23c447710 (patch)
tree0e8e19f47e39be0a7b9b06cb86db760c6d6b5965 /app-forensics/magicrescue
parent427ba64bd6bcdd59a1ae9bc7c5cec0299d135413 (diff)
gentoo auto-resync : 22:12:2022 - 01:55:45
Diffstat (limited to 'app-forensics/magicrescue')
-rw-r--r--app-forensics/magicrescue/Manifest2
-rw-r--r--app-forensics/magicrescue/files/magicrescue-1.1.10-remove_toolsdir.patch106
-rw-r--r--app-forensics/magicrescue/magicrescue-1.1.10-r3.ebuild41
3 files changed, 0 insertions, 149 deletions
diff --git a/app-forensics/magicrescue/Manifest b/app-forensics/magicrescue/Manifest
index 79c9ee39f494..ada47d4da28b 100644
--- a/app-forensics/magicrescue/Manifest
+++ b/app-forensics/magicrescue/Manifest
@@ -1,7 +1,5 @@
AUX magicrescue-1.1.10-fhs-paths.patch 2315 BLAKE2B 1e9ace5ea951e68f791e6a287b21da97e7e2a07dfe684aae73dc8f919056afa3fbf9919b8a15e75fb045053968f8b20003f6695e27745d7ad2e32cbc559496d3 SHA512 1de001f13ad384266a52ab86533e7441ec445b680e84a548c715568e74c73a8a91312f15668f1220bfd344a600af28cac7b0ec93dc9fca66ecd51b3d55156b39
AUX magicrescue-1.1.10-ldflags.patch 1140 BLAKE2B 98deed569c8809e0e7a31c86cd29f1e79eaa2a2da986f2dcbce3591a1eba0e0aff43caf48db008a1c7c09e27d602e8c10a41889c7a89ad3696e9a5514449eec5 SHA512 abcb734fc4381408d8c4072e637a326a1b619defc244f70fb68608485a4a36ff4b4a206c296bb7dec0ae19fbe8030b88c9a6b528ca0f1934a0308f167ddd966d
-AUX magicrescue-1.1.10-remove_toolsdir.patch 4087 BLAKE2B ce13561cac085ca3c558d02fd9538ce9c3973a022fb3e51048ede5643e258d2a352425f5c3e1a164d209d2ecbb46a6c3c73da997c08a2d61f23fa764d8c526be SHA512 4b2a627475d3fff6b3a8c30dd883b3358043a429d05772bc4e1f658273a7c2a7beb29bc69978ac817074ba25827e4954a948076d77de73832eaf479e4bc1b8c8
DIST magicrescue-1.1.10.tar.gz 227237 BLAKE2B a1584f4e6f4b6771783c565901775e181ba2e952e780565831e5d46245a4dd4670657cec7fb57b18d7dfc09954faec410da2dfe1b35130c23d22d8a6ccf0ab07 SHA512 54fc943a1f521563a3416040eb6b140e3ef79966b615ae0223be0558b810f9202c2d1e5ba0165c43a614caf78dbce1b0992775bef39e9611d2dc290e4582c29d
-EBUILD magicrescue-1.1.10-r3.ebuild 977 BLAKE2B 072664eb40508527bbeda52402295172e03286497dc2dd213b7398cd085a38fdd5c2891510a901cc4a399a58085b5e7eb1784d9e98a2b972329e44949ca4c556 SHA512 d2f9e44345e8feea98be0d630ef5fa0c95edf5b9ce7d1fea5b28a1b2c44679fde03dd248e6fa3c598080ad95e5e94c2619cab3fbcb9d18c7b2500f86ffc82aa4
EBUILD magicrescue-1.1.10-r4.ebuild 751 BLAKE2B 92fe3a42153851492109ea1a74f5e32483630f1d9c75b2f4d9abaebd7aeb943c9a46ff989d6da00a6f52cee91b9f384539cb4b2ad24dc8fdee807264c38505c0 SHA512 805eedacc067ae8e6ca96e4ec8e6f3391246baaeca896fe4fecbfccc074db230b5a70a5a220409bc0e753c38bf0f89b74d1d9866cb796db1ec5689efd4111096
MISC metadata.xml 838 BLAKE2B 179df887ca28d7ac52a36c83b1b482698a9f7fbb9b2c22085bffc984a0731b8cd8074911b731db479a12eb8d5e7a193035595a8ded44486570bbed391587980b SHA512 6b5a88e5de7c43b90372e43a7c3e819c4223b98f658228794c18e001d1756e71edc155615be2a5f9b495c57a577b6278232d19e610f92ebfefcc48992850ad31
diff --git a/app-forensics/magicrescue/files/magicrescue-1.1.10-remove_toolsdir.patch b/app-forensics/magicrescue/files/magicrescue-1.1.10-remove_toolsdir.patch
deleted file mode 100644
index b3a238b1bbea..000000000000
--- a/app-forensics/magicrescue/files/magicrescue-1.1.10-remove_toolsdir.patch
+++ /dev/null
@@ -1,106 +0,0 @@
-diff -Naur a/config.d/80magicrescue_defs b/config.d/80magicrescue_defs
---- a/config.d/80magicrescue_defs 2018-11-24 20:21:20.000000000 +0100
-+++ b/config.d/80magicrescue_defs 2019-11-14 09:41:34.030848527 +0100
-@@ -1,7 +1,7 @@
- #!/bin/sh
-
- cat >> config.h << EOF
--#define COMMAND_PATH "$prefix/share/magicrescue/tools"
-+#define COMMAND_PATH "$prefix/bin"
- #define RECIPE_PATH "$prefix/share/magicrescue/recipes"
- #include "largefile.h"
- EOF
-diff -Naur a/doc/magicrescue.1 b/doc/magicrescue.1
---- a/doc/magicrescue.1 2018-11-24 20:21:20.000000000 +0100
-+++ b/doc/magicrescue.1 2019-11-14 09:41:34.030848527 +0100
-@@ -358,7 +358,7 @@
- This means that you may have to write your own tool or wrap an existing program
- in some scripts that make it behave better. For example, this could be to
- extract the first 10MB into a temporary file and let the program work on that.
--Or perhaps you can use \fItools/safecat\fR if the file may be very large.
-+Or perhaps you can use \fIsafecat\fR if the file may be very large.
- .SS "Recipe format reference"
- .IX Subsection "Recipe format reference"
- Empty lines and lines starting with \f(CW\*(C`#\*(C'\fR will be skipped. A recipe contains a
-@@ -424,7 +424,7 @@
- should be set to 512.
- .PP
- To test whether your recipe actually works, either just run it on your hard
--disk or use the \fItools/checkrecipe\fR script to pick out files that should match
-+disk or use the \fIcheckrecipe\fR script to pick out files that should match
- but don't.
- .PP
- If you have created a recipe that works, please mail it to me at jbj@knef.dk so
-diff -Naur a/doc/magicrescue.pod b/doc/magicrescue.pod
---- a/doc/magicrescue.pod 2018-11-24 20:21:20.000000000 +0100
-+++ b/doc/magicrescue.pod 2019-11-14 09:41:34.030848527 +0100
-@@ -239,7 +239,7 @@
- This means that you may have to write your own tool or wrap an existing program
- in some scripts that make it behave better. For example, this could be to
- extract the first 10MB into a temporary file and let the program work on that.
--Or perhaps you can use F<tools/safecat> if the file may be very large.
-+Or perhaps you can use F<safecat> if the file may be very large.
-
- =head2 Recipe format reference
-
-@@ -322,7 +322,7 @@
- =back
-
- To test whether your recipe actually works, either just run it on your hard
--disk or use the F<tools/checkrecipe> script to pick out files that should match
-+disk or use the F<checkrecipe> script to pick out files that should match
- but don't.
-
- If you have created a recipe that works, please mail it to me at jbj@knef.dk so
-diff -Naur a/src/magicrescue.c b/src/magicrescue.c
---- a/src/magicrescue.c 2018-11-24 20:21:20.000000000 +0100
-+++ b/src/magicrescue.c 2019-11-14 09:41:34.030848527 +0100
-@@ -552,7 +552,7 @@
-
- buf = malloc(bufsize);
-
-- sprintf(buf, "PATH=%s%s%s:%s", "tools",
-+ sprintf(buf, "PATH=%s%s%s:%s",
- #ifdef COMMAND_PATH
- ":", COMMAND_PATH,
- #else
-diff -Naur a/tools/checkrecipe b/tools/checkrecipe
---- a/tools/checkrecipe 2018-11-24 20:21:20.000000000 +0100
-+++ b/tools/checkrecipe 2019-11-14 09:41:34.030848527 +0100
-@@ -8,7 +8,7 @@
- a recipe.
-
- Usage:
--./magicrescue -Mio OPTIONS FILES|tools/checkrecipe [OPTIONS]
-+./magicrescue -Mio OPTIONS FILES|checkrecipe [OPTIONS]
-
- Options:
- -s VALUE Size tolerance, in percent. Specifies when checkrecipe should
-@@ -18,13 +18,13 @@
-
- find / -name \*.png -print0 \
- |xargs -0 ./magicrescue -Mio -r png -d /tmp/test-output 2>/dev/null \
--|tools/checkrecipe
-+|checkrecipe
-
- or
-
- slocate \*.png|sed "s/['\"\\\\[:blank:]]/\\\\\\\\&/g" \
- |xargs ./magicrescue -Mio -r png -d /tmp/test-output 2>/dev/null \
--|tools/checkrecipe
-+|checkrecipe
- );
- exit;
- }
-diff -Naur a/tools/ole_rename.pl b/tools/ole_rename.pl
---- a/tools/ole_rename.pl 2018-11-24 20:21:20.000000000 +0100
-+++ b/tools/ole_rename.pl 2019-11-14 09:41:34.030848527 +0100
-@@ -32,7 +32,7 @@
- my %extensions = @extensions; # for quick lookup
-
- # When invoked by magicrescue, laola.pl should be in the PATH
--push @INC, grep /tools/, split /:/, $ENV{PATH};
-+push @INC, split /:/, $ENV{PATH};
- require 'laola.pl';
-
- my $file = $ARGV[0];
diff --git a/app-forensics/magicrescue/magicrescue-1.1.10-r3.ebuild b/app-forensics/magicrescue/magicrescue-1.1.10-r3.ebuild
deleted file mode 100644
index 27ad9af55f89..000000000000
--- a/app-forensics/magicrescue/magicrescue-1.1.10-r3.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Find deleted files in block devices"
-HOMEPAGE="https://github.com/jbj/magicrescue"
-SRC_URI="https://github.com/jbj/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-
-# - File collision with net-mail/safecat, bug #702004
-# - BDEPEND on perl for pod2man, bug #852671
-DEPEND="sys-libs/gdbm:="
-RDEPEND="${DEPEND}
- !net-mail/safecat"
-BDEPEND="dev-lang/perl"
-
-PATCHES=(
- "${FILESDIR}/${P}-ldflags.patch"
- "${FILESDIR}/${P}-remove_toolsdir.patch"
-)
-
-src_prepare() {
- default
-
- sed -i -e "\
- s:\$(INSTALLDIR)/man/man1:\$(INSTALLDIR)/share/man/man1:;\
- s:\$(INSTALLDIR)/share/magicrescue/tools:\$(INSTALLDIR)/bin:" Makefile.in || die "could not mangle Makefile.in"
-}
-
-src_configure() {
- tc-export CC
-
- # Not autotools, just looks like it sometimes
- ./configure --prefix=/usr || die
-}