Author: japhy                        Date: Sun Aug 27 17:36:34 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Add group fuse (gid 84), chmod fusermout to 4750 root:fuse

---- Files affected:
SPECS:
   libfuse.spec (1.63 -> 1.64) 

---- Diffs:

================================================================
Index: SPECS/libfuse.spec
diff -u SPECS/libfuse.spec:1.63 SPECS/libfuse.spec:1.64
--- SPECS/libfuse.spec:1.63     Sat Aug 19 17:03:35 2006
+++ SPECS/libfuse.spec  Sun Aug 27 19:36:29 2006
@@ -11,7 +11,7 @@
 %undefine      with_smp
 %endif
 #
-%define                _rel    5
+%define                _rel    6
 Summary:       Filesystem in Userspace
 Summary(pl):   System plików w przestrzeni użytkownika
 Name:          libfuse
@@ -34,6 +34,9 @@
 %endif
 BuildRequires: libtool
 BuildRequires: sed >= 4.0
+Requires(pre): /usr/bin/getgid
+Requires(pre): /usr/sbin/groupadd
+Requires(postun):      /usr/sbin/groupdel
 Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %if %{without kernel}
@@ -222,8 +225,15 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%pre
+%groupadd -g 84 fuse
+
 %post  -p /sbin/ldconfig
-%postun        -p /sbin/ldconfig
+%postun        
+/sbin/ldconfig
+if [ "$1" == "0" ] ; then
+    %groupremove fuse
+fi
 
 %post -n kernel-misc-fuse
 %depmod %{_kernel_ver}
@@ -242,7 +252,7 @@
 %defattr(644,root,root,755)
 %doc README NEWS ChangeLog AUTHORS doc/*
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fuse.conf
-%attr(755,root,root) %{_bindir}/fusermount
+%attr(4750,root,fuse) %{_bindir}/fusermount
 %attr(755,root,root) /sbin/mount.fuse
 %attr(755,root,root) %{_libdir}/libfuse.so.*.*.*
 
@@ -276,6 +286,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.64  2006/08/27 17:36:29  japhy
+- Add group fuse (gid 84), chmod fusermout to 4750 root:fuse
+
 Revision 1.63  2006/08/19 15:03:35  qboosh
 - libfuse is not Kernel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libfuse.spec?r1=1.63&r2=1.64&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to