Commit graph

131 commits

Author SHA1 Message Date
Renato Botelho
f92755b7ed - Update to 0.93.3
- Change clamav-milter startup script to wait clamav-milter socket be created
  before try to chmod it [1]

PR:		ports/124643 [1]
Submitted by:	Adrian Thearle <adrian@thearle.com.au> [1]
2008-07-07 20:37:37 +00:00
Renato Botelho
a6a0eaab90 - Fix checking of database viruses at startup script that i broke on last
commit
- Bump PORTREVISION again

Submitted by:	George L. Yermulnik <yz@iptcom.net>
Pointyhat to:	me
2008-06-17 11:20:04 +00:00
Renato Botelho
f5c9b5def5 - Fix clamd startup script to support cld containers for virus databases
- Bump PORTREVISION

Reported by:	Robert Huff <roberthuff@rcn.com>
2008-06-16 19:28:23 +00:00
Renato Botelho
102398f45a - Forgot to remove one conditional about PTHREAD_LIB on last commit 2008-06-09 23:55:20 +00:00
Renato Botelho
e4e0822bc9 - Remove < 6.1 conditional since it's no longer supported 2008-06-09 23:51:16 +00:00
Renato Botelho
1e0001cfe1 - Update to 0.93.1 2008-06-09 16:13:25 +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
6d71ccce3a - Fix a thread problem on FreeBSD 5.x forcing it to use -lpthread [1]
- Fix a problem on pkg-install, when umask is not default, it create dirs with
  wrong permissions [2]
- Bump PORTREVISION

PR:		ports/120885 [2]
Submitted by:	dmx@dmx.org.ru [2]
Noticed by:	havp pointyhat via pav
2008-02-21 13:19:50 +00:00
Renato Botelho
cf895233d5 - Update to 0.92.1 (bugfix release) [1]
- Fix distinfo, removing unrar.diff entry since this file don't exist more. [2]

PR:		ports/120547 [1], ports/120574 [2]
Submitted by:	Michael Scheidell <scheidell@secnap.net> [1], delphij [2]
2008-02-13 15:37:27 +00:00
Renato Botelho
fe390b5b52 - Add an OPTION ICONV to fix a problem that can be caused by auto detection.
No PORTREVISION bump necessary since it's off by default.
2008-01-24 17:04:37 +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
Ade Lovett
ccd0fca5ec Unbreak pthread-related issues on 5.x
Approved by:	portmgr
2007-11-26 17:45:55 +00:00
Renato Botelho
1c4eb6b78e - Update to 0.91.2
PR:		ports/115682
Submitted by:	Michael Scheidell <scheidell@secnap.net>
2007-08-21 16:03:49 +00:00
Renato Botelho
7453d766a3 Fix clamav-milter startup script to don't wait clamd socket when it's using tcp
socket

PR:		ports/115353 (Based on)
Submitted by:	Alexander Shikoff <minotaur@crete.org.ua>
2007-08-14 11:14:06 +00:00
Rong-En Fan
f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00
Renato Botelho
3891059375 - Update to 0.91.1
PR:		ports/114643
Submitted by:	Michael Scheidell <scheidell@secnap.net>
2007-07-17 12:27:47 +00:00
Renato Botelho
c855c05c3f - Update to 0.91
- Remove CURL option because it's not needed anymore
2007-07-11 15:44:30 +00:00
Renato Botelho
517b8be9ce - Change clamav-milter rc.d script, now it just wait for clamd socket if
clamav_clamd_enable is set.

PR:		ports/111545
Submitted by:	Craig Leres <leres@ee.lbl.gov>
2007-06-05 14:22:46 +00:00
Renato Botelho
0744663c92 - Update to 0.90.3
- Remove unzoo support (clam doesn't support it anymore)

PR:		ports/113174
Submitted by:	Michael Scheidell <scheidell@secnap.net>
2007-06-01 17:09:09 +00:00
Renato Botelho
b27ec488de - Make arc, arj, lha and unzoo achives support dependency as OPTIONS enabled by
default. Clamav can run fine without these guys. PORTREVISION bump is not
  needed since final package is the same.

PR:		ports/113087
Submitted by:	baptiste.daroussin@gmail.com
2007-05-28 14:39:03 +00:00
Renato Botelho
5a4b3248d0 - Fix build with gethostbyname_r just after 601103 instead 600000
- Bump PORTREVISION

Reported by:	security <security@jim-liesl.org>
Submitted by:	Craig Butler <craig001@lerwick.hopto.org>
2007-04-16 11:18:26 +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
c264a5e4df Bump PORTREVISION for last changes
Pointy Hat to:	mbr
2007-03-16 19:16:32 +00:00
Martin Blapp
4d6596886f And unbreak support for older FreeBSDs where libthr/libpthread did not exist.
PR:	110334
2007-03-16 12:20:45 +00:00
Martin Blapp
53e5914eb9 Only use libthr for FreeBSD > 6.1 2007-03-16 12:04:04 +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
35df6e4e45 Fix pthread lib for clamav-milter
PR:		ports/109792
Submitted by:	Eugene Grosbein <eugen@kuzbass.ru>
2007-03-05 11:32:06 +00:00
Renato Botelho
0c362b4540 Change the way to patch configure to respect ${PTHREAD_LIBS} to a better one. 2007-03-01 16:02:14 +00:00
Renato Botelho
e908eb0679 - Fix problems with thread caused by a bad REINPLACE_CMD.
- Bump PORTREVISION

Reported by:	many users
2007-03-01 15:54:37 +00:00
Renato Botelho
3c4507d8da Fix clamav-milter startup script like was done on clamav-devel, to make it wait
clamd socket before start.

Submitted by:	ache@
2007-02-28 18:23:12 +00:00
Renato Botelho
2f5188f16a - Fix 'integer constant is too large for "long" type' warning [1]
- Convert one patch to REINPLACE_CMD
- Force to use ${PREFIX}/lib/libmilter.a if it's installed
- Fix sendmail binary detection using --with-sendmail instead SENDMAIL envvar
- Add EXPERIMENTAL OPTION to build with --enable-experimental
- Remove DESTDIR/TARGETDIR since it's useless for now
- Bump PORTREVISION

Submitted by:	stas@ at #bsdports [1]
Thanks to:	stas@ and simon@ [1]
2007-02-18 16:12:37 +00:00
Renato Botelho
972fce1047 - Fix sed used on (clamd|freshclam).conf to new format
- Add LDAP as an OPTION
- Bump PORTREVISION

Spoted by:	ache@
2007-02-16 11:20:24 +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
Peter Pentchev
64e068d25c Update the ftp/curl port to 7.16.0.
Bump PORTREVISION of all dependent ports.
Fix the build errors in the few ports that still use the long deprecated,
and now obsoleted, cURL options.

Thanks to everyone who took the time to look over the patch!

Discussed on:	-ports
2006-12-13 12:41:35 +00:00
Marcus Alves Grando
41b24ce561 - Update clamav to 0.88.7
PR:		106620
Submitted by:	Michael Scheidell <scheidell___secnap.net>
Approved by:	maintainer timeout (18 hours)
With hat:	secteam
Security:	http://secunia.com/advisories/23347/, http://www.quantenblog.net/security/virus-scanner-bypass
2006-12-12 17:03:24 +00:00
Renato Botelho
9605cbab07 Update to 0.88.6 2006-11-06 10:54:54 +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
d1113b0c41 Respect DESTDIR
Reworked by:	gabor
Tested by:	gabor
2006-08-08 19:33:04 +00:00
Renato Botelho
59769e1795 - Update to 0.88.4
- Use USE_LDCONFIG instead obsolete INSTALLS_SHLIB
- Use new MASTER_SITES magic to SF

Security:	http://www.clamav.net/security/0.88.4.html
2006-08-08 11:23:51 +00:00
Renato Botelho
e56f80545b Update to 0.88.3 2006-07-03 12:42:52 +00:00
Renato Botelho
01a61f0371 - Add an option to print logs on stderr instead stdout, it's useful to catch
logs and use on smtp log. In preparation to update spamcontro to 2.4 series.
- s/unarj/arj/ on clamscan man [1]
- Bump PORTREVISION because man change

Reported by:	Anton Yuzhaninov <citrin at citrin.ru> [1]
2006-05-26 16:49:53 +00:00
Renato Botelho
a14669440b Depend of archivers/arj instead archivers/unarj 2006-05-24 12:34:22 +00:00
Renato Botelho
4caf565fc1 Use archivers/unzoo on DEPENDS instead zoo
Proposed by:	Anton Yuzhaninov <citrin at citrin.ru>
2006-05-23 19:21:41 +00:00
Alex Dupre
ffcb54b54f Chase gmp library and bump PORTREVISION. 2006-05-10 14:46:47 +00:00
Renato Botelho
7638f1ccc3 Update to 0.88.2 2006-04-30 01:07:00 +00:00
Renato Botelho
c7889f209b Take over maintainership
Approved by:	maintainer by email
2006-04-07 10:07:49 +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
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00