Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package avfs for openSUSE:Factory checked in 
at 2025-05-12 16:51:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/avfs (Old)
 and      /work/SRC/openSUSE:Factory/.avfs.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "avfs"

Mon May 12 16:51:52 2025 rev:11 rq:1276803 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/avfs/avfs.changes        2023-03-08 
14:54:12.883212569 +0100
+++ /work/SRC/openSUSE:Factory/.avfs.new.30101/avfs.changes     2025-05-12 
16:55:31.905406828 +0200
@@ -1,0 +2,15 @@
+Sat May 10 20:57:27 UTC 2025 - Andreas Stieger <andreas.stie...@gmx.de>
+
+- update to 1.2.0:
+  * fix decoding zip64 archives when some fields on regular header
+    are ff..ff
+  * extfs: replace temporary files from extfs archives if the
+    basefile has been changed or modified. Otherwise an inner
+    file would contain invalid old data from the previous basefile.
+  * virtual: add support in virt_readdir for longer names than
+    NAME_MAX
+  * developer visible fixes
+- simplify spec file
+- disable fuse, code was not ported to fuse 3 yet (boo#1242079)
+
+-------------------------------------------------------------------

Old:
----
  avfs-1.1.5.tar.bz2
  avfs-1.1.5.tar.bz2.asc

New:
----
  avfs-1.2.0.tar.bz2
  avfs-1.2.0.tar.bz2.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ avfs.spec ++++++
--- /var/tmp/diff_new_pack.7ueF5I/_old  2025-05-12 16:55:32.365425868 +0200
+++ /var/tmp/diff_new_pack.7ueF5I/_new  2025-05-12 16:55:32.365425868 +0200
@@ -2,6 +2,7 @@
 # spec file for package avfs
 #
 # Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 Andreas Stieger <andreas.stie...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,31 +17,23 @@
 #
 
 
+%define sover 1
 Name:           avfs
-Version:        1.1.5
+Version:        1.2.0
 Release:        0
 Summary:        AVFS - an archive look-inside filesystem
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later
-URL:            http://avf.sourceforge.net/
+URL:            https://avf.sourceforge.net/
 Source0:        https://downloads.sf.net/avf/%{name}-%{version}.tar.bz2
 Source1:        https://downloads.sf.net/avf/%{name}-%{version}.tar.bz2.asc
 Source2:        %{name}.keyring
-BuildRequires:  emacs-nox
-BuildRequires:  help2man
 BuildRequires:  lzlib-devel
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(bzip2)
-BuildRequires:  pkgconfig(e2p)
-BuildRequires:  pkgconfig(expat)
-BuildRequires:  pkgconfig(ext2fs)
-BuildRequires:  pkgconfig(fuse)
-BuildRequires:  pkgconfig(libcrypto)
 BuildRequires:  pkgconfig(liblzma)
-BuildRequires:  pkgconfig(libssl)
-BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(libzstd)
 BuildRequires:  pkgconfig(neon)
-BuildRequires:  pkgconfig(openssl)
+BuildRequires:  pkgconfig(zlib)
 
 %description
 AVFS is a filesystem which enables all programs to look inside archived or
@@ -49,7 +42,7 @@
 
 %package devel
 Summary:        Development files for AVFS, an archive look-inside filesystem
-Requires:       libavfs0 = %{version}
+Requires:       libavfs%{sover} = %{version}
 
 %description devel
 This package includes the development file for the package avfs.
@@ -57,76 +50,62 @@
 compressed files, or access remote files without recompiling the programs
 or changing the kernel.
 
-%package -n libavfs0
+%package -n libavfs%{sover}
 Summary:        Shared library for AVFS, an archive look-inside filesystem
 
-%description -n libavfs0
+%description -n libavfs%{sover}
 This package includes the runtime shared library for the package avfs.
 AVFS is a system, which enables all programs to look inside archived or
 compressed files, or access remote files without recompiling the programs
 or changing the kernel.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %configure \
   --disable-static \
-  --enable-fuse \
-  --enable-library \
   --enable-shared \
+  --enable-library \
   --with-system-zlib \
   --with-system-bzlib \
+  --enable-dav \
   --with-lzip \
-  --with-lzma \
-  --with-xz
+  --with-xz \
+  --with-zstd \
+  %{nil}
 %make_build
 
 %install
 %make_install
+find %{buildroot} -type f -name "*.la" -delete -print
 
-pushd %{buildroot}%{_libdir}/%{name}/extfs/
-    mv uzip ext-uzip
-popd
-mkdir -p %{buildroot}/%{_mandir}/man1/
-pushd %{buildroot}/%{_mandir}/man1/
-    LD_LIBRARY_PATH=%{buildroot}/%{_libdir} \
-    PATH=%{buildroot}/%{_bindir}:$PATH \
-    help2man -s 1 -N --no-discard-stderr avfsd | \
-    sed 's/^FUSE \\- .*/AVFS - A Virtual File System/' > \
-    avfsd.1
-popd
+%check
+%make_build check
 
-rm -vf %{buildroot}/%{_libdir}/libavfs.la
-
-%post -n libavfs0 -p /sbin/ldconfig
-%postun -n libavfs0 -p /sbin/ldconfig
+%ldconfig_scriptlets -n libavfs%{sover}
 
 %files
-%doc ChangeLog README NEWS TODO
 %license COPYING
+%doc ChangeLog README NEWS TODO
 %doc doc/api-overview
 %doc doc/background
 %doc doc/FORMAT
-%doc doc/README.avfs-fuse
-%{_bindir}/avfsd
 %{_bindir}/davpass
 %{_bindir}/ftppass
-%{_bindir}/mountavfs
-%{_bindir}/umountavfs
 %dir %{_libdir}/avfs
 %dir %{_libdir}/avfs/extfs
 %{_libdir}/avfs/extfs/*
-%{_mandir}/man1/avfsd.1%{?ext_man}
 
 %files devel
+%license COPYING
 %{_bindir}/avfs-config
 %{_includedir}/avfs.h
 %{_includedir}/virtual.h
 %{_libdir}/libavfs.so
 %{_libdir}/pkgconfig/avfs.pc
 
-%files -n libavfs0
-%{_libdir}/libavfs.so.0
-%{_libdir}/libavfs.so.0.0.2
+%files -n libavfs%{sover}
+%license COPYING
+%{_libdir}/libavfs.so.%{sover}{,.*}
 

++++++ avfs-1.1.5.tar.bz2 -> avfs-1.2.0.tar.bz2 ++++++
++++ 9670 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/ChangeLog new/avfs-1.2.0/ChangeLog
--- old/avfs-1.1.5/ChangeLog    2023-02-18 19:03:03.000000000 +0100
+++ new/avfs-1.2.0/ChangeLog    2025-02-20 17:21:25.000000000 +0100
@@ -1,3 +1,31 @@
+2025-02-20  Ralf Hoffmann <r...@boomerangsworld.de>
+
+       * bump version to 1.2.0
+
+2025-01-28  Ralf Hoffmann <r...@boomerangsworld.de>
+
+       * fix decoding zip64 archives when some fields on regular header
+       are ff..ff
+
+2025-01-25  Ralf Hoffmann <r...@boomerangsworld.de>
+
+       * add support for 64 bit time_t (also on 32-bit systems)
+       (patch from Tobias Quathamer)
+       * fix compilation when atomic functions are only available with
+       libatomic
+       (patch from Tobias Quathamer)
+
+2024-01-14  Ralf Hoffmann <r...@boomerangsworld.de>
+
+       * extfs: replace temporary files from extfs archives if the
+       basefile has been changed or modified. Otherwise an inner
+       file would contain invalid old data from the previous basefile.
+
+2023-04-13  Ralf Hoffmann <r...@boomerangsworld.de>
+
+       * virtual: add support in virt_readdir for longer names than
+       NAME_MAX
+
 2023-02-18  Ralf Hoffmann <r...@boomerangsworld.de>
 
        * bump version to 1.1.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/INSTALL new/avfs-1.2.0/INSTALL
--- old/avfs-1.1.5/INSTALL      2023-02-18 19:03:11.000000000 +0100
+++ new/avfs-1.2.0/INSTALL      2025-02-20 17:21:43.000000000 +0100
@@ -1,177 +1,177 @@
 Installation Instructions
 *************************
 
-   Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free
-Software Foundation, Inc.
-
-   Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.  This file is offered as-is,
-without warranty of any kind.
-
 Basic Installation
 ==================
 
-   Briefly, the shell command './configure && make && make install'
-should configure, build, and install this package.  The following
-more-detailed instructions are generic; see the 'README' file for
-instructions specific to this package.  Some packages provide this
-'INSTALL' file but do not implement all of the features documented
-below.  The lack of an optional feature in a given package is not
-necessarily a bug.  More recommendations for GNU packages can be found
-in *note Makefile Conventions: (standards)Makefile Conventions.
+   The following shell commands:
 
-   The 'configure' shell script attempts to guess correct values for
+     test -f configure || ./bootstrap
+     ./configure
+     make
+     make install
+
+should configure, build, and install this package.  The first line,
+which bootstraps, is intended for developers; when building from
+distribution tarballs it does nothing and can be skipped.
+
+   The following more-detailed instructions are generic; see the
+‘README’ file for instructions specific to this package.  Some packages
+provide this ‘INSTALL’ file but do not implement all of the features
+documented below.  The lack of an optional feature in a given package is
+not necessarily a bug.  More recommendations for GNU packages can be
+found in the GNU Coding Standards.
+
+   Many packages have scripts meant for developers instead of ordinary
+builders, as they may use developer tools that are less commonly
+installed, or they may access the network, which has privacy
+implications.  If the ‘bootstrap’ shell script exists, it attempts to
+build the ‘configure’ shell script and related files, possibly using
+developer tools or the network.  Because the output of ‘bootstrap’ is
+system-independent, it is normally run by a package developer so that
+its output can be put into the distribution tarball and ordinary
+builders and users need not run ‘bootstrap’.  Some packages have
+commands like ‘./autopull.sh’ and ‘./autogen.sh’ that you can run
+instead of ‘./bootstrap’, for more fine-grained control over
+bootstrapping.
+
+   The ‘configure’ shell script attempts to guess correct values for
 various system-dependent variables used during compilation.  It uses
-those values to create a 'Makefile' in each directory of the package.
-It may also create one or more '.h' files containing system-dependent
-definitions.  Finally, it creates a shell script 'config.status' that
+those values to create a ‘Makefile’ in each directory of the package.
+It may also create one or more ‘.h’ files containing system-dependent
+definitions.  Finally, it creates a shell script ‘config.status’ that
 you can run in the future to recreate the current configuration, and a
-file 'config.log' containing compiler output (useful mainly for
-debugging 'configure').
+file ‘config.log’ containing output useful for debugging ‘configure’.
 
-   It can also use an optional file (typically called 'config.cache' and
-enabled with '--cache-file=config.cache' or simply '-C') that saves the
+   It can also use an optional file (typically called ‘config.cache’ and
+enabled with ‘--cache-file=config.cache’ or simply ‘-C’) that saves the
 results of its tests to speed up reconfiguring.  Caching is disabled by
 default to prevent problems with accidental use of stale cache files.
 
    If you need to do unusual things to compile the package, please try
-to figure out how 'configure' could check whether to do them, and mail
-diffs or instructions to the address given in the 'README' so they can
+to figure out how ‘configure’ could check whether to do them, and mail
+diffs or instructions to the address given in the ‘README’ so they can
 be considered for the next release.  If you are using the cache, and at
-some point 'config.cache' contains results you don't want to keep, you
+some point ‘config.cache’ contains results you don’t want to keep, you
 may remove or edit it.
 
-   The file 'configure.ac' (or 'configure.in') is used to create
-'configure' by a program called 'autoconf'.  You need 'configure.ac' if
-you want to change it or regenerate 'configure' using a newer version of
-'autoconf'.
+   The ‘autoconf’ program generates ‘configure’ from the file
+‘configure.ac’.  Normally you should edit ‘configure.ac’ instead of
+editing ‘configure’ directly.
 
    The simplest way to compile this package is:
 
-  1. 'cd' to the directory containing the package's source code and type
-     './configure' to configure the package for your system.
+  1. ‘cd’ to the directory containing the package’s source code.
+
+  2. If this is a developer checkout and file ‘configure’ does not yet
+     exist, type ‘./bootstrap’ to create it.  You may need special
+     developer tools and network access to bootstrap, and the network
+     access may have privacy implications.
 
-     Running 'configure' might take a while.  While running, it prints
-     some messages telling which features it is checking for.
+  3. Type ‘./configure’ to configure the package for your system.  This
+     might take a while.  While running, ‘configure’ prints messages
+     telling which features it is checking for.
 
-  2. Type 'make' to compile the package.
+  4. Type ‘make’ to compile the package.
 
-  3. Optionally, type 'make check' to run any self-tests that come with
+  5. Optionally, type ‘make check’ to run any self-tests that come with
      the package, generally using the just-built uninstalled binaries.
 
-  4. Type 'make install' to install the programs and any data files and
+  6. Type ‘make install’ to install the programs and any data files and
      documentation.  When installing into a prefix owned by root, it is
      recommended that the package be configured and built as a regular
-     user, and only the 'make install' phase executed with root
+     user, and only the ‘make install’ phase executed with root
      privileges.
 
-  5. Optionally, type 'make installcheck' to repeat any self-tests, but
+  7. Optionally, type ‘make installcheck’ to repeat any self-tests, but
      this time using the binaries in their final installed location.
      This target does not install anything.  Running this target as a
-     regular user, particularly if the prior 'make install' required
+     regular user, particularly if the prior ‘make install’ required
      root privileges, verifies that the installation completed
      correctly.
 
-  6. You can remove the program binaries and object files from the
-     source code directory by typing 'make clean'.  To also remove the
-     files that 'configure' created (so you can compile the package for
-     a different kind of computer), type 'make distclean'.  There is
-     also a 'make maintainer-clean' target, but that is intended mainly
-     for the package's developers.  If you use it, you may have to get
-     all sorts of other programs in order to regenerate files that came
-     with the distribution.
-
-  7. Often, you can also type 'make uninstall' to remove the installed
-     files again.  In practice, not all packages have tested that
-     uninstallation works correctly, even though it is required by the
-     GNU Coding Standards.
-
-  8. Some packages, particularly those that use Automake, provide 'make
-     distcheck', which can by used by developers to test that all other
-     targets like 'make install' and 'make uninstall' work correctly.
-     This target is generally not run by end users.
+  8. You can remove the program binaries and object files from the
+     source code directory by typing ‘make clean’.  To also remove the
+     files that ‘configure’ created (so you can compile the package for
+     a different kind of computer), type ‘make distclean’.  There is
+     also a ‘make maintainer-clean’ target, but that is intended mainly
+     for the package’s developers.  If you use it, you may have to
+     bootstrap again.
+
+  9. If the package follows the GNU Coding Standards, you can type ‘make
+     uninstall’ to remove the installed files.
 
 Compilers and Options
 =====================
 
    Some systems require unusual options for compilation or linking that
-the 'configure' script does not know about.  Run './configure --help'
+the ‘configure’ script does not know about.  Run ‘./configure --help’
 for details on some of the pertinent environment variables.
 
-   You can give 'configure' initial values for configuration parameters
+   You can give ‘configure’ initial values for configuration parameters
 by setting variables in the command line or in the environment.  Here is
 an example:
 
-     ./configure CC=c99 CFLAGS=-g LIBS=-lposix
+     ./configure CC=gcc CFLAGS=-g LIBS=-lposix
 
-   *Note Defining Variables::, for more details.
+   See “Defining Variables” for more details.
 
 Compiling For Multiple Architectures
 ====================================
 
    You can compile the package for more than one kind of computer at the
-same time, by placing the object files for each architecture in their
-own directory.  To do this, you can use GNU 'make'.  'cd' to the
-directory where you want the object files and executables to go and run
-the 'configure' script.  'configure' automatically checks for the source
-code in the directory that 'configure' is in and in '..'.  This is known
-as a "VPATH" build.
-
-   With a non-GNU 'make', it is safer to compile the package for one
-architecture at a time in the source code directory.  After you have
-installed the package for one architecture, use 'make distclean' before
-reconfiguring for another architecture.
-
-   On MacOS X 10.5 and later systems, you can create libraries and
-executables that work on multiple system types--known as "fat" or
-"universal" binaries--by specifying multiple '-arch' options to the
-compiler but only a single '-arch' option to the preprocessor.  Like
-this:
-
-     ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
-                 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
-                 CPP="gcc -E" CXXCPP="g++ -E"
-
-   This is not guaranteed to produce working output in all cases, you
-may have to build one architecture at a time and combine the results
-using the 'lipo' tool if you have problems.
+same time, by placing the object files for each system in their own
+directory.  To do this, you can use GNU ‘make’.  ‘cd’ to the directory
+where you want the object files and executables to go and run the
+‘configure’ script.  ‘configure’ automatically checks for the source
+code in the directory that ‘configure’ is in and in ‘..’.  This is known
+as a “VPATH” build.
+
+   With a non-GNU ‘make’, it is safer to compile the package for one
+system at a time in the source code directory.  After you have installed
+the package for one system, use ‘make distclean’ before reconfiguring
+for another system.
+
+   Some platforms, notably macOS, support “fat” or “universal” binaries,
+where a single binary can execute on different architectures.  On these
+platforms you can configure and compile just once, with options specific
+to that platform.
 
 Installation Names
 ==================
 
-   By default, 'make install' installs the package's commands under
-'/usr/local/bin', include files under '/usr/local/include', etc.  You
-can specify an installation prefix other than '/usr/local' by giving
-'configure' the option '--prefix=PREFIX', where PREFIX must be an
+   By default, ‘make install’ installs the package’s commands under
+‘/usr/local/bin’, include files under ‘/usr/local/include’, etc.  You
+can specify an installation prefix other than ‘/usr/local’ by giving
+‘configure’ the option ‘--prefix=PREFIX’, where PREFIX must be an
 absolute file name.
 
    You can specify separate installation prefixes for
 architecture-specific files and architecture-independent files.  If you
-pass the option '--exec-prefix=PREFIX' to 'configure', the package uses
+pass the option ‘--exec-prefix=PREFIX’ to ‘configure’, the package uses
 PREFIX as the prefix for installing programs and libraries.
 Documentation and other data files still use the regular prefix.
 
    In addition, if you use an unusual directory layout you can give
-options like '--bindir=DIR' to specify different values for particular
-kinds of files.  Run 'configure --help' for a list of the directories
+options like ‘--bindir=DIR’ to specify different values for particular
+kinds of files.  Run ‘configure --help’ for a list of the directories
 you can set and what kinds of files go in them.  In general, the default
-for these options is expressed in terms of '${prefix}', so that
-specifying just '--prefix' will affect all of the other directory
+for these options is expressed in terms of ‘${prefix}’, so that
+specifying just ‘--prefix’ will affect all of the other directory
 specifications that were not explicitly provided.
 
    The most portable way to affect installation locations is to pass the
-correct locations to 'configure'; however, many packages provide one or
+correct locations to ‘configure’; however, many packages provide one or
 both of the following shortcuts of passing variable assignments to the
-'make install' command line to change installation locations without
+‘make install’ command line to change installation locations without
 having to reconfigure or recompile.
 
    The first method involves providing an override variable for each
-affected directory.  For example, 'make install
-prefix=/alternate/directory' will choose an alternate location for all
+affected directory.  For example, ‘make install
+prefix=/alternate/directory’ will choose an alternate location for all
 directory configuration variables that were expressed in terms of
-'${prefix}'.  Any directories that were specified during 'configure',
-but not in terms of '${prefix}', must each be overridden at install time
+‘${prefix}’.  Any directories that were specified during ‘configure’,
+but not in terms of ‘${prefix}’, must each be overridden at install time
 for the entire installation to be relocated.  The approach of makefile
 variable overrides for each directory variable is required by the GNU
 Coding Standards, and ideally causes no recompilation.  However, some
@@ -179,190 +179,187 @@
 that end up requiring recompilation when using this method, particularly
 noticeable in packages that use GNU Libtool.
 
-   The second method involves providing the 'DESTDIR' variable.  For
-example, 'make install DESTDIR=/alternate/directory' will prepend
-'/alternate/directory' before all installation names.  The approach of
-'DESTDIR' overrides is not required by the GNU Coding Standards, and
+   The second method involves providing the ‘DESTDIR’ variable.  For
+example, ‘make install DESTDIR=/alternate/directory’ will prepend
+‘/alternate/directory’ before all installation names.  The approach of
+‘DESTDIR’ overrides is not required by the GNU Coding Standards, and
 does not work on platforms that have drive letters.  On the other hand,
 it does better at avoiding recompilation issues, and works well even
-when some directory options were not specified in terms of '${prefix}'
-at 'configure' time.
+when some directory options were not specified in terms of ‘${prefix}’
+at ‘configure’ time.
 
 Optional Features
 =================
 
    If the package supports it, you can cause programs to be installed
-with an extra prefix or suffix on their names by giving 'configure' the
-option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'.
+with an extra prefix or suffix on their names by giving ‘configure’ the
+option ‘--program-prefix=PREFIX’ or ‘--program-suffix=SUFFIX’.
 
-   Some packages pay attention to '--enable-FEATURE' options to
-'configure', where FEATURE indicates an optional part of the package.
-They may also pay attention to '--with-PACKAGE' options, where PACKAGE
-is something like 'gnu-as' or 'x' (for the X Window System).  The
-'README' should mention any '--enable-' and '--with-' options that the
-package recognizes.
-
-   For packages that use the X Window System, 'configure' can usually
-find the X include and library files automatically, but if it doesn't,
-you can use the 'configure' options '--x-includes=DIR' and
-'--x-libraries=DIR' to specify their locations.
+   Some packages pay attention to ‘--enable-FEATURE’ and
+‘--disable-FEATURE’ options to ‘configure’, where FEATURE indicates an
+optional part of the package.  They may also pay attention to
+‘--with-PACKAGE’ and ‘--without-PACKAGE’ options, where PACKAGE is
+something like ‘gnu-ld’.  ‘./configure --help’ should mention the
+‘--enable-...’ and ‘--with-...’ options that the package recognizes.
 
    Some packages offer the ability to configure how verbose the
-execution of 'make' will be.  For these packages, running './configure
---enable-silent-rules' sets the default to minimal output, which can be
-overridden with 'make V=1'; while running './configure
---disable-silent-rules' sets the default to verbose, which can be
-overridden with 'make V=0'.
-
-Particular systems
-==================
-
-   On HP-UX, the default C compiler is not ANSI C compatible.  If GNU CC
-is not installed, it is recommended to use the following options in
-order to use an ANSI C compiler:
-
-     ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
-
-and if that doesn't work, install pre-built binaries of GCC for HP-UX.
-
-   HP-UX 'make' updates targets which have the same timestamps as their
-prerequisites, which makes it generally unusable when shipped generated
-files such as 'configure' are involved.  Use GNU 'make' instead.
-
-   On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
-parse its '<wchar.h>' header file.  The option '-nodtk' can be used as a
-workaround.  If GNU CC is not installed, it is therefore recommended to
-try
-
-     ./configure CC="cc"
-
-and if that doesn't work, try
-
-     ./configure CC="cc -nodtk"
-
-   On Solaris, don't put '/usr/ucb' early in your 'PATH'.  This
-directory contains several dysfunctional programs; working variants of
-these programs are available in '/usr/bin'.  So, if you need '/usr/ucb'
-in your 'PATH', put it _after_ '/usr/bin'.
-
-   On Haiku, software installed for all users goes in '/boot/common',
-not '/usr/local'.  It is recommended to use the following options:
-
-     ./configure --prefix=/boot/common
+execution of ‘make’ will be.  For these packages, running ‘./configure
+--enable-silent-rules’ sets the default to minimal output, which can be
+overridden with ‘make V=1’; while running ‘./configure
+--disable-silent-rules’ sets the default to verbose, which can be
+overridden with ‘make V=0’.
+
+Specifying a System Type
+========================
+
+   By default ‘configure’ builds for the current system.  To create
+binaries that can run on a different system type, specify a
+‘--host=TYPE’ option along with compiler variables that specify how to
+generate object code for TYPE.  For example, to create binaries intended
+to run on a 64-bit ARM processor:
+
+     ./configure --host=aarch64-linux-gnu \
+        CC=aarch64-linux-gnu-gcc \
+        CXX=aarch64-linux-gnu-g++
+
+If done on a machine that can execute these binaries (e.g., via
+‘qemu-aarch64’, ‘$QEMU_LD_PREFIX’, and Linux’s ‘binfmt_misc’
+capability), the build behaves like a native build.  Otherwise it is a
+cross-build: ‘configure’ will make cross-compilation guesses instead of
+running test programs, and ‘make check’ will not work.
+
+   A system type can either be a short name like ‘mingw64’, or a
+canonical name like ‘x86_64-pc-linux-gnu’.  Canonical names have the
+form CPU-COMPANY-SYSTEM where SYSTEM is either OS or KERNEL-OS.  To
+canonicalize and validate a system type, you can run the command
+‘config.sub’, which is often squirreled away in a subdirectory like
+‘build-aux’.  For example:
+
+     $ build-aux/config.sub arm64-linux
+     aarch64-unknown-linux-gnu
+     $ build-aux/config.sub riscv-lnx
+     Invalid configuration 'riscv-lnx': OS 'lnx' not recognized
+
+You can look at the ‘config.sub’ file to see which types are recognized.
+If the file is absent, this package does not need the system type.
+
+   If ‘configure’ fails with the diagnostic “cannot guess build type”.
+‘config.sub’ did not recognize your system’s type.  In this case, first
+fetch the newest versions of these files from the GNU config package
+(https://savannah.gnu.org/projects/config).  If that fixes things,
+please report it to the maintainers of the package containing
+‘configure’.  Otherwise, you can try the configure option ‘--build=TYPE’
+where TYPE comes close to your system type; also, please report the
+problem to <config-patc...@gnu.org>.
 
-Specifying the System Type
-==========================
-
-   There may be some features 'configure' cannot figure out
-automatically, but needs to determine by the type of machine the package
-will run on.  Usually, assuming the package is built to be run on the
-_same_ architectures, 'configure' can figure that out, but if it prints
-a message saying it cannot guess the machine type, give it the
-'--build=TYPE' option.  TYPE can either be a short name for the system
-type, such as 'sun4', or a canonical name which has the form:
-
-     CPU-COMPANY-SYSTEM
-
-where SYSTEM can have one of these forms:
-
-     OS
-     KERNEL-OS
-
-   See the file 'config.sub' for the possible values of each field.  If
-'config.sub' isn't included in this package, then this package doesn't
-need to know the machine type.
-
-   If you are _building_ compiler tools for cross-compiling, you should
-use the option '--target=TYPE' to select the type of system they will
-produce code for.
-
-   If you want to _use_ a cross compiler, that generates code for a
-platform different from the build platform, you should specify the
-"host" platform (i.e., that on which the generated programs will
-eventually be run) with '--host=TYPE'.
+   For more details about configuring system types, see the Autoconf
+documentation.
 
 Sharing Defaults
 ================
 
-   If you want to set default values for 'configure' scripts to share,
-you can create a site shell script called 'config.site' that gives
-default values for variables like 'CC', 'cache_file', and 'prefix'.
-'configure' looks for 'PREFIX/share/config.site' if it exists, then
-'PREFIX/etc/config.site' if it exists.  Or, you can set the
-'CONFIG_SITE' environment variable to the location of the site script.
-A warning: not all 'configure' scripts look for a site script.
+   If you want to set default values for ‘configure’ scripts to share,
+you can create a site shell script called ‘config.site’ that gives
+default values for variables like ‘CC’, ‘cache_file’, and ‘prefix’.
+‘configure’ looks for ‘PREFIX/share/config.site’ if it exists, then
+‘PREFIX/etc/config.site’ if it exists.  Or, you can set the
+‘CONFIG_SITE’ environment variable to the location of the site script.
+A warning: not all ‘configure’ scripts look for a site script.
 
 Defining Variables
 ==================
 
    Variables not defined in a site shell script can be set in the
-environment passed to 'configure'.  However, some packages may run
+environment passed to ‘configure’.  However, some packages may run
 configure again during the build, and the customized values of these
 variables may be lost.  In order to avoid this problem, you should set
-them in the 'configure' command line, using 'VAR=value'.  For example:
+them in the ‘configure’ command line, using ‘VAR=value’.  For example:
 
      ./configure CC=/usr/local2/bin/gcc
 
-causes the specified 'gcc' to be used as the C compiler (unless it is
+causes the specified ‘gcc’ to be used as the C compiler (unless it is
 overridden in the site shell script).
 
-Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an
+Unfortunately, this technique does not work for ‘CONFIG_SHELL’ due to an
 Autoconf limitation.  Until the limitation is lifted, you can use this
 workaround:
 
      CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
 
-'configure' Invocation
+‘configure’ Invocation
 ======================
 
-   'configure' recognizes the following options to control how it
+   ‘configure’ recognizes the following options to control how it
 operates.
 
-'--help'
-'-h'
-     Print a summary of all of the options to 'configure', and exit.
-
-'--help=short'
-'--help=recursive'
-     Print a summary of the options unique to this package's
-     'configure', and exit.  The 'short' variant lists options used only
-     in the top level, while the 'recursive' variant lists options also
+‘--help’
+‘-h’
+     Print a summary of all of the options to ‘configure’, and exit.
+
+‘--help=short’
+‘--help=recursive’
+     Print a summary of the options unique to this package’s
+     ‘configure’, and exit.  The ‘short’ variant lists options used only
+     in the top level, while the ‘recursive’ variant lists options also
      present in any nested packages.
 
-'--version'
-'-V'
-     Print the version of Autoconf used to generate the 'configure'
+‘--version’
+‘-V’
+     Print the version of Autoconf used to generate the ‘configure’
      script, and exit.
 
-'--cache-file=FILE'
+‘--cache-file=FILE’
      Enable the cache: use and save the results of the tests in FILE,
-     traditionally 'config.cache'.  FILE defaults to '/dev/null' to
+     traditionally ‘config.cache’.  FILE defaults to ‘/dev/null’ to
      disable caching.
 
-'--config-cache'
-'-C'
-     Alias for '--cache-file=config.cache'.
-
-'--quiet'
-'--silent'
-'-q'
-     Do not print messages saying which checks are being made.  To
-     suppress all normal output, redirect it to '/dev/null' (any error
-     messages will still be shown).
+‘--config-cache’
+‘-C’
+     Alias for ‘--cache-file=config.cache’.
+
+‘--srcdir=DIR’
+     Look for the package’s source code in directory DIR.  Usually
+     ‘configure’ can determine that directory automatically.
 
-'--srcdir=DIR'
-     Look for the package's source code in directory DIR.  Usually
-     'configure' can determine that directory automatically.
-
-'--prefix=DIR'
-     Use DIR as the installation prefix.  *note Installation Names:: for
+‘--prefix=DIR’
+     Use DIR as the installation prefix.  See “Installation Names” for
      more details, including other options available for fine-tuning the
      installation locations.
 
-'--no-create'
-'-n'
+‘--host=TYPE’
+     Build binaries for system TYPE.  See “Specifying a System Type”.
+
+‘--enable-FEATURE’
+‘--disable-FEATURE’
+     Enable or disable the optional FEATURE.  See “Optional Features”.
+
+‘--with-PACKAGE’
+‘--without-PACKAGE’
+     Use or omit PACKAGE when building.  See “Optional Features”.
+
+‘--quiet’
+‘--silent’
+‘-q’
+     Do not print messages saying which checks are being made.  To
+     suppress all normal output, redirect it to ‘/dev/null’ (any error
+     messages will still be shown).
+
+‘--no-create’
+‘-n’
      Run the configure checks, but stop before creating any output
      files.
 
-'configure' also accepts some other, not widely useful, options.  Run
-'configure --help' for more details.
+‘configure’ also recognizes several environment variables, and accepts
+some other, less widely useful, options.  Run ‘configure --help’ for
+more details.
+
+Copyright notice
+================
+
+   Copyright © 1994–1996, 1999–2002, 2004–2017, 2020–2024 Free Software
+Foundation, Inc.
+
+   Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.  This file is offered as-is,
+without warranty of any kind.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/NEWS new/avfs-1.2.0/NEWS
--- old/avfs-1.1.5/NEWS 2023-02-18 19:03:03.000000000 +0100
+++ new/avfs-1.2.0/NEWS 2025-02-20 17:21:25.000000000 +0100
@@ -1,3 +1,12 @@
+Changes from 1.1.5 to 1.2.0 (2025-02-20)
+  - when files behind extfs based archives changed, the inner file
+    representation is updated too.
+  - supported 64 bit time_t on all platforms (which makes the ABI
+    incompatible with 1.1.x)
+  - fixed issue with zip64 archives which could not be opened if
+    some header values indicated that only zip64 extended header
+    should be used.
+
 Changes from 1.1.4 to 1.1.5 (2023-02-18)
   - added support for ls output with SElinux attributes.
   - improved handling of xz memory limit to allow detecting when the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/README new/avfs-1.2.0/README
--- old/avfs-1.1.5/README       2023-02-18 19:03:03.000000000 +0100
+++ new/avfs-1.2.0/README       2025-02-20 17:21:25.000000000 +0100
@@ -20,7 +20,7 @@
 
 Check out the page
 
-  http://www.inf.bme.hu/~mszeredi/avfs/
+  https://avf.sourceforge.net/
 
 or
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/compile new/avfs-1.2.0/compile
--- old/avfs-1.1.5/compile      2023-02-18 19:03:11.000000000 +0100
+++ new/avfs-1.2.0/compile      2025-02-20 17:21:43.000000000 +0100
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2018-03-07.03; # UTC
+scriptversion=2024-06-19.01; # UTC
 
-# Copyright (C) 1999-2021 Free Software Foundation, Inc.
+# Copyright (C) 1999-2024 Free Software Foundation, Inc.
 # Written by Tom Tromey <tro...@cygnus.com>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -143,7 +143,7 @@
          # configure might choose to run compile as 'compile cc -o foo foo.c'.
          eat=1
          case $2 in
-           *.o | *.[oO][bB][jJ])
+           *.o | *.lo | *.[oO][bB][jJ])
              func_file_conv "$2"
              set x "$@" -Fo"$file"
              shift
@@ -248,14 +248,17 @@
 right script to run: please start by reading the file 'INSTALL'.
 
 Report bugs to <bug-autom...@gnu.org>.
+GNU Automake home page: <https://www.gnu.org/software/automake/>.
+General help using GNU software: <https://www.gnu.org/gethelp/>.
 EOF
     exit $?
     ;;
   -v | --v*)
-    echo "compile $scriptversion"
+    echo "compile (GNU Automake) $scriptversion"
     exit $?
     ;;
   cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
+  clang-cl | *[/\\]clang-cl | clang-cl.exe | *[/\\]clang-cl.exe | \
   icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
     func_cl_wrapper "$@"      # Doesn't return...
     ;;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/config.h.in new/avfs-1.2.0/config.h.in
--- old/avfs-1.1.5/config.h.in  2023-02-18 19:03:11.000000000 +0100
+++ new/avfs-1.2.0/config.h.in  2025-02-20 17:21:42.000000000 +0100
@@ -1,6 +1,6 @@
 /* config.h.in.  Generated from configure.ac by autoheader.  */
 
-/* Define to 1 if you have the `atoll' function. */
+/* Define to 1 if you have the 'atoll' function. */
 #undef HAVE_ATOLL
 
 /* Define to 1 if you have the <dlfcn.h> header file. */
@@ -12,19 +12,19 @@
 /* Define if your struct direntry has d_type */
 #undef HAVE_D_TYPE
 
-/* Define to 1 if you have the `getgrgid_r' function. */
+/* Define to 1 if you have the 'getgrgid_r' function. */
 #undef HAVE_GETGRGID_R
 
-/* Define to 1 if you have the `getgrnam_r' function. */
+/* Define to 1 if you have the 'getgrnam_r' function. */
 #undef HAVE_GETGRNAM_R
 
-/* Define to 1 if you have the `getpwnam_r' function. */
+/* Define to 1 if you have the 'getpwnam_r' function. */
 #undef HAVE_GETPWNAM_R
 
-/* Define to 1 if you have the `getpwuid_r' function. */
+/* Define to 1 if you have the 'getpwuid_r' function. */
 #undef HAVE_GETPWUID_R
 
-/* Define to 1 if you have the `iconv' function. */
+/* Define to 1 if you have the 'iconv' function. */
 #undef HAVE_ICONV
 
 /* Define to 1 if you have the <iconv.h> header file. */
@@ -36,7 +36,7 @@
 /* Define to 1 if you have the <langinfo.h> header file. */
 #undef HAVE_LANGINFO_H
 
-/* Define to 1 if you have the `dl' library (-ldl). */
+/* Define to 1 if you have the 'dl' library (-ldl). */
 #undef HAVE_LIBDL
 
 /* Define to 1 if your system has libfuse installed */
@@ -51,7 +51,7 @@
 /* Define to 1 if your system has libneon installed */
 #undef HAVE_LIBNEON
 
-/* Define to 1 if you have the `pthread' library (-lpthread). */
+/* Define to 1 if you have the 'pthread' library (-lpthread). */
 #undef HAVE_LIBPTHREAD
 
 /* Define to 1 if your system has libzstd installed */
@@ -60,10 +60,10 @@
 /* Define to 1 if you have the <lzlib.h> header file. */
 #undef HAVE_LZLIB_H
 
-/* Define to 1 if you have the `mkdtemp' function. */
+/* Define to 1 if you have the 'mkdtemp' function. */
 #undef HAVE_MKDTEMP
 
-/* Define to 1 if you have the `nl_langinfo' function. */
+/* Define to 1 if you have the 'nl_langinfo' function. */
 #undef HAVE_NL_LANGINFO
 
 /* Define to 1 if you have the <stdint.h> header file. */
@@ -75,7 +75,7 @@
 /* Define to 1 if you have the <stdlib.h> header file. */
 #undef HAVE_STDLIB_H
 
-/* Define to 1 if you have the `strcasecmp' function. */
+/* Define to 1 if you have the 'strcasecmp' function. */
 #undef HAVE_STRCASECMP
 
 /* Define to 1 if you have the <strings.h> header file. */
@@ -84,7 +84,7 @@
 /* Define to 1 if you have the <string.h> header file. */
 #undef HAVE_STRING_H
 
-/* Define to 1 if you have the `strncasecmp' function. */
+/* Define to 1 if you have the 'strncasecmp' function. */
 #undef HAVE_STRNCASECMP
 
 /* Define to 1 if you have the <sys/statvfs.h> header file. */
@@ -99,17 +99,17 @@
 /* Define to 1 if you have the <unistd.h> header file. */
 #undef HAVE_UNISTD_H
 
-/* Define to 1 if you have the `vsnprintf' function. */
+/* Define to 1 if you have the 'vsnprintf' function. */
 #undef HAVE_VSNPRINTF
 
 /* Define to the sub-directory where libtool stores uninstalled libraries. */
 #undef LT_OBJDIR
 
-/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
+/* Define to 1 if 'major', 'minor', and 'makedev' are declared in <mkdev.h>.
    */
 #undef MAJOR_IN_MKDEV
 
-/* Define to 1 if `major', `minor', and `makedev' are declared in
+/* Define to 1 if 'major', 'minor', and 'makedev' are declared in
    <sysmacros.h>. */
 #undef MAJOR_IN_SYSMACROS
 
@@ -134,7 +134,7 @@
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 
-/* Define to 1 if all of the C90 standard headers exist (not just the ones
+/* Define to 1 if all of the C89 standard headers exist (not just the ones
    required in a freestanding environment). This macro is provided for
    backward compatibility; new code need not use it. */
 #undef STDC_HEADERS
@@ -151,5 +151,11 @@
 /* Number of bits in a file offset, on hosts where this is settable. */
 #undef _FILE_OFFSET_BITS
 
-/* Define for large files, on AIX-style hosts. */
+/* Define to 1 on platforms where this makes off_t a 64-bit type. */
 #undef _LARGE_FILES
+
+/* Number of bits in time_t, on hosts where this is settable. */
+#undef _TIME_BITS
+
+/* Define to 1 on platforms where this makes time_t a 64-bit type. */
+#undef __MINGW_USE_VC2005_COMPAT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/configure.ac new/avfs-1.2.0/configure.ac
--- old/avfs-1.1.5/configure.ac 2023-02-18 19:03:03.000000000 +0100
+++ new/avfs-1.2.0/configure.ac 2025-02-20 17:21:25.000000000 +0100
@@ -1,8 +1,8 @@
 dnl Process this file with autoconf to produce a configure script.
 
 define(AVFS_MAJOR,[1])
-define(AVFS_MINOR,[1])
-define(AVFS_PATCH,[5])
+define(AVFS_MINOR,[2])
+define(AVFS_PATCH,[0])
 define(AVFS_COMMENT,[])
 
 define(AVFS_VERSION,AVFS_MAJOR[.]AVFS_MINOR[.]AVFS_PATCH[]AVFS_COMMENT)
@@ -224,6 +224,7 @@
 AC_SEARCH_LIBS(nanosleep, posix4)
 AC_SEARCH_LIBS(gethostbyname, nsl)
 AC_SEARCH_LIBS(socket, socket inet)
+AC_SEARCH_LIBS(__atomic_fetch_add_8, atomic)
 
 neon_found=no
 if test "$dav" = yes; then
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/include/avfs.h new/avfs-1.2.0/include/avfs.h
--- old/avfs-1.1.5/include/avfs.h       2023-02-18 19:03:03.000000000 +0100
+++ new/avfs-1.2.0/include/avfs.h       2025-02-20 17:21:25.000000000 +0100
@@ -13,6 +13,7 @@
 #include <string.h>
 #include <ctype.h>
 #include <pthread.h>
+#include <time.h>
 
 /* The following 3 includes are not needed except for some
  * systems which redefine open to open64 etc. (namely Sun)
@@ -39,7 +40,7 @@
 typedef avuint  avgid_t;
 typedef avuquad avino_t;
 typedef avquad  avoff_t;
-typedef long    avtime_t;
+typedef time_t  avtime_t;
 typedef avuint  avsize_t;
 typedef int     avssize_t;
 typedef avulong avblksize_t;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/lib/Makefile.am new/avfs-1.2.0/lib/Makefile.am
--- old/avfs-1.1.5/lib/Makefile.am      2023-02-18 19:03:03.000000000 +0100
+++ new/avfs-1.2.0/lib/Makefile.am      2025-02-20 17:21:25.000000000 +0100
@@ -14,7 +14,7 @@
 ##     other symbols too
 ##     Possible solution: Also build a static library which doesn't get 
installed
 
-libavfs_la_LDFLAGS = @VERSIONSCRIPT_OPTS@ -version-info 0:2:0
+libavfs_la_LDFLAGS = @VERSIONSCRIPT_OPTS@ -version-info 1:0:0
 libavfs_la_LIBADD = ../src/libavfscore.la ../modules/libmodules.la @LIBZ@ 
@LIBBZ2@ @LIBDAV@
 libavfs_la_SOURCES = 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/missing new/avfs-1.2.0/missing
--- old/avfs-1.1.5/missing      2023-02-18 19:03:11.000000000 +0100
+++ new/avfs-1.2.0/missing      2025-02-20 17:21:43.000000000 +0100
@@ -1,9 +1,11 @@
 #! /bin/sh
-# Common wrapper for a few potentially missing GNU programs.
+# Common wrapper for a few potentially missing GNU and other programs.
 
-scriptversion=2018-03-07.03; # UTC
+scriptversion=2024-06-07.14; # UTC
 
-# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+# shellcheck disable=SC2006,SC2268 # we must support pre-POSIX shells
+
+# Copyright (C) 1996-2024 Free Software Foundation, Inc.
 # Originally written by Fran,cois Pinard <pin...@iro.umontreal.ca>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -54,18 +56,20 @@
   -v, --version   output version information and exit
 
 Supported PROGRAM values:
-  aclocal   autoconf  autoheader   autom4te  automake  makeinfo
-  bison     yacc      flex         lex       help2man
+aclocal autoconf autogen  autoheader autom4te automake autoreconf
+bison   flex     help2man lex        makeinfo perl     yacc
 
 Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
 'g' are ignored when checking the name.
 
-Send bug reports to <bug-autom...@gnu.org>."
+Report bugs to <bug-autom...@gnu.org>.
+GNU Automake home page: <https://www.gnu.org/software/automake/>.
+General help using GNU software: <https://www.gnu.org/gethelp/>."
     exit $?
     ;;
 
   -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
-    echo "missing $scriptversion (GNU Automake)"
+    echo "missing (GNU Automake) $scriptversion"
     exit $?
     ;;
 
@@ -108,7 +112,7 @@
 program_details ()
 {
   case $1 in
-    aclocal|automake)
+    aclocal|automake|autoreconf)
       echo "The '$1' program is part of the GNU Automake package:"
       echo "<$gnu_software_URL/automake>"
       echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
@@ -123,6 +127,9 @@
       echo "<$gnu_software_URL/m4/>"
       echo "<$perl_URL>"
       ;;
+    *)
+      :
+      ;;
   esac
 }
 
@@ -137,48 +144,55 @@
   printf '%s\n' "'$1' is $msg."
 
   configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
+  autoheader_deps="'acconfig.h'"
+  automake_deps="'Makefile.am'"
+  aclocal_deps="'acinclude.m4'"
   case $normalized_program in
+    aclocal*)
+      echo "You should only need it if you modified $aclocal_deps or"
+      echo "$configure_deps."
+      ;;
     autoconf*)
-      echo "You should only need it if you modified 'configure.ac',"
-      echo "or m4 files included by it."
-      program_details 'autoconf'
+      echo "You should only need it if you modified $configure_deps."
+      ;;
+    autogen*)
+      echo "You should only need it if you modified a '.def' or '.tpl' file."
+      echo "You may want to install the GNU AutoGen package:"
+      echo "<$gnu_software_URL/autogen/>"
       ;;
     autoheader*)
-      echo "You should only need it if you modified 'acconfig.h' or"
+      echo "You should only need it if you modified $autoheader_deps or"
       echo "$configure_deps."
-      program_details 'autoheader'
       ;;
     automake*)
-      echo "You should only need it if you modified 'Makefile.am' or"
-      echo "$configure_deps."
-      program_details 'automake'
-      ;;
-    aclocal*)
-      echo "You should only need it if you modified 'acinclude.m4' or"
+      echo "You should only need it if you modified $automake_deps or"
       echo "$configure_deps."
-      program_details 'aclocal'
       ;;
-   autom4te*)
+    autom4te*)
       echo "You might have modified some maintainer files that require"
       echo "the 'autom4te' program to be rebuilt."
-      program_details 'autom4te'
+      ;;
+    autoreconf*)
+      echo "You should only need it if you modified $aclocal_deps or"
+      echo "$automake_deps or $autoheader_deps or $automake_deps or"
+      echo "$configure_deps."
       ;;
     bison*|yacc*)
       echo "You should only need it if you modified a '.y' file."
       echo "You may want to install the GNU Bison package:"
       echo "<$gnu_software_URL/bison/>"
       ;;
-    lex*|flex*)
-      echo "You should only need it if you modified a '.l' file."
-      echo "You may want to install the Fast Lexical Analyzer package:"
-      echo "<$flex_URL>"
-      ;;
     help2man*)
       echo "You should only need it if you modified a dependency" \
            "of a man page."
       echo "You may want to install the GNU Help2man package:"
       echo "<$gnu_software_URL/help2man/>"
     ;;
+    lex*|flex*)
+      echo "You should only need it if you modified a '.l' file."
+      echo "You may want to install the Fast Lexical Analyzer package:"
+      echo "<$flex_URL>"
+      ;;
     makeinfo*)
       echo "You should only need it if you modified a '.texi' file, or"
       echo "any other file indirectly affecting the aspect of the manual."
@@ -189,6 +203,12 @@
       echo "want to install GNU make:"
       echo "<$gnu_software_URL/make/>"
       ;;
+    perl*)
+      echo "You should only need it to run GNU Autoconf, GNU Automake, "
+      echo "  assorted other tools, or if you modified a Perl source file."
+      echo "You may want to install the Perl 5 language interpreter:"
+      echo "<$perl_URL>"
+      ;;
     *)
       echo "You might have modified some files without having the proper"
       echo "tools for further handling them.  Check the 'README' file, it"
@@ -197,6 +217,7 @@
       echo "case some other package contains this missing '$1' program."
       ;;
   esac
+  program_details "$normalized_program"
 }
 
 give_advice "$1" | sed -e '1s/^/WARNING: /' \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/modules/extfs.c new/avfs-1.2.0/modules/extfs.c
--- old/avfs-1.1.5/modules/extfs.c      2023-02-18 19:03:03.000000000 +0100
+++ new/avfs-1.2.0/modules/extfs.c      2025-02-20 17:21:25.000000000 +0100
@@ -22,6 +22,7 @@
 #include "cache.h"
 #include "exit.h"
 #include "tmpfile.h"
+#include "operutil.h"
 
 #include <unistd.h>
 #include <fcntl.h>
@@ -38,6 +39,9 @@
 
 struct extfscacheentry {
     char *tmpfile;
+    avdev_t          basefile_dev;
+    avino_t          basefile_ino;
+    avtimestruc_t    basefile_mtime;
 };
 
 struct extfsfile {
@@ -322,15 +326,23 @@
     int fd;
     char *key;
     struct extfscacheentry *cent;
+    struct avstat basefile_stat;
     
     /* get key for extfscache */
     res = get_key_for_node(ve, fil, &key);
     if(res < 0)
         return res;
 
+    res = av_file_getattr(fil->basefile, &basefile_stat, AVA_MTIME | AVA_DEV | 
AVA_INO);
+    if (res < 0) return res;
+
     AV_LOCK(enod->lock);
     cent = av_cache2_get(key);
-    if (cent == NULL) {
+    if (cent == NULL ||
+        cent->basefile_dev != basefile_stat.dev ||
+        cent->basefile_ino != basefile_stat.ino ||
+        cent->basefile_mtime.sec != basefile_stat.mtime.sec ||
+        cent->basefile_mtime.nsec != basefile_stat.mtime.nsec) {
         char *tmpfile;
         avoff_t tmpsize;
 
@@ -352,6 +364,9 @@
        /* ...create an object to store tmpfile */
        AV_NEW_OBJ(cent, extfscacheentry_delete);
        cent->tmpfile = tmpfile;
+       cent->basefile_dev = basefile_stat.dev;
+       cent->basefile_ino = basefile_stat.ino;
+       cent->basefile_mtime = basefile_stat.mtime;
 
        /* put it in the extfscache */
        av_cache2_set(cent,key);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/modules/ugz.c new/avfs-1.2.0/modules/ugz.c
--- old/avfs-1.1.5/modules/ugz.c        2023-02-18 19:03:03.000000000 +0100
+++ new/avfs-1.2.0/modules/ugz.c        2025-02-20 17:21:25.000000000 +0100
@@ -139,6 +139,7 @@
         return -EIO;
     }
 
+    // gzips max time is Y2106
     nod->mtime = QBYTE(buf + 4);
   
     /* Ignore bytes 8 and 9 */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/modules/urar.c new/avfs-1.2.0/modules/urar.c
--- old/avfs-1.1.5/modules/urar.c       2023-02-18 19:03:03.000000000 +0100
+++ new/avfs-1.2.0/modules/urar.c       2025-02-20 17:21:25.000000000 +0100
@@ -686,6 +686,7 @@
     if (flags & RAR5_HEADER_FILE_HEADER_EXTRA_FILE_TIME_FLAGS_MTIME_PRESENT) {
         if (is_unix) {
             avuint mtime;
+            // unix timestamps are 32bit (Y2106)
             READ_UINT32(vf, &mtime, crc);
             ei->mtime.sec = mtime;
         } else {
@@ -698,6 +699,7 @@
     if (flags & RAR5_HEADER_FILE_HEADER_EXTRA_FILE_TIME_FLAGS_CTIME_PRESENT) {
         if (is_unix) {
             avuint ctime;
+            // unix timestamps are 32bit (Y2106)
             READ_UINT32(vf, &ctime, crc);
             ei->ctime.sec = ctime;
         } else {
@@ -710,6 +712,7 @@
     if (flags & RAR5_HEADER_FILE_HEADER_EXTRA_FILE_TIME_FLAGS_ATIME_PRESENT) {
         if (is_unix) {
             avuint atime;
+            // unix timestamps are 32bit (Y2106)
             READ_UINT32(vf, &atime, crc);
             ei->atime.sec = atime;
         } else {
@@ -722,16 +725,19 @@
     if (is_unix && (flags & 
RAR5_HEADER_FILE_HEADER_EXTRA_FILE_TIME_FLAGS_NSEC_PRECISION)) {
         if (flags & 
RAR5_HEADER_FILE_HEADER_EXTRA_FILE_TIME_FLAGS_MTIME_PRESENT) {
             avuint t;
+            // unix timestamps are 32bit (Y2106)
             READ_UINT32(vf, &t, crc);
             ei->mtime.nsec = t;
         }
         if (flags & 
RAR5_HEADER_FILE_HEADER_EXTRA_FILE_TIME_FLAGS_CTIME_PRESENT) {
             avuint t;
+            // unix timestamps are 32bit (Y2106)
             READ_UINT32(vf, &t, crc);
             ei->ctime.nsec = t;
         }
         if (flags & 
RAR5_HEADER_FILE_HEADER_EXTRA_FILE_TIME_FLAGS_ATIME_PRESENT) {
             avuint t;
+            // unix timestamps are 32bit (Y2106)
             READ_UINT32(vf, &t, crc);
             ei->atime.nsec = t;
         }
@@ -809,6 +815,8 @@
     /* uint32? mtime */
     if (file_flags & RAR5_HEADER_FILE_HEADER_FILE_FLAGS_UNIX_TIME_PRESENT) {
         avuint mtime;
+
+        // unix timestamps are 32bit (Y2106)
         READ_UINT32(vf, &mtime, crc);
 
         ei.mtime.sec = mtime;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/modules/uzip.c new/avfs-1.2.0/modules/uzip.c
--- old/avfs-1.1.5/modules/uzip.c       2023-02-18 19:03:03.000000000 +0100
+++ new/avfs-1.2.0/modules/uzip.c       2025-02-20 17:21:25.000000000 +0100
@@ -16,8 +16,8 @@
 #include "version.h"
 
 struct ecrec {
-    avushort this_disk;
-    avushort cdir_disk;
+    avuint this_disk;
+    avuint cdir_disk;
     avushort this_entries;
     avushort total_entries;
     avuint cdir_size;
@@ -90,7 +90,7 @@
     avushort fname_len;
     avushort extra_len;
     avushort comment_len;
-    avushort start_disk;
+    avuint start_disk;
     avushort int_attr;
     avuint attr;
     avuquad file_off;
@@ -453,6 +453,24 @@
                     pos += size;
                 }
             }
+
+            if(cent && (avushort)cent->start_disk == 0xffff) {
+                if(size >= 4) {
+                    char buf[4];
+                    int res = av_pread_all(vf, buf, 4, pos);
+
+                    if(res < 0) {
+                        return res;
+                    }
+
+                    cent->start_disk = QBYTE(buf);
+
+                    size -= 4;
+                    pos += 4;
+                } else {
+                    pos += size;
+                }
+            }
         } else {
             pos += size;
         }
@@ -591,7 +609,9 @@
         return ecdl_pos;
     }
 
-    if(ecdl->ecdir_disk != ecdl->ecd->this_disk) {
+    // unless disk is set to ffff in old header, it should be the same
+    // as in the extended header
+    if(ecdl->ecd->this_disk != 0xffff && ecdl->ecdir_disk != 
ecdl->ecd->this_disk) {
         return -EIO;
     }
 
@@ -643,6 +663,15 @@
         return 0;
     }
   
+    // overwrite some variables from zip64 header
+    if (ecrec->cdir_disk == 0xffff) {
+        ecrec->cdir_disk = z64_ecd.cdir_disk;
+    }
+
+    if (ecrec->this_disk == 0xffff) {
+        ecrec->this_disk = z64_ecd.this_disk;
+    }
+
     cdir_pos = z64_ecd.cdir_off + extra_bytes;
 
     for(nument = 0; nument < z64_ecd.total_entries; nument++) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/src/virtual.c new/avfs-1.2.0/src/virtual.c
--- old/avfs-1.1.5/src/virtual.c        2023-02-18 19:03:03.000000000 +0100
+++ new/avfs-1.2.0/src/virtual.c        2025-02-20 17:21:25.000000000 +0100
@@ -16,6 +16,7 @@
 #include <utime.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <stddef.h>
 
 static int oflags_to_avfs(int flags)
 {
@@ -203,8 +204,14 @@
 
 typedef struct {
     int fd;
-    struct dirent entry;
-    char _trail[NAME_MAX + 1];
+    union {
+        struct dirent entry;
+
+        /* some file systems (CIFS?) might return more then NAME_MAX bytes 
(for utf8 code points instead?). Since the
+           size of d_name can be anything between 0 and NAME_MAX, we carefully 
chose a value for extra space so it can
+           fit a dirent struct plus NAME_MAX utf8 code points */
+        char extra_name[ sizeof( struct dirent ) + 4 * NAME_MAX + 1];  
+    } data;
 } AVDIR;
 
 DIR *virt_opendir(const char *path)
@@ -268,21 +275,32 @@
     errno = errno_save;
 }
 
-#define AVFS_DIR_RECLEN 256 /* just an arbitary number */
-
-static void avdirent_to_dirent(struct dirent *ent, struct avdirent *avent,
-                              avoff_t n)
+static void avdirent_to_avdir(AVDIR *dp, const struct avdirent *avent,
+                              avoff_t n)
 {
+    struct dirent *ent = &dp->data.entry;
+    const avoff_t available_name_length_wo_null = sizeof( dp->data ) - 
offsetof( typeof( *ent ), d_name ) - 1;
+
+    /* use the union to access the name field at the correct offset
+       within the dirent struct (makes compiler happy since we
+       actually write beyond d_name[256] */
+    char *d_name = dp->data.extra_name;
+    d_name += offsetof( typeof( *ent ), d_name );
+
     ent->d_ino = avent->ino;
 #ifdef HAVE_D_OFF
-    ent->d_off = n * AVFS_DIR_RECLEN; 
+    /* d_off is not used so just make it unique */
+    ent->d_off = n * sizeof( *dp );
 #endif
-    ent->d_reclen = AVFS_DIR_RECLEN;
+
+    /* the record length might be larger than the dirent structure so
+       give the number including our trailing bytes */
+    ent->d_reclen = sizeof( *dp ) - offsetof( typeof( *dp ), data.entry );
 #ifdef HAVE_D_TYPE
     ent->d_type = avent->type;
 #endif
-    strncpy(ent->d_name, avent->name, NAME_MAX);
-    ent->d_name[NAME_MAX] = '\0';
+    strncpy(d_name, avent->name, available_name_length_wo_null);
+    d_name[available_name_length_wo_null] = '\0';
 }
 
 struct dirent *virt_readdir(DIR *dirp)
@@ -306,11 +324,11 @@
         return NULL;
     }
 
-    avdirent_to_dirent(&dp->entry, &buf, n);
+    avdirent_to_avdir(dp, &buf, n);
     av_free(buf.name);
 
     errno = errno_save;
-    return &dp->entry;
+    return &dp->data.entry;
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/test/Makefile.am new/avfs-1.2.0/test/Makefile.am
--- old/avfs-1.1.5/test/Makefile.am     2023-02-18 19:03:03.000000000 +0100
+++ new/avfs-1.2.0/test/Makefile.am     2025-02-20 17:21:25.000000000 +0100
@@ -1,4 +1,4 @@
-noinst_PROGRAMS = runtest testread gzip_multimember_test
+noinst_PROGRAMS = runtest testread testreaddir gzip_multimember_test
 
 AM_CFLAGS = -I$(top_srcdir)/include @CFLAGS@ @CPPFLAGS@
 
@@ -10,6 +10,10 @@
 testread_LDADD = ../lib/libavfs_static.la
 testread_SOURCES = testread.c
 
+testreaddir_LDFLAGS = @LDFLAGS@ @LIBS@
+testreaddir_LDADD = ../lib/libavfs_static.la
+testreaddir_SOURCES = testreaddir.c
+
 gzip_multimember_test_LDFLAGS = @LDFLAGS@ @LIBS@
 gzip_multimember_test_LDADD = ../lib/libavfs_static.la
 gzip_multimember_test_SOURCES = gzip_multimember_test.c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/avfs-1.1.5/test/testreaddir.c new/avfs-1.2.0/test/testreaddir.c
--- old/avfs-1.1.5/test/testreaddir.c   1970-01-01 01:00:00.000000000 +0100
+++ new/avfs-1.2.0/test/testreaddir.c   2025-02-20 17:21:25.000000000 +0100
@@ -0,0 +1,34 @@
+/* this is a very simple test tool for reading any file in an archive, just 
give the name as argument.
+ * This tool is not meant to be correct or a good example, it is pretty much 
only useful for debugging
+ * avfs.
+ */
+
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <unistd.h>
+#include <stdio.h>
+#include <virtual.h>
+#include <errno.h>
+#include <string.h>
+
+int main( int argc, char **argv )
+{
+    if ( argc < 2 ) {
+        return 0;
+    }
+
+    DIR *d = virt_opendir( argv[1] );
+    if ( d ) {
+        struct dirent *de;
+
+        while ( ( de = virt_readdir( d ) ) ) {
+            printf( "Dir entry: %s\n", de->d_name );
+        }
+
+        virt_closedir( d );
+    } else {
+        printf( "Could not open dir %s (%s)\n", argv[1], strerror( errno ) );
+    }
+    return 0;
+}

Reply via email to