Monday 10 March 2003 21.44 skrev Buchan Milne:
> Oden Eriksson wrote:
> > Monday 10 March 2003 17.43 skrev Buchan Milne:
> >>Can you just try make -f Makefile.KAV4 in
> >>BUILD/samba-2.2.7a/samba-vscan-0.3.1/kaspersky ? If that does not work I
> >>must try it myself some time ...
> >
> > Working with it, but the sucker takes a very long time to build
> > (samba)...
>
> Yes ... I normally run it overnight ...
>
> > I've gotten to a point where the kav module builds,
>
> Cool!
Yihaa! Now it built ok. Attached is a spec file patch.
But..., right now I cannot test if the module actually works..., or I don't
know how to test it without accessing it from windoze. I can test it later
tonight or tomorrow.
Chears.
--
Regards // Oden Eriksson, Deserve-IT.com
--- samba.spec 2003-03-04 17:24:00.000000000 +0100
+++ samba.spec.oden 2003-03-10 22:16:17.000000000 +0100
@@ -1,6 +1,6 @@
%define ver 2.2.7a
-%define rel 6mdk
-%define vscanver 0.3.1
+%define rel 7mdk
+%define vscanver 0.3.2a
# 2.2.4 and 1 replace by samba-team at release
%define pversion PVERSION
@@ -181,6 +181,7 @@
Source7: README.%{name}-mandrake-rpm
%if %build_vscan
Source8: samba-vscan-%{vscanver}.tar.bz2
+Source9: samba-vscan-%{vscanver}.tar.bz2.asc
%endif
Source10: samba-print-pdf.sh.bz2
Patch1: smbw.patch.bz2
@@ -442,6 +443,8 @@
Group: System/Servers
Requires: samba = %{version}
Provides: samba-vscan
+# this doen't seem to take for some damn reason...
+# BuildRequires: %{_libdir}/libkavdc.so
Autoreq: 0
%description vscan-kaspersky
A vfs-module for samba to implement on-access scanning using the
@@ -656,7 +659,11 @@
%endif
%if %build_kaspersky
echo "Building Kaspersky"
-(cd %{vfsdir}/%{vscandir}/kaspersky;make)
+(mv %{vfsdir}/%{vscandir}/kaspersky %{vfsdir}/%{vscandir}/kavp
+ cd %{vfsdir}/%{vscandir}/kavp
+ perl -p -i -e "s|/usr/local/|/usr/|g" Makefile.KAV4
+ make -f Makefile.KAV4
+)
%endif
%if %build_mks
echo "Building mks"
@@ -730,7 +737,7 @@
cp %{vfsdir}/%{vscandir}/$av/vscan-$av*.so \
$RPM_BUILD_ROOT%{_libdir}/samba/vfs/
cp %{vfsdir}/%{vscandir}/$av/vscan-$av*.conf \
- $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+ $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/
fi
done
@@ -1372,7 +1379,7 @@
%defattr(-,root,root)
%{_libdir}/samba/vfs/vscan-kavp.so
%config(noreplace) %{_sysconfdir}/%{name}/vscan-kavp.conf
-%doc %{vfsdir}/%{vscandir}/examples.bin/VFS/kaspersky/INSTALL
+%doc %{vfsdir}/%{vscandir}/TODO
%endif
%if %build_mks
@@ -1416,6 +1423,10 @@
%endif
%changelog
+* Mon Mar 10 2003 Oden Eriksson <[EMAIL PROTECTED]> 2.2.7a-7mdk
+- samba-vscan-0.3.2a
+- fix the kaspersky build routines
+
* Tue Mar 04 2003 Sylvestre Taburet <[EMAIL PROTECTED]> 2.2.7a-6mdk
- fix uploading print drivers for Till (--Buchan):
- use printcap = cups, make adm group printer admins for non-winbind (inline)