Commit graph

11 commits

Author SHA1 Message Date
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
219b30185a use included libtool 2004-03-25 01:46:54 +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
Oliver Eikemeier
0a6499308d *** SECURITY update ***
- fix a trivially remote exploitable DOS vulnerability
  <http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/62586>
  <http://www.securityfocus.com/archive/1/353186>

while I'm here, fix stale socket removal. Perhaps enabling
FixStaleSocket in clamav.conf would be a better idea, but
I don't want to overuse this security related commit.

PR:		62586, 62601
Submitted by:	eik, Vivek Khera <vivek@khera.org>
Reviewed by:	bugtraq mailing list
Approved by:	security-officer
2004-02-10 14:06:49 +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
22f6c050aa Fix the comment in the startup-script regarding how to enable clamav-milter
in rc.conf.

Bumped PORTREVISION as this fix may be important for an user.

Mail is on its way to the maintainer but because of the actual virus
situation I do not wait for maintainer approval and commit the fix
right now (the submitter also submitted the startup-script for a previous
commit, so this is mainly a bugfix for a previously approved commit).

Submitted by:	Marius Strobl <marius@alchemy.franken.de>
2004-01-30 15:19:22 +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
b8fc347cb4 Fix build on -CURRENT.
Reported by:	bento via kris
Approved by:	portmgr (implicit)
2003-11-24 22:57:48 +00:00
Dirk Meyer
0f72f48cd6 - ensure that an stale clamd socket will be deleted. [1]
- Add conflict with clamav-devel port [2]
- fix milter on STABLE [3]
no response from maintainer

PR:		57379, 58037
Submitted by:	martin@mail.tradex.sk [1], rob@debank.tv [2], dinoex [3]
2003-10-25 20:52:32 +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
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