Commit graph

40 commits

Author SHA1 Message Date
Oliver Eikemeier
9015d17e42 Update security/clamav to 0.74 release
Various bug fixes and improved Microsoft VBA support

PR:		68597
Submitted by:	Rob Evers <rob@debank.tv> (maintainer)
2004-07-04 11:01:50 +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
d60bc2b93b Update security/clamav to 0.72 release
This is a bug fix release only, and fixes a few possible crashes

PR:		67561
Submitted by:	Rob Evers <rob@debank.tv> (maintainer)
2004-06-04 12:51:29 +00:00
Pav Lucistnik
612b1aca5a - Use fixed UID/GID 2004-05-30 08:01:22 +00:00
Pav Lucistnik
c842af27e0 - Change location of milter socket to match clamav-devel port. This does not
affect users with already installed config files.
- Cleanup

PR:		ports/67207
Submitted by:	Rob Evers <rob@debank.tv> (maintainer)
2004-05-26 10:15:19 +00:00
Mike Silbersack
74ef578def Update clamav to rev 0.71
-Improved VBA support
 -Lots of milter fixes
 -Various bugs fixed

Submitted by:	maintainer
2004-05-22 06:45:18 +00:00
Kirill Ponomarev
6c9281307d - Fix dependencies
PR:		ports/66879
Submitted by:	Beresovsky Andrey <and@rsu.ru>
Approved by:	maintainer
2004-05-20 09:02:07 +00:00
Oliver Eikemeier
e8a7428097 Update security/clamv to 0.70
-Improved VBA code
	-Scan EVS mails
	-Handle bounced messages
	-ArchiveDetectEncrypted is renamed to ArchiveBlockEncrypted (config file)
	-freshclam: fix SIGHUP handling (patch by Dr Matthew J Seaman)
	-Use OPTIONS
	-Various bugfixes and code cleanup
	-Use FixStaleSocket by default in the config file (don't remove the
		Socket when starting clamd)

PR:		65763
Submitted by:	Rob Evers <rob@debank.tv> (maintainer)
2004-04-19 15:21:33 +00:00
Oliver Eikemeier
5f04757121 Hand maintainership over to Rob Evers.
PR:		65182
Submitted by:	TERAMOTO Masahiro <markun@onohara.to> (maintainer)
2004-04-12 08:57:39 +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
Pav Lucistnik
db7d1c8b5b - Revert revision 1.22
NO_SENDMAIL is used to disable Sendmail build in base system.
  It's presence does not inhibit Sendmail installed from port.

Requested by:	Marius Strobl <marius@alchemy.franken.de>
		Alex Vasylenko <lxv@omut.org>
2004-03-27 18:30:18 +00:00
Oliver Eikemeier
219b30185a use included libtool 2004-03-25 01:46:54 +00:00
Ade Lovett
2c577f8a04 Convert all but one port that uses libtool14 to use libtool15, in readiness
for the destruction of devel/libtool14
2004-03-24 20:59:17 +00:00
Oliver Eikemeier
24470d06ed ... and remove my experimental bsd.port.mk hacks :)
Pointy hat to:	me
2004-03-06 20:50:28 +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
Pav Lucistnik
0866b2d1b2 - If WITH_MILTER is set and NO_SENDMAIL is defined, don't try to build milter.
PR:		ports/55611
Submitted by:	TERAMOTO Masahiro <markun@onohara.to> (maintainer)
2004-02-28 15:06:39 +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
Joe Marcus Clarke
73f7c91b5d Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.
(Part 1)
2004-02-04 05:10:27 +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
Greg Lewis
095206badd . Add a pkg-deinstall script telling people how they can get rid of the
clamav user permanently if they wish to.
2004-02-03 06:43:06 +00:00
Greg Lewis
b62a486d8f . Add $FreeBSD$
. Indent
. Split into pre-install and post-install stages.
  Pre-install: Add the user and group.
  Post-install: Create the log and run directories.
2004-02-03 06:42:31 +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
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
Mike Silbersack
cf5ee3d9c9 Correct the OSVERSION check for the libgmp depedency; libgmp was removed
waaaay earlier than I had previously thought.  Also bump portrevision
since this is an important change for 5.x users.

Approved by:	portmgr (marcus)
2003-11-30 07:19:15 +00:00
Mike Silbersack
f6e9200724 Clamav 0.65 uses libgmp for digital signature calculations;
as libgmp no longer exists in 5.x, add the needed dependency
to this Makefile.

(Note that stale gmp.h and libgmp files sitting around may
still cause problems, anyone with an "old" 5.x system that
sees oddities in the build should make sure that those old
files are purged from /usr/lib and /usr/include.)
2003-11-28 05:58:48 +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
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
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
Dirk Meyer
019ebbaef8 - Fix for STABLE
- Use new MASTER_SITES
PR:		57149
Submitted by:	rob@debank.tv
Approved by:	markun@onohara.to
2003-09-25 02:51:45 +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
Norikatsu Shigemura
75e89f294d Fix install error.
PR:		ports/53112
Submitted by:	Michal F. Hanula <frankie@kyblik.pieskovisko.sk>
		Rob <rob@debank.tv>
2003-06-11 16:58:37 +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
Foxfair Hu
a5997d204e PR: 52226
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
Maintainer update: Clam AntiVirus contains OAV database, but its database is
developed independently.

	Pointed out by Tomasz Kojim <zolw@konarski.edu.pl>
		developer of Clam AntiVirus
2003-05-18 02:40:47 +00:00
Akinori MUSHA
4c2e4f1862 De-pkg-comment. 2003-02-21 13:28:59 +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