Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fakeroot for openSUSE:Factory checked in at 2022-04-14 17:25:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fakeroot (Old) and /work/SRC/openSUSE:Factory/.fakeroot.new.1941 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fakeroot" Thu Apr 14 17:25:38 2022 rev:11 rq:970077 version:1.28 Changes: -------- --- /work/SRC/openSUSE:Factory/fakeroot/fakeroot.changes 2021-05-17 18:45:36.652548213 +0200 +++ /work/SRC/openSUSE:Factory/.fakeroot.new.1941/fakeroot.changes 2022-04-14 17:26:15.815319359 +0200 @@ -1,0 +2,20 @@ +Fri Mar 25 18:03:42 UTC 2022 - Sarah Kriesch <[email protected]> + +- Update to 1.28 + * Revert commit "Use fixed-width members in fake_msg" + * Annotate sharutils dependency <!nocheck>. (Closes: #982188) + * Wrap the "stat" library call. Closes: #1001961 + * Work around segfault on ppc64el. Closes: #995393 + * Includes patch from lemonsqueeze to improve fakeroot-tcp + performance by setting TCP_NODELAY. closes: #1003596. + * Includes patch from Samuel Thibault to handle _STAT_VER on + GNU/Hurd. closes: #1006151. + * autoconf 2.71 required + * Add also-wrap-stat-library-call.patch (deb#1001961) + * Remove fakeroot-1.20-eglibc-fts-without-LFS.patch + * Remove fakeroot-drop-tartest.patch + * Remove 0001-glibc-2.33-compatibility-fixes.patch + * Remove fakeroot-1.20-lib32.patch + * Remove stat-ver-riscv.patch + +------------------------------------------------------------------- Old: ---- 0001-glibc-2.33-compatibility-fixes.patch fakeroot-1.20-eglibc-fts-without-LFS.patch fakeroot-1.20-lib32.patch fakeroot-1.25.3.tar.gz fakeroot-drop-tartest.patch stat-ver-riscv.patch New: ---- also-wrap-stat-library-call.patch fakeroot_1.28.orig.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fakeroot.spec ++++++ --- /var/tmp/diff_new_pack.T0w6qD/_old 2022-04-14 17:26:16.307319934 +0200 +++ /var/tmp/diff_new_pack.T0w6qD/_new 2022-04-14 17:26:16.311319939 +0200 @@ -1,7 +1,7 @@ # # spec file for package fakeroot # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,25 +17,23 @@ Name: fakeroot -Version: 1.25.3 +Version: 1.28 Release: 0 Summary: Wrapper that gives a fake root environment License: GPL-3.0-or-later Group: Development/Tools/Other URL: http://fakeroot.alioth.debian.org/ -Source0: http://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}.orig.tar.gz#/%{name}-%{version}.tar.gz +Source0: http://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}.orig.tar.gz#/%{name}_%{version}.orig.tar.gz Source99: baselibs.conf -Patch0: %{name}-1.20-lib32.patch -Patch1: %{name}-1.20-eglibc-fts-without-LFS.patch # PATCH-FIX-UPSTREAM fakeroot-1.21-fix-shell-in-fakeroot.patch (deb#828810) -Patch2: %{name}-1.21-fix-shell-in-fakeroot -Patch3: fakeroot-drop-tartest.patch -# PATCH-FIX-UPSTREAM -Patch4: 0001-glibc-2.33-compatibility-fixes.patch -Patch5: stat-ver-riscv.patch +Patch0: fakeroot-1.21-fix-shell-in-fakeroot +#PATCH-FIX-UPSTREAM also-wrap-stat-library-call.patch (deb#1001961) +Patch1: also-wrap-stat-library-call.patch BuildRequires: automake BuildRequires: fdupes # user(daemon)/group(sys) is required for t.tar testsuite +BuildRequires: intltool +BuildRequires: autoconf BuildRequires: libacl-devel BuildRequires: libcap-devel BuildRequires: libcap-progs @@ -58,7 +56,7 @@ %autosetup -p1 %build -autoreconf -fi +./bootstrap pushd doc po4a -k 0 --rm-backups --variable "srcdir=../doc/" po4a/po4a.cfg popd ++++++ also-wrap-stat-library-call.patch ++++++ Subject: Also wrap the "stat" library call Author: Christoph Biedl <[email protected]> Date: 2021-12-20 Bug-Debian: https://bugs.debian.org/1001961 Forwarded: Yes Seems changes in glibc 2.33 caused the stat() function to be mapped into a stat() library call instead of __xstat() as it used to be. However, fakeroot does not wrap this, causing files to be reported with the real owner, not 0 as expected. The fix for this got a bit ugly as the abstraction in configure.ac would not allow wrapping both "stat" and "__xstat". So enhance the search list capabilities with an optional symbol how the wrapped function is named internally. Also hack the parser so "stat" gets actually probed and not mistaken for __xstat. Using "realstat" as a symbol is not the best choice as it might be confusing, but "statstat" seemed even worse. --- a/configure.ac +++ b/configure.ac @@ -353,9 +353,13 @@ :>fakerootconfig.h.tmp -for SEARCH in %stat f%stat l%stat f%statat %stat64 f%stat64 l%stat64 f%statat64 %mknod %mknodat; do - FUNC=`echo $SEARCH|sed -e 's/.*%//'` +for SEARCH in %stat s%tat@realstat f%stat l%stat f%statat %stat64 f%stat64 l%stat64 f%statat64 %mknod %mknodat; do + FUNC=`echo $SEARCH|sed -e 's/.*%// ; s/@.*//'` PRE=`echo $SEARCH|sed -e 's/%.*//'` + SYMBOL=`echo $SEARCH|sed -e 's/.*@//'` + if test "$SYMBOL" = "$SEARCH" ; then + SYMBOL="${PRE}${FUNC}" + fi FOUND= for WRAPPED in __${PRE}x${FUNC} _${PRE}x${FUNC} __${PRE}${FUNC}13 ${PRE}${FUNC}; do AC_CHECK_FUNCS($WRAPPED,FOUND=$WRAPPED) @@ -366,8 +370,8 @@ dnl for WRAPPED in _${PRE}${FUNC}; do dnl FOUND=$WRAPPED if test -n "$FOUND"; then - PF=[`echo ${PRE}${FUNC}| tr '[a-z]' '[A-Z]'`] - DEFINE_WRAP=[`echo wrap_${PRE}${FUNC}| tr '[a-z]' '[A-Z]'`] + PF=[`echo $SYMBOL | tr '[a-z]' '[A-Z]'`] + DEFINE_WRAP=[`echo wrap_${SYMBOL}| tr '[a-z]' '[A-Z]'`] DEFINE_NEXT=[`echo wrap_${FOUND}| tr '[a-z]' '[A-Z]'`] DEFINE_ARG=[`echo wrap_${FOUND}| tr '[a-z]' '[A-Z]'`] AC_DEFINE_UNQUOTED(WRAP_${PF}, $FOUND) @@ -509,6 +513,12 @@ #define TMP_STAT __astat #define NEXT_STAT_NOARG next___astat +#define WRAP_REALSTAT __astat +#define WRAP_REALSTAT_QUOTE __astat +#define WRAP_REALSTAT_RAW __astat +#define TMP_REALSTAT __astat +#define NEXT_REALSTAT_NOARG next___astat + #define WRAP_LSTAT_QUOTE __astat #define WRAP_LSTAT __astat #define WRAP_LSTAT_RAW __astat
