packages: proftpd/proftpd.spec, proftpd/proftpd-mod_clamav.conf (NEW) - add...
baggins
baggins at pld-linux.org
Wed Sep 15 14:05:16 CEST 2010
Author: baggins Date: Wed Sep 15 12:05:16 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- added example config for mod_clamav
---- Files affected:
packages/proftpd:
proftpd.spec (1.272 -> 1.273) , proftpd-mod_clamav.conf (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/proftpd/proftpd.spec
diff -u packages/proftpd/proftpd.spec:1.272 packages/proftpd/proftpd.spec:1.273
--- packages/proftpd/proftpd.spec:1.272 Wed Sep 15 13:55:40 2010
+++ packages/proftpd/proftpd.spec Wed Sep 15 14:05:07 2010
@@ -42,6 +42,7 @@
Source9: %{name}-mod_pam.conf
Source10: %{name}-mod_tls.conf
Source11: %{name}-anonftp.conf
+Source12: %{name}-mod_clamav.conf
Patch0: %{name}-paths.patch
Patch1: %{name}-noautopriv.patch
Patch2: %{name}-wtmp.patch
@@ -534,6 +535,7 @@
done
install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/mod_tls.conf
install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/anonftp.conf
+install %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/mod_clamav.conf
%{?with_pam:install %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/ftp}
install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/ftpd
@@ -649,6 +651,7 @@
%dir %attr(750,root,root) %{_sysconfdir}/conf.d
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_auth_file.conf
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_ident.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_clamav.conf
#%attr(640,root,root) %ghost /var/log/*
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_sbindir}/*
@@ -789,6 +792,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.273 2010/09/15 12:05:07 baggins
+- added example config for mod_clamav
+
Revision 1.272 2010/09/15 11:55:40 baggins
- up to 1.3.3b
- added mod_clamav (must be linked into server, does not pull external deps)
================================================================
Index: packages/proftpd/proftpd-mod_clamav.conf
diff -u /dev/null packages/proftpd/proftpd-mod_clamav.conf:1.1
--- /dev/null Wed Sep 15 14:05:16 2010
+++ packages/proftpd/proftpd-mod_clamav.conf Wed Sep 15 14:05:07 2010
@@ -0,0 +1,14 @@
+# Single system with both ProFTPd and Clamd utilizing Unix local sockets.
+#<IfModule mod_clamav.c>
+# ClamAV on
+# ClamLocalSocket /tmp/clamd
+#</IfModule>
+
+# Single system with both ProFTPd and Clamd utilizing TCP sockets.
+# Additionally, only files who's size is less than 250MB will be scanned.
+#<IfModule mod_clamav.c>
+# ClamAV on
+# ClamServer localhost
+# ClamPort 3310
+# ClamMaxSize 250 Mb
+#</IfModule>
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/proftpd/proftpd.spec?r1=1.272&r2=1.273&f=u
More information about the pld-cvs-commit
mailing list