head	1.41;
access;
symbols
	RELEASE_8_3_0:1.40
	RELEASE_9_0_0:1.40
	RELEASE_7_4_0:1.40
	RELEASE_8_2_0:1.40
	RELEASE_6_EOL:1.40
	RELEASE_8_1_0:1.40
	RELEASE_7_3_0:1.38
	RELEASE_8_0_0:1.38
	RELEASE_7_2_0:1.38
	RELEASE_7_1_0:1.37
	RELEASE_6_4_0:1.37
	RELEASE_5_EOL:1.36
	RELEASE_7_0_0:1.34
	RELEASE_6_3_0:1.34
	PRE_XORG_7:1.33
	RELEASE_4_EOL:1.29
	RELEASE_6_2_0:1.28
	RELEASE_6_1_0:1.26
	RELEASE_5_5_0:1.26
	RELEASE_6_0_0:1.25
	RELEASE_5_4_0:1.21
	RELEASE_4_11_0:1.18
	RELEASE_5_3_0:1.14
	RELEASE_4_10_0:1.13
	RELEASE_5_2_1:1.8
	RELEASE_5_2_0:1.8
	RELEASE_4_9_0:1.6
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2;
locks; strict;
comment	@# @;


1.41
date	2012.11.17.06.01.01;	author svnexp;	state Exp;
branches;
next	1.40;

1.40
date	2010.04.12.13.04.18;	author garga;	state Exp;
branches;
next	1.39;

1.39
date	2010.04.06.12.01.13;	author garga;	state Exp;
branches;
next	1.38;

1.38
date	2009.03.27.11.52.22;	author garga;	state Exp;
branches;
next	1.37;

1.37
date	2008.09.15.20.36.53;	author garga;	state Exp;
branches;
next	1.36;

1.36
date	2008.05.20.18.06.34;	author garga;	state Exp;
branches;
next	1.35;

1.35
date	2008.04.16.16.05.54;	author garga;	state Exp;
branches;
next	1.34;

1.34
date	2007.12.19.23.08.36;	author garga;	state Exp;
branches;
next	1.33;

1.33
date	2007.04.13.18.25.19;	author garga;	state Exp;
branches;
next	1.32;

1.32
date	2007.04.13.17.49.08;	author garga;	state Exp;
branches;
next	1.31;

1.31
date	2007.03.13.20.11.16;	author garga;	state Exp;
branches;
next	1.30;

1.30
date	2007.02.16.00.19.32;	author garga;	state Exp;
branches;
next	1.29;

1.29
date	2006.11.06.11.03.43;	author garga;	state Exp;
branches;
next	1.28;

1.28
date	2006.10.16.14.18.52;	author mnag;	state Exp;
branches;
next	1.27;

1.27
date	2006.04.06.15.20.18;	author garga;	state Exp;
branches;
next	1.26;

1.26
date	2006.02.23.10.38.52;	author ade;	state Exp;
branches;
next	1.25;

1.25
date	2005.09.22.13.17.52;	author dinoex;	state Exp;
branches;
next	1.24;

1.24
date	2005.06.28.14.03.45;	author lawrance;	state Exp;
branches;
next	1.23;

1.23
date	2005.06.22.10.49.00;	author jylefort;	state Exp;
branches;
next	1.22;

1.22
date	2005.05.21.18.01.06;	author marcus;	state Exp;
branches;
next	1.21;

1.21
date	2005.01.27.12.28.08;	author yar;	state Exp;
branches;
next	1.20;

1.20
date	2005.01.25.12.03.50;	author yar;	state Exp;
branches;
next	1.19;

1.19
date	2005.01.12.17.57.58;	author yar;	state Exp;
branches;
next	1.18;

1.18
date	2004.12.22.02.10.11;	author edwin;	state Exp;
branches;
next	1.17;

1.17
date	2004.11.06.13.01.29;	author pav;	state Exp;
branches;
next	1.16;

1.16
date	2004.10.20.20.48.21;	author dinoex;	state Exp;
branches;
next	1.15;

1.15
date	2004.10.14.09.30.47;	author eik;	state Exp;
branches;
next	1.14;

1.14
date	2004.06.15.10.04.48;	author eik;	state Exp;
branches;
next	1.13;

1.13
date	2004.04.01.16.36.28;	author eik;	state Exp;
branches;
next	1.12;

1.12
date	2004.03.06.20.45.46;	author eik;	state Exp;
branches;
next	1.11;

1.11
date	2004.02.03.06.46.21;	author glewis;	state Exp;
branches;
next	1.10;

1.10
date	2003.12.09.17.07.26;	author netchild;	state Exp;
branches;
next	1.9;

1.9
date	2003.12.08.14.06.49;	author netchild;	state Exp;
branches;
next	1.8;

1.8
date	2003.11.19.17.40.04;	author marcus;	state Exp;
branches;
next	1.7;

1.7
date	2003.09.28.13.29.28;	author dinoex;	state Exp;
branches;
next	1.6;

1.6
date	2003.07.07.07.37.08;	author nork;	state Exp;
branches;
next	1.5;

1.5
date	2003.06.24.16.34.05;	author obraun;	state Exp;
branches;
next	1.4;

1.4
date	2003.06.18.09.43.05;	author nork;	state Exp;
branches;
next	1.3;

1.3
date	2003.06.08.16.16.49;	author leeym;	state Exp;
branches;
next	1.2;

1.2
date	2003.02.05.13.09.19;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2003.01.20.03.41.52;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.41
log
@Switch exporter over
@
text
@@@comment $FreeBSD: head/security/clamav/pkg-plist 300897 2012-07-14 14:29:18Z beat $
bin/clamav-config
bin/clambc
bin/clamconf
bin/clamdtop
bin/clamscan
bin/clamdscan
bin/freshclam
bin/sigtool
%%CLAMAV-MILTER%%sbin/clamav-milter
sbin/clamd
include/clamav.h
include/clamav-config.h
lib/libclamav.la
lib/libclamav.so
lib/libclamav.so.7
%%UNRAR%%lib/libclamunrar.la
%%UNRAR%%lib/libclamunrar.so
%%UNRAR%%lib/libclamunrar.so.7
%%UNRAR%%lib/libclamunrar_iface.la
%%UNRAR%%lib/libclamunrar_iface.so
%%UNRAR%%lib/libclamunrar_iface.so.7
libdata/pkgconfig/libclamav.pc
@@unexec if cmp -s %D/etc/clamd.conf %D/etc/clamd.conf.default; then rm -f %D/etc/clamd.conf; fi
etc/clamd.conf.default
@@exec [ -f %B/clamd.conf ] || cp %B/%f %B/clamd.conf
@@unexec if cmp -s %D/etc/freshclam.conf %D/etc/freshclam.conf.default; then rm -f %D/etc/freshclam.conf; fi
etc/freshclam.conf.default
%%CLAMAV-MILTER%%@@unexec if cmp -s %D/etc/clamav-milter.conf %D/etc/clamav-milter.conf.default; then rm -f %D/etc/clamav-milter.conf; fi
%%CLAMAV-MILTER%%etc/clamav-milter.conf.default
@@exec [ -f %B/freshclam.conf ] || cp %B/%f %B/freshclam.conf
@@unexec [ -s %%DBDIR%%/daily.cvd ] || rm -f %%DBDIR%%/daily.cvd || true
@@unexec [ -s %%DBDIR%%/main.cvd ] || rm -f %%DBDIR%%/main.cvd || true
@@cwd /
@@dirrmtry %%DBDIR%%
@@dirrmtry %%LOGDIR%%
@@dirrmtry %%RUNDIR%%
@


1.40
log
@- Use ${TOUCH} instead of touch
- Fix pkg-plist to delete directories installed out of PREFIX (on /var) [1]
- Bump PORTREVISION because of [1]

PR:		ports/145448 [1]
Submitted by:	sahil@@ [1]
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.39 2010/04/06 12:01:13 garga Exp $
@


1.39
log
@- Update to 0.96
- Fix error on make check when LC_ALL != en and subversion is installed [1]

PR:		ports/145340 [1]
Submitted by:	Alexander Wittig <alexander@@wittig.name> [1]
Obtained from:	https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1922 [1]
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.38 2009/03/27 11:52:22 garga Exp $
d34 1
@


1.38
log
@- Update to 0.95
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.37 2008/09/15 20:36:53 garga Exp $
d3 1
a13 1
lib/libclamav.a
d16 1
a16 2
lib/libclamav.so.6
%%UNRAR%%lib/libclamunrar.a
d19 1
a19 2
%%UNRAR%%lib/libclamunrar.so.6
%%UNRAR%%lib/libclamunrar_iface.a
d22 1
a22 1
%%UNRAR%%lib/libclamunrar_iface.so.6
@


1.37
log
@- Fix pkg-plist
- Bump PORTREVISION

Reported by:	QAT
Approved by:	portmgr (pav)
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.36 2008/05/20 18:06:34 garga Exp $
d4 1
d16 1
a16 1
lib/libclamav.so.5
d20 1
a20 1
%%UNRAR%%lib/libclamunrar.so.5
d24 1
a24 1
%%UNRAR%%lib/libclamunrar_iface.so.5
d31 2
@


1.36
log
@- Fix default clamd socket name: clamd -> clamd.sock
- Some cosmetic changes (indentation)
- sort pkg-plist
- Add option on clamav-milter startup script to change socket permissions
  (tested on clamav-devel)
- Bump PORTREVISION
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.35 2008/04/16 16:05:54 garga Exp $
d15 1
a15 1
lib/libclamav.so.4
d19 1
a19 1
%%UNRAR%%lib/libclamunrar.so.4
d23 1
a23 1
%%UNRAR%%lib/libclamunrar_iface.so.4
@


1.35
log
@- Update to 0.93

This version fixes lock problem reported at ports/122534

Most important changes:
 *libclamav:
   - New logic in scan limits: provides much more efficient protection against
     DoS attacks but also results in different command line and config options
     to clamscan and clamd (see below)
   - New/improved modules: unzip, SIS, cabinet, CHM, SZDD, text normalisator,
     entity converter
   - Improved filetype detection; filetype definitions can be remotely updated
   - Support for .cld containers (which replace .inc directories)
   - Improved pattern matcher and signature formats
   - More efficient scanning of HTML files
   - Many other improvements

 * clamd:
   - NEW CONFIG FILE OPTIONS: MaxScanSize, MaxFileSize, MaxRecursion, MaxFiles
   - ** THE FOLLOWING OPTIONS ARE NO LONGER SUPPORTED **: MailMaxRecursion,
     ArchiveMaxFileSize, ArchiveMaxRecursion, ArchiveMaxFiles,
     ArchiveMaxCompressionRatio, ArchiveBlockMax

 * clamscan:
   - NEW CMDLINE OPTIONS: --max-filesize, --max-scansize
   - REMOVED OPTIONS: --block-max, --max-space, --max-ratio

 * freshclam:
   - NEW CONFIG OPTION CompressLocalDatabase
   - NEW CMDLINE SWITCH --no-warnings
   - main.inc and daily.inc directories are no longer used by ClamAV; please
     remove them manually from your database directory

PR:		ports/122770 [1] (based on)
		ports/122534 [2]
Submitted by:	Michael Scheidell <scheidell@@secnap.net> [1]
		Sebastian Inacker <inacker@@fmsweb.de> [2]
Security:	http://secunia.com/advisories/29000
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.34 2007/12/19 23:08:36 garga Exp $
a11 2
lib/libclamav.so.4
lib/libclamav.so
d14 5
d20 3
a22 3
%%UNRAR%%lib/libclamunrar.so
%%UNRAR%%lib/libclamunrar.la
%%UNRAR%%lib/libclamunrar.a
a23 3
%%UNRAR%%lib/libclamunrar_iface.so
%%UNRAR%%lib/libclamunrar_iface.la
%%UNRAR%%lib/libclamunrar_iface.a
@


1.34
log
@- Update security/clamav to 0.92
- Add a new OPTION (RAR) because unrar code is optional to fix a license
  issue
- Some cosmetic changes
- Chase library version bump and bump PORTREVISION of all dependant ports

Approved by:	portmgr (pav)
Security:	CVE-2007-6335, CVE-2007-6336, CVE-2007-6337
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.33 2007/04/13 18:25:19 garga Exp $
d12 1
a12 1
lib/libclamav.so.3
d16 1
a16 1
%%UNRAR%%lib/libclamunrar.so.3
d20 1
a20 1
%%UNRAR%%lib/libclamunrar_iface.so.3
@


1.33
log
@Forced commit to note last commit fix a security problem.

Security:	CVE-2007-2029
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.32 2007/04/13 17:49:08 garga Exp $
d12 1
a12 1
lib/libclamav.so.2
d16 8
@


1.32
log
@- Update to 0.90.2
- Add a patch to increase performance of clamd in threaded systems [1]
- Change clamav-milter rc.d script to use a var to determine seconds of timeout
  to wait clamd socket be started [2]
- Add support to gethostbyname_r() on FreeBSD 6 and above [3]
- Install clamav-config.h [3]
- Fix all dependencies for klamav work fine [3]

PR:		ports/111130 [2], ports/111478 [3]
Submitted by:	Anton Yuzhaninov <citrin@@rambler-co.ru> [1]
	  	Denis Eremenko <moonshade@@pnhz.kz> [2]
		Anderson S. Ferreira <anderson@@cnpm.embrapa.br> [3]
Obtained from:	https://wwws.clamav.net/bugzilla/show_bug.cgi?id=434 [1]
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.31 2007/03/13 20:11:16 garga Exp $
@


1.31
log
@- Update clamav to 0.90.1
- Use -lthr to build clamav since it has problems with libpthread
- Bump PORTREVISION of dependant ports, libclamav version was bumped
- Fix clamcour to build with clamav-0.90.x using patch sent by maintainer
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.30 2007/02/16 00:19:32 garga Exp $
d11 1
@


1.30
log
@- Update to 0.90
- Cleanup a little bit

PR:		ports/109185 (Based on)
Submitted by:	Michael Scheidell <scheidell@@secnap.net>
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.29 2006/11/06 11:03:43 garga Exp $
d11 1
a11 1
lib/libclamav.so.1
@


1.29
log
@Forced commit to note las one was:

PR:		ports/105198
Submitted by:	Samm & <root@@ukrlex.net>
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.28 2006/10/16 14:18:52 mnag Exp $
d3 1
@


1.28
log
@- Update to 0.88.5
- portlint(1)

Approved by:	portmgr (mnag with secteam hat), garga (maintainer)
Security:	http://lurker.clamav.net/message/20061016.015114.dc6a8930.en.html,
		http://secunia.com/advisories/22370/
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.27 2006/04/06 15:20:18 garga Exp $
@


1.27
log
@- Update to 0.88.1 -- Fix multiple vulnerabilities
 * CVE-2006-1614
    Damian Put discovered an integer overflow in the PE header parser.
    This is only exploitable if the ArchiveMaxFileSize option is disabled.
 * CVE-2006-1615
    Format string vulnerabilities in the logging code have been discovered,
    which might lead to the execution of arbitrary code.
 * CVE-2006-1630
    David Luyer discovered, that ClamAV can be tricked into an invalid
    memory access in the cli_bitset_set() function, which may lead to
    a denial of service.

- Use USE_RC_SUBR=script

PR:		ports/95403
Submitted by:	garga
Approved by:	maintainer timeout (mnag on behalf of secteam)
Security:	VuXML 6a5174bd-c580-11da-9110-00123ffe8333
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.26 2006/02/23 10:38:52 ade Exp $
d23 3
a25 3
@@unexec rmdir %%DBDIR%% 2>/dev/null || true
@@unexec rmdir %%LOGDIR%% 2>/dev/null || true
@@unexec rmdir %%RUNDIR%% 2>/dev/null || true
@


1.26
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@d1 1
a1 4
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.25 2005/09/22 13:17:52 dinoex Exp $
%%CLAMAV-MILTER%%@@unexec [ ! -f %%RUNDIR%%/clamav-milter.pid ] || %%RC_DIR%%/clamav-milter%%RC_SUFX%% stop || true
@@unexec [ ! -f %%RUNDIR%%/freshclam.pid ] || %%RC_DIR%%/clamav-freshclam%%RC_SUFX%% stop || true
@@unexec [ ! -f %%RUNDIR%%/clamd.pid ] || %%RC_DIR%%/clamav-clamd%%RC_SUFX%% stop || true
a6 3
etc/rc.d/clamav-clamd%%RC_SUFX%%
etc/rc.d/clamav-freshclam%%RC_SUFX%%
%%CLAMAV-MILTER%%etc/rc.d/clamav-milter%%RC_SUFX%%
@


1.25
log
@- presrve downloaded cvd files on deinstall
Approved by:	Rob Evers
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.24 2005/06/28 14:03:45 lawrance Exp $
d19 1
@


1.24
log
@Remove mtree dir from pkg-plist
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.23 2005/06/22 10:49:00 jylefort Exp $
d26 3
a28 3
@@unexec [ ! -f %%DBDIR%%/daily.cvd ] || rm -f %%DBDIR%%/daily.cvd || true
@@unexec [ ! -f %%DBDIR%%/main.cvd ] || rm -f %%DBDIR%%/main.cvd || true
@@unexec rmdir %%DBDIR%%
@


1.23
log
@- Update to 0.86 [1]
- Fix the packing list

[1]
PR:		ports/82474
Submitted by:	Renato Botelho <freebsd@@galle.com.br>
Approved by:	maintainer
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.22 2005/05/21 18:01:06 marcus Exp $
a19 1
@@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
@


1.22
log
@Do not remove libdata/pkgconfig since it is now part of mtree.

Reported by:	pointyhat via kris
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.21 2005/01/27 12:28:08 yar Exp $
d20 1
@


1.21
log
@Introduce a variable LOGDIR instead of using a literal log directory
pathname everywhere.

Approved by:	Rob Evers (maintainer)
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.20 2005/01/25 12:03:50 yar Exp $
a19 1
@@unexec rmdir %B 2>/dev/null || true
@


1.20
log
@Don't leave the pkgconfig data directory rotting there
if we are the last to clean it up.

Pointed out by: kris' magic tools
Approved by:    Rob Evers (maintainer)
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.19 2005/01/12 17:57:58 yar Exp $
d30 1
a31 1
@@unexec rmdir /var/log/clamav 2>/dev/null || true
@


1.19
log
@1. Make clamav-milter write its pidfile.
2. Shut down clamav daemons in the right order
   on uninstall (or else they may refuse to quit.)
3. Use rcorder(8) keywords to guarantee the right
   startup/shutdown order of the clamav services.

PR:		ports/75607
Approved by:	the maintainer
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.18 2004/12/22 02:10:11 edwin Exp $
d20 1
@


1.18
log
@Fix ports: security/clamav and security/clamav-devel (change db
directory to /var/db/clamav and fix removal of db on deinstall)

	For the sake of coherence, the ClamAV database should be
	installed in /var/db/clamav, not /usr/local/share/clamav.
	Also fixes the database removal on package deinstallation.

PR:		ports/74172
Submitted by:	Jean-Yves Lefort <jylefort@@brutele.be>
Approved by:	Rob Evers <rob@@debank.tv>
@
text
@d1 4
a4 3
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.17 2004/11/06 13:01:29 pav Exp $
@@unexec [ ! -f /var/run/clamav/clamd.pid ] || %%RC_DIR%%/clamav-clamd%%RC_SUFX%% stop || true
@@unexec [ ! -f /var/run/clamav/freshclam.pid ] || %%RC_DIR%%/clamav-freshclam%%RC_SUFX%% stop || true
d29 1
a29 1
@@unexec rmdir /var/run/clamav 2>/dev/null || true
@


1.17
log
@- Fix plist

PR:		ports/73558
Submitted by:	Rob Evers <rob@@debank.tv> (maintainer)
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.16 2004/10/20 20:48:21 dinoex Exp $
d25 3
a27 3
@@unexec [ -s %D/%%DATADIR%%/daily.cvd ] || rm -f %D/%%DATADIR%%/daily.cvd || true
@@unexec [ -s %D/%%DATADIR%%/main.cvd ] || rm -f %D/%%DATADIR%%/main.cvd || true
@@dirrm %%DATADIR%%
@


1.16
log
@- don't delete the virus database on deinstall
  (sync with clamav-devel)
Approved by:	Rob Evers
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.15 2004/10/14 09:30:47 eik Exp $
d25 1
a25 1
@@unexec [ -s %D/%%DATADIR%%/main.cvd ] || rm -f %D/%%DATADIR%%/daily.cvd || true
@


1.15
log
@- update to 0.80rc4
  + JPEG comment exploit (MS04-028) detection

  *** IMPORTANT ***
  The configruration file for the clamd daemon has changed from
  /usr/local/etc/clamav.conf to /usr/local/etc/clamd.conf.

PR:		72203
Approved by:	Rob Evers <revers@@infraqon.nl> (maintainer)
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.14 2004/06/15 10:04:48 eik Exp $
d25 2
a26 2
@@unexec rm -f %D/%%DATADIR%%/daily.cvd || true
@@unexec rm -f %D/%%DATADIR%%/main.cvd || true
@


1.14
log
@update to 0.73
use freshclam pid file

PR:		67962
Submitted by:	Rob Evers <rob@@debank.tv> (maintainer)
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.13 2004/04/01 16:36:28 eik Exp $
d19 3
a21 3
@@unexec if cmp -s %D/etc/clamav.conf %D/etc/clamav.conf.default; then rm -f %D/etc/clamav.conf; fi
etc/clamav.conf.default
@@exec [ -f %B/clamav.conf ] || cp %B/%f %B/clamav.conf
@


1.13
log
@Update to clamav 0.70

- new thread manager (with better SMP support)
- new switch ArchiveDetectEncrypted
- new directive: ArchiveDetectEncrypted
- see /usr/local/share/doc/clamav/NEWS
- install html documentation to /usr/local/share/doc/clamav/html

added CLAMAVUSER/CLAMAVGROUP support

Adopted the port to ensure timely fixes in case I broke something :P
Please reset the maintainer if TERAMOTO Masahiro shows up again.
@
text
@d1 4
a4 2
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.12 2004/03/06 20:45:46 eik Exp $
@@unexec [ ! -f /var/run/clamav/clamd.pid ] || %%RC_DIR%%/clamd%%RC_SUFX%% stop || true
d18 1
@


1.12
log
@- update to version 0.67-1

PR:		63065
Reviewed by:	Angelo Turetta <aturetta@@commit.it>
Approved by:	maintainer timeout (2 weeks)
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.11 2004/02/03 06:46:21 glewis Exp $
d7 2
d22 2
a23 10
etc/rc.d/clamav-clamd%%RC_SUFX%%
etc/rc.d/clamav-freshclam%%RC_SUFX%%
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%@@dirrm %%DOCSDIR%%
@@owner clamav
@@group clamav
%%DATADIR%%/daily.cvd
%%DATADIR%%/main.cvd
@@exec chown clamav:clamav %B
@


1.11
log
@1. Add a freshclam rc.d script to start freshclam so the AV database is
   updated periodically.  Loosely based on the script in the PR.
2. Reorder some operations in the various Makefile targets.
3. Bump PORTREVISION.

PR:		61966 [1]
Submitted by:	Douglas K. Rand <rand@@meridian-enviro.com>
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.10 2003/12/09 17:07:26 netchild Exp $
d17 3
d22 3
a28 1
%%DATADIR%%/mirrors.txt
@


1.10
log
@Fix some bugs in the previous commit...
 - correct typo in the name of the socket variable (used to remove a stale
   socket)
 - install the startup script with the correct name (important if you use
   clamav-milter too)

Submitted by:	Marius Strobl <marius@@alchemy.franken.de>
Approved by:	maintainer (implizit, this is a bugfix for the previous
		version)
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.9 2003/12/08 14:06:49 netchild Exp $
d18 1
@


1.9
log
@BEWARE: As rcoder(8) isn't present on FreeBSD 4 but clamd must be
        be started before clamav-milter the startup-script for clamd
        must alphabetically arranged before the startup-script for
        clamav-milter. It was decided to use the clamd statup-scrtipt
        from security/clamav-devel (clamav-clamd.sh), so users running
        an older version of security/clamav have to change
        'clamd_enable="YES"' to 'clamav_clamd_enable="YES"' in
        /etc/rc.conf. On the other hand this changes makes it easier
        to switch between security/clamav and security/clamav-devel.

- Respect PTHREAD_CFLAGS.
- Use USE_LIBTOOL_VER=14 as the libtool shipping with clamav 0.65
  erroneously links against libc _and_ libc_r on FreeBSD 4.
- Don't link against libcipher on FreeBSD < 501100, clamav doesn't
  depend on it. The linker warnings suggesting that it is required
  were triggered by linking against both, libc and libc_r.
- Unconditionally depend on math/libgmp4. Otherwise, if libgmp4 is
  already installed on a FreeBSD 4-STABLE system compilation of
  security/clamav fails, as the headers of libgmp4 are used but the
  base libgmp is used for linking.
- Fix generation of clamav-milter.8 when building with WITH_MILTER
  (part of new files/patch-clamav-milter::Makefile.in).
- Don't USE_GETOPT_LONG when compiling with WITH_MILTER, clamav
  uses its own getopt_long() regardless if a devel/libgnugetopt is
  installed or the version in the base of FreeBSD 5 is present.
- Allow compilation of WITH_MILTER with mail/sendmail.
- Install a startup-script (taken from security/clamav-devel with some
  fixes in comments) for clamav-milter when compiled with WITH_MILTER.
- In pkg-descr remove the note that clamav-milter doesn't build on
  FreeBSD 4 with base gcc, it builds fine there. Mention that
  clamav-milter can be optionally used (taken from pkg-descr of
  security/clamav-devel).
- Fix compilation when an older version of security/clamav is installed.
  If there's an older version of libclamav installed clamav 0.65 will
  link against it instead of the newly built one. This is not a problem
  if the installed version is compatible with the new one as libclamav
  gets linked dynamically and the installed version will be replaced
  with the new one. However, if the older version is incompatible
  linking of clamav 0.65 fails. This problem was discovered by
  Jan-Peter Koopmann Jan-Peter.Koopmann@@seceidos.de and the fix
  (most of the new patches in the files directory) confirmed working.
- In clamav-milter replace the path to the used sendmail executable with
  the location of the mailwrapper(8) (/usr/sbin/sendmail). Obtained
  from security/clamav-devel.

PR:		59948
Submitted by:	Marius Strobl <marius@@alchemy.franken.de>
Approved by:	maintainer
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.8 2003/11/19 17:40:04 marcus Exp $
d17 1
a17 1
etc/rc.d/clamd%%RC_SUFX%%
@


1.8
log
@* Update to 0.65
* Create /var/run/clamav with 750 permissions

PR:		59458
Submitted by:	Rui Lopes <rui@@ruilopes.com>
Approved by:	maintainer
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.7 2003/09/28 13:29:28 dinoex Exp $
d7 1
@


1.7
log
@- don't remove clamav account on deinstall
- use included libtool (seems heavily patched)
- make packageable and include a working configure file
- add a rcNG start/stop script
- added web site
- don't install useless .la files
- use DATADIR
- 510001 is FreeBSD 5.10, 5.1-CURRENT is 501100
- minor cleanup

PR:		57256
Submitted by:	eikemeier@@fillmore-labs.com
@
text
@d1 1
a1 1
@@comment $FreeBSD$
d19 2
a21 2
%%DATADIR%%/viruses.db
%%DATADIR%%/viruses.db2
@


1.6
log
@Use clamav-milter, but support only gcc30 or higher.

PR:		ports/53699
Submitted by:	Rob Evers <rob@@debank.tv>
Approved by:	TERAMOTO Masahiro <markun@@onohara.to> (maintainer)
@
text
@d1 2
d7 1
a7 1
%%CLAMAV-MILTER:%%sbin/clamav-milter
a11 1
lib/libclamav.la
d13 13
a25 5
share/clamav/mirrors.txt
share/clamav/viruses.db
share/clamav/viruses.db2
@@dirrm share/clamav
@@unexec rmuser -y clamav
@


1.5
log
@* Upgrade to 0.60.
* Add --enable-bigstack.

PR:		ports/53632
Submitted by:	Rob <rob@@debank.tv>
Approved by:	maintainer
@
text
@d5 1
@


1.4
log
@o Add mirror site.
o Remove unnecsesary patches for current.
o Add/remove users when installing/removing.
o Set permissions on virus database dir.

PR:		ports/53305
Submitted by:	Rob Evers<rob@@debank.tv>
Approved by:	TERAMOTO Masahiro <markun@@onohara.to> (maintainer)
@
text
@d11 1
@


1.3
log
@Enable pthread support using devel/pth.
Turn on building clamd and clamdscan.

PR:		53056
Pointed out by:	Olivier Tharan <olive@@oban.frmug.org>
Submitted by:	TERAMOTO Masahiro <markun@@onohara.to>
@
text
@d14 1
@


1.2
log
@maintainer-update: security/clamav to 0.54

PR:		ports/47291
Submitted by:	TERAMOTO Masahiro <markun@@onohara.to>
@
text
@d2 1
d5 1
@


1.1
log
@new port: security/clamav

	Clam Antivirus is command line virus scanner using database
	from OpenAntiVirus.

PR:		ports/40602
Submitted by:	TERAMOTO Masahiro <markun@@onohara.to>
@
text
@d4 5
d10 1
@

