aboutsummaryrefslogtreecommitdiff
path: root/security/clamav
Commit message (Collapse)AuthorAgeFilesLines
* Fix a mmap() error scanning PDF files, as described on clamav's git repo commitRenato Botelho2010-09-282-1/+12
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=262044
* - Remove GCC 4.2+ dependency, now it builds file with 3.4.6Renato Botelho2010-09-271-10/+13
| | | | | | | | | | | | | - 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> Notes: svn path=/head/; revision=261960
* Update to 0.96.3Renato Botelho2010-09-205-61/+4
| | | | Notes: svn path=/head/; revision=261500
* - Add missing dependency (libltdl) to clamav and clamav-devel portsRenato Botelho2010-09-131-1/+2
| | | | | | | | | | - Bump PORTREVISION PR: ports/150512 Submitted by: Philippe Pepiot <phil@philpep.org> Notes: svn path=/head/; revision=261071
* - Fix bytecode problem on FreeBSD 7.1Renato Botelho2010-09-033-1/+47
| | | | | | | | | | | - Bump PORTREVISION PR: ports/150243 Submitted by: Frank Wall <fw@moov.de> Obtained from: https://wwws.clamav.net/bugzilla/show_bug.cgi?id=2235 Notes: svn path=/head/; revision=260480
* Add LICENSERenato Botelho2010-08-241-0/+2
| | | | Notes: svn path=/head/; revision=259917
* - Fix CPU assumptions for amd64Renato Botelho2010-08-162-0/+11
| | | | | | | | | | | - Bump PORTREVISION PR: ports/149637 Submitted by: Michael Scheidell <scheidell@secnap.net> Obtained from: https://wwws.clamav.net/bugzilla/show_bug.cgi?id=2201 Notes: svn path=/head/; revision=259347
* pav@ noted LICENSE code don't work fine with ports using @cwd in plist, andRenato Botelho2010-08-131-2/+0
| | | | | | | it'll be fixed soon. Remove LICENSE from clamav ports for now. Notes: svn path=/head/; revision=259168
* Update to 0.96.2Renato Botelho2010-08-132-4/+4
| | | | Notes: svn path=/head/; revision=259167
* Add LICENSERenato Botelho2010-08-101-0/+2
| | | | Notes: svn path=/head/; revision=259066
* Gcc 4.2+ is only needed to build clamav with LLVM/JIT support, remove thisRenato Botelho2010-05-211-1/+1
| | | | | | | | | dependency when LLVM is not set. Submitted by: Guy Antony Halse <G.Halse@ru.ac.za> Notes: svn path=/head/; revision=254723
* Update to 0.96.1Renato Botelho2010-05-193-36/+6
| | | | Notes: svn path=/head/; revision=254600
* Disable LLVM/JIT build for sparc64, it should unbreak it on this archRenato Botelho2010-05-041-1/+1
| | | | Notes: svn path=/head/; revision=253689
* - Use ${TOUCH} instead of touchRenato Botelho2010-04-122-1/+3
| | | | | | | | | | | - 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] Notes: svn path=/head/; revision=252591
* Unit tests require python built with thread support, disable make check whenRenato Botelho2010-04-121-1/+17
| | | | | | | | | | local python doesn't have this PR: ports/145520 Submitted by: Michael Scheidell <scheidell at secnap.net> Notes: svn path=/head/; revision=252590
* Python and gmaker are needed just if LLVM option is setRenato Botelho2010-04-091-14/+16
| | | | Notes: svn path=/head/; revision=252484
* - Reduce differences between it and security/clamav-develRenato Botelho2010-04-061-10/+16
| | | | | | | | | | - Make JIT bytecode compiler as an OPTION, On by default [1] PR: ports/145435 [1] Submitted by: Alexander Wittig <alexander at wittig.name> [1] Notes: svn path=/head/; revision=252330
* - Remove duplicated BUILD_DEPENDSRenato Botelho2010-04-061-2/+0
| | | | Notes: svn path=/head/; revision=252326
* - Update to 0.96Renato Botelho2010-04-066-54/+62
| | | | | | | | | | | - 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] Notes: svn path=/head/; revision=252317
* Begin the process of deprecating sysutils/rc_subr byDoug Barton2010-03-273-3/+3
| | | | | | | s#. %%RC_SUBR%%#. /etc/rc.subr# Notes: svn path=/head/; revision=251553
* Execute a "make check" at post-build target, add libcheck as a dependency for itRenato Botelho2010-01-271-0/+6
| | | | Notes: svn path=/head/; revision=248701
* After some requests, change permission of clamav-milter socket to 0777Renato Botelho2010-01-221-1/+1
| | | | Notes: svn path=/head/; revision=248356
* Update to 0.95.3Renato Botelho2009-10-295-8/+45
| | | | Notes: svn path=/head/; revision=243443
* Fix a few "bad example" problems in the rc.d scripts that have beenDoug Barton2009-07-152-4/+4
| | | | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=237892
* - Update to 0.95.2Renato Botelho2009-06-122-5/+4
| | | | | | | | PR: ports/135501 Submitted by: Alexey V.Degtyarev <alexey@renatasystems.org> Notes: svn path=/head/; revision=235641
* - Add reload option to startup script, it calls clamdscan --reload, a fasterRenato Botelho2009-04-212-0/+9
| | | | | | | | | | | way to reload clam data without need restart - Bump PORTREVISION PR: ports/133868 Submitted by: Michael Scheidell <scheidell@secnap.net> Notes: svn path=/head/; revision=232421
* - Update to 0.95.1 and fix clamav-milterRenato Botelho2009-04-082-5/+4
| | | | Notes: svn path=/head/; revision=231892
* - Remove wrong patch added on last commitRenato Botelho2009-04-031-372/+0
| | | | Notes: svn path=/head/; revision=231546
* - Mark clamav-milter as BROKEN since it's not working. I updated clamav-develRenato Botelho2009-04-032-0/+373
| | | | | | | | to a version that have the fix and won't update it anymore until 0.95.1 is released Notes: svn path=/head/; revision=231545
* - Update to 0.95Renato Botelho2009-03-277-53/+33
| | | | Notes: svn path=/head/; revision=231107
* - Mark MAKE_JOBS_SAFE for SMP compilationMartin Matuska2009-03-231-0/+1
| | | | | | | | PR: ports/132969 Approved by: garga (maintainer, via ICQ) Notes: svn path=/head/; revision=230737
* - Update to 0.94.2Renato Botelho2008-11-262-4/+4
| | | | Notes: svn path=/head/; revision=223414
* - Remove libtools from depends and use its own version, without it nextRenato Botelho2008-11-171-2/+1
| | | | | | | | | versions will stop building - Remove --disable-zlib-vcheck from CONFIGURE_ARGS to fix a warning on configure Notes: svn path=/head/; revision=222980
* - Update to 0.94.1Renato Botelho2008-11-033-14/+14
| | | | | | | - Add --libdir to CONFIGURE_ARGS to fix libdir detection under 6.x Notes: svn path=/head/; revision=222366
* - Fix pkg-plistRenato Botelho2008-09-152-3/+4
| | | | | | | | | | - Bump PORTREVISION Reported by: QAT Approved by: portmgr (pav) Notes: svn path=/head/; revision=220393
* - Update security/clamav to 0.94 [1] and fix a remote DoS [2]Renato Botelho2008-09-153-26/+26
| | | | | | | | | | | | | | - 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) Notes: svn path=/head/; revision=220390
* - Change pre-install: target to pre-su-install: since user and group areRenato Botelho2008-08-211-1/+1
| | | | | | | | | | | created there (via pkg-install), and it must be done as root. - While i'm here, fix the same on clamav-devel port PR: ports/126701 Submitted by: grog Notes: svn path=/head/; revision=218954
* Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.Rong-En Fan2008-08-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, newer autoconf (> 2.13) has different semantic of the configure target. In short, one should use --build=CONFIGURE_TARGET instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning and the old semantic may be removed in later autoconf releases. To workaround this issue, many ports hack the CONFIGURE_TARGET variable so that it contains the ``--build='' prefix. To solve this issue, under the fact that some ports still have configure script generated by the old autoconf, we use runtime detection in the do-configure target so that the proper argument can be used. Changes to Mk/*: - Add runtime detection magic in bsd.port.mk - Remove CONFIGURE_TARGET hack in various bsd.*.mk - USE_GNOME=gnometarget is now an no-op Changes to individual ports, other than removing the CONFIGURE_TARGET hack: = pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables) - comms/gnuradio - science/abinit - science/elmer-fem - science/elmer-matc - science/elmer-meshgen2d - science/elmerfront - science/elmerpost = use x86_64 as ARCH - devel/g-wrap = other changes - print/magicfilter GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf Total # of ports modified: 1,027 Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes) PR: 126524 (obsoletes 52917) Submitted by: rafan Tested on: two pointyhat 7-amd64 exp runs (by pav) Approved by: portmgr (pav) Notes: svn path=/head/; revision=218938
* - Permit to ser owner and group to clamav milter socket [1]Renato Botelho2008-08-182-6/+14
| | | | | | | | | | | | - 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] Notes: svn path=/head/; revision=218781
* - Fix wrong error message in clamav-milter startup scriptRenato Botelho2008-08-181-1/+1
| | | | | | | | PR: ports/126575 Submitted by: Paul Toirkens <paul@sapphire.toirkens.com> Notes: svn path=/head/; revision=218767
* - Last change on clamav-milter startup script doesn't work if used with inet[6]Renato Botelho2008-07-141-16/+26
| | | | | | | | | | | | sockets, fixing it now. No bump PORTREVISION needed since MILTER option is off by default Reported by: Gregory Shapiro <gshapiro@gshapiro.net> Tested by: Gregory Shapiro <gshapiro@gshapiro.net> Notes: svn path=/head/; revision=216827
* - Update to 0.93.3Renato Botelho2008-07-073-5/+20
| | | | | | | | | | | - Change clamav-milter startup script to wait clamav-milter socket be created before try to chmod it [1] PR: ports/124643 [1] Submitted by: Adrian Thearle <adrian@thearle.com.au> [1] Notes: svn path=/head/; revision=216495
* - Fix checking of database viruses at startup script that i broke on lastRenato Botelho2008-06-172-2/+2
| | | | | | | | | | | commit - Bump PORTREVISION again Submitted by: George L. Yermulnik <yz@iptcom.net> Pointyhat to: me Notes: svn path=/head/; revision=215001
* - Fix clamd startup script to support cld containers for virus databasesRenato Botelho2008-06-162-3/+4
| | | | | | | | | - Bump PORTREVISION Reported by: Robert Huff <roberthuff@rcn.com> Notes: svn path=/head/; revision=214967
* - Forgot to remove one conditional about PTHREAD_LIB on last commitRenato Botelho2008-06-091-8/+4
| | | | Notes: svn path=/head/; revision=214598
* - Remove < 6.1 conditional since it's no longer supportedRenato Botelho2008-06-091-6/+1
| | | | Notes: svn path=/head/; revision=214597
* - Update to 0.93.1Renato Botelho2008-06-092-5/+4
| | | | Notes: svn path=/head/; revision=214587
* - Fix default clamd socket name: clamd -> clamd.sockRenato Botelho2008-05-203-14/+24
| | | | | | | | | | | - Some cosmetic changes (indentation) - sort pkg-plist - Add option on clamav-milter startup script to change socket permissions (tested on clamav-devel) - Bump PORTREVISION Notes: svn path=/head/; revision=213398
* - Update to 0.93Renato Botelho2008-04-164-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This version fixes lock problem reported at ports/122534 Most important changes: *libclamav: - New logic in scan limits: provides much more efficient protection against DoS attacks but also results in different command line and config options to clamscan and clamd (see below) - New/improved modules: unzip, SIS, cabinet, CHM, SZDD, text normalisator, entity converter - Improved filetype detection; filetype definitions can be remotely updated - Support for .cld containers (which replace .inc directories) - Improved pattern matcher and signature formats - More efficient scanning of HTML files - Many other improvements * clamd: - NEW CONFIG FILE OPTIONS: MaxScanSize, MaxFileSize, MaxRecursion, MaxFiles - ** THE FOLLOWING OPTIONS ARE NO LONGER SUPPORTED **: MailMaxRecursion, ArchiveMaxFileSize, ArchiveMaxRecursion, ArchiveMaxFiles, ArchiveMaxCompressionRatio, ArchiveBlockMax * clamscan: - NEW CMDLINE OPTIONS: --max-filesize, --max-scansize - REMOVED OPTIONS: --block-max, --max-space, --max-ratio * freshclam: - NEW CONFIG OPTION CompressLocalDatabase - NEW CMDLINE SWITCH --no-warnings - main.inc and daily.inc directories are no longer used by ClamAV; please remove them manually from your database directory PR: ports/122770 [1] (based on) ports/122534 [2] Submitted by: Michael Scheidell <scheidell@secnap.net> [1] Sebastian Inacker <inacker@fmsweb.de> [2] Security: http://secunia.com/advisories/29000 Notes: svn path=/head/; revision=211374
* - Fix a thread problem on FreeBSD 5.x forcing it to use -lpthread [1]Renato Botelho2008-02-212-12/+7
| | | | | | | | | | | | | - Fix a problem on pkg-install, when umask is not default, it create dirs with wrong permissions [2] - Bump PORTREVISION PR: ports/120885 [2] Submitted by: dmx@dmx.org.ru [2] Noticed by: havp pointyhat via pav Notes: svn path=/head/; revision=207721