View | Details | Raw Unified | Return to bug 201060
Collapse All | Expand All

(-)clamav-unofficial-sigs/Makefile (-7 / +12 lines)
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>
(-)clamav-unofficial-sigs/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (clamav-unofficial-sigs-3.7.2.tar.gz) = 96e98e6e4434c5950fa9831c6a43236fed7eabae44beded16171305cf3f9bdb9
1
SHA256 (extremeshok-clamav-unofficial-sigs-4.9.2_GH0.tar.gz) = 70e05f63add7e03d5af2dba6bcd31fda98646577798d99e6902e5f264c302e93
2
SIZE (clamav-unofficial-sigs-3.7.2.tar.gz) = 38549
2
SIZE (extremeshok-clamav-unofficial-sigs-4.9.2_GH0.tar.gz) = 40301
(-)clamav-unofficial-sigs/pkg-plist (-3 / +1 lines)
Lines 1-10 Link Here
1
bin/clamav-unofficial-sigs.sh
1
bin/clamav-unofficial-sigs.sh
2
etc/clamav-unofficial-sigs.conf.sample
2
etc/clamav-unofficial-sigs.conf.sample
3
man/man8/clamav-unofficial-sigs.8.gz
3
man/man8/clamav-unofficial-sigs.8.gz
4
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
5
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
4
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
6
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
5
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
7
%%PORTDOCS%%%%DOCSDIR%%/README
6
%%PORTDOCS%%%%DOCSDIR%%/README.md
8
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clamav-unofficial-sigs-cron
7
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clamav-unofficial-sigs-cron
9
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clamav-unofficial-sigs-logrotate
8
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clamav-unofficial-sigs-logrotate
10
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clamd-status.sh

Return to bug 201060