head	1.3;
access;
symbols
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2006.02.19.13.18.08;	author ehaupt;	state dead;
branches;
next	1.2;

1.2
date	2004.08.28.05.08.45;	author linimon;	state Exp;
branches;
next	1.1;

1.1
date	2004.02.28.17.48.28;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.3
log
@- Use OPTIONS
- Use PLIST_FILES, remove pkg-plist
- Use files/pkg-message.in

PR:		92749
Submitted by:	Jean Milanez Melo <jmelo@@freebsdbrasil.com.br> (maintainer)
@
text
@*****************************************************************************
You have installed the samba-vscan package.

The vfs object's is in %%PREFIX%%/lib/samba.

The configuration files is in %%PREFIX%%/etc/samba-vscan.

Edit %%PREFIX%%/etc/smb.conf and add the following entry if you are using 
samba 2.X (that's only an example):

  [vscan]
       comment = virus-protected /tmp directory
       path = /tmp
       vfs object = %%PREFIX%%/lib/samba/vscan-oav.so
       vfs options = config-file = %%PREFIX%%/etc/samba-vscan/vscan-oav.conf
       writeable = yes
       browseable = yes
       guest ok = yes

If you are using samba 3.X:

Edit /etc/smb.conf and add the following entry (that's only an example):
  [vscan]
      comment = virus-protected /tmp directory
      path = /tmp
      vfs object = vscan-oav
      vscan-oav: config-file = %%PREFIX%%/etc/samba-vscan/vscan-oav.conf
      writeable = yes
      browseable = yes
      guest ok = yes

Basically you have to add a vfs object line to your shares
which should be virus-protected by this module. If you'd like to use the
run-time configuration file, simply add the
vfs options = config-file = /path/config-file
(different settings for several shares can be achieved by using a different
name of the configuration file for each share). If you want to protect _all_
shares your Samba server offers, simply add the vfs object line (and the
vfs options line, if you like) to the [global] section.

Then restart samba.

Important: Remember, you need to install Clamav, Fprot, Icap, Kaspersky, Mks, Openantivirus, Sophos or Trend Antivirus to samba-vscan works correctly.
@


1.2
log
@Patch the default installation locations to be FreeBSD-friendly.  Bump
portrevision.  Users should take care when upgrading.

PR:		ports/70424
Submitted by:	Jean Milanez Melo <jmelo at freebsdbrasil dot com dot br> (maintainer)
@
text
@@


1.1
log
@Add samba-vscan 0.3.4, on-access virus scanning with Samba.

While I am here,

  - make portlint happy,
  - use WRKSRC instead hardcode path.
  - use SAMBASRC instead wrong path if WRKDIRPREFIX env set.
  - remove PORTREVISION on new ports.

PR:		ports/63464
Submitted by:	Jean Milanez Melo <jmelo@@freebsdbrasil.com.br>
@
text
@d8 2
a9 2
Edit %%PREFIX%%/etc/smb.conf and add the following entry 
(that's only an example):
d19 12
@

