[svn] r5394 - in trunk/rpms: . dkms-fuse fuse fuse-encfs fuse-obexfs fuse-sshfs

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Sat May 12 08:03:41 CEST 2007


Author: dag
Date: 2007-05-12 08:03:39 +0200 (Sat, 12 May 2007)
New Revision: 5394

Added:
   trunk/rpms/fuse-encfs/
   trunk/rpms/fuse-encfs/fuse-encfs.spec
   trunk/rpms/fuse-obexfs/
   trunk/rpms/fuse-obexfs/fuse-obexfs.spec
   trunk/rpms/fuse-sshfs/
   trunk/rpms/fuse-sshfs/fuse-sshfs.spec
   trunk/rpms/fuse/
   trunk/rpms/fuse/fuse.spec
Modified:
   trunk/rpms/dkms-fuse/dkms-fuse.spec
Log:
Updates

Modified: trunk/rpms/dkms-fuse/dkms-fuse.spec
===================================================================
--- trunk/rpms/dkms-fuse/dkms-fuse.spec	2007-05-12 04:15:05 UTC (rev 5393)
+++ trunk/rpms/dkms-fuse/dkms-fuse.spec	2007-05-12 06:03:39 UTC (rev 5394)
@@ -1,6 +1,6 @@
 # $Id$
 # Authority: matthias
-# ExclusiveDist: el4
+# ExclusiveDist: el4 el5
 # Dist: nodist
 
 Summary: Linux kernel module for FUSE (Filesystem in USErspace)

Added: trunk/rpms/fuse/fuse.spec
===================================================================
--- trunk/rpms/fuse/fuse.spec	                        (rev 0)
+++ trunk/rpms/fuse/fuse.spec	2007-05-12 06:03:39 UTC (rev 5394)
@@ -0,0 +1,163 @@
+# $Id$
+# Authority: dag
+
+%{?dist: %{expand: %%define %dist 1}}
+
+%{?el3:%define _without_udev 1}
+%{?rh9:%define _without_udev 1}
+
+Summary: File System in Userspace (FUSE) utilities
+Name: fuse
+Version: 2.6.3
+Release: 1
+License: GPL
+Group: System Environment/Base
+URL: http://fuse.sourceforge.net/
+
+Source: http://dl.sourceforge.net/sourceforge/fuse/fuse-%{version}.tar.gz
+Patch: fuse-udev_rules.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+Requires(pre): %{_sbindir}/groupadd
+%{!?_without_udev:Requires(post): /sbin/MAKEDEV}
+Requires(postun): %{_sbindir}/groupdel
+Provides: fuse-libs = %{version}-%{release}
+Obsoletes: fuse-libs <= %{version}-%{release}
+
+%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.
+
+%package devel
+Summary: Header files, libraries and development documentation for %{name}.
+Group: Development/Libraries
+License: LGPL
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+This package contains the header files, static libraries and development
+documentation for %{name}. If you like to develop programs using %{name},
+you will need to install %{name}-devel.
+
+%prep
+%setup
+%{__perl} -pi.orig -e '
+		s|chown root|echo chown root|;
+		s|mknod|echo mknod|;
+	' util/Makefile.in
+%patch0 -b .patch0
+
+%{__cat} <<EOF >README.security
+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.
+EOF
+
+%{__cat} <<EOF >fuse-makedev.d-fuse
+c 660 root     fuse      10 229  1   1 fuse
+EOF
+
+%{__cat} <<EOF >fuse-udev.nodes
+fuse
+EOF
+
+%build
+### Kernel module is part of dkms-fuse
+%configure \
+	--disable-static \
+	--disable-kernel-module 
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+%if %{!?_without_udev:1}0
+%{__install} -Dp -m0644 fuse-udev.nodes %{buildroot}%{_sysconfdir}/udev/makedev.d/99-fuse.nodes
+%{__install} -Dp -m0644 fuse-makedev.d-fuse %{buildroot}%{_sysconfdir}/makedev.d/z-fuse
+%else
+mkdir -p %{buildroot}/dev/
+touch %{buildroot}/dev/fuse
+%endif
+
+### 4755 -> 0755 to enable stripping
+%{__chmod} 0755 %{buildroot}%{_bindir}/fusermount
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%pre 
+if [ $1 -eq 1 ]; then
+	%{_sbindir}/groupadd -r fuse &>/dev/null || :
+fi
+
+%post
+%if %{!?_without_udev:1}0
+/sbin/MAKEDEV fuse
+%else
+mknod -m0600 /dev/fuse c 10 229
+chown root:fuse /dev/fuse
+%endif
+/sbin/ldconfig
+
+%postun 
+if [ $1 -eq 0 ]; then
+	%{_sbindir}/groupdel fuse || :
+fi
+/sbin/ldconfig
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING COPYING.LIB FAQ Filesystems NEWS README README.NFS README.security
+%config %{_sysconfdir}/init.d/fuse
+%if %{!?_without_udev:1}0
+%dir %{_sysconfdir}/udev/
+%dir %{_sysconfdir}/udev/rules.d/
+%config %{_sysconfdir}/udev/rules.d/99-fuse.rules
+%dir %{_sysconfdir}/makedev.d/
+%{_sysconfdir}/makedev.d/z-fuse
+%dir %{_sysconfdir}/udev/
+%dir %{_sysconfdir}/udev/makedev.d/
+%{_sysconfdir}/udev/makedev.d/99-fuse.nodes
+%else
+%ghost /dev/fuse
+%exclude %{_sysconfdir}/udev/rules.d/99-fuse.rules
+%endif
+/sbin/mount.fuse
+%{_bindir}/ulockmgr_server
+%{_libdir}/libfuse.so.*
+%{_libdir}/libulockmgr.so.*
+
+%defattr(4754, root, fuse, 0755)
+%{_bindir}/fusermount
+
+%files devel
+%defattr(-, root, root, 0755)
+%exclude %{_libdir}/libfuse.la
+%exclude %{_libdir}/libulockmgr.la
+%{_libdir}/libfuse.so
+%{_libdir}/libulockmgr.so
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/fuse.h
+%{_includedir}/ulockmgr.h
+%{_includedir}/fuse/
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 2.6.3-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/fuse/fuse.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/fuse-encfs/fuse-encfs.spec
===================================================================
--- trunk/rpms/fuse-encfs/fuse-encfs.spec	                        (rev 0)
+++ trunk/rpms/fuse-encfs/fuse-encfs.spec	2007-05-12 06:03:39 UTC (rev 5394)
@@ -0,0 +1,59 @@
+# $Id$
+# Authority: dag
+
+%define real_name encfs
+
+Summary: Encrypted pass-thru filesystem in userspace
+Name: fuse-encfs
+Version: 1.3.2
+Release: 1
+License: GPL
+Group: System Environment/Kernel
+URL: http://arg0.net/wiki/encfs/
+
+Source: http://arg0.net/vgough/download/encfs-%{version}-1.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: openssl-devel, fuse-devel >= 2.2, rlog-devel >= 1.3
+Requires: fuse >= 2.2
+
+Obsoletes: encfs <= %{name}-%{version}
+Provides: encfs = %{name}-%{version}
+
+%description
+EncFS implements an encrypted filesystem in userspace using FUSE. FUSE
+provides a Linux kernel module which allows virtual filesystems to be written
+in userspace. EncFS encrypts all data and filenames in the filesystem and
+passes access through to the underlying filesystem. Similar to CFS except that
+it does not use NFS. 
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%configure \
+	--disable-static
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+%find_lang %{real_name}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files -f %{real_name}.lang
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING README
+%doc %{_mandir}/man1/*
+%{_bindir}/*
+%{_libdir}/libencfs.so*
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 1.3.2-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/fuse-encfs/fuse-encfs.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/fuse-obexfs/fuse-obexfs.spec
===================================================================
--- trunk/rpms/fuse-obexfs/fuse-obexfs.spec	                        (rev 0)
+++ trunk/rpms/fuse-obexfs/fuse-obexfs.spec	2007-05-12 06:03:39 UTC (rev 5394)
@@ -0,0 +1,48 @@
+# $Id$
+# Authority: dag
+
+%define real_name obexfs
+
+Summary: FUSE based filesystem using ObexFTP
+Name: fuse-obexfs
+Version: 0.8
+Release: 1
+License: GPL
+Group: System Environment/Kernel
+URL: http://dev.zuckschwerdt.org/openobex/wiki/ObexFs/
+
+Source: http://downloads.sourceforge.net/openobex/obexfs-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: fuse-devel >= 2.2, libobexftp-devel >= 0.19
+Requires: fuse >= 2.2, libobexftp >= 0.19
+
+Obsoletes: obexfs <= %{name}-%{version}
+Provides: obexfs = %{name}-%{version}
+
+%description
+ObexFS is a FUSE based filesystem using ObexFTP.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%configure
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
+%{_bindir}/obexfs
+%{_bindir}/obexautofs
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 0.8-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/fuse-obexfs/fuse-obexfs.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/fuse-sshfs/fuse-sshfs.spec
===================================================================
--- trunk/rpms/fuse-sshfs/fuse-sshfs.spec	                        (rev 0)
+++ trunk/rpms/fuse-sshfs/fuse-sshfs.spec	2007-05-12 06:03:39 UTC (rev 5394)
@@ -0,0 +1,51 @@
+# $Id$
+# Authority: dag
+
+%define real_name sshfs-fuse
+
+Summary: FUSE-Filesystem to access remote filesystems via SSH
+Name: fuse-sshfs
+Version: 1.7
+Release: 1
+License: GPL
+Group: System Environment/Base
+URL: http://fuse.sourceforge.net/sshfs.html
+
+Source: http://dl.sf.net/sourceforge/fuse/sshfs-fuse-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: glib2-devel >= 2.0, fuse-devel >= 2.2
+Requires: fuse >= 2.2
+
+Obsoletes: sshfs <= %{version}-%{release}
+Provides: sshfs = %{version}-%{release}
+
+%description
+This is a FUSE-filesystem client based on the SSH File Transfer Protocol.
+Since most SSH servers already support this protocol it is very easy to set
+up: i.e. on the server side there's nothing to do. On the client side 
+mounting the filesystem is as easy as logging into the server with ssh.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%configure
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING NEWS README
+%{_bindir}/sshfs
+%{_libdir}/sshnodelay.so
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 1.7-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/fuse-sshfs/fuse-sshfs.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native




More information about the commits mailing list