Hello community, here is the log from the commit of package sshfs for openSUSE:Factory checked in at 2017-07-27 11:12:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sshfs (Old) and /work/SRC/openSUSE:Factory/.sshfs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "sshfs" Thu Jul 27 11:12:59 2017 rev:28 rq:512694 version:2.9 Changes: -------- --- /work/SRC/openSUSE:Factory/sshfs/sshfs.changes 2017-05-31 12:20:04.961516425 +0200 +++ /work/SRC/openSUSE:Factory/.sshfs.new/sshfs.changes 2017-07-27 11:13:42.277093877 +0200 @@ -1,0 +2,6 @@ +Mon Jul 24 08:58:45 UTC 2017 - mimi.vx@gmail.com + +- update to 2.9 +* various bugfixes + +------------------------------------------------------------------- Old: ---- sshfs-2.8.tar.gz New: ---- sshfs-2.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sshfs.spec ++++++ --- /var/tmp/diff_new_pack.GOT2it/_old 2017-07-27 11:13:43.052984278 +0200 +++ /var/tmp/diff_new_pack.GOT2it/_new 2017-07-27 11:13:43.056983713 +0200 @@ -17,13 +17,13 @@ Name: sshfs -Version: 2.8 +Version: 2.9 Release: 0 Summary: Filesystem client based on SSH file transfer protocol License: GPL-2.0+ Group: System/Filesystems Url: https://github.com/libfuse/sshfs -Source: https://github.com/libfuse/sshfs/releases/download/%{name}_%{version}/%{name}-%{version}.tar.gz +Source: https://github.com/libfuse/sshfs/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz BuildRequires: automake BuildRequires: fuse-devel BuildRequires: glib2-devel ++++++ sshfs-2.8.tar.gz -> sshfs-2.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sshfs-2.8/AUTHORS new/sshfs-2.9/AUTHORS --- old/sshfs-2.8/AUTHORS 2016-06-22 20:36:52.000000000 +0200 +++ new/sshfs-2.9/AUTHORS 2017-04-17 22:05:45.000000000 +0200 @@ -16,6 +16,8 @@ Alan Jenkins <alan.christopher.jenkins@gmail.com> Alexander Neumann <alexander@bumpern.de> Benjamin Fleischer <fleiben@gmail.com> +Berserker <berserker.troll@yandex.com> +Bill Zissimopoulos <billziss@navimatics.com> Chris Wolfe <cwolfe@chromium.org> gala <gala132@users.noreply.github.com> George Vlahavas <vlahavas@gmail.com> @@ -28,3 +30,4 @@ Percy Jahn <email@percyjahn.de> Qais Patankar <qaisjp@gmail.com> Rian Hunter <rian@alum.mit.edu> +Zoltan Kuscsik <zoltan.kuscsik@linaro.org> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sshfs-2.8/ChangeLog new/sshfs-2.9/ChangeLog --- old/sshfs-2.8/ChangeLog 2016-06-22 20:38:01.000000000 +0200 +++ new/sshfs-2.9/ChangeLog 2017-04-17 22:10:28.000000000 +0200 @@ -1,10 +1,16 @@ -Release 2.7 (2016-06-22) +Release 2.9 (2017-04-17) +------------------------ + +* Improved support for Cygwin. +* Various small bugfixes. + +Release 2.8 (2016-06-22) ------------------------ * Added support for the "fsync" extension. -* Fixed a build problem with bitbake +* Fixed a build problem with bitbake -Release 2.6 (2016-03-01) +Release 2.7 (2016-03-01) ------------------------ * Integrated osxfuse's copy of sshfs, which means that sshfs now works diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sshfs-2.8/Makefile.am new/sshfs-2.9/Makefile.am --- old/sshfs-2.8/Makefile.am 2016-02-11 17:04:13.000000000 +0100 +++ new/sshfs-2.9/Makefile.am 2017-04-17 22:03:50.000000000 +0200 @@ -24,7 +24,7 @@ $(AM_V_GEN)sed \ -e 's,__IDMAP_DEFAULT__,$(IDMAP_DEFAULT),g' \ -e 's,__UNMOUNT_COMMAND__,$(UNMOUNT_COMMAND),g' \ - <sshfs.1.in >sshfs.1.tmp || exit 1; \ + <$(srcdir)/sshfs.1.in >sshfs.1.tmp || exit 1; \ mv sshfs.1.tmp sshfs.1 if SSH_NODELAY_SO diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sshfs-2.8/Makefile.in new/sshfs-2.9/Makefile.in --- old/sshfs-2.8/Makefile.in 2016-06-22 20:38:27.000000000 +0200 +++ new/sshfs-2.9/Makefile.in 2017-04-17 22:10:59.000000000 +0200 @@ -938,7 +938,7 @@ $(AM_V_GEN)sed \ -e 's,__IDMAP_DEFAULT__,$(IDMAP_DEFAULT),g' \ -e 's,__UNMOUNT_COMMAND__,$(UNMOUNT_COMMAND),g' \ - <sshfs.1.in >sshfs.1.tmp || exit 1; \ + <$(srcdir)/sshfs.1.in >sshfs.1.tmp || exit 1; \ mv sshfs.1.tmp sshfs.1 @SSH_NODELAY_SO_TRUE@all-local: sshnodelay.so diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sshfs-2.8/configure new/sshfs-2.9/configure --- old/sshfs-2.8/configure 2016-06-22 20:38:27.000000000 +0200 +++ new/sshfs-2.9/configure 2017-04-17 22:10:59.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for sshfs 2.8. +# Generated by GNU Autoconf 2.69 for sshfs 2.9. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -576,8 +576,8 @@ # Identity of this package. PACKAGE_NAME='sshfs' PACKAGE_TARNAME='sshfs' -PACKAGE_VERSION='2.8' -PACKAGE_STRING='sshfs 2.8' +PACKAGE_VERSION='2.9' +PACKAGE_STRING='sshfs 2.9' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1253,7 +1253,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 sshfs 2.8 to adapt to many kinds of systems. +\`configure' configures sshfs 2.9 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1324,7 +1324,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of sshfs 2.8:";; + short | recursive ) echo "Configuration of sshfs 2.9:";; esac cat <<\_ACEOF @@ -1423,7 +1423,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -sshfs configure 2.8 +sshfs configure 2.9 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1591,7 +1591,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by sshfs $as_me 2.8, which was +It was created by sshfs $as_me 2.9, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2564,7 +2564,7 @@ # Define the identity of the package. PACKAGE='sshfs' - VERSION='2.8' + VERSION='2.9' cat >>confdefs.h <<_ACEOF @@ -4642,7 +4642,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by sshfs $as_me 2.8, which was +This file was extended by sshfs $as_me 2.9, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4708,7 +4708,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -sshfs config.status 2.8 +sshfs config.status 2.9 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/sshfs-2.8/configure.ac new/sshfs-2.9/configure.ac --- old/sshfs-2.8/configure.ac 2016-06-22 20:38:21.000000000 +0200 +++ new/sshfs-2.9/configure.ac 2017-04-17 22:05:56.000000000 +0200 @@ -1,4 +1,4 @@ -AC_INIT(sshfs, 2.8) +AC_INIT(sshfs, 2.9) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE([foreign subdir-objects]) AM_CONFIG_HEADER(config.h) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sshfs-2.8/sshfs.1 new/sshfs-2.9/sshfs.1 --- old/sshfs-2.8/sshfs.1 2016-03-01 17:47:27.000000000 +0100 +++ new/sshfs-2.9/sshfs.1 2017-04-17 22:13:13.000000000 +0200 @@ -141,8 +141,6 @@ .TP \fB\-o\fR directport=PORT directly connect to PORT bypassing ssh -\fB\-o\fR slave -communicate over stdin and stdout bypassing network .TP \fB\-o\fR slave communicate over stdin and stdout bypassing network diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sshfs-2.8/sshfs.1.in new/sshfs-2.9/sshfs.1.in --- old/sshfs-2.8/sshfs.1.in 2016-02-11 17:04:14.000000000 +0100 +++ new/sshfs-2.9/sshfs.1.in 2017-04-17 22:03:50.000000000 +0200 @@ -141,8 +141,6 @@ .TP \fB\-o\fR directport=PORT directly connect to PORT bypassing ssh -\fB\-o\fR slave -communicate over stdin and stdout bypassing network .TP \fB\-o\fR slave communicate over stdin and stdout bypassing network diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sshfs-2.8/sshfs.c new/sshfs-2.9/sshfs.c --- old/sshfs-2.8/sshfs.c 2016-06-08 17:42:12.000000000 +0200 +++ new/sshfs-2.9/sshfs.c 2017-04-17 22:03:50.000000000 +0200 @@ -11,7 +11,9 @@ #include <fuse.h> #include <fuse_opt.h> +#if !defined(__CYGWIN__) #include <fuse_lowlevel.h> +#endif #ifdef __APPLE__ # include <fuse_darwin.h> #endif @@ -3949,9 +3951,6 @@ if (!realpath(*exec_path, sshfs_program_path)) { memset(sshfs_program_path, 0, PATH_MAX); } - - /* Until this gets fixed somewhere else. */ - g_slice_set_config(G_SLICE_CONFIG_ALWAYS_MALLOC, TRUE); #endif /* __APPLE__ */ g_thread_init(NULL); @@ -3996,6 +3995,14 @@ parse_workarounds() == -1) exit(1); +#if FUSE_VERSION >= 29 + // These workarounds require the "path" argument. + if (sshfs.truncate_workaround || sshfs.fstat_workaround) { + sshfs_oper.oper.flag_nullpath_ok = 0; + sshfs_oper.oper.flag_nopath = 0; + } +#endif + if (sshfs.idmap == IDMAP_USER) sshfs.detect_uid = 1; else if (sshfs.idmap == IDMAP_FILE) { @@ -4108,7 +4115,9 @@ char *mountpoint; int multithreaded; int foreground; +#if !defined(__CYGWIN__) struct stat st; +#endif res = fuse_parse_cmdline(&args, &mountpoint, &multithreaded, &foreground); @@ -4120,20 +4129,26 @@ foreground = 1; } +#if !defined(__CYGWIN__) res = stat(mountpoint, &st); if (res == -1) { perror(mountpoint); exit(1); } sshfs.mnt_mode = st.st_mode; +#elif defined(__CYGWIN__) + sshfs.mnt_mode = S_IFDIR | 0755; +#endif ch = fuse_mount(mountpoint, &args); if (!ch) exit(1); +#if !defined(__CYGWIN__) res = fcntl(fuse_chan_fd(ch), F_SETFD, FD_CLOEXEC); if (res == -1) perror("WARNING: failed to set FD_CLOEXEC on fuse device"); +#endif sshfs.op = cache_init(&sshfs_oper); fuse = fuse_new(ch, &args, sshfs.op,