head	1.15;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.11
	RELEASE_8_1_0:1.10
	RELEASE_7_3_0:1.6
	RELEASE_8_0_0:1.5;
locks; strict;
comment	@# @;


1.15
date	2012.11.17.06.01.19;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2012.02.24.20.00.35;	author cs;	state Exp;
branches;
next	1.13;

1.13
date	2010.12.20.05.41.04;	author miwi;	state Exp;
branches;
next	1.12;

1.12
date	2010.12.16.02.34.03;	author glarkin;	state Exp;
branches;
next	1.11;

1.11
date	2010.11.22.00.22.47;	author sahil;	state Exp;
branches;
next	1.10;

1.10
date	2010.06.25.20.11.20;	author delphij;	state Exp;
branches;
next	1.9;

1.9
date	2010.06.20.05.03.19;	author miwi;	state Exp;
branches;
next	1.8;

1.8
date	2010.04.06.12.01.56;	author garga;	state Exp;
branches;
next	1.7;

1.7
date	2010.04.02.18.52.22;	author niels;	state Exp;
branches;
next	1.6;

1.6
date	2009.11.04.03.29.50;	author wen;	state Exp;
branches;
next	1.5;

1.5
date	2009.08.22.00.35.04;	author amdmi3;	state Exp;
branches;
next	1.4;

1.4
date	2009.05.28.15.59.18;	author dhn;	state Exp;
branches;
next	1.3;

1.3
date	2009.05.20.16.37.00;	author amdmi3;	state Exp;
branches;
next	1.2;

1.2
date	2009.04.27.01.39.24;	author amdmi3;	state Exp;
branches;
next	1.1;

1.1
date	2009.04.23.13.20.02;	author wxs;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Switch exporter over
@
text
@# New ports collection makefile for:	scamp
# Date created:	31 March 2009
# Whom:	Gerard Seibert <gerard@@seibercom.net>
#
# $FreeBSD: head/security/scamp/Makefile 300897 2012-07-14 14:29:18Z beat $

PORTNAME=	scamp
PORTVERSION=	5.3b
CATEGORIES=	security
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	gerard@@seibercom.net
COMMENT=	Download & Install additional definition files for Clamav

LICENSE=	BSD

RUN_DEPENDS=	bash>=4.2.20:${PORTSDIR}/shells/bash \
		clamav>=0.97.3_1:${PORTSDIR}/security/clamav \
		gnupg>=2.0.18_1:${PORTSDIR}/security/gnupg \
		rsync>=3.0.9:${PORTSDIR}/net/rsync

.if exists (${LOCALBASE}/bin/wget) && ! exists (${LOCALBASE}/bin/curl)
RUN_DEPENDS+=	wget>=1.13.4_1:${PORTSDIR}/ftp/wget
.else
RUN_DEPENDS+=	curl>=7.21.3_2:${PORTSDIR}/ftp/curl
.endif

NO_BUILD=	yes
SUB_FILES=	pkg-message

MAN1=		scamp.1

post-patch:
	@@${REINPLACE_CMD} -e 's|CLAMAV_DB=$${CLAMAV_DB:-""}|CLAMAV_DB=$${CLAMAV_DB:-\"/var/db/clamav\"}|g' ${WRKSRC}/${PORTNAME}.sh
	@@${REINPLACE_CMD} -e 's|CONFIG_DIR=$${CONFIG_DIR:-"/etc/scamp"}|CONFIG_DIR=$${CONFIG_DIR:-"${ETCDIR}"}|g' ${WRKSRC}/${PORTNAME}.sh

post-install:
	@@if [ ! -d ${ETCDIR} ]; then \
		${MKDIR} ${ETCDIR} ; \
	fi

	@@${INSTALL_DATA} ${FILESDIR}/default.sample ${ETCDIR}
		@@if [ ! -f ${ETCDIR}/default ]; then \
			${CP} -p ${ETCDIR}/default.sample \
			${ETCDIR}/default ; \
		fi

do-install:
	cd ${WRKSRC} && ${INSTALL_SCRIPT} ${PORTNAME}.sh ${PREFIX}/bin
	cd ${WRKSRC} && ${INSTALL_MAN} scamp.1 ${MANPREFIX}/man/man1

.ifndef(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} README CHANGE.LOG INSTALL Release.html ${DOCSDIR}
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.14
log
@Update to 5.3b

PR:		ports/165377
Submitted by:	Gerard Seibert <gerard@@seibercom.net>
Approved by:	glarkin@@ (mentor, implicit)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.13
log
@- Update to 5.3a

PR:		153294
Submitted by:	Gerard Seibert <gerard@@seibercom.net> (maintainer)
@
text
@d8 1
a8 1
PORTVERSION=	5.3a
d15 1
a15 4
RUN_DEPENDS=	bash>=4.1.9:${PORTSDIR}/shells/bash \
		clamav>=0.96.4:${PORTSDIR}/security/clamav \
		gnupg>=2.0.16_2:${PORTSDIR}/security/gnupg \
		rsync>=3.0.7:${PORTSDIR}/net/rsync
d17 4
a20 1
LICENSE=	BSD
d23 1
a23 1
RUN_DEPENDS+=	wget>=1.12_2:${PORTSDIR}/ftp/wget
d25 1
a25 1
RUN_DEPENDS+=	curl>=7.21.1:${PORTSDIR}/ftp/curl
@


1.12
log
@- Chase security/libksba shlib version bump

Requested by:	kwm
Pointyhat to:	glarkin
@
text
@d8 1
a8 2
PORTVERSION=	5.3
PORTREVISION=	1
@


1.11
log
@- Update to 5.3
- Define LICENSE
- Remove redundant MANCOMPRESSED=no
- Use ${ETCDIR} where possible

PR:		ports/152243
Submitted by:	Gerard Seibert <gerard@@seibercom.net> (maintainer)
@
text
@d9 1
@


1.10
log
@Update to 5.2j.

Submitted by:	Gerard Seibert <gerard seibercom net> (maintainer)
PR:		ports/147840
Feature safe:	yes
@
text
@d8 1
a8 1
PORTVERSION=	5.2j
d15 3
a17 3
RUN_DEPENDS+=	bash>=4.1.5_2:${PORTSDIR}/shells/bash \
		clamav>=0.96.1:${PORTSDIR}/security/clamav \
		gnupg>=2.0.14_2:${PORTSDIR}/security/gnupg \
d20 2
d23 1
a23 1
RUN_DEPENDS+=	wget>=1.12:${PORTSDIR}/ftp/wget
d25 1
a25 1
RUN_DEPENDS+=	curl>=7.20.1:${PORTSDIR}/ftp/curl
a28 1

a31 1
MANCOMPRESSED=	no
d35 1
a35 1
	@@${REINPLACE_CMD} -e 's|CONFIG_DIR=$${CONFIG_DIR:-"/etc/scamp"}|CONFIG_DIR=$${CONFIG_DIR:-\"${PREFIX}/etc/scamp\"}|g' ${WRKSRC}/${PORTNAME}.sh
d38 2
a39 2
	@@if [ ! -d ${PREFIX}/etc/scamp ]; then \
		${MKDIR} ${PREFIX}/etc/scamp ; \
d42 4
a45 4
	@@${INSTALL_DATA} ${FILESDIR}/default.sample ${PREFIX}/etc/scamp/
		@@if [ ! -f ${PREFIX}/etc/scamp/default ]; then \
			${CP} -p ${PREFIX}/etc/scamp/default.sample \
			${PREFIX}/etc/scamp/default ; \
@


1.9
log
@- Update to 5.2i

PR:		147778
Submitted by:	Gerard Seibert <gerard@@seibercom.net> (maintainer)
Feature safe:	yes
@
text
@d8 1
a8 1
PORTVERSION=	5.2i
d23 1
a23 1
RUN_DEPENDS+=	curl>=7.20.0:${PORTSDIR}/ftp/curl
@


1.8
log
@Chase clamav's lib bump
@
text
@d8 1
a8 2
PORTVERSION=	5.2g
PORTREVISION=	1
d15 3
a17 3
RUN_DEPENDS+=	bash>=4.0.35:${PORTSDIR}/shells/bash \
		clamav>=0.95.3:${PORTSDIR}/security/clamav \
		gnupg>=2.0.14:${PORTSDIR}/security/gnupg \
d23 1
a23 1
RUN_DEPENDS+=	curl>=7.19.7_1:${PORTSDIR}/ftp/curl
d34 2
a35 2
	@@${REINPLACE_CMD} -e 's|CLAMAV_DB=$${CLAMAV_DB:-""}|CLAMAV_DB=$${CLAMAV_DB:-/var/db/clamav}|g' ${WRKSRC}/${PORTNAME}.sh
	@@${REINPLACE_CMD} -e 's|CONFIG_DIR=$${CONFIG_DIR:-"/etc/scamp"}|CONFIG_DIR=$${CONFIG_DIR:-${PREFIX}/etc/scamp}|g' ${WRKSRC}/${PORTNAME}.sh
@


1.7
log
@Upgrade to version 5.2g

PR:		ports/145149
Submitted by:	Gerard <gerard@@seibercom.net> (maintainer)
Approved by:	miwi (co-mentor)
@
text
@d9 1
@


1.6
log
@- Update to 5.2e

PR:		ports/139873
Submitted by:	Gerard Seibert <gerard@@seibercom.net> (maintainer)
@
text
@d8 1
a8 1
PORTVERSION=	5.2e
d15 4
a18 4
RUN_DEPENDS+=	bash>=4.0.33:${PORTSDIR}/shells/bash \
		clamav>=0.95.2:${PORTSDIR}/security/clamav \
		gnupg>=2.0.13:${PORTSDIR}/security/gnupg \
		rsync>=3.0.6:${PORTSDIR}/net/rsync
d21 1
a21 1
RUN_DEPENDS+=	wget>=1.11.4_1:${PORTSDIR}/ftp/wget
d23 1
a23 1
RUN_DEPENDS+=	curl>=7.19.6_1:${PORTSDIR}/ftp/curl
d34 1
a34 1
	@@${REINPLACE_CMD} -e 's|SIG_DB=$${SIG_DB:-""}|SIG_DB=$${SIG_DB:-/var/db/clamav}|g' ${WRKSRC}/${PORTNAME}.sh
@


1.5
log
@- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
@
text
@d8 1
a8 1
PORTVERSION=	5.2d
d15 3
a17 3
RUN_DEPENDS+=	bash>=3.2.48_1:${PORTSDIR}/shells/bash \
		clamav>=0.95.1:${PORTSDIR}/security/clamav \
		gnupg>=2.0.11:${PORTSDIR}/security/gnupg \
d21 1
a21 1
RUN_DEPENDS+=	wget>=1.11.4:${PORTSDIR}/ftp/wget
d23 1
a23 1
RUN_DEPENDS+=	curl>=7.19.5:${PORTSDIR}/ftp/curl
@


1.4
log
@- Update to 5.2d

PR:		ports/135005
Submitted by:	Gerard Seibert <gerard@@seibercom.net> (maintainer)
@
text
@d10 1
a10 1
MASTER_SITES=	SF
@


1.3
log
@- Update to 5.2c

PR:		134727
Submitted by:	Gerard Seibert <gerard@@seibercom.net> (maintainer)
@
text
@d8 1
a8 1
PORTVERSION=	5.2c
d15 1
a15 1
RUN_DEPENDS+=	bash>=3.2.48_1:${PORTSDIR}/shells/bash3 \
d23 1
a23 1
RUN_DEPENDS+=	curl>=7.19.2:${PORTSDIR}/ftp/curl
@


1.2
log
@- Update to 5.2b

PR:		133999
Submitted by:	Gerard Seibert <gerard at seibercom dot net> (maintainer)
@
text
@d8 1
a8 1
PORTVERSION=	5.2b
d18 1
a18 1
		rsync>=3.0.5:${PORTSDIR}/net/rsync
d34 2
a35 2
	@@${REINPLACE_CMD} -e 's|SIG_DB=$${SIG_DB:-""}|SIG_DB=$${SIG_DB:-"/var/db/clamav"}|g' ${WRKSRC}/${PORTNAME}.sh
	@@${REINPLACE_CMD} -e 's|CONFIG_DIR="/etc/scamp"|CONFIG_DIR="${PREFIX}/etc/scamp"|g' ${WRKSRC}/${PORTNAME}.sh
@


1.1
log
@Download and install definition files for Clamav from the following sites:

sanesecurity.com
malware.com.br
msrbl.com
clamav.securiteinfo.com

WWW: https://sourceforge.net/projects/scamp/

PR:		ports/133248
Submitted by:	Gerard Seibert <gerard@@seibercom.net>
@
text
@d8 1
a8 1
PORTVERSION=	5.2a
@

