Hello community,

here is the log from the commit of package fuse.3808 for openSUSE:13.1:Update 
checked in at 2015-06-05 11:40:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/fuse.3808 (Old)
 and      /work/SRC/openSUSE:13.1:Update/.fuse.3808.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fuse.3808"

Changes:
--------
New Changes file:

--- /dev/null   2015-05-15 19:41:08.266053825 +0200
+++ /work/SRC/openSUSE:13.1:Update/.fuse.3808.new/fuse.changes  2015-06-05 
11:40:07.000000000 +0200
@@ -0,0 +1,452 @@
+-------------------------------------------------------------------
+Fri May 22 09:38:26 UTC 2015 - [email protected]
+
+- Update to version 2.9.4
+  - fix exec environment for mount and umount (bsc#931452,
+    CVE-2015-3202)
+  - properly restore the default signal handler
+  - fix directory file handle passed to        ioctl() method.
+  - fix for uids/gids larger than 2147483647
+  - initialize stat buffer passed to ->getattr() and ->fgetattr()
+
+-------------------------------------------------------------------
+Wed Jul 24 17:53:36 CEST 2013 - [email protected]
+
+- Update to version 2.9.3
+  - Bug fixes
+- Remove fuse-gnu_source.patch (fixed upstream)
+
+-------------------------------------------------------------------
+Sun Jun 16 07:40:22 UTC 2013 - [email protected]
+
+- add aarch64-build-fix.patch 
+
+-------------------------------------------------------------------
+Wed Mar 27 06:59:31 UTC 2013 - [email protected]
+
+- Added url as source.
+  Please see http://en.opensuse.org/SourceUrls
+
+-------------------------------------------------------------------
+Tue Mar 26 16:27:22 UTC 2013 - [email protected]
+
+- fix build for SLE_11 
+
+-------------------------------------------------------------------
+Fri Mar  8 13:36:12 UTC 2013 - [email protected]
+
+- Use autoreconf directly instead of makeconf.sh
+
+-------------------------------------------------------------------
+Mon Mar  4 15:04:08 UTC 2013 - [email protected]
+
+- Update to version 2.9.2
+  - Add support for fallocate() (kernel >= 3.5)
+  - Bug fixes
+- Remove fix-pthread-in-fuse.pc.patch; now included in upstream
+- Don't patch generated files such as configure and Makefile.in;
+  instead, regenerate them using makeconf.sh from SVN repository
+
+-------------------------------------------------------------------
+Sat Feb  2 18:50:24 UTC 2013 - [email protected]
+
+- update license to new format
+
+-------------------------------------------------------------------
+Mon Jul  2 07:38:49 UTC 2012 - [email protected]
+
+- avoid autoreconf to avoid breaking on updates of auto* tools
+
+-------------------------------------------------------------------
+Sat May 26 16:14:26 UTC 2012 - [email protected]
+
+- Remove redundant tags/sections from specfile
+- Parallel build with %_smp_mflags
+- Trim list of FUSE fses from description (it's literally endless)
+  and text inappropraite for subpackages
+
+-------------------------------------------------------------------
+Wed May 16 17:52:11 CEST 2012 - [email protected]
+
+- Fix -pthread in fuse.pc [bnc#761117]
+
+-------------------------------------------------------------------
+Thu Apr 26 19:31:47 UTC 2012 - [email protected]
+
+- place binaries in /usr tree (UsrMerge project)
+
+-------------------------------------------------------------------
+Sun Apr 22 10:31:21 UTC 2012 - [email protected]
+
+- update to 2.9.0 
+  - Add "zero copy" support for kernel 2.6.35 or newer
+  - Make maximum background requests tunable on kernel 2.6.32 or
+    newer
+  - Require --no-canonicalize in (u)mount (util-linux version 2.18
+    or newer) to fix security problems with fusermount
+  - Use dynamically sized hash tables in high level library
+  - Memory use of filesystem daemon can shrink more easily
+  - Add "auto_unmount" option
+  - Add "remember" option
+  - Add man pages for fusermount, mount.fuse and ulockmgr_server
+  - API changes:
+     - Introduce "store" and "retrieve" for accessing kernel
+       buffers on kernel 2.6.36 or newer
+     - Introduce abstract buffer for zero copy operations
+     - Allow path calculation to be omitted on certain operations
+     - Allow batching forget requests
+     - Add "flock" method
+     - Add support for ioctl on directories
+     - Add delete notification
+- drop fuse-pc-remove-libdir-from-Libs.diff (upstream)
+
+-------------------------------------------------------------------
+Wed Jan 25 19:57:36 CET 2012 - [email protected]
+
+- use %set_permissions instead of %run_permissions in specfile
+
+-------------------------------------------------------------------
+Wed Jan 25 19:11:44 CET 2012 - [email protected]
+
+- compile /bin/fusermount as a position independent executable
+  [bnc#743155]
+
+-------------------------------------------------------------------
+Wed Jan 25 18:32:49 CET 2012 - [email protected]
+
+- update to 2.8.7
+  * fix ambiguous symbol version for fuse_chan_new
+  * prevent calling ulockmgr_server with illegal arguments
+  * fix hang in wait_on_path()
+
+-------------------------------------------------------------------
+Thu Nov  3 13:15:39 CET 2011 - [email protected]
+
+- handle case of failure to allocate request [bnc#723616]
+
+-------------------------------------------------------------------
+Sat Oct  1 05:39:08 UTC 2011 - [email protected]
+
+- add libtool as buildrequire to make the spec file more reliable
+
+-------------------------------------------------------------------
+Mon Sep 26 21:50:37 CEST 2011 - [email protected]
+
+- enabling libulockmgr
+
+-------------------------------------------------------------------
+Mon Aug 29 20:48:16 UTC 2011 - [email protected]
+
+- Must define _GNU_SOURCE to get clone()  system call.
+
+-------------------------------------------------------------------
+Mon Mar 21 16:43:59 UTC 2011 - [email protected]
+
+- licenses package is about to die
+
+-------------------------------------------------------------------
+Thu Feb 17 17:51:15 CET 2011 - [email protected]
+
+- In case of failure to add to /etc/mtab don't umount. [bnc#668820]
+  [CVE-2011-0541]
+
+-------------------------------------------------------------------
+Tue Nov 16 16:16:04 CET 2010 - [email protected]
+
+- Fix symlink attack for mount and umount [bnc#651598]
+
+-------------------------------------------------------------------
+Wed Oct 27 15:34:16 CEST 2010 - [email protected]
+
+- Remove /etc/init.d/boot.fuse [bnc#648843]
+
+-------------------------------------------------------------------
+Tue Sep 28 11:52:41 CEST 2010 - [email protected]
+
+- update to 2.8.5
+  * fix option escaping for fusermount [bnc#641480]
+
+-------------------------------------------------------------------
+Wed Apr 28 09:26:51 CEST 2010 - [email protected]
+
+- keep examples and internal docs in devel package (from jnweiger)
+
+-------------------------------------------------------------------
+Mon Apr 26 15:39:52 CEST 2010 - [email protected]
+
+- update to 2.8.4
+  * fix checking for symlinks in umount from /tmp
+  * fix umounting if /tmp is a symlink
+
+-------------------------------------------------------------------
+Tue Feb  2 13:08:09 CET 2010 - [email protected]
+
+- update to 2.8.3
+  * fix unmounting with util-linux version >= 2.17
+
+-------------------------------------------------------------------
+Wed Jan 27 10:06:13 CET 2010 - [email protected]
+
+- update to 2.8.2
+  * fix unmount race (CVE-2009-3297)
+  * fix deadlock with "audit" subsystem on mount (also requires
+    util-linux-ng version >=2.17)
+
+-------------------------------------------------------------------
+Wed Jan  6 15:14:33 CET 2010 - [email protected]
+
++++ 255 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:13.1:Update/.fuse.3808.new/fuse.changes

New:
----
  aarch64-build-fix.patch
  baselibs.conf
  fuse-2.9.4.tar.gz
  fuse-install-fix.diff
  fuse.changes
  fuse.rpmlintrc
  fuse.spec
  fusermount-compile-as-pie.patch

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

Other differences:
------------------
++++++ fuse.spec ++++++
#
# spec file for package fuse
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           fuse
Summary:        User space File System
License:        GPL-2.0+ and LGPL-2.1+
Group:          System/Filesystems
Version:        2.9.4
Release:        0
# http://downloads.sf.net/fuse/fuse-%%version.tar.gz
Source:         
http://downloads.sourceforge.net/project/fuse/fuse-2.X/%{version}/%{name}-%{version}.tar.gz
Source2:        fuse.rpmlintrc
Source3:        baselibs.conf
Patch:          fuse-install-fix.diff
Patch3:         fusermount-compile-as-pie.patch
Patch4:         aarch64-build-fix.patch
Url:            http://fuse.sourceforge.net
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1130
Requires:       util-linux >= 2.18
%else
Requires:       util-linux(fake+no-canonicalize)
%endif
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libtool
BuildRequires:  pkgconfig
%if 0%{?suse_version} >= 1000
Supplements:    filesystem(fuse)
%endif
PreReq:         permissions

%description
With FUSE, a user space program can export a file system through the
kernel-default (Linux kernel).

User space file systems which are implemented using FUSE are provided
by the following packages:

- curlftpfs (mount FTP servers),

- encfs (layered file encryption),

- fuseiso (mount iso, img, bin, mdf and nrg CD-ROM images),

- fusepod (mount iPods),

- fusesmb (mount a fully browseable network neighborhood),

- gphotofs (mount gphoto-supported cameras),

- ntfs-3g (mount NTFS volumes read-write),

- obexfs (mount of bluetooth devices),

- sshfs (mount over ssh),

- wdfs (mount of WebDAV shares)

This package contains the mount binaries for fuse (might not be needed
by some FUSE filesystems like ntfs-3g) and the documentation for FUSE.

After installing fuse-devel, administrators can compile and install
other user space file systems which can be found at
http://fuse.sourceforge.net/wiki

%package -n libulockmgr1
Summary:        Library of FUSE, the User space File System for GNU/Linux and 
BSD
Group:          System/Filesystems

%description -n libulockmgr1
With FUSE, a user space program can export a file system through the
kernel-default (Linux kernel).

%package -n libfuse2
Summary:        Library of FUSE, the User space File System for GNU/Linux and 
BSD
Group:          System/Filesystems

%description -n libfuse2
With FUSE, a user space program can export a file system through the
kernel-default (Linux kernel).

A FUSE file system which only needs libfuse2 is ntfs-3g, other FUSE
file systems might need the fuse package in addition to have fusermount
and /sbin/mount.fuse.

After installing fuse-devel, administrators can compile and install
other user space file systems which can be found at
http://fuse.sourceforge.net/wiki

%package devel
Summary:        Development package for FUSE (userspace filesystem) modules
Group:          Development/Languages/C and C++
Requires:       fuse = %{version}
Requires:       glibc-devel
Requires:       libfuse2 = %{version}
Requires:       libulockmgr1 = %{version}

%description devel
This package contains all include files, libraries and configuration
files needed to develop programs that use the fuse (FUSE) library to
implement kernel-default (Linux) file systems in user space.

With fuse-devel, administrators can compile and install other user
space file systems which can be found at
http://fuse.sourceforge.net/wiki

%package devel-static
Summary:        Development package for FUSE (userspace filesystem) modules
Group:          Development/Languages/C and C++
Requires:       fuse-devel = %{version}
Provides:       fuse-devel:%{_libdir}/libfuse.a

%description devel-static
This package contains all include files, libraries and configuration
files needed to develop programs that use the fuse (FUSE) library to
implement kernel-default (Linux) file systems in user space.

With fuse-devel, administrators can compile and install other user
space file systems which can be found at
http://fuse.sourceforge.net/wiki

%prep
%setup -q
%patch -p1
%patch3 -p1
%patch4

%build
export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing"
export MOUNT_FUSE_PATH=%{_sbindir}
autoreconf -fi
%configure --with-pic \
    --with-pkgconfigdir=%{_libdir}/pkgconfig \
    --enable-lib \
    --enable-util \
    --enable-example
make %{?_smp_mflags}

%install
%makeinstall
rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/init.d
# Needed for OpenSUSE buildservice
%if %suse_version <= 1020
install -m644 -D util/udev.rules 
$RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/99-fuse.rules
%endif
%{__rm} -f %{buildroot}%{_libdir}/*.la
# not needed for fuse, might reappar in separate package:
%{__rm} -f %{buildroot}/%{_libdir}/libulockmgr.a
#UsrMerge
mkdir $RPM_BUILD_ROOT/sbin
mkdir $RPM_BUILD_ROOT/%{_lib}
%{__ln_s} -v %{_sbindir}/mount.fuse $RPM_BUILD_ROOT/sbin
pushd $RPM_BUILD_ROOT/%{_libdir}
for libname in $(ls *.so.*);do
%{__ln_s} -v /%{_libdir}/$libname %{buildroot}/%{_lib}
done
popd
#EndUsrMerge

(cd example && %{__make} clean)
%{__rm} -rf example/.deps example/Makefile.am example/Makefile.in
%{__rm} -rf doc/Makefile.am doc/Makefile.in doc/Makefile

%post
%if 0%{?suse_version} >= 1140
%set_permissions %{_bindir}/fusermount
%else
%run_permissions
%endif
%verifyscript
%verify_permissions -e %{_bindir}/fusermount

%post -n libfuse2 -p /sbin/ldconfig

%postun -n libfuse2 -p /sbin/ldconfig

%post -n libulockmgr1 -p /sbin/ldconfig

%postun -n libulockmgr1 -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog FAQ NEWS README* COPYING*
%if %suse_version <= 1020
%dir %{_sysconfdir}/udev
%dir %{_sysconfdir}/udev/rules.d
%{_sysconfdir}/udev/rules.d/99-fuse.rules
%endif
%verify(not mode) %attr(4750,root,trusted) %{_bindir}/fusermount
#UsrMerge
/sbin/mount.fuse
#EndUsrMerge
%{_sbindir}/mount.fuse
%{_bindir}/ulockmgr_server
%{_mandir}/man1/fusermount.1.*
%{_mandir}/man1/ulockmgr_server.1.*
%{_mandir}/man8/mount.fuse.8.*

%files -n libfuse2
%defattr(-,root,root)
#UsrMerge
/%{_lib}/libfuse.so.2*
#EndUsrMerge
%{_libdir}/libfuse.so.2*

%files -n libulockmgr1
%defattr(-,root,root)
#UsrMerge
/%{_lib}/libulockmgr.so.*
#EndUsrMerge
%{_libdir}/libulockmgr.so.*

%files devel
%defattr(-,root,root)
%doc example doc
%{_libdir}/libfuse.so
%{_libdir}/libulockmgr.so
%{_includedir}/fuse.h
%{_includedir}/fuse
%{_libdir}/pkgconfig/*.pc
%{_includedir}/ulockmgr.h

%files devel-static
%defattr(-,root,root)
%{_libdir}/libfuse.a

%changelog
++++++ aarch64-build-fix.patch ++++++
--- include/fuse_kernel.h
+++ include/fuse_kernel.h
@@ -85,12 +85,7 @@
 #ifndef _LINUX_FUSE_H
 #define _LINUX_FUSE_H
 
-#include <sys/types.h>
-#define __u64 uint64_t
-#define __s64 int64_t
-#define __u32 uint32_t
-#define __s32 int32_t
-#define __u16 uint16_t
+#include <linux/types.h>
 
 /*
  * Version negotiation:
++++++ baselibs.conf ++++++
libfuse2
++++++ fuse-install-fix.diff ++++++
--- fuse-2.9.2.orig/util/Makefile.am    2012-07-19 07:33:49.000000000 -0500
+++ fuse-2.9.2/util/Makefile.am 2013-03-04 09:23:23.000000000 -0600
@@ -20,14 +20,6 @@
 ulockmgr_server_CPPFLAGS = -D_FILE_OFFSET_BITS=64 -D_REENTRANT 
 ulockmgr_server_LDFLAGS = -pthread
 
-install-exec-hook:
-       -chmod u+s $(DESTDIR)$(bindir)/fusermount
-       @if test ! -e $(DESTDIR)/dev/fuse; then \
-               $(MKDIR_P) $(DESTDIR)/dev; \
-               echo "mknod $(DESTDIR)/dev/fuse -m 0666 c 10 229 || true"; \
-               mknod $(DESTDIR)/dev/fuse -m 0666 c 10 229 || true; \
-       fi
-
 EXTRA_DIST = udev.rules init_script
 
 MOUNT_FUSE_PATH = @MOUNT_FUSE_PATH@
@@ -39,14 +31,8 @@
        $(INSTALL_PROGRAM) $(builddir)/mount.fuse 
$(DESTDIR)$(MOUNT_FUSE_PATH)/mount.fuse
        $(MKDIR_P) $(DESTDIR)$(INIT_D_PATH)
        $(INSTALL_SCRIPT) $(srcdir)/init_script $(DESTDIR)$(INIT_D_PATH)/fuse
-       @if test -x /usr/sbin/update-rc.d; then \
-               echo "/usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || 
true"; \
-               /usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true; 
\
-       fi
 
 install-data-local:
-       $(MKDIR_P) $(DESTDIR)$(UDEV_RULES_PATH)
-       $(INSTALL_DATA) $(srcdir)/udev.rules 
$(DESTDIR)$(UDEV_RULES_PATH)/99-fuse.rules
 
 uninstall-local:
        rm -f $(DESTDIR)$(MOUNT_FUSE_PATH)/mount.fuse
++++++ fuse.rpmlintrc ++++++
# This line is mandatory to access the configuration functions
from Config import *

# rpmlint message:
# Your package contains a /etc/init.d scrip")
# a start dependency that is not behind $remote_fs, while it apparently
# needs $remote_fs dependency due to files being packaged under /usr.
#
# /usr/bin/fusermount is only needed when normal users want to mount,
# otherwise everything else is outside of /usr, so it can be localfs:
#
addFilter("fuse non-remote_fs-dependency")

# Everything moved away, so it got small but the docs are not huge:
addFilter("fuse package-with-huge-docs")
++++++ fusermount-compile-as-pie.patch ++++++
Index: fuse-2.9.0/util/Makefile.am
===================================================================
--- fuse-2.9.0.orig/util/Makefile.am    2012-07-02 09:27:27.057828998 +0200
+++ fuse-2.9.0/util/Makefile.am 2012-07-02 09:28:25.920068349 +0200
@@ -10,6 +10,8 @@ noinst_PROGRAMS = mount.fuse
 # copying it over.
 fusermount_SOURCES = fusermount.c mount_util.c
 fusermount_CPPFLAGS = -I$(top_srcdir)/lib
+fusermount_CFLAGS =  -fPIE $(AM_CFLAGS)
+fusermount_LDFLAGS = -pie $(AM_LDFLAGS)
 BUILT_SOURCES = mount_util.c
 mount_util.c: $(top_srcdir)/lib/mount_util.c
        @cp $(top_srcdir)/lib/mount_util.c .

Reply via email to