Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2002 14:15:07 +0700 (NOVST)
From:      "Rashid N. Achilov" <shelton@sentry.granch.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40760: New port: mail/kavmilter
Message-ID:  <200207190715.g6J7F7Qe057745@sentry.granch.ru>

next in thread | raw e-mail | index | archive | help

>Number:         40760
>Category:       ports
>Synopsis:       New port: mail/kavmilter
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 19 00:20:05 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Rashid N. Achilov <shelton@granch.ru>
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Granch Ltd.
>Environment:
System: FreeBSD glance.granch.ru 4.6-STABLE FreeBSD 4.6-STABLE #11: Sun Jul 14 17:04:08 NOVST 2002 shelton@glance.granch.ru:/usr/src/sys/compile/Glance i386

>Description:
   kavmilter is a sendmail antiviral filter, based on a milter API,
   working together with Kaspersky Antivirla Daemon

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	kavmilter
#	kavmilter/Makefile
#	kavmilter/distinfo
#	kavmilter/pkg-comment
#	kavmilter/pkg-descr
#	kavmilter/pkg-message
#	kavmilter/pkg-plist
#
echo c - kavmilter
mkdir -p kavmilter > /dev/null 2>&1
echo x - kavmilter/Makefile
sed 's/^X//' >kavmilter/Makefile << 'END-of-kavmilter/Makefile'
X# New ports collection makefile for:   kavmilter
X# Date created:                18 Jul 2002
X# Whom:                        Rashid N. Achilov <shelton@granch.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      	kavmilter
XPORTVERSION=   	0.90.5
XCATEGORIES=    	mail
XMASTER_SITES=  	http://granch.ru/~shelton/fileZ/
X
XMAINTAINER=     shelton@granch.ru
X
XUSE_BZIP2=	yes
X
XMAN8=		kavmilter.8
X
Xpost-install:
X	strip ${PREFIX}/libexec/kavmilter
X
X	@${INSTALL_SCRIPT} -m 751 ${WRKSRC}/kavmilter.sh.sample ${PREFIX}/etc/rc.d/kavmilter.sh.sample
X
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	for i in ${WRKSRC}/README			\
X		 ${WRKSRC}/CHANGES ; do 		\
X	   ${INSTALL_DATA} $$i ${DOCSDIR} ;  		\
X	done
X.endif
X
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-kavmilter/Makefile
echo x - kavmilter/distinfo
sed 's/^X//' >kavmilter/distinfo << 'END-of-kavmilter/distinfo'
XMD5 (kavmilter-0.90.5.tar.bz2) = 97c6bbc0d76cb0654bb22c7b243daf71
END-of-kavmilter/distinfo
echo x - kavmilter/pkg-comment
sed 's/^X//' >kavmilter/pkg-comment << 'END-of-kavmilter/pkg-comment'
XSendmail antivirus filter, based on Milter API
END-of-kavmilter/pkg-comment
echo x - kavmilter/pkg-descr
sed 's/^X//' >kavmilter/pkg-descr << 'END-of-kavmilter/pkg-descr'
XThis is a sendmail filter, based on Milter API, intedned to do
Xantiviral check through Kaspersky Antivirus. It doesn't checks mail
Xitself, but passes it to preliminary setuped Kaspersky Antivirus
Xto check, reads result, and, depending it, descards/rejects or
Xpasses mail. This check issued 'in-place' delivery processing, so,
Xnor extracting, nor extra reinjecting in/out mail queue doesn't
Xissued. But this program is NOT mail transfer agent and NOT
Xantivirus itself. At first glance it is a set of hooks, which
Xexecuted when sendmail takes some appropriate actions - connecting
Xremote server, receiving MAIL FROM or RCPT TO,
Xtransferring header or body of message, etc.
X
XWWW: http://granch.ru/~shelton/
X
X- Rashid N. Achilov
Xshelton@granch.ru
END-of-kavmilter/pkg-descr
echo x - kavmilter/pkg-message
sed 's/^X//' >kavmilter/pkg-message << 'END-of-kavmilter/pkg-message'
X************************************************************************
X
X1. In order to run this port, please add the following line to
X/etc/mail/freebsd.mc:
X
XINPUT_MAIL_FILTER(`kavmilter',`S=unix:/var/run/kavmilter,F=T')
X
Xand appropriate correct the line with confINPUT_MAIL_FILTERS, when exist.
X
XDon't forget remake sendmail configuration file after modifying freebsd.mc
X
X2. In order to run this port properly, you system have to already has
Xinstalled, configured and run Kaspersky Antiviral Daemon (KAV). It has
Xmissed the ports, but you can download and install beta version from
Xftp://ftp.avp.ru/beta/KAVUnix/KAVFreeBSD/4X/kav-MailServerSuit-4.0.2.1-FreeBSD-4.x.tgz
X
XBE AWARE! Kaspersky Lab has their own look on files and dirs hierarchy,
Xwhich doesn't correspond with hier(7) manual page. Probably you'll want
Xto manually move executable bunaries and configs as you need. Also you
Xhave to keep in mind that downloadbale trial version of KAV Daemon has
Xsome restrictions.
X************************************************************************
END-of-kavmilter/pkg-message
echo x - kavmilter/pkg-plist
sed 's/^X//' >kavmilter/pkg-plist << 'END-of-kavmilter/pkg-plist'
Xlibexec/kavmilter
Xetc/rc.d/kavmilter.sh.sample
Xshare/doc/kavmilter/README
Xshare/doc/kavmilter/CHANGES
X@dirrm share/doc/kavmilter
END-of-kavmilter/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207190715.g6J7F7Qe057745>