From dsh@neva.vlink.ru  Thu Aug 22 23:25:17 2002
Return-Path: <dsh@neva.vlink.ru>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4B70D37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Aug 2002 23:25:17 -0700 (PDT)
Received: from neva.vlink.ru (neva.vlink.ru [195.239.222.8])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2A36643E65
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Aug 2002 23:25:16 -0700 (PDT)
	(envelope-from dsh@neva.vlink.ru)
Received: from neva.vlink.ru (localhost [127.0.0.1])
	by neva.vlink.ru (8.12.5/8.12.5) with ESMTP id g7N6PELs078299
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Aug 2002 10:25:14 +0400 (MSD)
	(envelope-from dsh@neva.vlink.ru)
Received: (from dsh@localhost)
	by neva.vlink.ru (8.12.5/8.12.5/Submit) id g7N6PEuK078298;
	Fri, 23 Aug 2002 10:25:14 +0400 (MSD)
	(envelope-from dsh)
Message-Id: <200208230625.g7N6PEuK078298@neva.vlink.ru>
Date: Fri, 23 Aug 2002 10:25:14 +0400 (MSD)
From: Denis Shaposhnikov <dsh@vlink.ru>
Reply-To: Denis Shaposhnikov <dsh@neva.vlink.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: A simple antivirus solution for a mail system
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         41922
>Category:       ports
>Synopsis:       New port: A simple antivirus solution for a mail system
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obraun
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 22 23:30:01 PDT 2002
>Closed-Date:    Fri Aug 23 05:41:30 PDT 2002
>Last-Modified:  Fri Aug 23 05:41:30 PDT 2002
>Originator:     Denis Shaposhnikov
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD neva.vlink.ru 4.6-STABLE FreeBSD 4.6-STABLE #5: Wed Aug 14 15:11:54 MSD 2002 root@neva.vlink.ru:/var/FreeBSD/src/sys/compile/NEVA i386

>Description:

Please, close previous report http://www.freebsd.org/cgi/query-pr.cgi?pr=39469

Avcheck is a simple program that allows you to call an antivirus
software in order to check mail messages for viruses before actual
delivery from within a Mail Transfer Agent, or MTA.

Avcheck itself isn't a virusscanner, nor it is an MTA. It sits between
the MTA and a real antivirus software. Most MTAs available today can
call an external program for every mail message in order to perform
various tasks, including virus scanning and content filtering. Avcheck
can be used as that external program.

Avcheck will receive a mail message from a mail system, pass it to an
antivirus software, and, depending on the presence of a virus in that
message, will either allow the message to be delivered or take
appropriate actions to handle infected mail.

Avcheck does nothing with a mail message contents -- it's task is to
prepare file with a mail message and feed it to an antivirus
progra. It's an antivirus task to decode MIME structure, handle
embedded archives and so on. Many but not all antivirus products today
have this ability.

WWW: http://www.corpit.ru/avcheck/

>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:
#
#	avcheck/
#	avcheck/Makefile
#	avcheck/pkg-plist
#	avcheck/distinfo
#	avcheck/pkg-comment
#	avcheck/pkg-descr
#
echo c - avcheck/
mkdir -p avcheck/ > /dev/null 2>&1
echo x - avcheck/Makefile
sed 's/^X//' >avcheck/Makefile << 'END-of-avcheck/Makefile'
X# New ports collection makefile for: avcheck
X# Date created:         Fri Jun 14 14:31:42 MSD 2002
X# Whom:                 dsh@vlink.ru
X#
X# $FreeBSD$
X#
X
XPORTNAME=	avcheck
XPORTVERSION=    0.9
XCATEGORIES=	mail
XMASTER_SITES=   http://www.corpit.ru/ftp/avcheck/
X
XMAINTAINER=	dsh@vlink.ru
X
XMAN1=		avcheck.1
X
XAVCHECK_DOCS=	README.AVP README.AVP.de README.DrWeb README.Exim \
X		README.Postfix README.Postfix.de README.Sendmail eicar.msg \
X		eicar.txt
XAVCHECK_SBINS=	avcheck uchroot
X
Xdo-install:
X.for i in ${AVCHECK_SBINS}
X	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/sbin/
X.endfor
X
X.for i in ${MAN1}
X	${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1/
X.endfor
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
X.for i in ${AVCHECK_DOCS}
X	${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/${PORTNAME}/
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-avcheck/Makefile
echo x - avcheck/pkg-plist
sed 's/^X//' >avcheck/pkg-plist << 'END-of-avcheck/pkg-plist'
Xsbin/avcheck
Xsbin/uchroot
X%%PORTDOCS%%share/doc/avcheck/README.AVP
X%%PORTDOCS%%share/doc/avcheck/README.AVP.de
X%%PORTDOCS%%share/doc/avcheck/README.DrWeb
X%%PORTDOCS%%share/doc/avcheck/README.Exim
X%%PORTDOCS%%share/doc/avcheck/README.Postfix
X%%PORTDOCS%%share/doc/avcheck/README.Postfix.de
X%%PORTDOCS%%share/doc/avcheck/README.Sendmail
X%%PORTDOCS%%share/doc/avcheck/eicar.msg
X%%PORTDOCS%%share/doc/avcheck/eicar.txt
X%%PORTDOCS%%@dirrm share/doc/avcheck
END-of-avcheck/pkg-plist
echo x - avcheck/distinfo
sed 's/^X//' >avcheck/distinfo << 'END-of-avcheck/distinfo'
XMD5 (avcheck-0.9.tar.gz) = fba30c3992c97d93d07daeaa46f4df80
END-of-avcheck/distinfo
echo x - avcheck/pkg-comment
sed 's/^X//' >avcheck/pkg-comment << 'END-of-avcheck/pkg-comment'
XA simple antivirus solution for a mail system
END-of-avcheck/pkg-comment
echo x - avcheck/pkg-descr
sed 's/^X//' >avcheck/pkg-descr << 'END-of-avcheck/pkg-descr'
XAvcheck is a simple program that allows you to call an antivirus
Xsoftware in order to check mail messages for viruses before actual
Xdelivery from within a Mail Transfer Agent, or MTA.
X
XAvcheck itself isn't a virusscanner, nor it is an MTA. It sits between
Xthe MTA and a real antivirus software. Most MTAs available today can
Xcall an external program for every mail message in order to perform
Xvarious tasks, including virus scanning and content filtering. Avcheck
Xcan be used as that external program.
X
XAvcheck will receive a mail message from a mail system, pass it to an
Xantivirus software, and, depending on the presence of a virus in that
Xmessage, will either allow the message to be delivered or take
Xappropriate actions to handle infected mail.
X
XAvcheck does nothing with a mail message contents -- it's task is to
Xprepare file with a mail message and feed it to an antivirus
Xprogra. It's an antivirus task to decode MIME structure, handle
Xembedded archives and so on. Many but not all antivirus products today
Xhave this ability.
X
XWWW: http://www.corpit.ru/avcheck/
END-of-avcheck/pkg-descr
exit

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->obraun 
Responsible-Changed-By: obraun 
Responsible-Changed-When: Fri Aug 23 01:55:08 PDT 2002 
Responsible-Changed-Why:  
I'll handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41922 
State-Changed-From-To: open->closed 
State-Changed-By: obraun 
State-Changed-When: Fri Aug 23 05:39:47 PDT 2002 
State-Changed-Why:  
Port added with category security and some small changes, thanks! 
Please respect CC and CFLAGS next time. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41922 
>Unformatted:
