1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Fix pkg installation where the dspam user/group/ are non-default.

- Bump PORTREVISION
PR:		191797
Submitted by:	raivo.hool@gmail.com
MFH:		2014Q3
This commit is contained in:
Rene Ladan 2014-07-14 15:34:48 +00:00
parent 8162d3457d
commit b69d9dc2cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361790
2 changed files with 14 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= dspam
PORTVERSION= ${PORTVER_MAJ}${SNAP_DATE}
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= # set later

View File

@ -15,9 +15,15 @@ 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
include/dspam/buffer.h
include/dspam/config.h
include/dspam/config_shared.h
@ -228,8 +234,14 @@ firstrun.txt.sample
firstspam.txt.sample
quarantinefull.txt.sample
@cwd /
@owner %%DSPAM_HOME_OWNER%%
@group %%DSPAM_HOME_GROUP%%
@mode %%DSPAM_HOME_MODE%%
@dirrm %%DSPAM_HOME%%
@mode
@exec chown %%DSPAM_HOME_OWNER%%:%%DSPAM_HOME_GROUP%% %%DSPAM_HOME%%
@exec chmod %%DSPAM_HOME_MODE%% %%DSPAM_HOME%%
@dirrm %%DSPAM_HOME%%
@exec chown %%DSPAM_HOME_OWNER%%:%%DSPAM_HOME_GROUP%% %%LOG_DIR%%
@dirrmtry %%LOG_DIR%%
@group wheel
@owner root