From 345e50a0c36c840670b7fc7846331c5093114535 Mon Sep 17 00:00:00 2001 From: Sergei Kolobov Date: Fri, 2 Jan 2004 23:24:15 +0000 Subject: - chown(1) SPOOLDIR at the install time Submitted by: maintainer --- mail/qmail-scanner/files/patch-qmail-scanner-queue.template | 6 +++--- mail/qmail-scanner/pkg-install | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'mail/qmail-scanner') 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 -- cgit v1.2.3