From owner-freebsd-ports Tue Aug 20 23:10:24 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63A8837B406 for ; Tue, 20 Aug 2002 23:10:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CB4943E6A for ; Tue, 20 Aug 2002 23:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7L6A2JU007719 for ; Tue, 20 Aug 2002 23:10:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7L6A2SJ007718; Tue, 20 Aug 2002 23:10:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1300037B400 for ; Tue, 20 Aug 2002 23:01:21 -0700 (PDT) Received: from CPE0004761ac738-CM00109515bc65.cpe.net.cable.rogers.com (CPE0004761ac738-CM00109515bc65.cpe.net.cable.rogers.com [24.103.39.131]) by mx1.FreeBSD.org (Postfix) with SMTP id 66FC543E70 for ; Tue, 20 Aug 2002 23:01:20 -0700 (PDT) (envelope-from root@cpe0004761ac738-cm00109515bc65.cpe.net.cable.rogers.com) Received: (qmail 10636 invoked by uid 0); 21 Aug 2002 06:01:33 -0000 Message-Id: <20020821060133.10635.qmail@cpe0004761ac738-cm00109515bc65.cpe.net.cable.rogers.com> Date: 21 Aug 2002 06:01:33 -0000 From: Miroslav Pendev Reply-To: Miroslav Pendev To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/41836: new port - virus filtering tool for qmail Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41836 >Category: ports >Synopsis: new port - virus filtering tool for qmail >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: Tue Aug 20 23:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Miroslav Pendev >Release: FreeBSD 4.6-STABLE i386 >Organization: cybershade.us >Environment: System: FreeBSD cybershade.us 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jun 30 11:44:01 EDT 2002 root@cybershade.us:/usr/src/sys/compile/SHADOWNAT i386 >Description: New port - Virus filtering tool, it works in the local delivery phase of the email. Currently it works with qmail only. You'll need an antivirus program, too. This version supports either VirusScan, F-Prot, Panda, Sophos, InoculateIT, RAV, Kaspersky, or F-Secure. More to follow... Dependence port: ripmime. >How-To-Repeat: >Fix: Please, see attached odeiavir.sh shar file. --- odeiavir.sh 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/odeiavir # /usr/ports/mail/odeiavir/Makefile # /usr/ports/mail/odeiavir/pkg-plist # /usr/ports/mail/odeiavir/pkg-message # /usr/ports/mail/odeiavir/pkg-descr # /usr/ports/mail/odeiavir/pkg-comment # /usr/ports/mail/odeiavir/distinfo # /usr/ports/mail/odeiavir/files # /usr/ports/mail/odeiavir/files/patch-aa # echo c - /usr/ports/mail/odeiavir mkdir -p /usr/ports/mail/odeiavir > /dev/null 2>&1 echo x - /usr/ports/mail/odeiavir/Makefile sed 's/^X//' >/usr/ports/mail/odeiavir/Makefile << 'END-of-/usr/ports/mail/odeiavir/Makefile' X# Ports collection makefile for: odeiavir X# Date created: 21 August 2002 X# Whom: Miroslav Pendev X# X# $FreeBSD$ X XPORTNAME= odeiavir XPORTVERSION= 0.4.4 XPORTREVISION= 1 XCATEGORIES= mail XMASTER_SITES= http://virus.isverybad.org/ \ X http://www.cybershade.us/freebsd/odeiavir/ X XMAINTAINER= miro@cybershade.us X XRUN_DEPENDS= ${LOCALBASE}/bin/ripmime:${PORTSDIR}/mail/ripmime X XMAN8= odeiavir.8 XMANCOMPRESSED= no X X# The paths to qmail and ripemime are hardcoded into odeiavir! X# If your qmail and ripemime are not into default location X# change these to your real path. X XQMAIL_PATH= /var/qmail XRIPMIME_PATH= /usr/local/bin X XMSG_FILE= ${PKGDIR}/pkg-message XPKGMESSAGE= ${WRKDIR}/pkg-message X Xpre-fetch: X @${ECHO_MSG} "=========================================================" X @${ECHO_MSG} "NOTE: You must have qmail up and running properly," X @${ECHO_MSG} " before this installation." X @${ECHO_MSG} "" X @${ECHO_MSG} "Qmail is not in the dependences list of this package!" X @${ECHO_MSG} "=========================================================" X Xpost-patch: X @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE} X Xpre-build: X @cd ${WRKSRC}; ${MV} Makefile Makefile~; \ X ${SED} -e s:/usr:${PREFIX}:g -e s:/etc/odeiavir:${PREFIX}/etc/odeiavir:g Makefile X @cd ${WRKSRC}; ${MV} odeiavir.h odeiavir.h~; \ X ${SED} -e s:/var/qmail:${QMAIL_PATH}:g -e s:/usr/bin/ripmime:${RIPMIME_PATH}:g odeiavir.h X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-/usr/ports/mail/odeiavir/Makefile echo x - /usr/ports/mail/odeiavir/pkg-plist sed 's/^X//' >/usr/ports/mail/odeiavir/pkg-plist << 'END-of-/usr/ports/mail/odeiavir/pkg-plist' Xbin/odeiavir Xetc/odeiavir/owarning.txt.sample Xetc/odeiavir/swarning.txt.sample Xetc/odeiavir/warning.txt.sample Xetc/odeiavir/config.sample END-of-/usr/ports/mail/odeiavir/pkg-plist echo x - /usr/ports/mail/odeiavir/pkg-message sed 's/^X//' >/usr/ports/mail/odeiavir/pkg-message << 'END-of-/usr/ports/mail/odeiavir/pkg-message' X=============================================================== X XDo not forget to edit %%PREFIX%%/etc/odeiavir/config file. XUncomment the options you need and pick the antivirus Xprogram odeiavir will use! X X--Miroslav Pendev X X=============================================================== END-of-/usr/ports/mail/odeiavir/pkg-message echo x - /usr/ports/mail/odeiavir/pkg-descr sed 's/^X//' >/usr/ports/mail/odeiavir/pkg-descr << 'END-of-/usr/ports/mail/odeiavir/pkg-descr' XOdeiaVir is a email virus filtering utility. X XIt is meant to be placed at the local delivery phase of the e-mail Xmessage lifetime. It currently works only with qmail. You call it Xfrom the user's .qmail file. This means you can virus-proof ezmlm Xlists, too. X XYou'll need an antivirus program, too. This version supports either XVirusScan, F-Prot, Panda, Sophos, InoculateIT, RAV, Kaspersky, or XF-Secure. More to follow... X X XWWW: http://virus.isverybad.org X X--Miroslav Pendev END-of-/usr/ports/mail/odeiavir/pkg-descr echo x - /usr/ports/mail/odeiavir/pkg-comment sed 's/^X//' >/usr/ports/mail/odeiavir/pkg-comment << 'END-of-/usr/ports/mail/odeiavir/pkg-comment' XEmail virus filtering utility END-of-/usr/ports/mail/odeiavir/pkg-comment echo x - /usr/ports/mail/odeiavir/distinfo sed 's/^X//' >/usr/ports/mail/odeiavir/distinfo << 'END-of-/usr/ports/mail/odeiavir/distinfo' XMD5 (odeiavir-0.4.4.tar.gz) = c693ad76a6b608a3c2f3d01ab6d3f1e3 END-of-/usr/ports/mail/odeiavir/distinfo echo c - /usr/ports/mail/odeiavir/files mkdir -p /usr/ports/mail/odeiavir/files > /dev/null 2>&1 echo x - /usr/ports/mail/odeiavir/files/patch-aa sed 's/^X//' >/usr/ports/mail/odeiavir/files/patch-aa << 'END-of-/usr/ports/mail/odeiavir/files/patch-aa' X--- odeiavir.c Wed Feb 27 14:07:24 2002 X+++ odeiavir.c Tue Aug 20 23:32:15 2002 X@@ -479,7 +479,7 @@ X /* Write infected message's header as part of the body */ X if (dismembered) X { X- fdi = open("headers.txt", O_RDONLY); X+ fdi = open("parts/headers.txt", O_RDONLY); X if (fdi != -1) X { X while((lidos = read(fdi, buf, sizeof(buf))) > 0) END-of-/usr/ports/mail/odeiavir/files/patch-aa exit --- odeiavir.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message