summaryrefslogtreecommitdiffstats
path: root/security/inflex
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-10-23 21:49:12 +0000
committerwill <will@FreeBSD.org>2000-10-23 21:49:12 +0000
commitd1a9a7832394b04e5ec2949177efaa393481fae8 (patch)
tree9fbcea96a2aa6c68986946972a7e3e977fdd175e /security/inflex
parent5762d8f07f0df7530f773553389b77e5fe89ca9b (diff)
downloadFreeBSD-ports-d1a9a7832394b04e5ec2949177efaa393481fae8.zip
FreeBSD-ports-d1a9a7832394b04e5ec2949177efaa393481fae8.tar.gz
Add inflex 0.1.5.c, an inline virus scanner that uses sendmail. Its only
big problem is that it comes with its own sendmail.cf, which means you'll have to tailor it itself.. hopefully the vendor will figure out what he/she is doing and provide .mc files instead... PR: 20741 Submitted by: Justin Stanford <jus@security.za.net>
Diffstat (limited to 'security/inflex')
-rw-r--r--security/inflex/Makefile35
-rw-r--r--security/inflex/distinfo1
-rw-r--r--security/inflex/files/patch-aa39
-rw-r--r--security/inflex/files/patch-ab11
-rw-r--r--security/inflex/pkg-comment1
-rw-r--r--security/inflex/pkg-descr15
-rw-r--r--security/inflex/pkg-message27
-rw-r--r--security/inflex/pkg-plist2
8 files changed, 131 insertions, 0 deletions
diff --git a/security/inflex/Makefile b/security/inflex/Makefile
new file mode 100644
index 0000000..410c826
--- /dev/null
+++ b/security/inflex/Makefile
@@ -0,0 +1,35 @@
+# New ports collection Makefile for: inflex
+# Date created: 18 August 2000
+# Whom: Justin Stanford <jus@security.za.net>
+#
+# $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 <bsd.port.mk>
diff --git a/security/inflex/distinfo b/security/inflex/distinfo
new file mode 100644
index 0000000..ca7f924
--- /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 0000000..9e60452
--- /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 0000000..31f9d2e
--- /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 0000000..626744c
--- /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 0000000..8b15c5f
--- /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 0000000..95dd58d
--- /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 0000000..b1a4ccd
--- /dev/null
+++ b/security/inflex/pkg-plist
@@ -0,0 +1,2 @@
+bin/inflex
+etc/inflex.cf
OpenPOWER on IntegriCloud