Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2002 19:47:59 +0200 (CEST)
From:      Eirik Nygaard <eirikn@bluezone.no>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39371: 
Message-ID:  <200206161747.g5GHlx0g014323@eirikn.net>

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

>Number:         39371
>Category:       ports
>Synopsis:       
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 16 10:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Eirik Nygaard
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD eirikn.net 4.6-STABLE FreeBSD 4.6-STABLE #1: Sun Jun 16 16:03:12 CEST 2002 eirik@eirikn.net:/usr/obj/usr/src/sys/ITvision i386


>Description:
New port: qmail-scanner a small and fast virus scanner for qmail.

--- qmail-scanner.port begins here ---
# 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:
#
#	/usr/ports/mail/qmail-scanner/
#	/usr/ports/mail/qmail-scanner/Makefile
#	/usr/ports/mail/qmail-scanner/pkg-descr
#	/usr/ports/mail/qmail-scanner/pkg-comment
#	/usr/ports/mail/qmail-scanner/pkg-plist
#	/usr/ports/mail/qmail-scanner/distinfo
#	/usr/ports/mail/qmail-scanner/files
#	/usr/ports/mail/qmail-scanner/files/patch-aa
#
echo c - /usr/ports/mail/qmail-scanner/
mkdir -p /usr/ports/mail/qmail-scanner/ > /dev/null 2>&1
echo x - /usr/ports/mail/qmail-scanner/Makefile
sed 's/^X//' >/usr/ports/mail/qmail-scanner/Makefile << 'END-of-/usr/ports/mail/qmail-scanner/Makefile'
X# New ports collection makefile for:   qmail-scanner
X# Date created:                16 June 2002
X# Whom:                        Eirik Nygaard <eirikn@bluezone.no>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      qmail-scanner
XPORTVERSION=   1.12
XPORTREVISION=  1
XCATEGORIES=    mail security
XMASTER_SITES=  http://belnet.dl.sourceforge.net/sourceforge/qmail-scanner/ \
X               http://telia.dl.sourceforge.net/sourceforge/qmail-scanner/ \
X               http://unc.dl.sourceforge.net/sourceforge/qmail-scanner/
XEXTRACT_SUFX=  .tgz
X
XPREFIX=        /var/qmail/
XMAINTAINER=eirikn@bluezone.no
XWRKSRC=        ${WRKDIR}/${PORTNAME}-${PORTVERSION}
XNO_PACKAGE=You need to configurate it specaly for each computer
X
X.if !exists(${PREFIX}/rc)
X.BEGIN:
X	@${ECHO} "Install qmail with WITH_QMAILQUEUE_PATCH=yes and try to install this package again"
X	@${FALSE}
X.endif
X
Xdo-configure:
X	@${MKDIR} ${PREFIX}/spool
X
Xdo-build:
X	@${MKDIR} ${WRKSRC}
X	@cd ${WRKSRC}; tar -zxf ${DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
X
Xdo-install:
X	@cd ${WRKSRC}; ./configure --install --spooldir ${PREFIX}/spool/ --qmaildir ${PREFIX}
X
Xport-install:
X	@echo "Run \"su qmaild -c "/var/qmail/bin/qmail-scanner-queue.pl -g"\" on startup to activate qmail-scanner."
X	@echo "If you get can't do setuid then chmod +s /usr/bin/suidperl."
X	@echo "/usr/bin/suidperl is where your suidperl binary is located."
X
X.include <bsd.port.mk>
END-of-/usr/ports/mail/qmail-scanner/Makefile
echo x - /usr/ports/mail/qmail-scanner/pkg-descr
sed 's/^X//' >/usr/ports/mail/qmail-scanner/pkg-descr << 'END-of-/usr/ports/mail/qmail-scanner/pkg-descr'
XQmail-Scanner, (also known as scan4virus) is an addon that enables a
XQmail Email server to scan all gatewayed Email for certain
Xcharacteristics. It is typically used for its anti-virus protection
Xfunctions, in which case it is used in conjunction with commercial virus
Xscanners. but also enables a site to react to Email (at a server/site
Xlevel) that contains specific strings in particular headers, or
Xparticular attachment filenames or types (e.g. *.VBS attachments). It
Xalso can be used as an archiving tool for auditing or backup purposes.
XQmail-Scanner is integrated into the mail server at a lower level than
Xsome other Unix-based virus scanners, resulting in better performance.
XIt is capable of scanning not only locally sent/received Email, but also
XEmail that crosses the server in a relay capacity. It also has
XSpamAssassin support. 
X
XYou need to install qmail with WITH_QMAILQUEUE_PATCH=yes for it to work.
XYou alos need one of these virus scanners: Trend's Virus scanner, 
XSophos's "sweep" virus scanner, H+BEDV's antivir scanner, Kaspersky's
XAVPLinux scanner, MacAfee's (NAI's) virus scanner(found in ports as
Xuvscan), Command's virus scanner, F-Secure Anti-Virus scanner, F-Prot
XAnti-Virus scanner, InocuLAN Anti-Virus scanner, RAV Antivirus, Spam
XAssassin Daemon.
XYou must install the virus scanner(s) befor you install qmail-scanner.
END-of-/usr/ports/mail/qmail-scanner/pkg-descr
echo x - /usr/ports/mail/qmail-scanner/pkg-comment
sed 's/^X//' >/usr/ports/mail/qmail-scanner/pkg-comment << 'END-of-/usr/ports/mail/qmail-scanner/pkg-comment'
XA virus scanner for qmail
END-of-/usr/ports/mail/qmail-scanner/pkg-comment
echo x - /usr/ports/mail/qmail-scanner/pkg-plist
sed 's/^X//' >/usr/ports/mail/qmail-scanner/pkg-plist << 'END-of-/usr/ports/mail/qmail-scanner/pkg-plist'
Xspool/viruses
Xspool/quarantine.log
Xspool/viruses.log
Xspool/quarantine-attachments.txt
Xspool/qmail-queue.log
Xspool/quarantine-attachments.db
Xspool/qmail-scanner-queue-version.txt
Xbin/qmail-scanner-queue.pl
X@dirrm spool
X@dirrm spool/quarantine/tmp
X@dirrm spool/quarantine/cur
X@dirrm spool/quarantine/new
X@dirrm spool/quarantine
X@dirrm spool/working/new
X@dirrm spool/working/cur
X@dirrm spool/working/tmp
X@dirrm spool/working
X@dirrm spool
X@dirrm bin
END-of-/usr/ports/mail/qmail-scanner/pkg-plist
echo x - /usr/ports/mail/qmail-scanner/distinfo
sed 's/^X//' >/usr/ports/mail/qmail-scanner/distinfo << 'END-of-/usr/ports/mail/qmail-scanner/distinfo'
XMD5 (qmail-scanner-1.12.tgz) = a0e60f61d363b0675f443fa3fcdcd9ec
END-of-/usr/ports/mail/qmail-scanner/distinfo
echo c - /usr/ports/mail/qmail-scanner/files
mkdir -p /usr/ports/mail/qmail-scanner/files > /dev/null 2>&1
echo x - /usr/ports/mail/qmail-scanner/files/patch-aa
sed 's/^X//' >/usr/ports/mail/qmail-scanner/files/patch-aa << 'END-of-/usr/ports/mail/qmail-scanner/files/patch-aa'
X--- ../qmail-scanner-1.12/configure	Thu May  9 23:16:05 2002
X+++ configure	Sun Jun 16 19:14:44 2002
X@@ -50,7 +50,6 @@
X 
X [Hit <RETURN> to continue]
X "
X-    read ans
X     QSLANG="en_GB"
X fi
X 
X@@ -221,7 +220,6 @@
X 
X [Hit <RETURN> to continue]
X "
X-    read ans
X     QSLANG="en_GB"
X fi
X 
X@@ -241,7 +239,6 @@
X 
X Continue? ([Y]/N)
X EOF
X-read ans
X if [ "`echo $ans|grep -i n`" != "" ]; then
X     exit
X fi
X@@ -1115,7 +1112,6 @@
X 
X Continue? ([Y]/N) 
X EOF
X-read ans 
X if [ "`echo $ans|grep -i n`" != "" ]; then
X     exit
X fi
X@@ -1302,7 +1298,6 @@
X if [ "$INSTALLIT" != "0" ]; then
X     echo  "Hit RETURN to create initial directory structure under $AS_QQ,"
X     printf "and install qmail-scanner-queue.pl under $BINDIR: "
X-    read ans 
X 
X     mv -f $BINDIR/qmail-scanner-queue.pl $BINDIR/qmail-scanner-queue.pl.old 2>/dev/null
X     cp -f qmail-scanner-queue.pl $BINDIR/qmail-scanner-queue.pl
END-of-/usr/ports/mail/qmail-scanner/files/patch-aa
exit
--- qmail-scanner.port ends here ---


>How-To-Repeat:
>Fix:
>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?200206161747.g5GHlx0g014323>