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
- 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>
- 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]
- 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]
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.
- 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)
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)
- 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]
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>
- 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]
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
- 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