Date: 21 Aug 2002 06:01:33 -0000 From: Miroslav Pendev <miro@cybershade.us> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/41836: new port - virus filtering tool for qmail Message-ID: <20020821060133.10635.qmail@cpe0004761ac738-cm00109515bc65.cpe.net.cable.rogers.com>
next in thread | raw e-mail | index | archive | help
>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 <miro@cybershade.us> >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 <miro@cybershade.us> 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~ >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~ >odeiavir.h X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> 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 <miro@cybershade.us> 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 <miro@cybershade.us> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020821060133.10635.qmail>