diff --git a/security/Makefile b/security/Makefile index 5e10c5ade446..01e92a5a699d 100644 --- a/security/Makefile +++ b/security/Makefile @@ -33,6 +33,7 @@ SUBDIR += heimdal SUBDIR += ident2 SUBDIR += identify + SUBDIR += inflex SUBDIR += its4 SUBDIR += john SUBDIR += keynote diff --git a/security/inflex/Makefile b/security/inflex/Makefile new file mode 100644 index 000000000000..410c826d998e --- /dev/null +++ b/security/inflex/Makefile @@ -0,0 +1,35 @@ +# New ports collection Makefile for: inflex +# Date created: 18 August 2000 +# Whom: Justin Stanford +# +# $FreeBSD$ +# + +PORTNAME= inflex +PORTVERSION= 0.1.5.c +CATEGORIES= security +MASTER_SITES= http://www.inflex.co.za/ +DISTNAME= inflex-0.1.5c + +MAINTAINER= jus@security.za.net + +RUN_DEPENDS= ${LOCALBASE}/bin/metamail:${PORTSDIR}/mail/metamail \ + ${LOCALBASE}/bin/formail:${PORTSDIR}/mail/procmail + +NO_BUILD= yes + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/inflex ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/inflex.cf ${PREFIX}/etc + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/inflex +.for FILE in AUTHORS CHANGELOG COPYRIGHT EXIM_USERS README.1ST THANKS TODO \ + UNINSTALL ModifyingInflex + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/doc/inflex +.endfor +.endif + ${CAT} ${PKGMESSAGE} + +.include diff --git a/security/inflex/distinfo b/security/inflex/distinfo new file mode 100644 index 000000000000..ca7f924135fc --- /dev/null +++ b/security/inflex/distinfo @@ -0,0 +1 @@ +MD5 (inflex-0.1.5c.tar.gz) = be49f6d454f99bcb34687a54dbcddbd1 diff --git a/security/inflex/files/patch-aa b/security/inflex/files/patch-aa new file mode 100644 index 000000000000..9e60452156a8 --- /dev/null +++ b/security/inflex/files/patch-aa @@ -0,0 +1,39 @@ +--- inflex.orig Wed Jul 26 17:12:27 2000 ++++ inflex Fri Aug 18 13:42:53 2000 +@@ -129,21 +129,21 @@ + # + # setup our commonly used files + # +-test=/usr/bin/test +-mail=/bin/mail ++test=/bin/test ++mail=/usr/bin/mail + grep=/usr/bin/grep + file=/usr/bin/file + find=/usr/bin/find +-touch=/bin/touch +-metamail=/usr/bin/metamail +-formail=/usr/bin/formail ++touch=/usr/bin/touch ++metamail=/usr/local/bin/metamail ++formail=/usr/local/bin/formail + + + # + # Our MAIL PROGRAMS + # + sendmail=/usr/sbin/sendmail +-exim=/usr/exim/bin/exim ++exim=/usr/local/sbin/exim + + # + # Our Virus Scanners +@@ -151,7 +151,7 @@ + #sophos=/usr/local/bin/sweep + sophos= + mcafee= +-fsav=/usr/local/fsav/fsav ++fsav= + + + # diff --git a/security/inflex/files/patch-ab b/security/inflex/files/patch-ab new file mode 100644 index 000000000000..31f9d2e0003e --- /dev/null +++ b/security/inflex/files/patch-ab @@ -0,0 +1,11 @@ +--- inflex.cf.orig Mon Jul 24 22:43:12 2000 ++++ inflex.cf Fri Aug 18 13:43:01 2000 +@@ -895,7 +895,7 @@ + + ##### @(#)local.m4 8.30 (Berkeley) 6/30/1998 ##### + +-Minflex, P=/usr/sbin/inflex, F=CsDFM:/|@qShP, S=0, R=0 ++Minflex, P=/usr/local/bin/inflex, F=CsDFM:/|@qShP, S=0, R=0 + T=DNS/RFC822/X-Unix, + A=inflex $h $u $f + diff --git a/security/inflex/pkg-comment b/security/inflex/pkg-comment new file mode 100644 index 000000000000..626744c6fb09 --- /dev/null +++ b/security/inflex/pkg-comment @@ -0,0 +1 @@ +Inbound/outbound antivirus e-mail scanner for sendmail servers diff --git a/security/inflex/pkg-descr b/security/inflex/pkg-descr new file mode 100644 index 000000000000..8b15c5f8cbbf --- /dev/null +++ b/security/inflex/pkg-descr @@ -0,0 +1,15 @@ +Inflex is an inline virus scanner for sendmail mail servers (a port for +exim use also exists) which utilises an external virus scanner to scan all +inbound and outbound e-mail and attachments for viruses, and stop them +before they reach the recipients. + +Inflex notifies both the sender and the receiver that the mail is infected +and has been halted. + +Inflex does not impose much overhead and has been tested and is in use on +major corporate networks with large amounts of mail traffic. + +WWW: http://www.inflex.co.za/ + +- jus +jus@security.za.net diff --git a/security/inflex/pkg-message b/security/inflex/pkg-message new file mode 100644 index 000000000000..95dd58d72db9 --- /dev/null +++ b/security/inflex/pkg-message @@ -0,0 +1,27 @@ + === INFLEX INSTALLATION === + +(*) You need to download and install one of the antivirus programs +supported by inflex. + +From inflex INSTALL: + + You can obtain F-Prot AntiVirus from http://www.gas.co.za + ALTERNATIVELY YOU CAN INSTALL... + + Sophos AntiVirus: + http://www.sophos.com + + NAI UVScan [McAfee] (Check "/usr/ports/security/vscan/"): + http://www.mcafee.com + +(*) You now need to edit /usr/local/bin/inflex and set your antivirus +program of choice, aswell as the email address of the administrator. + +(*) You'll need to create inflex's mqueue directory: /var/log/inflexmq + +(*) Kill sendmail, then start it up with inflex's sendmail config, i.e.: + + /usr/sbin/sendmail -bd -C /usr/local/etc/inflex.cf + +(*) You're ready to roll - send some viruses through to check that it +works. The inflex documentation is in "/usr/local/share/doc/inflex/". diff --git a/security/inflex/pkg-plist b/security/inflex/pkg-plist new file mode 100644 index 000000000000..b1a4ccdfaca4 --- /dev/null +++ b/security/inflex/pkg-plist @@ -0,0 +1,2 @@ +bin/inflex +etc/inflex.cf