aboutsummaryrefslogtreecommitdiff
path: root/mail/qmail-scanner1
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2004-01-04 13:25:13 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2004-01-04 13:25:13 +0000
commit7d42f8ae01f41ad70b1182a5459e441202124d35 (patch)
treef9883089c871a70a3f1f43affeec40610cc4a0ac /mail/qmail-scanner1
parent5421118755f064014999f074699c63c183a4bf0e (diff)
downloadports-7d42f8ae01f41ad70b1182a5459e441202124d35.tar.gz
ports-7d42f8ae01f41ad70b1182a5459e441202124d35.zip
Notes
Diffstat (limited to 'mail/qmail-scanner1')
-rw-r--r--mail/qmail-scanner1/Makefile2
-rw-r--r--mail/qmail-scanner1/files/patch-configure24
-rw-r--r--mail/qmail-scanner1/files/patch-qmail-scanner-queue.template12
-rw-r--r--mail/qmail-scanner1/files/patch-sub-spamassassin.pl4
4 files changed, 23 insertions, 19 deletions
diff --git a/mail/qmail-scanner1/Makefile b/mail/qmail-scanner1/Makefile
index 09a855fd2b4b..cef2aca7ede7 100644
--- a/mail/qmail-scanner1/Makefile
+++ b/mail/qmail-scanner1/Makefile
@@ -7,7 +7,7 @@
PORTNAME= qmail-scanner
PORTVERSION= 1.20
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/mail/qmail-scanner1/files/patch-configure b/mail/qmail-scanner1/files/patch-configure
index 35a5a2b8169e..a1d52dc8fe3a 100644
--- a/mail/qmail-scanner1/files/patch-configure
+++ b/mail/qmail-scanner1/files/patch-configure
@@ -1,15 +1,19 @@
---- configure.orig Thu Dec 11 14:28:41 2003
-+++ configure Thu Dec 11 14:28:48 2003
-@@ -48,6 +48,8 @@
+--- configure.orig Wed Nov 5 03:04:26 2003
++++ configure Sun Jan 4 16:20:01 2004
+@@ -48,6 +48,12 @@
QSLANG="en_GB"
fi
+QSLANG=`echo $QSLANG|sed 's/\..*//'`
++if [ "$QSLANG" = "ja_JP" ]; then
++ #reset all Japanese to jp_JP.EUC
++ QSLANG="jp_JP.EUC"
++fi
+
if [ ! -d "./locale/$QSLANG" ]; then
echo "
-@@ -83,7 +83,8 @@ DEBUG_LEVEL="1"
+@@ -81,7 +87,8 @@
FORCE_UNZIP="0"
DESCRIPTIVE_HEADERS="0"
NOTIFY_ADDRESSES="sender,admin"
@@ -19,7 +23,7 @@
MANUAL_INSTALL="0"
INSTALLIT="0"
DONOTCONFIRM="0"
-@@ -100,8 +101,10 @@ do
+@@ -98,8 +105,10 @@
--spooldir) if [ "$2" != "" ] ; then shift ; fi ; AS_QQ="$1" ;;
--qmaildir) if [ "$2" != "" ]; then shift ; fi ; QMAILDIR="$1" ;;
--bindir) if [ "$2" != "" ] ; then shift ; fi ; BINDIR="$1" ;;
@@ -32,7 +36,7 @@
--notify) if [ "$2" != "" ]; then shift ; fi ; NOTIFY_ADDRESSES="$1" ;;
--batch) DONOTCONFIRM="1" ; if [ "$2" != "" -a "`echo $2|grep '\-'`" = "" ] ; then shift ; fi ;;
--silent-viruses) if [ "$2" != "" ]; then shift ; fi ; FIND_SILENT_VIRUSES="$1" ;;
-@@ -130,9 +133,17 @@ valid options:
+@@ -128,9 +137,17 @@
--spooldir <spooldir> defaults to $AS_QQ/
--bindir <installdir> where to install qmail-scanner-queue.pl
Defaults to /var/qmail/bin/
@@ -53,7 +57,7 @@
--scanners <list of installed content scanners>
Defaults to "auto" - will use
whatever scanners are found on system.
-@@ -911,12 +922,16 @@ fi
+@@ -909,12 +926,16 @@
if [ "$UNAME" ] ; then FQDN="$UNAME" ; fi
if [ "$HOST" ] ; then FQDN="$HOST" ; fi
@@ -74,7 +78,7 @@
if [ "$MANUAL_INSTALL" = "1" ]; then
CMDLINE="$CMDLINE --no-QQ-check $MANUAL_INSTALL"
fi
-@@ -1286,7 +1301,7 @@ if [ "$SPAMC_BINARY" != "" ]; then
+@@ -1284,7 +1305,7 @@
fi
fi
@@ -83,7 +87,7 @@
SCANNER_ARRAY=`echo $SCANNER_ARRAY|sed 's/^,//g'`
-@@ -1360,7 +1375,13 @@ if [ "$ARCHIVEIT" != "0" ]; then
+@@ -1358,7 +1379,13 @@
fi
echo "archiving $ASTRING into $AS_QQ/$ARCHIVEDIR/"
fi
@@ -98,7 +102,7 @@
echo "local-domains=$LOCAL_DOMAINS_ARRAY"
echo "silent-viruses=$FIND_SILENT_VIRUSES_ARRAY"
echo "scanners=$SCANNER_ARRAY"
-@@ -1506,10 +1527,12 @@ s?SPAMASSASSIN_BINARY?$SPAMASSASSIN_BINA
+@@ -1504,10 +1531,12 @@
s?SPAMC_BINARY?$SPAMC_BINARY?g;
s?SPAMC_OPTIONS?$SPAMC_OPTIONS?g;
s?SPAMC_SUBJECT?$SPAMC_SUBJECT?g;
diff --git a/mail/qmail-scanner1/files/patch-qmail-scanner-queue.template b/mail/qmail-scanner1/files/patch-qmail-scanner-queue.template
index de31d20e42b7..33c3ac10a4e2 100644
--- a/mail/qmail-scanner1/files/patch-qmail-scanner-queue.template
+++ b/mail/qmail-scanner1/files/patch-qmail-scanner-queue.template
@@ -1,6 +1,6 @@
---- qmail-scanner-queue.template.orig Thu Oct 16 02:05:10 2003
-+++ qmail-scanner-queue.template Thu Dec 11 14:28:48 2003
-@@ -85,11 +85,17 @@ $qsmsgid=tolower("$V_HEADER-message-id")
+--- qmail-scanner-queue.template.orig Wed Nov 5 01:26:47 2003
++++ qmail-scanner-queue.template Sun Jan 4 16:17:55 2004
+@@ -85,11 +85,17 @@
#From: line information used when making reports
@@ -23,13 +23,13 @@
#deciding whether or not to send recipient alerts to
@@ -294,6 +300,7 @@
}
-
+
my $quarantine_event=0;
+my $spam_event=0;
-
+
my $file_id = &uniq_id();
-@@ -415,7 +422,18 @@ eval {
+@@ -415,7 +422,18 @@
&email_quarantine_report;
} else {
&qmail_parent_check;
diff --git a/mail/qmail-scanner1/files/patch-sub-spamassassin.pl b/mail/qmail-scanner1/files/patch-sub-spamassassin.pl
index eae1990e2606..fe3cd89f5f7c 100644
--- a/mail/qmail-scanner1/files/patch-sub-spamassassin.pl
+++ b/mail/qmail-scanner1/files/patch-sub-spamassassin.pl
@@ -1,6 +1,6 @@
--- sub-spamassassin.pl.orig Mon Sep 29 04:17:22 2003
-+++ sub-spamassassin.pl Thu Dec 11 14:28:48 2003
-@@ -57,6 +57,7 @@ sub spamassassin {
++++ sub-spamassassin.pl Sun Jan 4 16:17:55 2004
+@@ -57,6 +57,7 @@
$tag_score .= "SA:1($sa_score/$sa_max):";
$sa_comment = "Yes, hits=$sa_score required=$sa_max" if ($spamc_options =~ /\-c/);
&debug("SA: yup, this smells like SPAM");