Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bindfs for openSUSE:Factory checked in at 2023-07-05 15:30:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bindfs (Old) and /work/SRC/openSUSE:Factory/.bindfs.new.23466 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bindfs" Wed Jul 5 15:30:23 2023 rev:26 rq:1096673 version:1.17.3 Changes: -------- --- /work/SRC/openSUSE:Factory/bindfs/bindfs.changes 2023-03-09 17:45:30.242832557 +0100 +++ /work/SRC/openSUSE:Factory/.bindfs.new.23466/bindfs.changes 2023-07-05 15:30:27.982532959 +0200 @@ -1,0 +2,6 @@ +Mon Jun 26 20:15:22 UTC 2023 - Avindra Goolcharan <avin...@opensuse.org> + +- update to 1.17.3: + * Added MacOS statfs_x implementation + +------------------------------------------------------------------- Old: ---- bindfs-1.17.2.tar.gz New: ---- bindfs-1.17.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bindfs.spec ++++++ --- /var/tmp/diff_new_pack.DDRvXL/_old 2023-07-05 15:30:28.758537562 +0200 +++ /var/tmp/diff_new_pack.DDRvXL/_new 2023-07-05 15:30:28.762537586 +0200 @@ -17,16 +17,15 @@ Name: bindfs -Version: 1.17.2 +Version: 1.17.3 Release: 0 Summary: Filesystem for mapping directories with alternate permissions License: GPL-2.0-or-later Group: System/Filesystems URL: https://bindfs.org/ - #Git-Clone: https://github.com/mpartel/bindfs Source: https://bindfs.org/downloads/%name-%version.tar.gz -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(fuse3) >= 3.10.2 %description @@ -48,6 +47,6 @@ %doc ChangeLog %license COPYING %_bindir/%name -%_mandir/man1/%name.1%ext_man +%_mandir/man1/%name.1%{?ext_man} %changelog ++++++ bindfs-1.17.2.tar.gz -> bindfs-1.17.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindfs-1.17.2/ChangeLog new/bindfs-1.17.3/ChangeLog --- old/bindfs-1.17.2/ChangeLog 2023-02-08 06:47:18.000000000 +0100 +++ new/bindfs-1.17.3/ChangeLog 2023-06-03 09:55:22.000000000 +0200 @@ -1,3 +1,9 @@ +2023-06-03 Martin Pärtel <martin dot partel at gmail dot com> + + * Added MacOS statfs_x implementation (issue #130, + thanks @ohayetechnology) + * Released 1.17.3 + 2023-02-08 Martin Pärtel <martin dot partel at gmail dot com> * Released 1.17.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindfs-1.17.2/configure new/bindfs-1.17.3/configure --- old/bindfs-1.17.2/configure 2023-02-08 06:47:20.000000000 +0100 +++ new/bindfs-1.17.3/configure 2023-06-03 09:55:24.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for bindfs 1.17.2. +# Generated by GNU Autoconf 2.71 for bindfs 1.17.3. # # Report bugs to <martin.par...@gmail.com>. # @@ -621,8 +621,8 @@ # Identity of this package. PACKAGE_NAME='bindfs' PACKAGE_TARNAME='bindfs' -PACKAGE_VERSION='1.17.2' -PACKAGE_STRING='bindfs 1.17.2' +PACKAGE_VERSION='1.17.3' +PACKAGE_STRING='bindfs 1.17.3' PACKAGE_BUGREPORT='martin.par...@gmail.com' PACKAGE_URL='' @@ -1372,7 +1372,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures bindfs 1.17.2 to adapt to many kinds of systems. +\`configure' configures bindfs 1.17.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1443,7 +1443,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of bindfs 1.17.2:";; + short | recursive ) echo "Configuration of bindfs 1.17.3:";; esac cat <<\_ACEOF @@ -1570,7 +1570,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -bindfs configure 1.17.2 +bindfs configure 1.17.3 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1788,7 +1788,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by bindfs $as_me 1.17.2, which was +It was created by bindfs $as_me 1.17.3, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -3058,7 +3058,7 @@ # Define the identity of the package. PACKAGE='bindfs' - VERSION='1.17.2' + VERSION='1.17.3' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -14163,7 +14163,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by bindfs $as_me 1.17.2, which was +This file was extended by bindfs $as_me 1.17.3, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14231,7 +14231,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -bindfs config.status 1.17.2 +bindfs config.status 1.17.3 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindfs-1.17.2/configure.ac new/bindfs-1.17.3/configure.ac --- old/bindfs-1.17.2/configure.ac 2023-02-08 06:47:18.000000000 +0100 +++ new/bindfs-1.17.3/configure.ac 2023-06-03 09:55:22.000000000 +0200 @@ -1,4 +1,4 @@ -AC_INIT([bindfs],[1.17.2],[martin.par...@gmail.com]) +AC_INIT([bindfs],[1.17.3],[martin.par...@gmail.com]) AM_INIT_AUTOMAKE([foreign serial-tests]) AC_CONFIG_HEADERS([config.h]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindfs-1.17.2/src/bindfs.1 new/bindfs-1.17.3/src/bindfs.1 --- old/bindfs-1.17.2/src/bindfs.1 2023-02-08 06:47:18.000000000 +0100 +++ new/bindfs-1.17.3/src/bindfs.1 2023-06-03 09:55:22.000000000 +0200 @@ -431,10 +431,11 @@ Only works on Linux. Ignored on other platforms. + .SH FUSE OPTIONS + .TP -.B \-o \fIoptions -Fuse options. +See \fBfuse\fP(8) for the full list of FUSE options. Some of the more common ones are mentioned below. .TP .B \-r, \-o ro @@ -597,5 +598,5 @@ .SH SEE ALSO -\fBchmod\fP(1), \fBfusermount\fP(1), \fBhttp://bindfs.org/\fP +\fBchmod\fP(1), \fBfusermount\fP(1), \fBfuse\fP(8), \fBhttp://bindfs.org/\fP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindfs-1.17.2/src/bindfs.c new/bindfs-1.17.3/src/bindfs.c --- old/bindfs-1.17.2/src/bindfs.c 2023-02-08 06:47:18.000000000 +0100 +++ new/bindfs-1.17.3/src/bindfs.c 2023-06-03 09:55:22.000000000 +0200 @@ -321,6 +321,9 @@ void *data); #endif static int bindfs_statfs(const char *path, struct statvfs *stbuf); +#if __APPLE__ +static int bindfs_statfs_x(const char *path, struct statfs *stbuf); +#endif static int bindfs_release(const char *path, struct fuse_file_info *fi); static int bindfs_fsync(const char *path, int isdatasync, struct fuse_file_info *fi); @@ -1434,6 +1437,25 @@ return 0; } +#if __APPLE__ +static int bindfs_statfs_x(const char *path, struct statfs *stbuf) +{ + int res; + char *real_path; + + real_path = process_path(path, true); + if (real_path == NULL) + return -errno; + + res = statfs(real_path, stbuf); + free(real_path); + if (res == -1) + return -errno; + + return 0; +} +#endif + static int bindfs_release(const char *path, struct fuse_file_info *fi) { (void) path; @@ -1672,6 +1694,9 @@ .ioctl = bindfs_ioctl, #endif .statfs = bindfs_statfs, +#ifdef __APPLE__ + .statfs_x = bindfs_statfs_x, +#endif .release = bindfs_release, .fsync = bindfs_fsync, #ifdef HAVE_SETXATTR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindfs-1.17.2/src/permchain.c new/bindfs-1.17.3/src/permchain.c --- old/bindfs-1.17.2/src/permchain.c 2023-02-08 06:47:18.000000000 +0100 +++ new/bindfs-1.17.3/src/permchain.c 2023-06-03 09:55:22.000000000 +0200 @@ -230,10 +230,11 @@ while (pc != NULL) { #if BINDFS_DEBUG - if (pc->op == 'o') + if (pc->op == 'o') { DPRINTF("STAT MODE: %o, op = %c %o", tgtmode, pc->op, pc->mode.as_octal); - else + } else if (pc->op != '\0') { DPRINTF("STAT MODE: %o, op = %c%s", tgtmode, pc->op, pc->mode.as_operands); + } #endif if (pc->op == '\0') {