Hello community, here is the log from the commit of package bindfs for openSUSE:Factory checked in at 2020-10-08 13:07:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bindfs (Old) and /work/SRC/openSUSE:Factory/.bindfs.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bindfs" Thu Oct 8 13:07:44 2020 rev:21 rq:839241 version:1.14.8 Changes: -------- --- /work/SRC/openSUSE:Factory/bindfs/bindfs.changes 2020-09-03 01:09:21.748371152 +0200 +++ /work/SRC/openSUSE:Factory/.bindfs.new.4249/bindfs.changes 2020-10-08 13:09:17.803015581 +0200 @@ -1,0 +2,6 @@ +Fri Oct 2 22:10:14 UTC 2020 - Jan Engelhardt <[email protected]> + +- Update to release 1.14.8 + * No user-visible changes (build system only) + +------------------------------------------------------------------- Old: ---- bindfs-1.14.7.tar.gz New: ---- bindfs-1.14.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bindfs.spec ++++++ --- /var/tmp/diff_new_pack.ZvMR1a/_old 2020-10-08 13:09:18.987016653 +0200 +++ /var/tmp/diff_new_pack.ZvMR1a/_new 2020-10-08 13:09:18.991016656 +0200 @@ -17,7 +17,7 @@ Name: bindfs -Version: 1.14.7 +Version: 1.14.8 Release: 0 Summary: Filesystem for mapping directories with alternate permissions License: GPL-2.0-or-later ++++++ bindfs-1.14.7.tar.gz -> bindfs-1.14.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindfs-1.14.7/ChangeLog new/bindfs-1.14.8/ChangeLog --- old/bindfs-1.14.7/ChangeLog 2020-05-13 19:39:26.000000000 +0200 +++ new/bindfs-1.14.8/ChangeLog 2020-09-23 21:37:56.000000000 +0200 @@ -1,3 +1,9 @@ +2020-09-23 Martin Pärtel <martin dot partel at gmail dot com> + + * Added missing include for "sys/file.h". + * Added flock copy-pasta needed by XCode 12 (issue #88). + * Released 1.14.8 + 2020-05-13 Martin Pärtel <martin dot partel at gmail dot com> * Fixed missing newlines bug with --map-passwd and --map-group diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindfs-1.14.7/config.h.in new/bindfs-1.14.8/config.h.in --- old/bindfs-1.14.7/config.h.in 2020-05-13 19:39:29.000000000 +0200 +++ new/bindfs-1.14.8/config.h.in 2020-09-23 21:37:59.000000000 +0200 @@ -57,6 +57,9 @@ /* Define to 1 if you have the <string.h> header file. */ #undef HAVE_STRING_H +/* Define to 1 if you have the <sys/file.h> header file. */ +#undef HAVE_SYS_FILE_H + /* Define to 1 if you have the <sys/stat.h> header file. */ #undef HAVE_SYS_STAT_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindfs-1.14.7/configure new/bindfs-1.14.8/configure --- old/bindfs-1.14.7/configure 2020-05-13 19:39:28.000000000 +0200 +++ new/bindfs-1.14.8/configure 2020-09-23 21:37:58.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for bindfs 1.14.7. +# Generated by GNU Autoconf 2.69 for bindfs 1.14.8. # # Report bugs to <[email protected]>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='bindfs' PACKAGE_TARNAME='bindfs' -PACKAGE_VERSION='1.14.7' -PACKAGE_STRING='bindfs 1.14.7' +PACKAGE_VERSION='1.14.8' +PACKAGE_STRING='bindfs 1.14.8' PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='' @@ -1340,7 +1340,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.14.7 to adapt to many kinds of systems. +\`configure' configures bindfs 1.14.8 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1411,7 +1411,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of bindfs 1.14.7:";; + short | recursive ) echo "Configuration of bindfs 1.14.8:";; esac cat <<\_ACEOF @@ -1531,7 +1531,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -bindfs configure 1.14.7 +bindfs configure 1.14.8 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1805,11 +1805,102 @@ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( $as_echo "## -------------------------------------- ## +## Report this to [email protected] ## +## -------------------------------------- ##" + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_mongrel cat >config.log <<_ACEOF 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.14.7, which was +It was created by bindfs $as_me 1.14.8, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2673,7 +2764,7 @@ # Define the identity of the package. PACKAGE='bindfs' - VERSION='1.14.7' + VERSION='1.14.8' cat >>confdefs.h <<_ACEOF @@ -11938,6 +12029,18 @@ # Checks for platform-specific stuff +for ac_header in sys/file.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_file_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SYS_FILE_H 1 +_ACEOF + +fi + +done + for ac_func in lutimes utimensat do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` @@ -12910,7 +13013,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.14.7, which was +This file was extended by bindfs $as_me 1.14.8, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -12976,7 +13079,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -bindfs config.status 1.14.7 +bindfs config.status 1.14.8 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindfs-1.14.7/configure.ac new/bindfs-1.14.8/configure.ac --- old/bindfs-1.14.7/configure.ac 2020-05-13 19:39:26.000000000 +0200 +++ new/bindfs-1.14.8/configure.ac 2020-09-23 21:37:56.000000000 +0200 @@ -1,4 +1,4 @@ -AC_INIT([bindfs],[1.14.7],[[email protected]]) +AC_INIT([bindfs],[1.14.8],[[email protected]]) AM_INIT_AUTOMAKE([foreign serial-tests]) AC_CONFIG_HEADERS([config.h]) @@ -32,6 +32,7 @@ AC_SUBST([my_LDFLAGS]) # Checks for platform-specific stuff +AC_CHECK_HEADERS([sys/file.h]) AC_CHECK_FUNCS([lutimes utimensat]) AC_CHECK_FUNCS([setxattr getxattr listxattr removexattr]) AC_CHECK_FUNCS([lsetxattr lgetxattr llistxattr lremovexattr]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindfs-1.14.7/src/bindfs.c new/bindfs-1.14.8/src/bindfs.c --- old/bindfs-1.14.7/src/bindfs.c 2020-05-13 19:39:26.000000000 +0200 +++ new/bindfs-1.14.8/src/bindfs.c 2020-09-23 21:37:56.000000000 +0200 @@ -57,6 +57,9 @@ #ifdef HAVE_SYS_STAT_H #include <sys/stat.h> #endif +#ifdef HAVE_SYS_FILE_H +#include <sys/file.h> +#endif #include <sys/time.h> #include <sys/statvfs.h> #include <sys/file.h> @@ -103,6 +106,13 @@ #define A_PREFIX "com" #define A_KAUTH_FILESEC_XATTR A_PREFIX ".apple.system.Security" #define XATTR_APPLE_PREFIX "com.apple." + +// Yes, Apple asks us to copy/paste these -.- +#define LOCK_SH 1 /* shared lock */ +#define LOCK_EX 2 /* exclusive lock */ +#define LOCK_NB 4 /* don't block when locking */ +#define LOCK_UN 8 /* unlock */ +int flock(int fd, int operation); #endif /* We pessimistically assume signed uid_t and gid_t in our overflow checks,
