From 2933df40982a496eb945f34a8691ba3b4a192249 Mon Sep 17 00:00:00 2001 From: Andrzej Zawadzki Date: Mon, 11 Apr 2005 09:37:25 +0000 Subject: [PATCH] - up to samba-vscan-0.3.6 Changed files: samba.spec -> 1.275 --- samba.spec | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/samba.spec b/samba.spec index ea16873..0523bd0 100644 --- a/samba.spec +++ b/samba.spec @@ -16,7 +16,7 @@ %if %{without krb5} || %{without ldap} %undefine with_ads %endif -%define vscan_version 0.3.5 +%define vscan_version 0.3.6 Summary: SMB server Summary(cs): Server SMB Summary(da): SMB server @@ -35,7 +35,7 @@ Summary(uk): SMB Summary(zh_CN): Samba ¿Í»§¶ËºÍ·þÎñÆ÷ Name: samba Version: 3.0.13 -Release: 1 +Release: 1.1 Epoch: 1 License: GPL v2 Group: Networking/Daemons @@ -48,7 +48,7 @@ Source4: %{name}.sysconfig Source5: %{name}.logrotate Source6: smb.conf Source7: http://dl.sourceforge.net/openantivirus/%{name}-vscan-%{vscan_version}.tar.bz2 -# Source7-md5: 5f173d549014985d681478897135915b +# Source7-md5: 68c9d099d942d85e68d96804b26ac788 Source8: winbind.init Source9: winbind.sysconfig Patch0: %{name}-statfs-workaround.patch @@ -673,6 +673,23 @@ VFS module to make automatic copy of data in samba share. %description vfs-shadow_copy -l pl Modu³ VFS do tworzenia automatycznych kopii danych w zasobach samby. +%package vfs-vscan-antivir +Summary: On-access virus scanning for samba using ClamAV +Summary(pl): Skaner antywirusowy online wykorzystuj±cy ClamAV +Group: Networking/Daemons +Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: clamav +Provides: %{name}-vscan = %{epoch}:%{version}-%{release} + +%description vfs-vscan-antivir +A vfs-module for samba to implement on-access scanning using the +AntiVir antivirus software (which must be installed to use this). + +%description vfs-vscan-antivir -l pl +Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie +dostêpu do plików korzystaj±c z oprogramowania antywirusowego AntiVir +(które musi byæ zainstalowane, aby wykorzystaæ ten modu³). + %package vfs-vscan-clamav Summary: On-access virus scanning for samba using ClamAV Summary(pl): Skaner antywirusowy online wykorzystuj±cy ClamAV @@ -970,7 +987,7 @@ install source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir} # vscan modules install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir} -install examples/VFS/samba-vscan-%{vscan_version}/{clamav,fprot,icap,kaspersky,mks,openantivirus,sophos,trend,f-secure,nai}/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba +install examples/VFS/samba-vscan-%{vscan_version}/{antivir,clamav,fprot,icap,kaspersky,mks,openantivirus,sophos,trend,f-secure,nai}/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba touch $RPM_BUILD_ROOT/var/lock/samba/{STATUS..LCK,wins.dat,browse.dat} @@ -1333,6 +1350,12 @@ fi %defattr(644,root,root,755) %attr(755,root,root) %{_vfsdir}/shadow_copy.so +%files vfs-vscan-antivir +%defattr(644,root,root,755) +#%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ} +%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-antivir.conf +%attr(755,root,root) %{_vfsdir}/vscan-antivir.so + %files vfs-vscan-clamav %defattr(644,root,root,755) #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ} -- 2.44.0