summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2004-01-04 13:25:13 +0000
committersergei <sergei@FreeBSD.org>2004-01-04 13:25:13 +0000
commit1849c826fbe5987c949396dc451d71bd26e38dc0 (patch)
tree7bf0030a8de45ef08f2efeaa0b3209e286c46399 /mail
parent8bfa599b0c9e4ee484a2026d25a8528508cb4a92 (diff)
downloadFreeBSD-ports-1849c826fbe5987c949396dc451d71bd26e38dc0.zip
FreeBSD-ports-1849c826fbe5987c949396dc451d71bd26e38dc0.tar.gz
- Fix broken detection of Japanese locales [1]
- Update patches - Bump PORTREVISION PR: 60853 [1] (partly) Submitted by: Fumihiko Kimura <jfkimura@yahoo.co.jp> [1], maintainer
Diffstat (limited to 'mail')
-rw-r--r--mail/qmail-scanner/Makefile2
-rw-r--r--mail/qmail-scanner/files/patch-configure24
-rw-r--r--mail/qmail-scanner/files/patch-qmail-scanner-queue.template12
-rw-r--r--mail/qmail-scanner/files/patch-sub-spamassassin.pl4
-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
8 files changed, 46 insertions, 38 deletions
diff --git a/mail/qmail-scanner/Makefile b/mail/qmail-scanner/Makefile
index 09a855f..cef2aca 100644
--- a/mail/qmail-scanner/Makefile
+++ b/mail/qmail-scanner/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-scanner/files/patch-configure b/mail/qmail-scanner/files/patch-configure
index 35a5a2b..a1d52dc 100644
--- a/mail/qmail-scanner/files/patch-configure
+++ b/mail/qmail-scanner/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-scanner/files/patch-qmail-scanner-queue.template b/mail/qmail-scanner/files/patch-qmail-scanner-queue.template
index de31d20..33c3ac1 100644
--- a/mail/qmail-scanner/files/patch-qmail-scanner-queue.template
+++ b/mail/qmail-scanner/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-scanner/files/patch-sub-spamassassin.pl b/mail/qmail-scanner/files/patch-sub-spamassassin.pl
index eae1990..fe3cd89 100644
--- a/mail/qmail-scanner/files/patch-sub-spamassassin.pl
+++ b/mail/qmail-scanner/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");
diff --git a/mail/qmail-scanner1/Makefile b/mail/qmail-scanner1/Makefile
index 09a855f..cef2aca 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 35a5a2b..a1d52dc 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 de31d20..33c3ac1 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 eae1990..fe3cd89 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");
OpenPOWER on IntegriCloud