Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= clamav |
8 |
PORTNAME= clamav |
9 |
PORTVERSION= 20041213 |
9 |
PORTVERSION= 20050110 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= security |
10 |
CATEGORIES= security |
12 |
MASTER_SITES= http://www.clamav.net/snapshot/ |
11 |
MASTER_SITES= http://www.clamav.net/snapshot/ |
13 |
PKGNAMESUFFIX= -devel |
12 |
PKGNAMESUFFIX= -devel |
Lines 42-48
Link Here
|
42 |
PORTDOCS= NEWS ChangeLog html |
41 |
PORTDOCS= NEWS ChangeLog html |
43 |
|
42 |
|
44 |
DBDIR= /var/db/clamav |
43 |
DBDIR= /var/db/clamav |
45 |
PLIST_SUB+= DBDIR=${DBDIR} |
44 |
RUNDIR= /var/run/clamav |
|
|
45 |
PLIST_SUB+= DBDIR=${DBDIR} RUNDIR=${RUNDIR} |
46 |
|
46 |
CONFIGURE_ARGS= --with-dbdir=${DBDIR} \ |
47 |
CONFIGURE_ARGS= --with-dbdir=${DBDIR} \ |
47 |
--with-zlib=/usr \ |
48 |
--with-zlib=/usr \ |
48 |
--disable-zlib-vcheck \ |
49 |
--disable-zlib-vcheck \ |
Lines 65-75
Link Here
|
65 |
|
66 |
|
66 |
CLAMAVUSER?= clamav |
67 |
CLAMAVUSER?= clamav |
67 |
CLAMAVGROUP?= clamav |
68 |
CLAMAVGROUP?= clamav |
68 |
CLAMAV_CLAMD_SOCKET?= /var/run/clamav/clamd |
69 |
CLAMAV_CLAMD_SOCKET?= ${RUNDIR}/clamd |
69 |
CLAMAV_MILTER_SOCKET?= /var/run/clamav/clmilter.sock |
70 |
CLAMAV_MILTER_SOCKET?= ${RUNDIR}/clmilter.sock |
70 |
|
71 |
|
71 |
SED_SCRIPT= -e 's|%%PREFIX%%|${PREFIX}|g' \ |
72 |
SED_SCRIPT= -e 's|%%PREFIX%%|${PREFIX}|g' \ |
72 |
-e 's|%%DBDIR%%|${DBDIR}|g' \ |
73 |
-e 's|%%DBDIR%%|${DBDIR}|g' \ |
|
|
74 |
-e 's|%%RUNDIR%%|${RUNDIR}|g' \ |
73 |
-e 's|%%CLAMAVUSER%%|${CLAMAVUSER}|g' \ |
75 |
-e 's|%%CLAMAVUSER%%|${CLAMAVUSER}|g' \ |
74 |
-e 's|%%CLAMAVGROUP%%|${CLAMAVGROUP}|g' \ |
76 |
-e 's|%%CLAMAVGROUP%%|${CLAMAVGROUP}|g' \ |
75 |
-e 's|%%CLAMAV_CLAMD_SOCKET%%|${CLAMAV_CLAMD_SOCKET}|g' \ |
77 |
-e 's|%%CLAMAV_CLAMD_SOCKET%%|${CLAMAV_CLAMD_SOCKET}|g' \ |
Lines 77-83
Link Here
|
77 |
|
79 |
|
78 |
SED_CONF= -E -e 's|^\#?(Example)$$|\#\1|' \ |
80 |
SED_CONF= -E -e 's|^\#?(Example)$$|\#\1|' \ |
79 |
-e 's|^\#?((Update)?LogFile) .*/([a-z]+\.log)$$|\1 /var/log/clamav/\3|' \ |
81 |
-e 's|^\#?((Update)?LogFile) .*/([a-z]+\.log)$$|\1 /var/log/clamav/\3|' \ |
80 |
-e 's|^\#?(PidFile) .*/([a-z]+\.pid)$$|\1 /var/run/clamav/\2|' \ |
82 |
-e 's|^\#?(PidFile) .*/([a-z]+\.pid)$$|\1 ${RUNDIR}/\2|' \ |
81 |
-e 's|^\#?(LocalSocket) .*$$|\1 ${CLAMAV_CLAMD_SOCKET}|' \ |
83 |
-e 's|^\#?(LocalSocket) .*$$|\1 ${CLAMAV_CLAMD_SOCKET}|' \ |
82 |
-e 's|^\#?(User) .*$$|\1 ${CLAMAVUSER}|' \ |
84 |
-e 's|^\#?(User) .*$$|\1 ${CLAMAVUSER}|' \ |
83 |
-e 's|^\#?(AllowSupplementaryGroups)$$|\1|' \ |
85 |
-e 's|^\#?(AllowSupplementaryGroups)$$|\1|' \ |