aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2004-01-02 23:24:15 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2004-01-02 23:24:15 +0000
commit345e50a0c36c840670b7fc7846331c5093114535 (patch)
treed13a74cef64187296008a70f6ffba41a3ad5f634 /mail
parent68029fc1486856ad5e3194024d56886e58a75ba8 (diff)
downloadports-345e50a0c36c840670b7fc7846331c5093114535.tar.gz
ports-345e50a0c36c840670b7fc7846331c5093114535.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/qmail-scanner/files/patch-qmail-scanner-queue.template6
-rw-r--r--mail/qmail-scanner/pkg-install1
-rw-r--r--mail/qmail-scanner1/files/patch-qmail-scanner-queue.template6
-rw-r--r--mail/qmail-scanner1/pkg-install1
4 files changed, 8 insertions, 6 deletions
diff --git a/mail/qmail-scanner/files/patch-qmail-scanner-queue.template b/mail/qmail-scanner/files/patch-qmail-scanner-queue.template
index 90136d5f21a2..de31d20e42b7 100644
--- a/mail/qmail-scanner/files/patch-qmail-scanner-queue.template
+++ b/mail/qmail-scanner/files/patch-qmail-scanner-queue.template
@@ -21,12 +21,12 @@
#Array of local domains that are checked against for
#deciding whether or not to send recipient alerts to
-@@ -294,6 +300,7 @@ if (! -d "$scandir/tmp") {
+@@ -294,6 +300,7 @@
}
-
+
my $quarantine_event=0;
+my $spam_event=0;
-
+
my $file_id = &uniq_id();
@@ -415,7 +422,18 @@ eval {
diff --git a/mail/qmail-scanner/pkg-install b/mail/qmail-scanner/pkg-install
index 414c1f77bb1b..e861383a19e2 100644
--- a/mail/qmail-scanner/pkg-install
+++ b/mail/qmail-scanner/pkg-install
@@ -30,6 +30,7 @@ POST-INSTALL)
${MKDIR} -p ${SPOOLDIR}/tmp
# Mod and owner
+ ${CHOWN} -R ${GU_NAME}:${GU_NAME} ${SPOOLDIR}
${CHOWN} ${GU_NAME}:${GU_NAME} ${PREFIX}/bin/qmail-scanner-queue.pl
${CHMOD} 4755 ${PREFIX}/bin/qmail-scanner-queue.pl
diff --git a/mail/qmail-scanner1/files/patch-qmail-scanner-queue.template b/mail/qmail-scanner1/files/patch-qmail-scanner-queue.template
index 90136d5f21a2..de31d20e42b7 100644
--- a/mail/qmail-scanner1/files/patch-qmail-scanner-queue.template
+++ b/mail/qmail-scanner1/files/patch-qmail-scanner-queue.template
@@ -21,12 +21,12 @@
#Array of local domains that are checked against for
#deciding whether or not to send recipient alerts to
-@@ -294,6 +300,7 @@ if (! -d "$scandir/tmp") {
+@@ -294,6 +300,7 @@
}
-
+
my $quarantine_event=0;
+my $spam_event=0;
-
+
my $file_id = &uniq_id();
@@ -415,7 +422,18 @@ eval {
diff --git a/mail/qmail-scanner1/pkg-install b/mail/qmail-scanner1/pkg-install
index 414c1f77bb1b..e861383a19e2 100644
--- a/mail/qmail-scanner1/pkg-install
+++ b/mail/qmail-scanner1/pkg-install
@@ -30,6 +30,7 @@ POST-INSTALL)
${MKDIR} -p ${SPOOLDIR}/tmp
# Mod and owner
+ ${CHOWN} -R ${GU_NAME}:${GU_NAME} ${SPOOLDIR}
${CHOWN} ${GU_NAME}:${GU_NAME} ${PREFIX}/bin/qmail-scanner-queue.pl
${CHMOD} 4755 ${PREFIX}/bin/qmail-scanner-queue.pl