Commit graph

38 commits

Author SHA1 Message Date
Renato Botelho
764208f03f - 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]
2010-04-12 13:04:18 +00:00
Renato Botelho
af4c0b3e4f - 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]
2010-04-06 12:01:13 +00:00
Renato Botelho
d253acf464 - Update to 0.95 2009-03-27 11:52:22 +00:00
Renato Botelho
ce899b57f9 - Fix pkg-plist
- Bump PORTREVISION

Reported by:	QAT
Approved by:	portmgr (pav)
2008-09-15 20:36:53 +00:00
Renato Botelho
af30d66979 - 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
2008-05-20 18:06:34 +00:00
Renato Botelho
3de94d87f8 - 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
2008-04-16 16:05:54 +00:00
Renato Botelho
e74905e54b - 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
2007-12-19 23:08:38 +00:00
Renato Botelho
661e726925 - 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]
2007-04-13 17:49:09 +00:00
Renato Botelho
6dee7aadd2 - 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
2007-03-13 20:11:19 +00:00
Renato Botelho
433214b639 - Update to 0.90
- Cleanup a little bit

PR:		ports/109185 (Based on)
Submitted by:	Michael Scheidell <scheidell@secnap.net>
2007-02-16 00:19:32 +00:00
Marcus Alves Grando
ec97343ab6 - 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/
2006-10-16 14:18:52 +00:00
Renato Botelho
ee4f428e3a - 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
2006-04-06 15:20:18 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Dirk Meyer
673a029500 - presrve downloaded cvd files on deinstall
Approved by:	Rob Evers
2005-09-22 13:17:52 +00:00
Sam Lawrance
5aa972f925 Remove mtree dir from pkg-plist 2005-06-28 14:03:45 +00:00
Jean-Yves Lefort
3fff40d2ff - Update to 0.86 [1]
- Fix the packing list

[1]
PR:		ports/82474
Submitted by:	Renato Botelho <freebsd@galle.com.br>
Approved by:	maintainer
2005-06-22 10:49:00 +00:00
Joe Marcus Clarke
cdf17a89ef Do not remove libdata/pkgconfig since it is now part of mtree.
Reported by:	pointyhat via kris
2005-05-21 18:03:55 +00:00
Yaroslav Tykhiy
6a31303cc5 Introduce a variable LOGDIR instead of using a literal log directory
pathname everywhere.

Approved by:	Rob Evers (maintainer)
2005-01-27 12:28:08 +00:00
Yaroslav Tykhiy
fc1555b3ed 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)
2005-01-25 12:03:50 +00:00
Yaroslav Tykhiy
07ea270434 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
2005-01-12 17:57:58 +00:00
Edwin Groothuis
d056ef091b 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>
2004-12-22 02:10:12 +00:00
Pav Lucistnik
269588d932 - Fix plist
PR:		ports/73558
Submitted by:	Rob Evers <rob@debank.tv> (maintainer)
2004-11-06 13:01:29 +00:00
Dirk Meyer
2d6723f827 - don't delete the virus database on deinstall
(sync with clamav-devel)
Approved by:	Rob Evers
2004-10-20 20:48:21 +00:00
Oliver Eikemeier
70ec1e0cb9 - 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)
2004-10-14 09:30:47 +00:00
Oliver Eikemeier
4af7c839c8 update to 0.73
use freshclam pid file

PR:		67962
Submitted by:	Rob Evers <rob@debank.tv> (maintainer)
2004-06-15 10:04:48 +00:00
Oliver Eikemeier
fc52284375 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.
2004-04-01 16:36:29 +00:00
Oliver Eikemeier
8b8a6523a5 - update to version 0.67-1
PR:		63065
Reviewed by:	Angelo Turetta <aturetta@commit.it>
Approved by:	maintainer timeout (2 weeks)
2004-03-06 20:45:47 +00:00
Greg Lewis
dfcb3af5b8 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>
2004-02-03 06:46:21 +00:00
Alexander Leidinger
b83a30e56f 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)
2003-12-09 17:07:26 +00:00
Alexander Leidinger
71b93e612e 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
2003-12-08 14:06:49 +00:00
Joe Marcus Clarke
e7b6d2f752 * Update to 0.65
* Create /var/run/clamav with 750 permissions

PR:		59458
Submitted by:	Rui Lopes <rui@ruilopes.com>
Approved by:	maintainer
2003-11-19 17:40:04 +00:00
Dirk Meyer
5e2bc95fa1 - 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
2003-09-28 13:29:28 +00:00
Norikatsu Shigemura
81da6d97d2 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)
2003-07-07 07:37:08 +00:00
Oliver Braun
be7f05ecce * Upgrade to 0.60.
* Add --enable-bigstack.

PR:		ports/53632
Submitted by:	Rob <rob@debank.tv>
Approved by:	maintainer
2003-06-24 16:34:05 +00:00
Norikatsu Shigemura
15e2ad2845 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)
2003-06-18 09:43:05 +00:00
Yen-Ming Lee
07db5231ff 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>
2003-06-08 16:16:49 +00:00
Edwin Groothuis
14137caf35 maintainer-update: security/clamav to 0.54
PR:		ports/47291
Submitted by:	TERAMOTO Masahiro <markun@onohara.to>
2003-02-05 13:09:19 +00:00
Edwin Groothuis
ee4e1d4575 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>
2003-01-20 03:41:52 +00:00