View | Details | Raw Unified | Return to bug 203200 | Differences between
and this patch

Collapse All | Expand All

(-)b/mail/dspam/Makefile (-1 / +4 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	dspam
8
PORTNAME=	dspam
9
PORTVERSION=	3.10.2
9
PORTVERSION=	3.10.2
10
PORTREVISION=	1
10
CATEGORIES=	mail
11
CATEGORIES=	mail
11
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
12
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
12
13
Lines 109-114 DSPAM_HOME?= ${_VAR_DIR}/db/dspam Link Here
109
DSPAM_HOME_OWNER?=	${DSPAM_OWNER}
110
DSPAM_HOME_OWNER?=	${DSPAM_OWNER}
110
DSPAM_HOME_GROUP?=	${DSPAM_GROUP}
111
DSPAM_HOME_GROUP?=	${DSPAM_GROUP}
111
DSPAM_HOME_MODE?=	0770
112
DSPAM_HOME_MODE?=	0770
113
DSPAM_SAMPLE_MODE?=	0640
112
114
113
PLIST_SUB+=	DSPAM_HOME=${DSPAM_HOME} \
115
PLIST_SUB+=	DSPAM_HOME=${DSPAM_HOME} \
114
		DSPAM_OWNER=${DSPAM_OWNER} \
116
		DSPAM_OWNER=${DSPAM_OWNER} \
Lines 116-122 PLIST_SUB+= DSPAM_HOME=${DSPAM_HOME} \ Link Here
116
		DSPAM_MODE=${DSPAM_MODE} \
118
		DSPAM_MODE=${DSPAM_MODE} \
117
		DSPAM_HOME_OWNER=${DSPAM_HOME_OWNER} \
119
		DSPAM_HOME_OWNER=${DSPAM_HOME_OWNER} \
118
		DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP} \
120
		DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP} \
119
		DSPAM_HOME_MODE=${DSPAM_HOME_MODE}
121
		DSPAM_HOME_MODE=${DSPAM_HOME_MODE} \
122
		DSPAM_SAMPLE_MODE=${DSPAM_SAMPLE_MODE}
120
123
121
CONFIGURE_ARGS+=	--sysconfdir=${DSPAM_ETC}
124
CONFIGURE_ARGS+=	--sysconfdir=${DSPAM_ETC}
122
CONFIGURE_ARGS+=	--with-logdir=${LOG_DIR}
125
CONFIGURE_ARGS+=	--with-logdir=${LOG_DIR}
(-)b/mail/dspam/pkg-plist (-32 / +7 lines)
Lines 2-16 Link Here
2
%%HASH%%bin/csscompress
2
%%HASH%%bin/csscompress
3
%%HASH%%bin/cssconvert
3
%%HASH%%bin/cssconvert
4
%%HASH%%bin/cssstat
4
%%HASH%%bin/cssstat
5
@owner %%DSPAM_OWNER%%
5
@(%%DSPAM_OWNER%%,%%DSPAM_GROUP%%,%%DSPAM_MODE%%) bin/dspam
6
@group %%DSPAM_GROUP%%
7
@mode %%DSPAM_MODE%%
8
bin/dspam
9
@exec chown %%DSPAM_OWNER%%:%%DSPAM_GROUP%% %D/%F
10
@exec chmod %%DSPAM_MODE%% %D/%F
11
@mode
12
@group wheel
13
@owner root
14
bin/dspamc
6
bin/dspamc
15
bin/dspam_2sql
7
bin/dspam_2sql
16
bin/dspam_admin
8
bin/dspam_admin
Lines 23-37 bin/dspam_notify Link Here
23
%%PGSQL%%bin/dspam_pg2int8
15
%%PGSQL%%bin/dspam_pg2int8
24
bin/dspam_stats
16
bin/dspam_stats
25
bin/dspam_train
17
bin/dspam_train
26
@mode 0640
18
@sample(%%DSPAM_OWNER%%,%%DSPAM_GROUP%%,%%DSPAM_SAMPLE_MODE%%) etc/dspam.conf.sample
27
@owner %%DSPAM_OWNER%%
28
@group %%DSPAM_GROUP%%
29
@sample etc/dspam.conf.sample
30
@exec chown %%DSPAM_OWNER%%:%%DSPAM_GROUP%% %D/%F
31
@exec chmod 0640 %D/%F
32
@group wheel
33
@owner root
34
@mode
35
include/dspam/buffer.h
19
include/dspam/buffer.h
36
include/dspam/config.h
20
include/dspam/config.h
37
include/dspam/config_shared.h
21
include/dspam/config_shared.h
Lines 222-238 libdata/pkgconfig/dspam.pc Link Here
222
%%WebUI%%%%WWWDIR%%/templates/ro/nav_preferences.html
206
%%WebUI%%%%WWWDIR%%/templates/ro/nav_preferences.html
223
%%WebUI%%%%WWWDIR%%/templates/ro/nav_quarantine.html
207
%%WebUI%%%%WWWDIR%%/templates/ro/nav_quarantine.html
224
%%WebUI%%%%WWWDIR%%/templates/ro/nav_viewmessage.html
208
%%WebUI%%%%WWWDIR%%/templates/ro/nav_viewmessage.html
225
@cwd %%DSPAM_HOME%%
209
%%DSPAM_HOME%%/firstrun.txt.sample
226
firstrun.txt.sample
210
%%DSPAM_HOME%%/firstspam.txt.sample
227
firstspam.txt.sample
211
%%DSPAM_HOME%%/quarantinefull.txt.sample
228
quarantinefull.txt.sample
212
@dir(%%DSPAM_HOME_OWNER%%,%%DSPAM_HOME_GROUP%%,%%DSPAM_HOME_MODE%%) %%DSPAM_HOME%%
229
@cwd /
213
@dir(%%DSPAM_HOME_OWNER%%,%%DSPAM_HOME_GROUP%%) %%LOG_DIR%%
230
@owner %%DSPAM_HOME_OWNER%%
231
@group %%DSPAM_HOME_GROUP%%
232
@mode %%DSPAM_HOME_MODE%%
233
@mode
234
@exec chown %%DSPAM_HOME_OWNER%%:%%DSPAM_HOME_GROUP%% %%DSPAM_HOME%%
235
@exec chmod %%DSPAM_HOME_MODE%% %%DSPAM_HOME%%
236
@exec chown %%DSPAM_HOME_OWNER%%:%%DSPAM_HOME_GROUP%% %%LOG_DIR%%
237
@group wheel
238
@owner root

Return to bug 203200