Lines 2-19
Link Here
|
2 |
# $FreeBSD: head/security/clamav-unofficial-sigs/Makefile 375001 2014-12-20 13:00:59Z riggs $ |
2 |
# $FreeBSD: head/security/clamav-unofficial-sigs/Makefile 375001 2014-12-20 13:00:59Z riggs $ |
3 |
|
3 |
|
4 |
PORTNAME= clamav-unofficial-sigs |
4 |
PORTNAME= clamav-unofficial-sigs |
5 |
PORTVERSION= 3.7.2 |
5 |
PORTVERSION= 4.9.2 |
6 |
PORTREVISION= 2 |
|
|
7 |
CATEGORIES= security |
6 |
CATEGORIES= security |
8 |
MASTER_SITES= SF/unofficial-sigs/ |
|
|
9 |
|
7 |
|
10 |
MAINTAINER= sf@maxempire.com |
8 |
MAINTAINER= sf@maxempire.com |
11 |
COMMENT= Update script for third-party ClamAV databases |
9 |
COMMENT= Update script for third-party ClamAV databases |
12 |
|
10 |
|
|
|
11 |
LICENSE= BSD3CLAUSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
13 |
RUN_DEPENDS= clamscan:${PORTSDIR}/security/clamav \ |
14 |
RUN_DEPENDS= clamscan:${PORTSDIR}/security/clamav \ |
14 |
rsync:${PORTSDIR}/net/rsync \ |
15 |
rsync:${PORTSDIR}/net/rsync \ |
15 |
curl:${PORTSDIR}/ftp/curl \ |
16 |
curl:${PORTSDIR}/ftp/curl \ |
16 |
gpg:${PORTSDIR}/security/gnupg |
17 |
gpg:${PORTSDIR}/security/gnupg \ |
|
|
18 |
bash:${PORTSDIR}/shells/bash |
19 |
|
20 |
USE_GITHUB= yes |
21 |
GH_ACCOUNT= extremeshok |
17 |
|
22 |
|
18 |
USES= perl5 |
23 |
USES= perl5 |
19 |
USE_PERL5= run |
24 |
USE_PERL5= run |
Lines 25-30
Link Here
|
25 |
-e 's|%%CLAMD_PID%%|/var/run/clamav/clamd.pid|g' \ |
30 |
-e 's|%%CLAMD_PID%%|/var/run/clamav/clamd.pid|g' \ |
26 |
-e 's|%%CLAMD_SOCKET%%|/var/run/clamav/clamd.sock|g' \ |
31 |
-e 's|%%CLAMD_SOCKET%%|/var/run/clamav/clamd.sock|g' \ |
27 |
-e 's|%%START_CLAMD%%|${PREFIX}/etc/rc.d/clamav-clamd start|g' \ |
32 |
-e 's|%%START_CLAMD%%|${PREFIX}/etc/rc.d/clamav-clamd start|g' \ |
|
|
33 |
-e 's|%%STOP_CLAMD%%|${PREFIX}/etc/rc.d/clamav-clamd stop|g' \ |
34 |
-e 's|%%RESTART_CLAMD%%|${PREFIX}/etc/rc.d/clamav-clamd restart|g' \ |
28 |
-e 's|%%WORK_DIR%%|/var/db/clamav-unofficial-sigs|g' |
35 |
-e 's|%%WORK_DIR%%|/var/db/clamav-unofficial-sigs|g' |
29 |
|
36 |
|
30 |
OPTIONS_DEFINE= DOCS EXAMPLES |
37 |
OPTIONS_DEFINE= DOCS EXAMPLES |
Lines 32-38
Link Here
|
32 |
post-patch: |
39 |
post-patch: |
33 |
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/clamav-unofficial-sigs.sh |
40 |
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/clamav-unofficial-sigs.sh |
34 |
@${REINPLACE_CMD} ${SED_CONF} ${WRKSRC}/clamav-unofficial-sigs.conf |
41 |
@${REINPLACE_CMD} ${SED_CONF} ${WRKSRC}/clamav-unofficial-sigs.conf |
35 |
@${REINPLACE_CMD} ${SED_CONF} ${WRKSRC}/clamd-status.sh |
|
|
36 |
|
42 |
|
37 |
do-install: |
43 |
do-install: |
38 |
${INSTALL_SCRIPT} ${WRKSRC}/clamav-unofficial-sigs.sh ${STAGEDIR}${PREFIX}/bin |
44 |
${INSTALL_SCRIPT} ${WRKSRC}/clamav-unofficial-sigs.sh ${STAGEDIR}${PREFIX}/bin |
Lines 40-50
Link Here
|
40 |
${INSTALL_DATA} ${WRKSRC}/clamav-unofficial-sigs.conf ${STAGEDIR}${PREFIX}/etc/clamav-unofficial-sigs.conf.sample |
46 |
${INSTALL_DATA} ${WRKSRC}/clamav-unofficial-sigs.conf ${STAGEDIR}${PREFIX}/etc/clamav-unofficial-sigs.conf.sample |
41 |
|
47 |
|
42 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
48 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
43 |
(cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG INSTALL LICENSE README ${STAGEDIR}${DOCSDIR}) |
49 |
(cd ${WRKSRC} && ${INSTALL_DATA} INSTALL LICENSE README.md ${STAGEDIR}${DOCSDIR}) |
44 |
|
50 |
|
45 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
51 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
46 |
${INSTALL_DATA} ${WRKSRC}/clamav-unofficial-sigs-cron ${STAGEDIR}${EXAMPLESDIR} |
52 |
${INSTALL_DATA} ${WRKSRC}/clamav-unofficial-sigs-cron ${STAGEDIR}${EXAMPLESDIR} |
47 |
${INSTALL_DATA} ${WRKSRC}/clamav-unofficial-sigs-logrotate ${STAGEDIR}${EXAMPLESDIR} |
53 |
${INSTALL_DATA} ${WRKSRC}/clamav-unofficial-sigs-logrotate ${STAGEDIR}${EXAMPLESDIR} |
48 |
${INSTALL_SCRIPT} ${WRKSRC}/clamd-status.sh ${STAGEDIR}${EXAMPLESDIR} |
|
|
49 |
|
54 |
|
50 |
.include <bsd.port.mk> |
55 |
.include <bsd.port.mk> |