Commit graph

104 commits

Author SHA1 Message Date
Larry Rosenman
ffda66a9e0 security/clamav: upgrade to 0.100.0
Release notes: https://blog.clamav.net/2018/04/clamav-01000-has-been-released.html

PR:	227420
Submitted by:	nevecherya@gmail.com
2018-04-12 11:52:54 +00:00
Larry Rosenman
433f4d3f66 security/clamav: upgrade to 0.99.3.
* Update to 0.99.3.
* Fix following portlint warnings.
** Move position of USES in Makefile.
** Remove reference of undefined LLVM option.
** Regenerate files/patch-libclamav_regex_pcre.c by 'make makepatch
** add USES=ssl

PR:		225461
Submitted by:	yasu@utahime.org
2018-01-26 00:16:16 +00:00
Larry Rosenman
181b7c02ee security/clamav: handle memfs/tmpfs /var/run.
PR:		224728
Submitted by:	O. Harmann <ohartmann@walstatt.org>
2017-12-30 22:25:18 +00:00
Larry Rosenman
56b5c974a1 security/clamav: incorrect type size on amd64 in pcre2.
PR:		223945
Submitted by:	coyote@bks.tv
2017-11-29 02:56:26 +00:00
Larry Rosenman
1faef9ef46 security/clamav: Compile-time test fails during portinstall
Apply patch from upstream.

PR:	221513
Submitted by:	jny@jny.dk, fsbruva@yahoo.com
2017-09-22 16:11:54 +00:00
Renato Botelho
ab098bd99c Fix zlib version detect to make sure it doesn't consider 1.2.10 as bad
version. It fixes build on 12-CURRENT
2017-01-09 13:35:57 +00:00
Renato Botelho
4e6332642c Update to 0.98.6 2015-01-28 14:24:48 +00:00
Renato Botelho
70c7bf3a40 - Fix error building clamav when old version is installed and openssl from base
is also installed [1]
- Fix library version decrease that happened when moved to 0.98.5 [2]
- Bump PORTREVISION

PR:		195182
Obtained from:	https://bugzilla.clamav.net/show_bug.cgi?id=11194 [1] (based on)
		https://bugzilla.clamav.net/show_bug.cgi?id=11193 [2]
2014-11-21 16:42:51 +00:00
Renato Botelho
049e68d8fa Update to 0.98.5 2014-11-18 23:06:39 +00:00
Renato Botelho
63b65adaae Update to 0.98.4 2014-06-25 10:58:24 +00:00
Renato Botelho
da8ee64fe9 Add a patch to fix an error many users reported. When you have an old clamav
version installed and have openssl installed from ports, clamav cannot be
built. It happened because SSL_CPPFLAGS was being set before internal includes,
so it tried to use old clamav headers.
2014-06-09 17:48:11 +00:00
Renato Botelho
4bebd60e4c . Drop pkg-install and move directories to pkg-plist
. Use USERS and GROUPS
. Remove old check for FreeBSD > 7.x
2014-05-16 18:18:16 +00:00
Renato Botelho
8a175e5f22 Fix major version number calculation
Submitted by:	Shawn Webb <lattera@gmail.com>
Obtained from:	d17ee49f75
2014-05-15 22:33:08 +00:00
Renato Botelho
44a6f9affb . Add USES=libtool on security/clamav
. Drop .la files
. Since lib version was downgraded, bump portrevision on ports that depends of clamav
. Fix REQUIRE names on rc.d scripts
2014-05-15 15:40:25 +00:00
Renato Botelho
523617a491 Re-add a patch that I accidentaly removed on last commit, and bump PORTREVISION 2014-05-12 14:01:42 +00:00
Renato Botelho
9c60da33fc . Update to 0.98.3
. Use @sample to deal with config files
. Use INSTALL_TARGET=install-strip
2014-05-08 10:47:26 +00:00
Mark Felder
810a8be642 milter rc script was broken after last updates.
conf_file was used before it was declared. While we're at it let's make
conf_file configurable as clamav_milter_conf

Approved by:	garga
Sponsored by:	SupraNet Communications, Inc
2014-05-06 13:04:05 +00:00
Mark Felder
da5531d24c rc script spring cleaning -- now passes rclint
Previously it would try to launch even if there were no rc.conf entries

Reviewed by:	garga
Sponsored by:	SupraNet Communications, Inc
2014-05-05 14:38:17 +00:00
Renato Botelho
3ce5ebe2cb Update to 0.98.1 2014-01-16 22:56:12 +00:00
Renato Botelho
618d036b53 - Add a patch to fix bundled LLVM to build with libc++
- Remove USE_GCC=any

PR:		ports/185366
Submitted by:	tijl@
2014-01-07 18:54:08 +00:00
Renato Botelho
9dafc9e421 - Fix issue on sparc64 (maybe other architetures?) that prevent clamav to verify
database integrity
- Bump PORTREVISION

PR:		ports/182975
Submitted by:	Henry Jalonen <henkka@spheroid.fi>
Obtained from:	clamav git repo (a9d40672390a82e91a8d5c21ee2fe172fca4d2f8)
2013-10-15 11:33:56 +00:00
Renato Botelho
832808ed9d - Update to 0.98
- Add new IPV6 option, on by default
- Support stage
2013-09-24 16:44:32 +00:00
Renato Botelho
4e3dd6c86c Fix error message that is showing a wrong dir
Reported by:	Will McCutcheon <will@toyingwithfate.com>
2013-07-13 20:40:50 +00:00
Michael Scheidell
ab9173024d - Fix CL_FORMAT bug introducted by clamav in version 0.97.5 (their bug #5252)
Submitted by:	scheidell@ (me)
Approved by:	Renato Botelho <garga@FreeBSD.org> (maintainer, via private email)
Obtained from:	https://bugzilla.clamav.net/show_bug.cgi?id=5252
2012-06-22 19:25:41 +00:00
Renato Botelho
fdab7c3d8f - Update to 0.97.4
- Mark WITH_LLVM_PORTS as broken since it doesn't build with llvm 3.0
- Move LICENSE to correct place

PR:		ports/166160 (based on)
Submitted by:	scheidell@
Feature safe:	yes
2012-03-17 15:21:39 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Renato Botelho
dc570950dc - Update to 0.97.3
- Fix build with external llvm [1]

PR:		ports/160185 [1]
Submitted by:	Volodymyr Kostyrko <c.kworr@gmail.com> [1]
2011-10-18 14:03:25 +00:00
Renato Botelho
1c314aea11 - Update to 0.97.2
PR:		ports/159185 (based on)
Submitted by:	Michael Scheidell <scheidell@secnap.net>
2011-07-26 22:24:21 +00:00
Renato Botelho
d69d7cfa0e Fix build with llvm from ports
PR:		ports/157147
Submitted by:	Lapo Luchini <lapo@lapo.it>
2011-07-06 00:16:03 +00:00
Chris Rees
d2f0ac5fa3 Remove bashism from the unit tests, and also check that chosen random port is
closed first to avoid intermittent failures when testing

Approved by:	rene (mentor), garga (maintainer, via IRC)
2011-06-29 19:37:51 +00:00
Renato Botelho
2640092f35 Update to 0.97
Feature safe:	yes
2011-02-08 12:13:53 +00:00
Renato Botelho
5fd53e4b0f - On 0.96.5, clamav was leaving some zombie proccess of freshclam, fix it.
- Bump PORTREVISION

Submitted by:	Herbert J. Skuhra <h.skuhra@gmail.com>
Obtained from:	http://git.clamav.net/gitweb?p=clamav-devel.git;a=commitdiff;h=2e136dcd0d7c34dc742475529db022d80d0dde2e
		http://git.clamav.net/gitweb?p=clamav-devel.git;a=commitdiff;h=3c91587c8c894e898345086ef8e7a072fdf7b1bc
2010-12-16 17:43:46 +00:00
Renato Botelho
999514b5c9 Update to 0.96.4 2010-10-25 19:53:09 +00:00
Renato Botelho
7a52343a4c Fix a mmap() error scanning PDF files, as described on clamav's git repo commit
log:

off_t is 64-bit, size_t is still 32-bit and that causes unexpected integer
promotion here:
map_off = map->len - 2048

First the unsigned subtraction is performed, and then the unsigned (!) value
is sign-extended to 64-bit. Hence a negative value becomes positive, which is
wrong.

Reported by:	Franz Schwartau <franz@electromail.org>
Obtained from:	https://wwws.clamav.net/bugzilla/show_bug.cgi?id=2300
2010-09-28 17:27:49 +00:00
Renato Botelho
094fc9c03e Update to 0.96.3 2010-09-20 17:54:22 +00:00
Renato Botelho
6458ba6ddb - Fix bytecode problem on FreeBSD 7.1
- Bump PORTREVISION

PR:		ports/150243
Submitted by:	Frank Wall <fw@moov.de>
Obtained from:	https://wwws.clamav.net/bugzilla/show_bug.cgi?id=2235
2010-09-03 11:27:22 +00:00
Renato Botelho
717434be77 - Fix CPU assumptions for amd64
- Bump PORTREVISION

PR:		ports/149637
Submitted by:	Michael Scheidell <scheidell@secnap.net>
Obtained from:	https://wwws.clamav.net/bugzilla/show_bug.cgi?id=2201
2010-08-16 11:38:12 +00:00
Renato Botelho
4057c1bc83 Update to 0.96.1 2010-05-19 16:15:57 +00:00
Renato Botelho
af4c0b3e4f - Update to 0.96
- Fix error on make check when LC_ALL != en and subversion is installed [1]

PR:		ports/145340 [1]
Submitted by:	Alexander Wittig <alexander@wittig.name> [1]
Obtained from:	https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1922 [1]
2010-04-06 12:01:13 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Renato Botelho
8c76097b4c After some requests, change permission of clamav-milter socket to 0777 2010-01-22 11:13:09 +00:00
Renato Botelho
143dfac64e Update to 0.95.3 2009-10-29 10:46:26 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Renato Botelho
2d5b39dcf6 - Add reload option to startup script, it calls clamdscan --reload, a faster
way to reload clam data without need restart
- Bump PORTREVISION

PR:		ports/133868
Submitted by:	Michael Scheidell <scheidell@secnap.net>
2009-04-21 13:43:34 +00:00
Renato Botelho
d6a49fddec - Remove wrong patch added on last commit 2009-04-03 13:57:13 +00:00
Renato Botelho
4055e65cd4 - Mark clamav-milter as BROKEN since it's not working. I updated clamav-devel
to a version that have the fix and won't update it anymore until 0.95.1 is
  released
2009-04-03 13:56:35 +00:00
Renato Botelho
d253acf464 - Update to 0.95 2009-03-27 11:52:22 +00:00
Renato Botelho
a9c54712a8 - Update to 0.94.1
- Add --libdir to CONFIGURE_ARGS to fix libdir detection under 6.x
2008-11-03 22:48:53 +00:00
Renato Botelho
37c88c8e12 - Update security/clamav to 0.94 [1] and fix a remote DoS [2]
- Chase libclamav version bump on all dependant ports
- Bump necessary PORTREVISIONS
- Fix some BROKEN messages from ports that were already broken with clamav-0.93
- Mark security/klamav as BROKEN since it doesn't build with clamav-0.94

PR:		ports/127122 [1], ports/127310 [2]
Submitted by:	Gary Palmer <freebsd-gnats@in-addr.com> [1], delphij [2]
Approved by:	portmgr (pav)
2008-09-15 19:56:38 +00:00
Renato Botelho
78004c6d17 - Permit to ser owner and group to clamav milter socket [1]
- Remove @ to show some install commands, and add -v to cp
- Install clamav-milter doc
- User CHOWN and CHMOD from bsd.commands.mk

PR:		ports/126069 [1]
Submitted by:	Matthew D. Fuller <fullermd@over-yonder.net> [1]
2008-08-18 18:44:19 +00:00