summaryrefslogtreecommitdiff
path: root/app-arch/sharutils
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /app-arch/sharutils
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'app-arch/sharutils')
-rw-r--r--app-arch/sharutils/Manifest1
-rw-r--r--app-arch/sharutils/files/sharutils-4.15.2-C23.patch50
-rw-r--r--app-arch/sharutils/files/sharutils-4.15.2-CVE-2018-1000097.patch16
-rw-r--r--app-arch/sharutils/files/sharutils-4.15.2-dewhich.patch32
-rw-r--r--app-arch/sharutils/files/sharutils-4.15.2-gcc-10.patch48
-rw-r--r--app-arch/sharutils/files/sharutils-4.15.2-glibc228.patch95
-rw-r--r--app-arch/sharutils/metadata.xml12
-rw-r--r--app-arch/sharutils/sharutils-4.15.2-r3.ebuild53
8 files changed, 0 insertions, 307 deletions
diff --git a/app-arch/sharutils/Manifest b/app-arch/sharutils/Manifest
deleted file mode 100644
index b2a75220aac0..000000000000
--- a/app-arch/sharutils/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST sharutils-4.15.2.tar.xz 1122476 BLAKE2B e2acae027679ebdf723ecae6f243608f501f5c24685a19223dd27580ccf76bc7d38905a9d202b30cf2633e5580d727821398f1162b170233f03c17f3da683917 SHA512 80d0b804a0617e11e5c23dc0d59b218bbf93e40aaf5e9a5401a18ef9cb700390aab711e2b2e2f26c8fd5b8ef99a91d3405e01d02cadabcba7639979314e59f8d
diff --git a/app-arch/sharutils/files/sharutils-4.15.2-C23.patch b/app-arch/sharutils/files/sharutils-4.15.2-C23.patch
deleted file mode 100644
index e27ce8ab9b8e..000000000000
--- a/app-arch/sharutils/files/sharutils-4.15.2-C23.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-https://bugs.gentoo.org/900248
-https://bugs.gentoo.org/894322
-missing include for textdomain and bindtextdomain
-This is only one place we can put include, else weird
-macro dance messes with it or we use gettext before we
-mark it for assembly operations.
---- a/src/shar-opts.h
-+++ b/src/shar-opts.h
-@@ -373,6 +373,8 @@
- # include <libintl.h>
- # endif
-
-+#include "gettext.h"
-+
- # ifndef ATTRIBUTE_FORMAT_ARG
- # define ATTRIBUTE_FORMAT_ARG(_a)
- # endif
---- a/src/unshar-opts.h
-+++ b/src/unshar-opts.h
-@@ -210,6 +210,8 @@
- # include <libintl.h>
- # endif
-
-+#include "gettext.h"
-+
- # ifndef ATTRIBUTE_FORMAT_ARG
- # define ATTRIBUTE_FORMAT_ARG(_a)
- # endif
---- a/src/uudecode-opts.h
-+++ b/src/uudecode-opts.h
-@@ -188,6 +188,8 @@
- # include <libintl.h>
- # endif
-
-+#include "gettext.h"
-+
- # ifndef ATTRIBUTE_FORMAT_ARG
- # define ATTRIBUTE_FORMAT_ARG(_a)
- # endif
---- a/src/uuencode-opts.h
-+++ b/src/uuencode-opts.h
-@@ -184,6 +184,8 @@
- # include <libintl.h>
- # endif
-
-+#include "gettext.h"
-+
- # ifndef ATTRIBUTE_FORMAT_ARG
- # define ATTRIBUTE_FORMAT_ARG(_a)
- # endif
diff --git a/app-arch/sharutils/files/sharutils-4.15.2-CVE-2018-1000097.patch b/app-arch/sharutils/files/sharutils-4.15.2-CVE-2018-1000097.patch
deleted file mode 100644
index f61662040b6a..000000000000
--- a/app-arch/sharutils/files/sharutils-4.15.2-CVE-2018-1000097.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-From: Petr Pisar
-Subject: Fix CVE-2018-1000097, heap buffer overflow in unshar
-Bug-Debian: https://bugs.debian.org/893525
-X-Debian-version: 1:4.15.2-3
-
---- a/src/unshar.c
-+++ b/src/unshar.c
-@@ -240,7 +240,7 @@
- off_t position = ftello (file);
-
- /* Read next line, fail if no more and no previous process. */
-- if (!fgets (rw_buffer, BUFSIZ, file))
-+ if (!fgets (rw_buffer, rw_base_size, file))
- {
- if (!start)
- error (0, 0, _("Found no shell commands in %s"), name);
diff --git a/app-arch/sharutils/files/sharutils-4.15.2-dewhich.patch b/app-arch/sharutils/files/sharutils-4.15.2-dewhich.patch
deleted file mode 100644
index a2531ad69128..000000000000
--- a/app-arch/sharutils/files/sharutils-4.15.2-dewhich.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-https://bugs.gentoo.org/941724
-which-hunt
-diff '--color=auto' -ru sharutils-4.15.2.old/libopts/m4/libopts.m4 sharutils-4.15.2/libopts/m4/libopts.m4
---- sharutils-4.15.2.old/libopts/m4/libopts.m4 2025-01-22 13:17:52.302369061 +0000
-+++ sharutils-4.15.2/libopts/m4/libopts.m4 2025-01-22 13:19:46.096362975 +0000
-@@ -114,9 +114,9 @@
- AC_PROG_SED
- [while :
- do
-- POSIX_SHELL=`which bash`
-+ POSIX_SHELL=`command -v bash`
- test -x "$POSIX_SHELL" && break
-- POSIX_SHELL=`which dash`
-+ POSIX_SHELL=`command -v dash`
- test -x "$POSIX_SHELL" && break
- POSIX_SHELL=/usr/xpg4/bin/sh
- test -x "$POSIX_SHELL" && break
-diff '--color=auto' -ru sharutils-4.15.2.old/m4/libopts.m4 sharutils-4.15.2/m4/libopts.m4
---- sharutils-4.15.2.old/m4/libopts.m4 2025-01-22 13:17:52.365018511 +0000
-+++ sharutils-4.15.2/m4/libopts.m4 2025-01-22 13:19:17.856525747 +0000
-@@ -114,9 +114,9 @@
- AC_PROG_SED
- [while :
- do
-- POSIX_SHELL=`which bash`
-+ POSIX_SHELL=`command -v bash`
- test -x "$POSIX_SHELL" && break
-- POSIX_SHELL=`which dash`
-+ POSIX_SHELL=`command -v dash`
- test -x "$POSIX_SHELL" && break
- POSIX_SHELL=/usr/xpg4/bin/sh
- test -x "$POSIX_SHELL" && break
diff --git a/app-arch/sharutils/files/sharutils-4.15.2-gcc-10.patch b/app-arch/sharutils/files/sharutils-4.15.2-gcc-10.patch
deleted file mode 100644
index 4a0c02f5ba9b..000000000000
--- a/app-arch/sharutils/files/sharutils-4.15.2-gcc-10.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-https://bugs.gentoo.org/706256
-
-Fix build failure on gcc-10/-fno-common.
-
---- a/src/shar-opts.h
-+++ b/src/shar-opts.h
-@@ -352,7 +352,7 @@ extern "C" {
- * global exported definitions
- */
- #include "local.h"
--char const * const program_name;
-+extern char const * const program_name;
-
- extern bool initialization_done;
- extern int optidx;
---- a/src/unshar-opts.h
-+++ b/src/unshar-opts.h
-@@ -192,7 +192,7 @@ extern "C" {
- extern size_t separator_str_len;
-
- #include "local.h"
--char const * const program_name;
-+extern char const * const program_name;
-
-
- /* * * * * *
---- a/src/uudecode-opts.h
-+++ b/src/uudecode-opts.h
-@@ -170,7 +170,7 @@ extern "C" {
- * global exported definitions
- */
- #include "local.h"
--char const * const program_name;
-+extern char const * const program_name;
-
-
- /* * * * * *
---- a/src/uuencode-opts.h
-+++ b/src/uuencode-opts.h
-@@ -166,7 +166,7 @@ extern "C" {
- * global exported definitions
- */
- #include "local.h"
--char const * const program_name;
-+extern char const * const program_name;
-
-
- /* * * * * *
diff --git a/app-arch/sharutils/files/sharutils-4.15.2-glibc228.patch b/app-arch/sharutils/files/sharutils-4.15.2-glibc228.patch
deleted file mode 100644
index 15bd682865e4..000000000000
--- a/app-arch/sharutils/files/sharutils-4.15.2-glibc228.patch
+++ /dev/null
@@ -1,95 +0,0 @@
-From: Santiago Vila <sanvila@debian.org>
-Subject: Fix FTBFS with glibc 2.28
-Bug-Debian: https://bugs.debian.org/915173
-X-Debian-version: 1:4.15.2-4
-
-Based on this gnulib commit by Paul Eggert:
-
-https://lists.gnu.org/r/bug-gnulib/2018-03/msg00002.html
-
---- a/lib/fflush.c
-+++ b/lib/fflush.c
-@@ -33,7 +33,7 @@
- #undef fflush
-
-
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-
- /* Clear the stream's ungetc buffer, preserving the value of ftello (fp). */
- static void
-@@ -72,7 +72,7 @@
-
- #endif
-
--#if ! (defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */)
-+#if ! (defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */)
-
- # if (defined __sferror || defined __DragonFly__ || defined __ANDROID__) && defined __SNPT
- /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
-@@ -148,7 +148,7 @@
- if (stream == NULL || ! freading (stream))
- return fflush (stream);
-
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-
- clear_ungetc_buffer_preserving_position (stream);
-
---- a/lib/fpurge.c
-+++ b/lib/fpurge.c
-@@ -62,7 +62,7 @@
- /* Most systems provide FILE as a struct and the necessary bitmask in
- <stdio.h>, because they need it for implementing getc() and putc() as
- fast macros. */
--# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- fp->_IO_read_end = fp->_IO_read_ptr;
- fp->_IO_write_ptr = fp->_IO_write_base;
- /* Avoid memory leak when there is an active ungetc buffer. */
---- a/lib/freading.c
-+++ b/lib/freading.c
-@@ -31,7 +31,7 @@
- /* Most systems provide FILE as a struct and the necessary bitmask in
- <stdio.h>, because they need it for implementing getc() and putc() as
- fast macros. */
--# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- return ((fp->_flags & _IO_NO_WRITES) != 0
- || ((fp->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) == 0
- && fp->_IO_read_base != NULL));
---- a/lib/fseeko.c
-+++ b/lib/fseeko.c
-@@ -47,7 +47,7 @@
- #endif
-
- /* These tests are based on fpurge.c. */
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- if (fp->_IO_read_end == fp->_IO_read_ptr
- && fp->_IO_write_ptr == fp->_IO_write_base
- && fp->_IO_save_base == NULL)
-@@ -123,7 +123,7 @@
- return -1;
- }
-
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- fp->_flags &= ~_IO_EOF_SEEN;
- fp->_offset = pos;
- #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
---- a/lib/stdio-impl.h
-+++ b/lib/stdio-impl.h
-@@ -18,6 +18,12 @@
- the same implementation of stdio extension API, except that some fields
- have different naming conventions, or their access requires some casts. */
-
-+/* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this
-+ problem by defining it ourselves. FIXME: Do not rely on glibc
-+ internals. */
-+#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN
-+# define _IO_IN_BACKUP 0x100
-+#endif
-
- /* BSD stdio derived implementations. */
-
diff --git a/app-arch/sharutils/metadata.xml b/app-arch/sharutils/metadata.xml
deleted file mode 100644
index f9c1b4ac617d..000000000000
--- a/app-arch/sharutils/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>base-system@gentoo.org</email>
- <name>Gentoo Base System</name>
-</maintainer>
-<upstream>
- <remote-id type="savannah">sharutils</remote-id>
- <remote-id type="cpe">cpe:/a:gnu:sharutils</remote-id>
-</upstream>
-</pkgmetadata>
diff --git a/app-arch/sharutils/sharutils-4.15.2-r3.ebuild b/app-arch/sharutils/sharutils-4.15.2-r3.ebuild
deleted file mode 100644
index a088841c3579..000000000000
--- a/app-arch/sharutils/sharutils-4.15.2-r3.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic strip-linguas autotools
-
-MY_P="${P/_/-}"
-DESCRIPTION="Tools to deal with shar archives"
-HOMEPAGE="https://www.gnu.org/software/sharutils/"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
-S="${WORKDIR}"/${MY_P}
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris"
-IUSE="nls"
-
-DEPEND="app-arch/xz-utils
- sys-apps/texinfo
- nls? ( >=sys-devel/gettext-0.10.35 )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-glibc228.patch
- "${FILESDIR}"/${P}-CVE-2018-1000097.patch
- "${FILESDIR}"/${P}-gcc-10.patch
- "${FILESDIR}"/${P}-dewhich.patch
- "${FILESDIR}"/${P}-C23.patch
-)
-
-QA_CONFIG_IMPL_DECL_SKIP=(
- pathfind
-)
-
-src_prepare() {
- default
-
- # Upstream is aware but thinks this isn't a bug/problem in sharutils itself
- # See http://lists.gnu.org/archive/html/bug-gnu-utils/2013-10/msg00011.html
- append-cflags $(test-flags-CC -Wno-error=format-security)
-
- # bug #943901
- append-cflags -std=gnu17
-
- # bug https://bugs.gentoo.org/941724
- # regenerate config after which removal
- eautoreconf
-}
-
-src_configure() {
- strip-linguas -u po
- econf $(use_enable nls)
-}