Commit graph

43 commits

Author SHA1 Message Date
Renato Botelho
5db9c74f3c - Last change on clamav-milter startup script doesn't work if used with inet[6]
sockets, fixing it now.

No bump PORTREVISION needed since MILTER option is off by default

Reported by:	Gregory Shapiro <gshapiro@gshapiro.net>
Tested by:	Gregory Shapiro <gshapiro@gshapiro.net>
2008-07-14 11:21:50 +00:00
Renato Botelho
70afa90efa - Update to 20080708
- Align clamav-milter startup script with security/clamav version, that waits
  for milter sock before chmod it
2008-07-08 16:17:40 +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
c4c23065c4 - Update to 20080520
- Change OPTION UNRAR on by default to align with clamav port
- USE_GMAKE to build fine new version
2008-05-20 17:45:57 +00:00
Renato Botelho
c83dd048d8 - Update to 20080221
- Fix pthread problem on 5.x to align with security/clamav
- Fix pkg-install to five correct permissions to log, db and run dirs
2008-02-21 15:38:31 +00:00
Renato Botelho
b480474622 - Update to 20071212
- Unrar code was removed from clamav source due to license problems, and a patch
  was created. I've added an UNRAR option, Off by default.
- Cosmetic changes
- Fix rc.d/clamav-milter to change socket permissions after startup. It fixes
  proclems when sendmail or postfix cannot connect to this socket. [1]

Submitted by:	Chris St Denis <chris@smartt.com>  by email
2007-12-12 11:15:27 +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
Renato Botelho
9f63c71af0 - Update to 20070529
- Make all last changes that i've made on security/clamav:
  o Make arc, arj, lha and unzoo achives support dependency as OPTIONS
  o Fix build with gethostbyname_r after 601103
  o Install clamav-config.h
  o Change clamav-milter rc.d script to use a var to determine seconds of
    timeout to wait clamd socket be started, just if clamav_clamd_enable
    is set
2007-05-29 17:33:52 +00:00
Renato Botelho
3206fd5447 Change clamav-milter startup script and make it wait for clamd socket.
Submitted by:	ache@
2007-02-24 14:42:08 +00:00
Renato Botelho
aa88ef5523 - Update to 20070218
- Make all cleanups and changes i made on security/clamav port
- Add CURL and LDAP OPTION
2007-02-18 18:36:49 +00:00
Renato Botelho
57cd8c4736 - Fix build on 7-CURRENT
Thanks to:	mnag
2006-09-26 13:37:22 +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
e7763f2d4f Update to 20060503 2006-05-03 13:14:59 +00:00
Renato Botelho
f579b0f139 Add a forgotten patch to fix build on 4.x
Reported by:	krismail
2006-04-27 10:49:58 +00:00
Renato Botelho
0d85521327 Remove uneeded patch, it was added to source 2006-04-26 14:04:31 +00:00
Renato Botelho
1832cf4035 - Update to 20060406 snapshot -- 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.

- Synchronize with clamav port using SUB_FILES, USE_RC_SUBR

PR:		ports/95425
Submitted by:	garga
Security:	VuXML 6a5174bd-c580-11da-9110-00123ffe8333
2006-04-07 10:10:20 +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
Roman Bogorodskiy
ddc4918fb4 Update to 20050704.
PR:		82972
Submitted by:	Renato Botelho <freebsd@galle.com.br>
Approved by:	Rob Evers (maintainer)
2005-07-04 17:38:52 +00:00
Jean-Yves Lefort
d07f9a99c8 Fix compilation of the milter interface. 2005-06-28 18:58:07 +00:00
Jean-Yves Lefort
e98c7b7cba - Fix compilation of the milter interface
- Unconditionally define PORTDOCS, as bsd.port.mk now tests ${NOPORTDOCS}
2005-06-23 13:22:22 +00:00
Yaroslav Tykhiy
1fcc73e222 Finish incorporating the changes proposed in
ports/75607 into clamav-devel.

In particular, the last change to this port makes
use of the clamav-milter pidfile, which wouldn't be
recorded without the present change.

PR:		ports/75607
Approved by:	maintainer
2005-01-12 18:22:56 +00:00
Niels Heinen
206201b883 Unbreak security/clamav-devel by updating it to 20050110 (maintainer update)
PR:		ports/76086
Submitted by:	maintainer
Approved by:	nectar (mentor)
2005-01-12 15:09:51 +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
Alex Dupre
069962ce2f Update to 20041213 snapshot.
Approved by:	maintainer
2004-12-15 09:57:27 +00:00
Alex Dupre
5ee273c1fd Update to 20041201 snapshot.
Approved by:	maintainer
2004-12-03 09:52:20 +00:00
Pav Lucistnik
3e7c489b9d - Update to 20041101
- Configuration file was renamed to clamd.conf!

PR:		ports/73491
Submitted by:	Rob Evers <rob@debank.tv> (maintainer)
2004-11-04 22:49:52 +00:00
Volker Stolz
c964784809 - Update to 20040826 snapshot
- Fix fetching
- Fix -pthread/-lc_r issue for good
   (courtesy of bsd.autotools.mk, who'd have guessed...)

PR:		ports/71168
Submitted by:	Rob Evers (maintainer), me
2004-09-02 15:24:16 +00:00
Pav Lucistnik
dc742d4a4e - Update to 20040610
PR:		ports/67792
Submitted by:	Rob Evers <rob@debank.tv> (maintainer)
2004-06-11 20:04:30 +00:00
Pav Lucistnik
43b97c030d - Update to 20040524
- Rename rc script freshclam.sh -> clamav-freshclam.sh for consistency
  BEWARE if you're using freshclam daemon you must update your rc.conf!
- Chmod 770 socket directory
- Diff reduction against security/clamav port

PR:		ports/67125
Submitted by:	Rob Evers <rob@debank.tv> (maintainer)
2004-05-24 23:02:23 +00:00
Martin Blapp
c4673c72ff Upgrade to 20040229 snapshot.
Submitted by:	Rob Evers <rob@debank.tv> (maintainer)
2004-03-01 10:35:30 +00:00
Dirk Meyer
42331cf4dd - Unbreak threading issue
PR:		63022
Submitted by:	rob@debank.tv

- Use fixStaleSocket by default
- Add clamav user to mail group (for exim users)
- clean up DOCSDIR variable
PR:		63022
Submitted by:	rob@debank.tv
Suggested by:	eik
2004-02-18 20:24:40 +00:00
Dirk Meyer
35de7eb27a - update to 20040210
- The install doesn't delete the database anymore
- Don't remove the database on deinstall
- Use OPTIONS target
- handle all config install via the port

You have to run freshclam manually once after upgrade to restore the database.

PR:		62653
Submitted by:	rob@debank.tv

- Fix deinstall when no database was installed.
Submitted by:	dinoex
2004-02-11 10:39:34 +00:00
Clement Laforet
ab7dad0611 - Update to 0.9.1
- Revert to clamav_milter_enable (rc.subr)

PR:                 61431
Submitted by:       Rob Evers <rob@debank.tv> (maintainer)
Approved by:        erwin (mentor) (implicitly)
2004-01-16 17:39:46 +00:00
Dirk Meyer
e5ea7ae943 - Update to 20040113
Add freshclam daemon startup script
Modify freshclam.conf with sane values
Milter script cleanup (Milter socket changed)

PR:		61313
Submitted by:	rob@debank.tv
2004-01-13 16:22:04 +00:00
Dirk Meyer
8827ddc0cc - Use the correct patch, I forgot to sync dir before commit. 2003-10-03 13:47:18 +00:00
Dirk Meyer
8ebd5b645a - Upgrade to 20031001
- added RC-ng scripts
- Fix build on CURENT
PR:		57451
Submitted by:	rob@debank.tv, eikemeier@fillmore-labs.com, dinoex
2003-10-03 13:31:26 +00:00
Dirk Meyer
e7b221ad8a Update to 20030928
- use included libtool (seems heavily patched)
- make packageable and include a working configure file
- don't install useless .la files
- use DATADIR
- 510001 is FreeBSD 5.10, 5.1-CURRENT is 501100
- Change log and pid file location to more universal one
- RC-ng scripts for clamd and clamav-milter are planned

- Thanks to Oliver Eikemeier from whom I stole most (clamav-port)

PR:		57371
Submitted by:	rob@debank.tv
2003-09-30 03:39:11 +00:00
Dirk Meyer
325901921e - add sample rc-script for clamav-clamd and clamav-milter
- Fix path to sendmail binary
- Fix pthread on current
Approved by: rob@debank.tv
2003-09-26 12:19:55 +00:00
Dirk Meyer
83b17de588 - Update to 20030829
- Fix build under stable
PR:		56374
Submitted by:	rob@debank.tv
2003-09-04 02:53:26 +00:00
Yen-Ming Lee
d988eb75a7 The clamav-people do nightly snapshots now, hence the port must be updated
every day or snapshots have to be preserved elsewhere, this patch changes
the master_sites to a mirror which keeps the clamav-devel package for a
longer time. And while we're at it update to the latest snapshot.

PR:		55294
Submitted by:	Rob Evers <rob@debank.tv>
2003-08-08 17:09:11 +00:00
Yen-Ming Lee
dd21295c7f Upgrade security/clamav-devel to 20030803
PR:		55224
Submitted by:	Rob Evers <rob@debank.tv>
2003-08-04 09:24:25 +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