diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-14 01:38:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-14 01:38:22 +0100 |
commit | ae5005f56ad29d19861ad8a8acb541cf0e99c8d9 (patch) | |
tree | 519be2a26050e34055ea7f44d9272c9365e10e5d /app-forensics | |
parent | d01ca4361883c2aec4ffb1c2dcd75980773fdc31 (diff) |
gentoo auto-resync : 14:07:2022 - 01:38:22
Diffstat (limited to 'app-forensics')
-rw-r--r-- | app-forensics/Manifest.gz | bin | 4877 -> 4872 bytes | |||
-rw-r--r-- | app-forensics/foremost/Manifest | 3 | ||||
-rw-r--r-- | app-forensics/foremost/files/foremost-1.5.7-musl.patch | 81 | ||||
-rw-r--r-- | app-forensics/foremost/foremost-1.5.7-r3.ebuild | 3 |
4 files changed, 85 insertions, 2 deletions
diff --git a/app-forensics/Manifest.gz b/app-forensics/Manifest.gz Binary files differindex 62dfe3040ffd..7498592f13f4 100644 --- a/app-forensics/Manifest.gz +++ b/app-forensics/Manifest.gz diff --git a/app-forensics/foremost/Manifest b/app-forensics/foremost/Manifest index 96734459782d..eacd17645e69 100644 --- a/app-forensics/foremost/Manifest +++ b/app-forensics/foremost/Manifest @@ -1,7 +1,8 @@ AUX foremost-1.4-config-location.patch 462 BLAKE2B 7dadc7fd049b09992e9e3019aaaa27d53268a6b6cea03146d965bdd3f0ec3165fbde33c2ecd41a949758ff4b8d36259d048869d17b828e2f600ea9418e3d0bce SHA512 7b6dcc18cba4676ef4d54b87c9c31747754ecbebd9424340b2dd059495c9c6cec11513307fff802a336a99bc07c4bcd2ffcfad1c77ccdc49277ef7e40e30029e AUX foremost-1.5.7-fno-common.patch 3330 BLAKE2B 0e99b6cd29cb6ef558d2d44ce62b38abcf03f0dffb0dbf302264cfe21255647c09e885ed0dd4726ce0708fae8c03c0bd2e3678906fe6aab0fb24b211442cfd6c SHA512 4a129e0bb97f2c8aa09d6861077e732886e1d26573cc8698abfb03b55ebcf73c7ba1fbd6de25c5a4d2ce8cd271ebf07aa277d823d54640e6922ebc72a6aaba46 AUX foremost-1.5.7-format-security.patch 680 BLAKE2B 5565dc9d255ccbb4b721cdb0b41fef4f86369c4965000e35678e6ece00acec5ead0b15d90bd71a2456b812ab74fa9283bdf70c2fc36003a3d659105bb04a139d SHA512 1c28ed1fceedec728a5060b195214fd3ec3b0fa529e87f7421ee72d73f71ecc0d48a69a5b5ff4c6179dd65781552fbd272437134498ec865bd5c620375b6f85b +AUX foremost-1.5.7-musl.patch 2427 BLAKE2B 403aa6c8c6605a823f96948bf0c4667e8cd9563827f56924efb44d307667dd7c0f981489577ba86b9b79d327ea9eeb80315612c51ffdee38855c5780365f84de SHA512 bdec206ebdd7fbbdbed6b0bc1a7d0513bc3e1cbb673cb6cb31a217ded9dba142ca40e92cc20cbe8b47d6031d456fd86e0285bb9114f22115405019ae7ab70fca AUX foremost-1.5.7-set-but-unused.patch 7720 BLAKE2B 047c4a31d26750706a9dad36078e848e68e89f0013a6572369dc42fa014234d37120bdb3c51ec7e83b7c99d4c497c541039e334af1d3bd144cf8250a1212f920 SHA512 1be57b3a63e38556b3a6758c1f24e5424076f11608dba148703c9cef16bac9954366a2540720912e8720d0e291f6d5933f2830b0f1b497a5f6feabc570231a52 DIST foremost-1.5.7.tar.gz 52352 BLAKE2B 5642c1afd86aab0a2f90986c3b030d37b37700c5d0e4b04e4f4a2004d69745280fabd4086a72c33b9eab05b57d125d6b11105c9e11b0112e30077f101eeab7ac SHA512 8827c29d52496783be26374f3943eb26a154d842f34e50fb489f87b3a5045bf85f1e44d7d8d8b12b2355ba3fe4b06a0db979cc22c0f431593c5976001eb931ab -EBUILD foremost-1.5.7-r3.ebuild 980 BLAKE2B b77306199fc17969bb6f3d144518b0aa40706b6cbdabb7a734d62c9b875955be17cd6aba2d828517bd156a2372be06bfee614e35d5a9b8e57b28c7e74501d118 SHA512 5f6dd75a8b111562018e7b1c4885b54aacce99bad1a38563fd7d778386c750baa38a351d7d725f5bc916677d5bcbdce1589c32b81a32b601f3dd5e448b82344e +EBUILD foremost-1.5.7-r3.ebuild 1031 BLAKE2B 38c23a88978eaf19735eec148d554f8f21a6a68b88a0466f8ba96b0e307cc7a07d21cbcca75c08415eb8ce2652901f9ef6e8b021442e3d8fa2ecd79c7be03896 SHA512 54257e554d9cf0d0c10a31bfaf2bb80a2909dd109394fd80cc3ddd8a6c4010b5551ccdbaf287e94e0eb9af38b82dbfaf4e20a40007480c3b3652ebeafb6fb14f MISC metadata.xml 251 BLAKE2B 7ab029eb94dc8bc097d9d94165cf016e292bad9dccfa23c8e6119bf3fcd4737432e924000cfa12d5c77f62fb0e6265876cd6a0161a973f554b88ba7222ea9a0b SHA512 0ae1ad6cf7ab9fb8668d30f730a55cb6ee01ff27bc170058f15594d952441a7e8782d969cba56bd5e6d1228ce25d0d076ce8aa845a48b8deca1a497dc18c1bad diff --git a/app-forensics/foremost/files/foremost-1.5.7-musl.patch b/app-forensics/foremost/files/foremost-1.5.7-musl.patch new file mode 100644 index 000000000000..0f8994b2328f --- /dev/null +++ b/app-forensics/foremost/files/foremost-1.5.7-musl.patch @@ -0,0 +1,81 @@ +--- a/cli.c ++++ b/cli.c +@@ -4,7 +4,7 @@ + + void fatal_error (f_state * s, char *msg) + { +- fprintf(stderr, "%s: %s%s", __progname, msg, NEWLINE); ++ fprintf(stderr, "%s: %s%s", program_invocation_short_name, msg, NEWLINE); + if (get_audit_file_open(s)) + { + audit_msg(s, msg); +@@ -16,7 +16,7 @@ + void print_error(f_state *s, char *fn, char *msg) + { + if (!(get_mode(s, mode_quiet))) +- fprintf(stderr, "%s: %s: %s%s", __progname, fn, msg, NEWLINE); ++ fprintf(stderr, "%s: %s: %s%s", program_invocation_short_name, fn, msg, NEWLINE); + } + + void print_message(f_state *s, char *format, va_list argp) +--- a/helpers.c ++++ b/helpers.c +@@ -133,7 +133,7 @@ + if (ioctl(fd, BLKGETSIZE, &num_sectors)) + { + #if defined(__DEBUG) +- fprintf(stderr, "%s: ioctl call to BLKGETSIZE failed.%s", __progname, NEWLINE); ++ fprintf(stderr, "%s: ioctl call to BLKGETSIZE failed.%s", program_invocation_short_name, NEWLINE); + #endif + } + else +--- a/main.c ++++ b/main.c +@@ -55,18 +55,18 @@ + + void try_msg(void) + { +- fprintf(stderr, "Try `%s -h` for more information.%s", __progname, NEWLINE); ++ fprintf(stderr, "Try `%s -h` for more information.%s", program_invocation_short_name, NEWLINE); + } + + /* The usage function should, at most, display 22 lines of text to fit + on a single screen */ + void usage(void) + { +- fprintf(stderr, "%s version %s by %s.%s", __progname, VERSION, AUTHOR, NEWLINE); ++ fprintf(stderr, "%s version %s by %s.%s", program_invocation_short_name, VERSION, AUTHOR, NEWLINE); + fprintf(stderr, + "%s %s [-v|-V|-h|-T|-Q|-q|-a|-w-d] [-t <type>] [-s <blocks>] [-k <size>] \n\t[-b <size>] [-c <file>] [-o <dir>] [-i <file] %s%s", + CMD_PROMPT, +- __progname, ++ program_invocation_short_name, + NEWLINE, + NEWLINE); + fprintf(stderr, "-V - display copyright information and exit%s", NEWLINE); +@@ -233,10 +233,6 @@ + char **temp = argv; + DIR* dir; + +-#ifndef __GLIBC__ +- __progname = basename(argv[0]); +-#endif +- + /*Initialize the global state struct*/ + if (initialize_state(s, argc, argv)) + fatal_error(s, "Unable to initialize state"); +--- a/main.h ++++ b/main.h +@@ -187,12 +187,6 @@ + #endif /* ifdef _WIN32 */
+
+
+-/* On non-glibc systems we have to manually set the __progname variable */
+-#ifdef __GLIBC__
+-extern char *__progname;
+-#else
+-char *__progname;
+-#endif /* ifdef __GLIBC__ */
+
+ /* -----------------------------------------------------------------
+ Program Defaults
diff --git a/app-forensics/foremost/foremost-1.5.7-r3.ebuild b/app-forensics/foremost/foremost-1.5.7-r3.ebuild index c3742c315533..7e998708b14f 100644 --- a/app-forensics/foremost/foremost-1.5.7-r3.ebuild +++ b/app-forensics/foremost/foremost-1.5.7-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -21,6 +21,7 @@ PATCHES=( "${FILESDIR}/${PN}-1.5.7-format-security.patch" # bug 521038 "${FILESDIR}/${PN}-1.5.7-set-but-unused.patch" # bug 706886 "${FILESDIR}/${PN}-1.5.7-fno-common.patch" # bug 722196 + "${FILESDIR}/${PN}-1.5.7-musl.patch" # bug 830473 ) src_compile() { |