Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 18:47:52 +0700 (NOVST)
From:      "Rashid N. Achilov" <shelton@sentry.granch.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53250: new version of kavmilter port
Message-ID:  <200306121147.h5CBlqBg002591@sentry.granch.ru>
Resent-Message-ID: <200306121150.h5CBoBeC008179@freefall.freebsd.org>

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

>Number:         53250
>Category:       ports
>Synopsis:       new version of kavmilter port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 12 04:50:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Rashid N. Achilov
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Granch Ltd.
>Environment:
System: FreeBSD sentry.granch.ru 4.8-STABLE FreeBSD 4.8-STABLE #30: Mon Jun 9 17:07:15 NOVST 2003 shelton@sentry.granch.ru:/usr/src/sys/compile/Sentry i386
>Description:
	kavmilter is a sendmail antivirus mail filter, based on libmilter API
        This port is a new version port of kavmilter. Library dependancy from
        libsmutil has been fixed, Makefile and other files were corrected
>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-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:                12 Jun 2003
X# Whom:                        Rashid N. Achilov <shelton@granch.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      		kavmilter
XPORTVERSION=   		0.91.3
XCATEGORIES=    		mail
XMASTER_SITES=  		ftp://granch.ru/pub/kavmilter/
X
XMAINTAINER=     	shelton@granch.ru
XCOMMENT=		Sendmail antivirus filter, based on Kaspersky Antivirus and Milter API
X
XUSE_BZIP2=		yes
XUSE_GETOPT_LONG=        yes
X
XMAN5=			kavmilter.5
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	@${INSTALL_SCRIPT} -m 644 ${WRKSRC}/kavmilter.conf ${PREFIX}/etc/kavmilter.conf.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.91.3.tar.bz2) = 1efcd76a25ded8857376ef31dd2b6a5a
END-of-kavmilter/distinfo
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, discards/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
X
Xftp://ftp.avp.ru/beta/KAVUnix/KAVFreeBSD/4X/kav-MailServerSuit-4.0.2.1-FreeBSD-4.x.tgz
X
Xor
X
Xftp://ftp.avp.ru/patches/KAVUnix4.0.3.0_UrgentUpdate1/FreeBSD/4.x/kav-WorkStationSuit-4.0.3.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
X3. When you encountered, that pointed up directory already does not exist,
Xvisit a www.kaspersky.com site in order to resolve this problem. I am not
XKaspersky Antivirus distributor, and do not have permissions to distribute
Xtheir products.
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/kavmilter.conf.sample
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:



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