rpms/fuse/devel fuse-README.fedora, 1.2, 1.3 fuse-makedev.d-fuse, 1.2, 1.3 fuse-mount.fuse.patch, 1.2, 1.3 fuse-udev.nodes, 1.2, 1.3 fuse-udev_rules.patch, 1.2, 1.3 fuse.spec, 1.3, 1.4 README.z88sdk, 1.1, NONE fuse-sound.patch, 1.1, NONE fuse.png, 1.1, NONE

Thorsten Leemhuis (thl) fedora-extras-commits at redhat.com
Sun Jan 15 10:16:27 UTC 2006


Author: thl

Update of /cvs/extras/rpms/fuse/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv866

Added Files:
	fuse-README.fedora fuse-makedev.d-fuse fuse-mount.fuse.patch 
	fuse-udev.nodes fuse-udev_rules.patch fuse.spec 
Removed Files:
	README.z88sdk fuse-sound.patch fuse.png 
Log Message:
revert back to fuse (the filesystem) 2.4.2-2 ; pfj overwrote is accidentally (second part)


Index: fuse-README.fedora
===================================================================
RCS file: fuse-README.fedora
diff -N fuse-README.fedora
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ fuse-README.fedora	15 Jan 2006 10:16:27 -0000	1.3
@@ -0,0 +1,17 @@
+This fuse package for security reasons only allows members of the group "fuse"
+to (u)mount fuse filesystems. If you for example want to allow the user "foo" 
+to mount fuse filesystems you have to add him to the fuse group by running
+
+# /usr/sbin/usermod -a -G fuse foo
+
+Or use tools like "system-config-users" to add user "foo" to the fuse group.
+
+Note that the user has to re-login after he was added to the group.
+
+
+If you don't want to add all users to the fuse group you can also run
+
+# chmod 4755 /usr/bin/fusermount
+
+to allow everyone to mount fuse filesystems. You have to re-run that command
+after each fuse update.


Index: fuse-makedev.d-fuse
===================================================================
RCS file: fuse-makedev.d-fuse
diff -N fuse-makedev.d-fuse
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ fuse-makedev.d-fuse	15 Jan 2006 10:16:27 -0000	1.3
@@ -0,0 +1 @@
+c 660 root     fuse      10 229  1   1 fuse

fuse-mount.fuse.patch:

Index: fuse-mount.fuse.patch
===================================================================
RCS file: fuse-mount.fuse.patch
diff -N fuse-mount.fuse.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ fuse-mount.fuse.patch	15 Jan 2006 10:16:27 -0000	1.3
@@ -0,0 +1,23 @@
+diff -u util.org/mount.fuse util/mount.fuse
+--- util.org/mount.fuse	2005-11-02 20:52:12.000000000 +0100
++++ util/mount.fuse	2005-11-02 20:59:51.000000000 +0100
+@@ -5,6 +5,7 @@
+ # Thanks to Miklos Szeredi <miklos at szeredi.hu>
+ # to kick me to the right way
+ #
++export PATH
+ 
+ VERSION="0.0.1"
+ PRGNAME=`basename $0`
+@@ -40,9 +41,9 @@
+ shift
+ shift
+ 
+-OPTIONS="$@"
++# If there is a better regex that can remove all user from a sting like "-o user,rw,noexec,user,nosuid,nodev,user" tell me, thx
++OPTIONS="`echo $@ | sed 's|,user$|| ; s| user,| | ; s|,user,|,|'`"
+ 
+-export PATH
+ ${FSTYPE} ${MOUNTPATH} ${MOUNTPOINT} ${OPTIONS}
+ 
+ 


Index: fuse-udev.nodes
===================================================================
RCS file: fuse-udev.nodes
diff -N fuse-udev.nodes
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ fuse-udev.nodes	15 Jan 2006 10:16:27 -0000	1.3
@@ -0,0 +1 @@
+fuse

fuse-udev_rules.patch:

Index: fuse-udev_rules.patch
===================================================================
RCS file: fuse-udev_rules.patch
diff -N fuse-udev_rules.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ fuse-udev_rules.patch	15 Jan 2006 10:16:27 -0000	1.3
@@ -0,0 +1,6 @@
+diff -u util.org/udev.rules util/udev.rules
+--- util.org/udev.rules	2005-11-03 19:38:05.000000000 +0100
++++ util/udev.rules	2005-11-03 19:38:13.000000000 +0100
+@@ -1 +1 @@
+-KERNEL="fuse", NAME="%k", MODE="0666"
++KERNEL="fuse", NAME="%k", MODE="0660",OWNER="root" GROUP="fuse"


Index: fuse.spec
===================================================================
RCS file: fuse.spec
diff -N fuse.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ fuse.spec	15 Jan 2006 10:16:27 -0000	1.4
@@ -0,0 +1,140 @@
+Name:           fuse
+Version:        2.4.2
+Release:        2%{?dist}
+Summary:        File System in Userspace (FUSE) utilities
+
+Group:          System Environment/Base
+License:        GPL
+URL:            http://fuse.sf.net
+Source0:        http://dl.sourceforge.net/sourceforge/fuse/fuse-2.4.2.tar.gz
+Source1:	fuse-udev.nodes
+Source2:	fuse-makedev.d-fuse
+Source3:	fuse-README.fedora
+
+Patch0:		fuse-mount.fuse.patch
+Patch1:		fuse-udev_rules.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:	kernel >= 2.6.14
+Requires(pre):	  %{_sbindir}/groupadd
+Requires(post):   /sbin/MAKEDEV
+Requires(postun): %{_sbindir}/groupdel
+
+%description
+With FUSE it is possible to implement a fully functional filesystem in a 
+userspace program. This package contains the FUSE userspace tools to 
+mount a FUSE filesystem.
+
+Note: For security reasons only members of the group "fuse" are allowed to
+(u)mount fuse filesystems. You can find more details on this issue in
+%{_docdir}/%{name}-%{version}/README.fedora
+
+
+%package libs
+Summary:        File System in Userspace (FUSE) libraries
+Group:          System Environment/Libraries
+License:        LGPL
+
+%description libs
+Devel With FUSE it is possible to implement a fully functional filesystem in a 
+userspace program. This package contains the FUSE libraries. 
+
+
+%package devel
+Summary:        File System in Userspace (FUSE) devel files
+Group:          Development/Libraries
+Requires:	%{name}-libs = %{version}-%{release}
+License:        LGPL
+
+%description devel
+With FUSE it is possible to implement a fully functional filesystem in a 
+userspace program. This package contains development files (headers, 
+pgk-config) to develop FUSE based applications/filesystems.
+
+
+%prep
+%setup -q
+#disable device creation during build/install
+sed -i 's|mknod|echo Disabled: mknod |g' util/Makefile.in
+%patch0 -b .patch0
+%patch1 -b .patch1
+cp %{SOURCE3} README.fedora
+
+%build
+%configure \
+ --disable-static \
+ --disable-kernel-module 
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
+install -D -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/udev/makedev.d/40-fuse.nodes
+install -D -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/makedev.d/z-fuse
+# change from 4755 to 0755 to allow stripping -- fixed later in files
+chmod 0755 $RPM_BUILD_ROOT/%{_bindir}/fusermount
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%pre 
+if [ $1 -eq 1 ]; then
+     %{_sbindir}/groupadd -r fuse &>/dev/null || :
+fi
+
+%post
+/sbin/MAKEDEV fuse
+
+%postun 
+if [ $1 = 0 ]; then
+ %{_sbindir}/groupdel fuse || :
+fi
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+
+%files
+%doc AUTHORS ChangeLog COPYING FAQ Filesystems NEWS README README.NFS README.fedora
+/sbin/mount.fuse
+%attr(4754,root,fuse) %{_bindir}/fusermount
+%{_sysconfdir}/makedev.d/z-fuse
+%{_sysconfdir}/udev/rules.d/40-fuse.rules
+%{_sysconfdir}/udev/makedev.d/40-fuse.nodes
+
+%files libs
+%doc COPYING.LIB
+%{_libdir}/libfuse.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libfuse.so
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/fuse.h
+%{_includedir}/fuse
+
+%changelog
+* Wed Nov 23 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.2-1
+- Use dist
+
+* Wed Nov 23 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.2-1
+- Update to 2.4.2 (solves CVE-2005-3531)
+- Update README.fedora
+
+* Sat Nov 12 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.1-3
+- Add README.fedora
+- Add hint to README.fedora and that you have to be member of the group "fuse"
+  in the description
+- Use groupadd instead of fedora-groupadd
+
+* Fri Nov 04 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.1-2
+- Rename packages a bit
+- use makedev.d/40-fuse.nodes
+- fix /sbin/mount.fuse
+- Use a fuse group to restict access to fuse-filesystems
+
+* Fri Oct 28 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.1-1
+- Initial RPM release.


--- README.z88sdk DELETED ---


--- fuse-sound.patch DELETED ---




More information about the fedora-extras-commits mailing list