ClamSMTP is an SMTP filter that allows you to check for viruses using
the ClamAV anti-virus software. It accepts SMTP connections and forwards
the SMTP commands and responses to another SMTP server. The 'DATA' email
body is intercepted and scanned before forwarding.
ClamSMTP aims to be lightweight, reliable, and simple rather than have a
myriad of options. It's written in C without major dependencies. If you
need more options then you could use something big like AMaViS which is
written in PERL and can do almost anything.
===> The following configuration options are available for clamsmtp-1.10_6:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
LOCAL_CLAMAV=on: RUN_DEPEND on security/clamav
===> Use 'make config' to modify these settings
security/clamav: Update to 1.0.0
* Switch to use bundled TomsFastMath library. Upstream made
incompatible change to bundled copy and this makes it impossible to
use external one. They also dropped option to use it.
* Bump PORTREVISION of consumers as shlib version is changed.
* Note that though this is new LTS feature release security/clamav-lts
stays in 0.103.x until either next regular feature release (probably
1.1.0) is released or 0.103.x reaches its EoL.
ReleaseNotes: https://blog.clamav.net/2022/11/clamav-100-lts-released.html
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
security: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ports@c0decafe.net>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Dupre <ale@FreeBSD.org>
* Alex Kapranoff <kappa@rambler-co.ru>
* Alex Samorukov <samm@freebsd.org>
* Alexander Botero-Lowry <alex@foxybanana.com>
* Alexander Kriventsov <avk@vl.ru>
* Alexander Leidinger <netchild@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
security/clamsmtp: Update MASTER_SITES
Switch MASTER_SITES back to official site as it is revived.
File name of archive changes but contents don't. So don't bump
PORTREVISION.
PR: 256770
Approved by: meta (mentor), ygy (mentor)
Differential Revision: https://reviews.freebsd.org/D32174
Retire security/clamav-devel, clamav is not being updated that much nowadays,
so a -devel version is not required anymore. Also removed OPTIONS on other
ports that pointed to clamav-devel as a dependency.
Approved by: portmgr (implict)
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.
- update master-site and www in pkg-descr
PR: ports/160697
Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Reported by: Juergen Dankoweit <Juergen.Dankoweit at T-Online dot de> via
ports@
- 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)
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
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
(Only the first 15 lines of the commit message are shown above )
- Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.
Sponsored by: Google Summer of Code 2007
Approved by: portmgr (pav)
- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
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
- Update clamav to 0.90.1
- Use -lthr to build clamav since it has problems with libpthread
- Bump PORTREVISION of dependant ports, libclamav version was bumped
- Fix clamcour to build with clamav-0.90.x using patch sent by maintainer
Clean up sig_stop values. In most cases this means removing a leading -,
since rc.subr adds that already. In 3 cases it meant removing a wrongly
specified TERM, since that is the default.
Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
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.
- bump PORTREVISION for plist change.
- Add WITH_LOCAL_CLAMAV[_DEVEL] to run-depend on security/clamav[-devel];
default LOCAL_CLAMAV on to restore the way port behaved until last update.
Depend on installed package rather that clamd to register depends correctly.
- If one of the clam options is on, make rc.d script to REQUIRE: clamd
Actually use clamsmtp_debug var.
Also make rc.d script to look more like the example in PH.
- Install example script in EXAMPLESDIR rather that DOCSDIR;
- Moved: pkg-message --> files/pkg-message.in
- Drop USE_REINPLACE while here.
PR: 93157
Submitted by: Ion-Mihai Tetcu <itetcu AT people dot tecnik93 dot com>
- update to 1.4
- from Changelog
- Documentation fixes
- Don't leak file descriptors when clamsmtpd can't connect to outgoing
SMTP server
- Now accepts special format arguments on 'Header' line
- Supress weird warnings when looking up names of local unix connections.
- update to 1.2
+ Install README in $DOCSDIR
+ Install scripts/virus_action.sh in $DOCSDIR
PR: ports/75406
Submitted by: Marcus Grando <marcus AT corp.grupos.com.br>
- update to 1.1
- From ChangeLog
- Added CLIENT and SERVER variables to VirusAction script environment.
- Even better logging for network errors.
- Print out clamsmtp version in debug logs
- Allow configuration of server keep alives (NOOPs). Default to none
Approved by: co-mentor (vanilla)
- bump PORTREVISION
- -d option only works as a daemon now.
- remove it from startup script and wait for future release.
- Noticed by <richard AT boysoncom dot com>
Approved by: co-mentor (vanilla)
- update to 0.7
- From ChangeLog
- Added support for ESMTP [Andreas Steinmetz]
- Fixed crash when too many connections established
- Announce ourselves as 'clamsmtp' in EHLO/HELO responses which fixes
'loopback'
problems with certain versions of Postfix 1.x
- Better IO performance under heavy load
- Fixed most warnings when compiled with -Wall
- Fixed other minor bugs
Approved by: vanilla (co-mentor)
[MAINTAINER] security/clamsmtp: update to 0.5
- I'm maintainer (with another email)
- Update to 0.5
- C&P from ChnageLog
- Announce ourselves as 'clamsmtp' in banner to prevent loop warnings
- Fixed endless loop that occurred on failure to connect out
- Added option for leaving all files in temp directory (debugging
purposes)
- Prints version number when run with -v
PR: ports/69971
Submitted by: Cheng-Lung Sung <clsung@freebsd.csie.nctu.edu.tw>