mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
Use new @dir for directories out of PREFIX
This commit is contained in:
parent
6d89ef33f4
commit
682b3abc2e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370151
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= clamav
|
||||
PORTVERSION= 0.98.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= SF
|
||||
|
||||
@ -59,9 +59,9 @@ PORTDOCS= *
|
||||
DBDIR= /var/db/clamav
|
||||
LOGDIR= /var/log/clamav
|
||||
RUNDIR= /var/run/clamav
|
||||
PLIST_SUB+= DBDIR=${DBDIR:S/^\///} \
|
||||
LOGDIR=${LOGDIR:S/^\///} \
|
||||
RUNDIR=${RUNDIR:S/^\///} \
|
||||
PLIST_SUB+= DBDIR=${DBDIR} \
|
||||
LOGDIR=${LOGDIR} \
|
||||
RUNDIR=${RUNDIR} \
|
||||
CLAMAVUSER=${CLAMAVUSER} \
|
||||
CLAMAVGROUP=${CLAMAVGROUP}
|
||||
PY_NO_THREAD= ${WRKDIR}/.python-has-no-threads
|
||||
|
@ -37,12 +37,6 @@ man/man8/clamd.8.gz
|
||||
@sample etc/clamd.conf.sample
|
||||
@sample etc/freshclam.conf.sample
|
||||
%%MILTER%%@sample etc/clamav-milter.conf.sample
|
||||
@cwd /
|
||||
@owner %%CLAMAVUSER%%
|
||||
@group %%CLAMAVGROUP%%
|
||||
@dirrmtry %%DBDIR%%
|
||||
@dirrmtry %%LOGDIR%%
|
||||
@dirrmtry %%RUNDIR%%
|
||||
@group
|
||||
@owner
|
||||
@cwd %%RESETPREFIX%%
|
||||
@dir(%%CLAMAVUSER%%,%%CLAMAVGROUP%%,0755) %%DBDIR%%
|
||||
@dir(%%CLAMAVUSER%%,%%CLAMAVGROUP%%,0755) %%LOGDIR%%
|
||||
@dir(%%CLAMAVUSER%%,%%CLAMAVGROUP%%,0755) %%RUNDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user