- All clamav-milter command line parameters were moved to clamav-milter.conf,
modify startup script acordingly
- Remove pidfile from clamd startup script since this can be changed in
clamav-clamd.conf
- Remove --disable-zlib-vcheck, it's not necessary anymore and is generating a
warning on configure script
- Remove libtool from dependencies and leave it using its own libtool, without
it, clamav doesn't build anymore
Discussed with: Török Edwin at clamav-devel maillist
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>
- Unrar code was removed from clamav source due to license problems, and a patch
was created. I've added an UNRAR option, Off by default.
- Cosmetic changes
- Fix rc.d/clamav-milter to change socket permissions after startup. It fixes
proclems when sendmail or postfix cannot connect to this socket. [1]
Submitted by: Chris St Denis <chris@smartt.com> by email
supports them. This is determined by running ``configure --help'' in
do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
subdirectory detection.
PR: ports/111470
Approved by: portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by: pointyhat exp run
- Make all last changes that i've made on security/clamav:
o Make arc, arj, lha and unzoo achives support dependency as OPTIONS
o Fix build with gethostbyname_r after 601103
o Install clamav-config.h
o Change clamav-milter rc.d script to use a var to determine seconds of
timeout to wait clamd socket be started, just if clamav_clamd_enable
is set
logs and use on smtp log. In preparation to update spamcontro to 2.4 series.
- s/unarj/arj/ on clamscan man [1]
- Bump PORTREVISION because man change
Reported by: Anton Yuzhaninov <citrin at citrin.ru> [1]
* CVE-2006-1614
Damian Put discovered an integer overflow in the PE header parser.
This is only exploitable if the ArchiveMaxFileSize option is disabled.
* CVE-2006-1615
Format string vulnerabilities in the logging code have been discovered,
which might lead to the execution of arbitrary code.
* CVE-2006-1630
David Luyer discovered, that ClamAV can be tricked into an invalid
memory access in the cli_bitset_set() function, which may lead to
a denial of service.
- Synchronize with clamav port using SUB_FILES, USE_RC_SUBR
PR: ports/95425
Submitted by: garga
Security: VuXML 6a5174bd-c580-11da-9110-00123ffe8333
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.
Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.
Preliminary documentation can be found at:
http://people.FreeBSD.org/~ade/autotools.txt
which is in the process of being SGMLized before introduction into the
Porters Handbook.
Light blue touch-paper. Run.
ports/75607 into clamav-devel.
In particular, the last change to this port makes
use of the clamav-milter pidfile, which wouldn't be
recorded without the present change.
PR: ports/75607
Approved by: maintainer
directory to /var/db/clamav and fix removal of db on deinstall)
For the sake of coherence, the ClamAV database should be
installed in /var/db/clamav, not /usr/local/share/clamav.
Also fixes the database removal on package deinstallation.
PR: ports/74172
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Approved by: Rob Evers <rob@debank.tv>
- Fix fetching
- Fix -pthread/-lc_r issue for good
(courtesy of bsd.autotools.mk, who'd have guessed...)
PR: ports/71168
Submitted by: Rob Evers (maintainer), me
- Rename rc script freshclam.sh -> clamav-freshclam.sh for consistency
BEWARE if you're using freshclam daemon you must update your rc.conf!
- Chmod 770 socket directory
- Diff reduction against security/clamav port
PR: ports/67125
Submitted by: Rob Evers <rob@debank.tv> (maintainer)
AllowSupplementaryGroups enabled by default
Removed OSVERSION check (not needed anymore)
Make the port look a bit more like security/clamav
PR: 66203
Submitted by: Rob Evers
PR: 65205
Submitted by: Rob Evers
- fix deinstallation on clean system.
sed modifies clamav.conf.default and freshclam.conf.default only.
when installing on a clean system from port (package is fine),
clamav.conf.default and clamav.conf are diffrent
also freshclam.conf.default and freshclam.conf are diffrent,
and a deinstallation will leave stale files.
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".
For ports-in-waiting:
USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13
USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213
USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14
Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
the USE_<x> equivalents. In the current scheme of things, the WANT_
variables in this case are synonymous with the USE_ ones, and thus need
to be exterminated.
First in a series of major autotools cleanups.
PR: 63022
Submitted by: rob@debank.tv
- Use fixStaleSocket by default
- Add clamav user to mail group (for exim users)
- clean up DOCSDIR variable
PR: 63022
Submitted by: rob@debank.tv
Suggested by: eik
- The install doesn't delete the database anymore
- Don't remove the database on deinstall
- Use OPTIONS target
- handle all config install via the port
You have to run freshclam manually once after upgrade to restore the database.
PR: 62653
Submitted by: rob@debank.tv
- Fix deinstall when no database was installed.
Submitted by: dinoex
Get default config files from BUILD_WRKSRC to fix upgrade when config files are untouched
Really use the POST-INSTALL target
PR: 62112
Submitted by: rob@debank.tv
- use included libtool (seems heavily patched)
- make packageable and include a working configure file
- don't install useless .la files
- use DATADIR
- 510001 is FreeBSD 5.10, 5.1-CURRENT is 501100
- Change log and pid file location to more universal one
- RC-ng scripts for clamd and clamav-milter are planned
- Thanks to Oliver Eikemeier from whom I stole most (clamav-port)
PR: 57371
Submitted by: rob@debank.tv
add a few switches for spooldir and user
The clamav-user doesn't get deinstalled by default (easy when upgrading),
after deinstall a message is presented to remove the clamav-user if neccesary.
PR: 57254
Submitted by: rob@debank.tv
every day or snapshots have to be preserved elsewhere, this patch changes
the master_sites to a mirror which keeps the clamav-devel package for a
longer time. And while we're at it update to the latest snapshot.
PR: 55294
Submitted by: Rob Evers <rob@debank.tv>