head	1.6;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.4
	RELEASE_8_2_0:1.4
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3;
locks; strict;
comment	@# @;


1.6
date	2012.11.17.06.01.02;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2012.09.21.08.28.55;	author bapt;	state Exp;
branches;
next	1.4;

1.4
date	2010.12.16.02.34.00;	author glarkin;	state Exp;
branches;
next	1.3;

1.3
date	2010.06.13.12.50.56;	author wxs;	state Exp;
branches;
next	1.2;

1.2
date	2010.04.06.12.01.54;	author garga;	state Exp;
branches;
next	1.1;

1.1
date	2010.03.09.22.34.07;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Switch exporter over
@
text
@# Created by: Marko Njezic <sf@@maxempire.com>
# $FreeBSD: head/security/clamav-unofficial-sigs/Makefile 304615 2012-09-21 08:28:55Z bapt $

PORTNAME=	clamav-unofficial-sigs
PORTVERSION=	3.7.1
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://www.inetmsg.com/pub/ \
		http://www.inetmsg.com/pub/archive/ \
		SF/unofficial-sigs/

MAINTAINER=	sf@@maxempire.com
COMMENT=	Update script for third-party ClamAV databases

RUN_DEPENDS=	clamscan:${PORTSDIR}/security/clamav \
		rsync:${PORTSDIR}/net/rsync \
		curl:${PORTSDIR}/ftp/curl \
		gpg:${PORTSDIR}/security/gnupg

USE_PERL5_RUN=	yes
NO_BUILD=	yes

SUB_FILES=	pkg-message

MAN8=		clamav-unofficial-sigs.8
MANCOMPRESSED=	no

SED_CONF=	-e 's|%%CLAM_DBS%%|/var/db/clamav|g' \
		-e 's|%%CLAMD_PID%%|/var/run/clamav/clamd.pid|g' \
		-e 's|%%CLAMD_SOCKET%%|/var/run/clamav/clamd.sock|g' \
		-e 's|%%START_CLAMD%%|${PREFIX}/etc/rc.d/clamav-clamd start|g' \
		-e 's|%%WORK_DIR%%|/var/db/clamav-unofficial-sigs|g'

post-patch:
	@@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/clamav-unofficial-sigs.sh
	@@${REINPLACE_CMD} ${SED_CONF} ${WRKSRC}/clamav-unofficial-sigs.conf
	@@${REINPLACE_CMD} ${SED_CONF} ${WRKSRC}/clamd-status.sh

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/clamav-unofficial-sigs.sh ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/clamav-unofficial-sigs.8 ${MANPREFIX}/man/man8
	${INSTALL_DATA} ${WRKSRC}/clamav-unofficial-sigs.conf ${PREFIX}/etc/clamav-unofficial-sigs.conf.sample

.ifndef(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG INSTALL LICENSE README ${DOCSDIR}
.endif

.ifndef(NOPORTEXAMPLES)
	@@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/clamav-unofficial-sigs-cron ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/clamav-unofficial-sigs-logrotate ${EXAMPLESDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/clamd-status.sh ${EXAMPLESDIR}
.endif

	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.5
log
@SVN rev 304615 on 2012-09-21 08:28:55Z by bapt

Add a sourceforge mirror

Approved by:	Marko Njezic <mr.max@@maxempire.com> (maintainer)
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.4
log
@- Chase security/libksba shlib version bump

Requested by:	kwm
Pointyhat to:	glarkin
@
text
@d1 1
a1 4
# New ports collection makefile for:	clamav-unofficial-sigs
# Date created:		2010-03-06
# Whom:			Marko Njezic <sf@@maxempire.com>
#
a2 1
#
d9 2
a10 1
		http://www.inetmsg.com/pub/archive/
@


1.3
log
@Update to 3.7.1

PR:		ports/147663
Submitted by:	Marko Njezic <sf@@maxempire.com> (maintainer)
@
text
@d10 1
@


1.2
log
@Chase clamav's lib bump
@
text
@d9 1
a9 2
PORTVERSION=	3.7
PORTREVISION=	1
@


1.1
log
@The clamav-unofficial-sigs script provides the capability to download, test,
and update the third-party ClamAV signature databases provided by
Sanesecurity, SecuriteInfo, MalwarePatrol, OITC, INetMsg and ScamNailer.

PR:		ports/144509
Submitted by:	Marko Njezic <sf at maxempire.com>
@
text
@d10 1
@

