summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2003-09-22 14:33:35 +0000
committermanu <manu@pkgsrc.org>2003-09-22 14:33:35 +0000
commit1dbd4541766633e542b4630b5762283cf75d5d15 (patch)
tree8cec2f71eb759deb95ce21d9bf18be72ff168b71
parent78690687851ab148aab5f937123a6243f3414aeb (diff)
downloadpkgsrc-1dbd4541766633e542b4630b5762283cf75d5d15.tar.gz
Behavior-based virus and spam milter for Sendmail
-rw-r--r--mail/jchkmail/DESCR8
-rw-r--r--mail/jchkmail/Makefile21
-rw-r--r--mail/jchkmail/PLIST9
-rw-r--r--mail/jchkmail/distinfo5
-rw-r--r--mail/jchkmail/patches/patch-aa27
5 files changed, 70 insertions, 0 deletions
diff --git a/mail/jchkmail/DESCR b/mail/jchkmail/DESCR
new file mode 100644
index 00000000000..d8a67f0d3b1
--- /dev/null
+++ b/mail/jchkmail/DESCR
@@ -0,0 +1,8 @@
+J-chkmail is a mail filtering software using the API milter of sendmail
+(versions 8.12.0 and later). Yet another filter...
+
+j-chkmail intends to be a scalable integrated solution to fight against
+virus and spam.
+
+In both cases, the main idea of j-chkmail is to avoid content filtering,
+but to do behavior filtering.
diff --git a/mail/jchkmail/Makefile b/mail/jchkmail/Makefile
new file mode 100644
index 00000000000..89362678dc4
--- /dev/null
+++ b/mail/jchkmail/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/22 14:33:35 manu Exp $
+#
+
+DISTNAME= jchkmail-1.3.1a
+CATEGORIES= mail
+MASTER_SITES= http://j-chkmail.ensmp.fr/download/
+
+MAINTAINER= manu@netbsd.org
+HOMEPAGE= http://j-chkmail.ensmp.fr/
+COMMENT= Behavior-based virus and spam milter for Sendmail
+
+USE_BUILDLINK2= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --with-rc-dir=${LOCALBASE}/etc/rc.d \
+ --with-conf-dir=${LOCALBASE}/etc/jchkmail
+
+.include "../../mail/libmilter/buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/jchkmail/PLIST b/mail/jchkmail/PLIST
new file mode 100644
index 00000000000..1a776cef74d
--- /dev/null
+++ b/mail/jchkmail/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/22 14:33:35 manu Exp $
+etc/rc.d/jchkmail
+bin/j-scanfile
+bin/j-printstats
+sbin/j-chkmail
+man/man1/j-printstats.1
+man/man1/j-scanfile.1
+man/man4/j-chkmail.cf.4
+man/man8/j-chkmail.8
diff --git a/mail/jchkmail/distinfo b/mail/jchkmail/distinfo
new file mode 100644
index 00000000000..afaae30c8d0
--- /dev/null
+++ b/mail/jchkmail/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/09/22 14:33:35 manu Exp $
+
+SHA1 (jchkmail-1.3.1a.tar.gz) = 6cade163151a2c08d42082b971b55a11c33f47c6
+Size (jchkmail-1.3.1a.tar.gz) = 420432 bytes
+SHA1 (patch-aa) = b0c8c3483c2b65570547d79c59c0974b685d57bb
diff --git a/mail/jchkmail/patches/patch-aa b/mail/jchkmail/patches/patch-aa
new file mode 100644
index 00000000000..5b8a01fb045
--- /dev/null
+++ b/mail/jchkmail/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/09/22 14:33:35 manu Exp $
+--- bin/jchkmail.init.in.orig Tue Mar 11 11:38:43 2003
++++ bin/jchkmail.init.in Mon Sep 22 14:49:05 2003
+@@ -1,20 +1,9 @@
+ #!/bin/sh
+ #
+-# chkconfig: 2345 80 30
+-# description: j-chkmail - Joe's j-chkmail
+-# filtre de messagerie
+-
+-### BEGIN INIT INFO
+-# Provides: j-chkmail
+-# Required-Start: $remote_fs
+-# Required-Stop:
+-# X-UnitedLinux-Should-Start:
+-# X-UnitedLinux-Should-Stop:
+-# Default-Start: 3 5
+-# Default-Stop:
+-# Description: Start j-chmail (filtre mail)
+-### END INIT INFO
++# PROVIDES: jchkmail
++# BEFORE: mail
++# REQUIRE: LOGIN
+
+ JCHKMAIL_HOME=@prefix@/sbin
+
+ JCHKMAIL_BIN=j-chkmail