1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
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