--- rpms/smeserver-shared-folders/contribs7/smeserver-shared-folders.spec 2012/02/18 00:23:03 1.67 +++ rpms/smeserver-shared-folders/contribs7/smeserver-shared-folders.spec 2012/03/01 21:44:31 1.70 @@ -1,4 +1,4 @@ -# $Id: smeserver-shared-folders.spec,v 1.66 2012/02/17 17:25:22 vip-ire Exp $ +# $Id: smeserver-shared-folders.spec,v 1.69 2012/02/18 20:38:39 vip-ire Exp $ # Authority: vip-ire # Name: Daniel Berteaud @@ -6,7 +6,7 @@ Summary: sme server shared folders modul %define name smeserver-shared-folders Name: %{name} %define version 0.1 -%define release 64 +%define release 67 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -92,6 +92,9 @@ Patch75: smeserver-shared-folders-0.1-us Patch76: smeserver-shared-folders-0.1-fixe_users_locale.patch Patch77: smeserver-shared-folders-0.1-http_remove_ro_from_rw.patch Patch78: smeserver-shared-folders-0.1-http_template_cleanup.patch +Patch79: smeserver-shared-folders-0.1-fix_root_users_acl.patch +Patch80: smeserver-shared-folders-0.1-locale-2012-02-18.patch +Patch81: smeserver-shared-folders-0.1-rsyncd.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch @@ -110,6 +113,16 @@ This module allows you to create network with more flexibility than ibays as it supports ACLs %changelog +* Thu Mar 01 2012 Daniel Berteaud 0.1-67.sme +- Add rsyncd support + +* Sat Feb 18 2012 Daniel Berteaud 0.1-66.sme +- Fix bg locale + +* Sat Feb 18 2012 Daniel Berteaud 0.1-65.sme +- Fix root ACL for users +- Apply locale 2012-02-18 patch + * Sat Feb 18 2012 Daniel Berteaud 0.1-64.sme - In http access, remove ro users from rw list - templates cleanup @@ -423,8 +436,14 @@ with more flexibility than ibays as it s %patch76 -p1 %patch77 -p1 %patch78 -p1 +%patch79 -p1 +%patch80 -p1 +%patch81 -p1 %pre +/usr/sbin/useradd -c "Rsyncd User" \ + -s /sbin/nologin -r -d /dev/null rsync 2> /dev/null || : + %post %build @@ -432,6 +451,7 @@ with more flexibility than ibays as it s mkdir -p root/etc/e-smith/web/{common,functions} mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html} mkdir -p root/home/e-smith/files/shares +mkdir -p root/var/log/rsyncd perl createlinks @@ -441,6 +461,9 @@ rm -rf $RPM_BUILD_ROOT /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ --file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ --file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ + --file /var/service/rsyncd/run 'attr(0755,root,root)' \ + --file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ + --dir /var/log/rsyncd 'attr(0770,root,smelog)' \ > %{name}-%{version}-%{release}-filelist echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist