FreeBSD Bugzilla – Attachment 161216 Details for
Bug 203200
mail/dspam: modernize vardir handling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pr_203200.patch
pr_203200.patch (text/plain), 2.74 KB, created by
danny
on 2015-09-21 01:05:17 UTC
(
hide
)
Description:
pr_203200.patch
Filename:
MIME Type:
Creator:
danny
Created:
2015-09-21 01:05:17 UTC
Size:
2.74 KB
patch
obsolete
>diff --git a/mail/dspam/Makefile b/mail/dspam/Makefile >index 24556b3..aa38092 100644 >--- a/mail/dspam/Makefile >+++ b/mail/dspam/Makefile >@@ -7,6 +7,7 @@ > > PORTNAME= dspam > PORTVERSION= 3.10.2 >+PORTREVISION= 1 > CATEGORIES= mail > MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} > >@@ -109,6 +110,7 @@ DSPAM_HOME?= ${_VAR_DIR}/db/dspam > DSPAM_HOME_OWNER?= ${DSPAM_OWNER} > DSPAM_HOME_GROUP?= ${DSPAM_GROUP} > DSPAM_HOME_MODE?= 0770 >+DSPAM_SAMPLE_MODE?= 0640 > > PLIST_SUB+= DSPAM_HOME=${DSPAM_HOME} \ > DSPAM_OWNER=${DSPAM_OWNER} \ >@@ -116,7 +118,8 @@ PLIST_SUB+= DSPAM_HOME=${DSPAM_HOME} \ > DSPAM_MODE=${DSPAM_MODE} \ > DSPAM_HOME_OWNER=${DSPAM_HOME_OWNER} \ > DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP} \ >- DSPAM_HOME_MODE=${DSPAM_HOME_MODE} >+ DSPAM_HOME_MODE=${DSPAM_HOME_MODE} \ >+ DSPAM_SAMPLE_MODE=${DSPAM_SAMPLE_MODE} > > CONFIGURE_ARGS+= --sysconfdir=${DSPAM_ETC} > CONFIGURE_ARGS+= --with-logdir=${LOG_DIR} >diff --git a/mail/dspam/pkg-plist b/mail/dspam/pkg-plist >index 709a9e5..921f30f 100644 >--- a/mail/dspam/pkg-plist >+++ b/mail/dspam/pkg-plist >@@ -2,15 +2,7 @@ > %%HASH%%bin/csscompress > %%HASH%%bin/cssconvert > %%HASH%%bin/cssstat >-@owner %%DSPAM_OWNER%% >-@group %%DSPAM_GROUP%% >-@mode %%DSPAM_MODE%% >-bin/dspam >-@exec chown %%DSPAM_OWNER%%:%%DSPAM_GROUP%% %D/%F >-@exec chmod %%DSPAM_MODE%% %D/%F >-@mode >-@group wheel >-@owner root >+@(%%DSPAM_OWNER%%,%%DSPAM_GROUP%%,%%DSPAM_MODE%%) bin/dspam > bin/dspamc > bin/dspam_2sql > bin/dspam_admin >@@ -23,15 +15,7 @@ bin/dspam_notify > %%PGSQL%%bin/dspam_pg2int8 > bin/dspam_stats > bin/dspam_train >-@mode 0640 >-@owner %%DSPAM_OWNER%% >-@group %%DSPAM_GROUP%% >-@sample etc/dspam.conf.sample >-@exec chown %%DSPAM_OWNER%%:%%DSPAM_GROUP%% %D/%F >-@exec chmod 0640 %D/%F >-@group wheel >-@owner root >-@mode >+@sample(%%DSPAM_OWNER%%,%%DSPAM_GROUP%%,%%DSPAM_SAMPLE_MODE%%) etc/dspam.conf.sample > include/dspam/buffer.h > include/dspam/config.h > include/dspam/config_shared.h >@@ -222,17 +206,8 @@ libdata/pkgconfig/dspam.pc > %%WebUI%%%%WWWDIR%%/templates/ro/nav_preferences.html > %%WebUI%%%%WWWDIR%%/templates/ro/nav_quarantine.html > %%WebUI%%%%WWWDIR%%/templates/ro/nav_viewmessage.html >-@cwd %%DSPAM_HOME%% >-firstrun.txt.sample >-firstspam.txt.sample >-quarantinefull.txt.sample >-@cwd / >-@owner %%DSPAM_HOME_OWNER%% >-@group %%DSPAM_HOME_GROUP%% >-@mode %%DSPAM_HOME_MODE%% >-@mode >-@exec chown %%DSPAM_HOME_OWNER%%:%%DSPAM_HOME_GROUP%% %%DSPAM_HOME%% >-@exec chmod %%DSPAM_HOME_MODE%% %%DSPAM_HOME%% >-@exec chown %%DSPAM_HOME_OWNER%%:%%DSPAM_HOME_GROUP%% %%LOG_DIR%% >-@group wheel >-@owner root >+%%DSPAM_HOME%%/firstrun.txt.sample >+%%DSPAM_HOME%%/firstspam.txt.sample >+%%DSPAM_HOME%%/quarantinefull.txt.sample >+@dir(%%DSPAM_HOME_OWNER%%,%%DSPAM_HOME_GROUP%%,%%DSPAM_HOME_MODE%%) %%DSPAM_HOME%% >+@dir(%%DSPAM_HOME_OWNER%%,%%DSPAM_HOME_GROUP%%) %%LOG_DIR%%
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
danny:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 203200
:
161177
| 161216