diff options
author | Sergei Kolobov <sergei@FreeBSD.org> | 2004-01-02 23:24:15 +0000 |
---|---|---|
committer | Sergei Kolobov <sergei@FreeBSD.org> | 2004-01-02 23:24:15 +0000 |
commit | 345e50a0c36c840670b7fc7846331c5093114535 (patch) | |
tree | d13a74cef64187296008a70f6ffba41a3ad5f634 | |
parent | - Update to version 1.1 (diff) |
- chown(1) SPOOLDIR at the install time
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=97137
-rw-r--r-- | mail/qmail-scanner/files/patch-qmail-scanner-queue.template | 6 | ||||
-rw-r--r-- | mail/qmail-scanner/pkg-install | 1 | ||||
-rw-r--r-- | mail/qmail-scanner1/files/patch-qmail-scanner-queue.template | 6 | ||||
-rw-r--r-- | mail/qmail-scanner1/pkg-install | 1 |
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 |