Commit graph

194 commits

Author SHA1 Message Date
Renato Botelho
77d09be960 - Move to OPTIONSng
- Remove LLVM_PORT option, it requires llvm 2.9 and we have 3.1
- Remove GMAKE, it's not really necessary
2012-06-29 19:44:17 +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
d470b35fee Update to 0.97.5 2012-06-15 13:29:43 +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
42b72045b9 - Remove unecessary dependency (libcheck) when option TESTS is off [1]
- Add clamav-milter as CONFLICTS, this new meta port will be added soon

PR:		ports/161872
Submitted by:	Alexey Markov <redrat@mail.ru>
Feature safe:	yes
2011-11-19 14:22:25 +00:00
Renato Botelho
0e8118e7da Clamav project people offers a new version tarball for package maintainers
few days before the release, i made tests with that tarball, but it was
changed before release, and the distinfo was wrong.

I compared both tarballs and the difference was part of this commit [1] was
missing on the one i used.

Update distinfo to match 0.97.3 official tarball and bump PORTREVISION

Reported by:	many people
2011-10-19 12:07:37 +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
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +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
07ff1b98b8 - Update to 0.97.1
- Mark OPTION LLVM_PORTS as BROKEN since it's not building with llvm-2.9
  from ports

PR:		ports/157736
Submitted by:	Gary Palmer <freebsd-gnats@in-addr.com>
2011-06-15 10:27:30 +00:00
Renato Botelho
b757b6327a - s/CONF_FILES/CLAM_CONF_FILES/ to avoid a conflict in the future with new
options with the same name that will be added to bsd.port.mk

PR:		ports/157161, ports/157162
Submitted by:	Chris Rees <utisoft@gmail.com>
2011-05-19 11:35:28 +00:00
Renato Botelho
3254e6b917 Add a new option to build JIT bytecode compiler using llvm installed from ports
instead of build clamav's own llvm. The option is off by default, so, no
PORTREVISION bum is required

PR:		ports/154900
Submitted by:	Denny Lin <dennylin93@hs.ntnu.edu.tw>
2011-02-23 15:14:35 +00:00
Renato Botelho
eb8d173c48 Fix detection if python was built with threads support and run make check
accordingly

PR:		ports/154848
Submitted by:	Martin Simmons <martin@lispworks.com>
2011-02-21 11:35:52 +00:00
Renato Botelho
2640092f35 Update to 0.97
Feature safe:	yes
2011-02-08 12:13:53 +00:00
Renato Botelho
98c5b4f39f Restrict LLVM to i386 and amd64 since it doesn't build on sparc64, ia64 and
probably on ppc

Submitted by:	Anton Shterenlikht <mexas@bristol.ac.uk>
Feature safe:	yes
2011-01-26 11:04:40 +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
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Renato Botelho
ddf00fcd53 Update to 0.96.5 2010-12-01 11:46:30 +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
0113e48192 - Remove GCC 4.2+ dependency, now it builds file with 3.4.6
- Add a new OPTION to TESTS, since it requires python on build time and some
  people don't like this. Leave it ON by default to run tests on package
  building
- Bump PORTREVISION because gcc dependency has changed

PR:		ports/150984 (based on)
Submitted by:	Eugene Grosbein <eugen@grosbein.pp.ru>
2010-09-27 16:59:07 +00:00
Renato Botelho
094fc9c03e Update to 0.96.3 2010-09-20 17:54:22 +00:00
Renato Botelho
c3f0efa947 - Add missing dependency (libltdl) to clamav and clamav-devel ports
- Bump PORTREVISION

PR:		ports/150512
Submitted by:	Philippe Pepiot <phil@philpep.org>
2010-09-13 11:30:16 +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
9d9e71e29f Add LICENSE 2010-08-24 16:42:59 +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
eacd7ff2fe pav@ noted LICENSE code don't work fine with ports using @cwd in plist, and
it'll be fixed soon. Remove LICENSE from clamav ports for now.
2010-08-13 11:29:48 +00:00
Renato Botelho
3535ff6657 Update to 0.96.2 2010-08-13 11:05:04 +00:00
Renato Botelho
e2ddce958d Add LICENSE 2010-08-10 13:24:48 +00:00
Renato Botelho
3cda6e1207 Gcc 4.2+ is only needed to build clamav with LLVM/JIT support, remove this
dependency when LLVM is not set.

Submitted by:	Guy Antony Halse <G.Halse@ru.ac.za>
2010-05-21 12:28:24 +00:00
Renato Botelho
4057c1bc83 Update to 0.96.1 2010-05-19 16:15:57 +00:00
Renato Botelho
dd9928baf0 Disable LLVM/JIT build for sparc64, it should unbreak it on this arch 2010-05-04 16:08:10 +00:00
Renato Botelho
764208f03f - Use ${TOUCH} instead of touch
- Fix pkg-plist to delete directories installed out of PREFIX (on /var) [1]
- Bump PORTREVISION because of [1]

PR:		ports/145448 [1]
Submitted by:	sahil@ [1]
2010-04-12 13:04:18 +00:00
Renato Botelho
cd427c3ffb Unit tests require python built with thread support, disable make check when
local python doesn't have this

PR:		ports/145520
Submitted by:	Michael Scheidell <scheidell at secnap.net>
2010-04-12 12:56:56 +00:00
Renato Botelho
0501546c5c Python and gmaker are needed just if LLVM option is set 2010-04-09 18:48:18 +00:00
Renato Botelho
82125ecf5d - Reduce differences between it and security/clamav-devel
- Make JIT bytecode compiler as an OPTION, On by default [1]

PR:		ports/145435 [1]
Submitted by:	Alexander Wittig <alexander at wittig.name> [1]
2010-04-06 17:53:20 +00:00
Renato Botelho
a953afc146 - Remove duplicated BUILD_DEPENDS 2010-04-06 17:24:13 +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
c1a3055b5f Execute a "make check" at post-build target, add libcheck as a dependency for it 2010-01-27 16:56:35 +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
7201331c10 - Update to 0.95.2
PR:		ports/135501
Submitted by:	Alexey V.Degtyarev <alexey@renatasystems.org>
2009-06-12 11:50:56 +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
8c7c9cf638 - Update to 0.95.1 and fix clamav-milter 2009-04-08 18:15:42 +00:00
Renato Botelho
d6a49fddec - Remove wrong patch added on last commit 2009-04-03 13:57:13 +00:00