commit:     f3df83f28b48d0b0040b3bc1fcadb4978de10454
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  6 20:17:15 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Oct  6 20:17:15 2025 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=f3df83f2

sys-apps/fakeroot: treeclean

Works in ::gentoo

Link: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbe66de5
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-apps/fakeroot/Manifest                         |  1 -
 sys-apps/fakeroot/fakeroot-1.22.ebuild             | 48 ----------------------
 .../fakeroot/files/fakeroot-1.19-no-acl_h.patch    | 37 -----------------
 .../files/fakeroot-1.20.2-glibc-2.24.patch         | 32 ---------------
 sys-apps/fakeroot/files/fakeroot-1.22-no64.patch   | 17 --------
 .../fakeroot/files/fakeroot-1.22-xstatjunk.patch   | 11 -----
 sys-apps/fakeroot/metadata.xml                     |  8 ----
 7 files changed, 154 deletions(-)

diff --git a/sys-apps/fakeroot/Manifest b/sys-apps/fakeroot/Manifest
deleted file mode 100644
index e6990158..00000000
--- a/sys-apps/fakeroot/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST fakeroot_1.22.orig.tar.bz2 338238 BLAKE2B 
b6cee7483ea7ec17747e638cbfefa565f26b3b00517f3ec90280f8ce556ce8efa3833accc07885365e20f80967a67291fadc27cd80766548cc86e2aa70c74c33
 SHA512 
193478d9ff88ca2ae69fe47b73b6c61aeb2ba3f2a9e7ed5d455022705857c6f34cdcbe2d3f614c4c4c9509368dc78b9a7b7aa56fb3b50bb3309448140abd796a

diff --git a/sys-apps/fakeroot/fakeroot-1.22.ebuild 
b/sys-apps/fakeroot/fakeroot-1.22.ebuild
deleted file mode 100644
index 74949b52..00000000
--- a/sys-apps/fakeroot/fakeroot-1.22.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="A fake root environment by means of LD_PRELOAD and SysV IPC (or 
TCP) trickery"
-HOMEPAGE="https://packages.qa.debian.org/f/fakeroot.html";
-SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 x86"
-IUSE="acl debug static-libs test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-       sys-libs/libcap
-       acl? ( sys-apps/acl )
-       test? ( app-arch/sharutils )"
-
-DOCS="AUTHORS BUGS DEBUG README doc/README.saving"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-1.19-no-acl_h.patch
-       "${FILESDIR}"/${PN}-1.20.2-glibc-2.24.patch
-       "${FILESDIR}"/${PN}-1.22-xstatjunk.patch
-       "${FILESDIR}"/${PN}-1.22-no64.patch
-)
-
-src_prepare() {
-       default
-       eautoreconf
-}
-
-src_configure() {
-       export ac_cv_header_sys_acl_h=$(usex acl)
-
-       use debug && append-cppflags "-DLIBFAKEROOT_DEBUGGING"
-       econf \
-               $(use_enable static-libs static)
-}
-
-src_install() {
-       default
-       find "${ED}" -name '*.la' -o -name '*.a' -delete || die
-}

diff --git a/sys-apps/fakeroot/files/fakeroot-1.19-no-acl_h.patch 
b/sys-apps/fakeroot/files/fakeroot-1.19-no-acl_h.patch
deleted file mode 100644
index d208b8ff..00000000
--- a/sys-apps/fakeroot/files/fakeroot-1.19-no-acl_h.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-http://bugs.gentoo.org/424419
-
---- fakeroot-1.19/libfakeroot.c
-+++ fakeroot-1.19/libfakeroot.c
-@@ -1908,6 +1908,7 @@
-   return fakeroot_disabled;
- }
- 
-+#ifdef HAVE_SYS_ACL_H
- #ifdef HAVE_ACL_T
- acl_t acl_get_fd(int fd) {
-   errno = ENOTSUP;
-@@ -1926,6 +1927,7 @@
-   errno = ENOTSUP;
-   return -1;
- }
-+#endif /* HAVE_ACL_T */
- #endif /* HAVE_SYS_ACL_H */
- 
- #ifdef HAVE_FTS_READ
---- fakeroot-1.19/wrapfunc.inp
-+++ fakeroot-1.19/wrapfunc.inp
-@@ -206,12 +206,14 @@
- #endif /* HAVE_UNLINKAT */
- #endif /* HAVE_FSTATAT */
- 
-+#ifdef HAVE_SYS_ACL_H
- #ifdef HAVE_ACL_T
- acl_get_fd;acl_t;(int fd);(fd)
- acl_get_file;acl_t;(const char *path_p, acl_type_t type);(path_p, type)
- acl_set_fd;int;(int fd, acl_t acl);(fd, acl)
- acl_set_file;int;(const char *path_p, acl_type_t type, acl_t acl);(path_p, 
type, acl)
- #endif /* HAVE_ACL_T */
-+#endif /* HAVE_SYS_ACL_H */
- 
- #ifdef HAVE_FTS_READ
- fts_read;FTSENT *;(FTS *ftsp);(ftsp)

diff --git a/sys-apps/fakeroot/files/fakeroot-1.20.2-glibc-2.24.patch 
b/sys-apps/fakeroot/files/fakeroot-1.20.2-glibc-2.24.patch
deleted file mode 100644
index 3fd34c87..00000000
--- a/sys-apps/fakeroot/files/fakeroot-1.20.2-glibc-2.24.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Description: Hide error from dlsym()
- dlsym(), starting in glibc 2.24 actually reports errors. In our case,
- we try to get ACL functions which are not in the glibc. This causes
- failures in test suites, so hide those messages for non-debugging
- purposes for now. It also makes the build logs annoying to read.
-Author: Julian Andres Klode <[email protected]>
-Origin: vendor
-Bug-Debian: https://bugs.debian.org/830912
-Forwarded: no
-Last-Update: 2016-08-12
-
---- a/libfakeroot.c
-+++ b/libfakeroot.c
-@@ -256,10 +256,16 @@ void load_library_symbols(void){
-  /* clear dlerror() just in case dlsym() legitimately returns NULL */
-     msg = dlerror();
-     *(next_wrap[i].doit)=dlsym(get_libc(), next_wrap[i].name);
-+
-     if ( (msg = dlerror()) != NULL){
--      fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg);
--/*    abort ();*/
-+#ifdef LIBFAKEROOT_DEBUGGING
-+      if (fakeroot_debug) {
-+        fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg);
-+/*      abort ();*/
-+      }
-+#endif
-     }
-+
-   }
- }
- 

diff --git a/sys-apps/fakeroot/files/fakeroot-1.22-no64.patch 
b/sys-apps/fakeroot/files/fakeroot-1.22-no64.patch
deleted file mode 100644
index ff95f96a..00000000
--- a/sys-apps/fakeroot/files/fakeroot-1.22-no64.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/libfakeroot.c
-+++ b/libfakeroot.c
-@@ -81,12 +81,14 @@
- #define SEND_STAT64(a,b,c) send_stat64(a,b,c)
- #define SEND_GET_STAT(a,b) send_get_stat(a,b)
- #define SEND_GET_STAT64(a,b) send_get_stat64(a,b)
-+#define SEND_GET_XATTR(a,b,c) send_get_xattr(a,b,c)
- #define SEND_GET_XATTR64(a,b,c) send_get_xattr64(a,b,c)
- #else
- #define SEND_STAT(a,b,c) send_stat(a,b)
- #define SEND_STAT64(a,b,c) send_stat64(a,b)
- #define SEND_GET_STAT(a,b) send_get_stat(a)
- #define SEND_GET_STAT64(a,b) send_get_stat64(a)
-+#define SEND_GET_XATTR(a,b,c) send_get_xattr(a,b)
- #define SEND_GET_XATTR64(a,b,c) send_get_xattr64(a,b)
- #endif
- 

diff --git a/sys-apps/fakeroot/files/fakeroot-1.22-xstatjunk.patch 
b/sys-apps/fakeroot/files/fakeroot-1.22-xstatjunk.patch
deleted file mode 100644
index 12f2759b..00000000
--- a/sys-apps/fakeroot/files/fakeroot-1.22-xstatjunk.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- fakeroot-1.18.4.orig/configure.ac  2012-06-02 18:23:41.000000000 +0000
-+++ fakeroot-1.18.4configure.ac        2015-09-24 23:15:56.917470073 +0000
-@@ -301,7 +301,7 @@
-   FUNC=`echo $SEARCH|sed -e 's/.*%//'`
-   PRE=`echo $SEARCH|sed -e 's/%.*//'`
-   FOUND=
--  for WRAPPED in __${PRE}x${FUNC} _${PRE}x${FUNC} __${PRE}${FUNC}13 
${PRE}${FUNC}; do
-+  for WRAPPED in ${PRE}${FUNC}; do
-     AC_CHECK_FUNCS($WRAPPED,FOUND=$WRAPPED)
- dnl
- dnl to unconditionally define only the _* functions, comment out the 2 lines 
above,

diff --git a/sys-apps/fakeroot/metadata.xml b/sys-apps/fakeroot/metadata.xml
deleted file mode 100644
index b0d83aa2..00000000
--- a/sys-apps/fakeroot/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Gentoo Base System</name>
-       </maintainer>
-</pkgmetadata>

Reply via email to