head	1.38;
access;
symbols
	RELEASE_8_3_0:1.37
	RELEASE_9_0_0:1.37
	RELEASE_7_4_0:1.36
	RELEASE_8_2_0:1.36
	RELEASE_6_EOL:1.36
	RELEASE_8_1_0:1.36
	RELEASE_7_3_0:1.36
	RELEASE_8_0_0:1.35
	RELEASE_7_2_0:1.35
	RELEASE_7_1_0:1.34
	RELEASE_6_4_0:1.34
	RELEASE_5_EOL:1.34
	RELEASE_7_0_0:1.34
	RELEASE_6_3_0:1.34
	PRE_XORG_7:1.32
	RELEASE_4_EOL:1.31
	RELEASE_6_2_0:1.30
	RELEASE_6_1_0:1.29
	RELEASE_5_5_0:1.29
	RELEASE_6_0_0:1.22
	RELEASE_5_4_0:1.22
	RELEASE_4_11_0:1.20
	RELEASE_5_3_0:1.17
	RELEASE_4_10_0:1.14
	RELEASE_5_2_1:1.7
	RELEASE_5_2_0:1.7;
locks; strict;
comment	@# @;


1.38
date	2012.11.17.06.01.03;	author svnexp;	state Exp;
branches;
next	1.37;

1.37
date	2011.10.22.15.45.40;	author tdb;	state Exp;
branches;
next	1.36;

1.36
date	2009.11.20.15.21.01;	author tdb;	state Exp;
branches;
next	1.35;

1.35
date	2009.02.24.12.23.15;	author tdb;	state Exp;
branches;
next	1.34;

1.34
date	2007.10.27.17.47.58;	author tdb;	state Exp;
branches;
next	1.33;

1.33
date	2007.09.30.09.20.30;	author linimon;	state Exp;
branches;
next	1.32;

1.32
date	2007.03.09.18.21.19;	author tdb;	state Exp;
branches;
next	1.31;

1.31
date	2006.12.08.10.26.44;	author tdb;	state Exp;
branches;
next	1.30;

1.30
date	2006.09.02.23.54.00;	author kris;	state Exp;
branches;
next	1.29;

1.29
date	2006.02.03.20.51.47;	author tdb;	state Exp;
branches;
next	1.28;

1.28
date	2006.01.09.13.01.15;	author tdb;	state Exp;
branches;
next	1.27;

1.27
date	2006.01.04.16.41.20;	author tdb;	state Exp;
branches;
next	1.26;

1.26
date	2005.12.01.21.00.29;	author tdb;	state Exp;
branches;
next	1.25;

1.25
date	2005.12.01.16.50.06;	author tdb;	state Exp;
branches;
next	1.24;

1.24
date	2005.10.31.01.36.17;	author mnag;	state Exp;
branches;
next	1.23;

1.23
date	2005.10.06.20.48.47;	author mnag;	state Exp;
branches;
next	1.22;

1.22
date	2005.02.25.19.19.43;	author pav;	state Exp;
branches;
next	1.21;

1.21
date	2005.01.10.21.17.21;	author sem;	state Exp;
branches;
next	1.20;

1.20
date	2004.11.24.16.39.33;	author daichi;	state Exp;
branches;
next	1.19;

1.19
date	2004.11.20.16.27.47;	author krion;	state Exp;
branches;
next	1.18;

1.18
date	2004.10.13.16.10.53;	author pav;	state Exp;
branches;
next	1.17;

1.17
date	2004.08.06.12.03.16;	author vs;	state Exp;
branches;
next	1.16;

1.16
date	2004.07.25.21.13.14;	author pav;	state Exp;
branches;
next	1.15;

1.15
date	2004.05.09.23.07.08;	author eik;	state Exp;
branches;
next	1.14;

1.14
date	2004.03.18.21.52.04;	author eik;	state Exp;
branches;
next	1.13;

1.13
date	2004.03.08.00.08.12;	author pav;	state Exp;
branches;
next	1.12;

1.12
date	2004.03.02.22.58.20;	author pav;	state Exp;
branches;
next	1.11;

1.11
date	2004.02.23.01.45.55;	author linimon;	state Exp;
branches;
next	1.10;

1.10
date	2004.02.08.17.03.29;	author krion;	state Exp;
branches;
next	1.9;

1.9
date	2003.12.06.20.40.39;	author krion;	state Exp;
branches;
next	1.8;

1.8
date	2003.12.05.08.54.08;	author krion;	state Exp;
branches;
next	1.7;

1.7
date	2003.11.22.02.17.46;	author jeh;	state Exp;
branches;
next	1.6;

1.6
date	2003.11.18.21.51.27;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2003.10.28.15.05.43;	author foxfair;	state Exp;
branches;
next	1.4;

1.4
date	2003.10.28.08.56.10;	author foxfair;	state Exp;
branches;
next	1.3;

1.3
date	2003.10.22.13.50.14;	author foxfair;	state Exp;
branches;
next	1.2;

1.2
date	2003.10.22.06.43.06;	author foxfair;	state Exp;
branches;
next	1.1;

1.1
date	2003.10.22.03.08.51;	author foxfair;	state Exp;
branches;
next	;


desc
@@


1.38
log
@Switch exporter over
@
text
@# New ports collection makefile for:	f-prot
# Date created:			4 June 2003
# Whom:				Tim Bishop <tim@@bishnet.net>
#
# $FreeBSD: head/security/f-prot/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	f-prot
PORTVERSION=	6.5.1.5927
CATEGORIES=	security
MASTER_SITES=	ftp://ftp.i-scream.org/pub/ftp.f-prot.com/pub/bsd/ \
		http://ftp.i-scream.org/pub/ftp.f-prot.com/pub/bsd/
DISTNAME=	fp-FreeBSD-x86_32-ws-${PORTVERSION}

MAINTAINER=	tdb@@FreeBSD.org
COMMENT=	F-Prot Antivirus for BSD Workstations

RESTRICTED=	Free for personal users on personal workstations only

WRKSRC=		${WRKDIR}/${PORTNAME}
NO_BUILD=	yes
SUB_FILES=	900.fpupdate fpscan fpupdate

MAN1=		fpscan.1
MAN5=		f-prot.conf.5
MAN8=		fpupdate.8

ONLY_FOR_ARCHS=	i386 amd64

do-install:
	${MKDIR} ${PREFIX}/libexec/${PORTNAME}
	${INSTALL_PROGRAM} ${WRKSRC}/fpscan ${PREFIX}/libexec/${PORTNAME}
	${INSTALL_PROGRAM} ${WRKSRC}/fpupdate ${PREFIX}/libexec/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/antivir.def ${PREFIX}/libexec/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/license.key ${PREFIX}/libexec/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/product.data ${PREFIX}/libexec/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/libexec/${PORTNAME}

	${INSTALL_DATA} ${WRKSRC}/f-prot.conf.default ${PREFIX}/etc/f-prot.conf.sample

	${INSTALL_SCRIPT} ${WRKDIR}/fpscan ${PREFIX}/bin/fpscan
	${INSTALL_SCRIPT} ${WRKDIR}/fpupdate ${PREFIX}/bin/fpupdate

	${MKDIR} ${PREFIX}/etc/periodic/daily
	${INSTALL_SCRIPT} ${WRKDIR}/900.fpupdate ${PREFIX}/etc/periodic/daily

	${INSTALL_MAN} ${WRKSRC}/doc/man/fpscan.1 ${MANPREFIX}/man/man1/
	${INSTALL_MAN} ${WRKSRC}/doc/man/f-prot.conf.5 ${MANPREFIX}/man/man5/
	${INSTALL_MAN} ${WRKSRC}/doc/man/fpupdate.8 ${MANPREFIX}/man/man8/

post-install:
.ifndef(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${CP} -R ${WRKSRC}/doc/html ${DOCSDIR}
	${CP} ${WRKSRC}/doc/CHANGES ${DOCSDIR}
	${CP} ${WRKSRC}/doc/LICENSE ${DOCSDIR}
	${CP} ${WRKSRC}/doc/LICENSE-FPAV ${DOCSDIR}
	${CP} ${WRKSRC}/doc/LICENSES-others ${DOCSDIR}
.endif
	@@if [ ! -f ${PREFIX}/etc/f-prot.conf ]; then \
		${CP} -p ${PREFIX}/etc/f-prot.conf.sample ${PREFIX}/etc/f-prot.conf ; \
	fi
	@@if [ ! -e /etc/f-prot.conf ]; then \
		${LN} -s ${PREFIX}/etc/f-prot.conf /etc/f-prot.conf ; \
	fi
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.37
log
@- Update to version 6.5.1.5927.
- Enable on amd64 since it now works again with this update.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.36
log
@- Update f-prot to 6.2.1. Based on ports/132074.

PR:		ports/132074
Submitted by:	Cristiano Rolim Pereira <cristianorolim@@hotmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	6.2.1
d13 1
a13 1
DISTNAME=	fp-FreeBSD-i386-ws-${PORTVERSION}
d28 1
a28 1
ONLY_FOR_ARCHS=	i386
@


1.35
log
@Mark broken for now - this version is no longer receiving updates. The
port needs updating, but in the mean time best not to let people think
this version is OK to use.
@
text
@d9 1
a9 1
PORTVERSION=	4.6.8
d13 1
a13 1
DISTNAME=	fp-freebsd-ws-${PORTVERSION}
d18 1
a18 8
RUN_DEPENDS=	${SITE_PERL}/HTTP/Request.pm:${PORTSDIR}/www/p5-libwww

.ifndef(WITHOUT_SIGNATURES)
RUN_DEPENDS+=	${LOCALBASE}/f-prot/SIGN.DEF:${PORTSDIR}/security/f-prot-sig
.endif

RESTRICTED=	Free for personal use only
BROKEN=		This version no longer receives updates
d22 1
a22 1
USE_PERL5=	yes
d24 3
a26 1
MAN1=		f-prot.1
d28 1
a28 1
ONLY_FOR_ARCHS=	i386 amd64
d31 19
a49 20
	cd ${WRKDIR} && ${TAR}	--exclude man_pages \
				--exclude doc_ws \
				--exclude f-prot.sh \
				--exclude *.DEF \
				--exclude install-f-prot.pl \
				-cf - f-prot | ${TAR} -xf - -C ${PREFIX}

	${INSTALL_SCRIPT} ${FILESDIR}/f-prot ${PREFIX}/bin/f-prot
	${INSTALL_MAN} ${WRKSRC}/man_pages/f-prot.1 ${MANPREFIX}/man/man1/
	${CHMOD} 755 ${PREFIX}/f-prot/tools/check-updates.pl

.ifdef(WITHOUT_SIGNATURES)
post-extract:
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "WARNING: You have chosen not to have the virus signatures installed."
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "Make sure you download and update the signatures yourself, or use the"
	@@${ECHO_MSG} "check-updates.pl script provided in this port to do it for you."
	@@${ECHO_MSG} ""
.endif
d54 5
a58 1
	${CP} -Rp ${WRKSRC}/doc_ws/* ${DOCSDIR}
d60 7
@


1.34
log
@Update f-prot to 4.6.8.
@
text
@d25 1
@


1.33
log
@Add USE_PERL5.  This will be needed to conditionalize bsd.perl.mk inclusion.

Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	4.6.7
@


1.32
log
@Add amd64 to ONLY_FOR_ARCHS - this binary port is reported to work
fine on FreeBSD/amd64.

PR:		110138
Submitted by:	Scot Hetzel <swhetzel@@gmail.com>
@
text
@d28 1
@


1.31
log
@- Update f-prot to 4.6.7.
@
text
@d31 1
a31 1
ONLY_FOR_ARCHS=	i386
@


1.30
log
@NO_PACKAGE and NO_CDROM are not appropriate here
@
text
@d9 1
a9 1
PORTVERSION=	4.6.6
@


1.29
log
@- Update to 4.6.6
@
text
@a23 2
NO_PACKAGE=	Free for personal use only
NO_CDROM=	Free for personal use only
@


1.28
log
@- Update f-prot to 4.6.5
@
text
@d9 1
a9 1
PORTVERSION=	4.6.5
d24 3
a26 3
NO_PACKAGE=	"Free for personal use only"
NO_CDROM=	"Free for personal use only"
RESTRICTED=	"Free for personal use only"
@


1.27
log
@- Update to 4.6.4

Approved by:	clement (mentor, implicitly)
@
text
@d9 1
a9 1
PORTVERSION=	4.6.4
@


1.26
log
@- Update to 4.6.3

Approved by:	clement (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	4.6.3
@


1.25
log
@- Change maintainer to my @@FreeBSD.org address.
- Add SHA256 checksum.

Approved by:	clement (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	4.6.2
@


1.24
log
@Update to 4.6.2

PR:		88226
Submitted by:	Tim Bishop <tim@@bishnet.net> (maintainer)
@
text
@d15 1
a15 1
MAINTAINER=	tim@@bishnet.net
@


1.23
log
@Update to 4.6.1

PR:		87000
Submitted by:	Tim Bishop <tim@@bishnet.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.6.1
d24 3
a26 3
NO_PACKAGE=	Free for personal use only
NO_CDROM=	Free for personal use only
RESTRICTED=	Free for personal use only
@


1.22
log
@- Update to 4.5.4

PR:		ports/78055
Submitted by:	Tim Bishop <tim@@bishnet.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.5.4
d43 1
a43 1
	${INSTALL_SCRIPT} ${WRKSRC}/f-prot.sh ${PREFIX}/bin/f-prot
@


1.21
log
@- Update to 4.5.3

PR:		ports/75917
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	4.5.3
@


1.20
log
@[MAINTAINER] security/f-prot: Make dependency on signatures optional

PR:		ports/74209
Submitted by:	Tim Bishop <tim@@bishnet.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.4.8
d56 1
a56 1
	
@


1.19
log
@Update to 4.4.8

PR:		ports/74122
Submitted by:	maintainer
@
text
@d18 5
a22 2
RUN_DEPENDS=	${SITE_PERL}/HTTP/Request.pm:${PORTSDIR}/www/p5-libwww \
		${LOCALBASE}/f-prot/SIGN.DEF:${PORTSDIR}/security/f-prot-sig
d47 10
d58 1
a58 1
.if !defined(NOPORTDOCS)
@


1.18
log
@- Update to 4.4.7

PR:		ports/72561
Submitted by:	Tim Bishop <tim@@bishnet.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.4.7
@


1.17
log
@Update to 4.4.4

PR:		ports/70042
Submitted by:	Tim Bishop (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.4.4
@


1.16
log
@- Update to 4.4.3

PR:		ports/69570
Submitted by:	Tim Bishop <tim@@bishnet.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.4.3
d12 1
a12 1
		http://www.i-scream.org/pub/ftp.f-prot.com/pub/bsd/
@


1.15
log
@- Update to 4.4.2

PR:		66385
Submitted by:	Tim Bishop <tim@@bishnet.net>
@
text
@d9 1
a9 1
PORTVERSION=	4.4.2
@


1.14
log
@Update to 4.4.1

PR:		64437
Submitted by:	Tim Bishop <tim@@bishnet.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.4.1
d42 1
@


1.13
log
@- Update to 4.4.0
- Update signatures
- Portlint

PR:		ports/63906, ports/63908
Submitted by:	Tim Bishop <tim@@bishnet.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.4.0
d37 1
@


1.12
log
@- Update to 4.3.4
- Fix pkg-plist

PR:		ports/63660
Submitted by:	Tim Bishop <tim@@bishnet.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.3.4
d19 1
a19 1
		${PREFIX}/f-prot/SIGN.DEF:${PORTSDIR}/security/f-prot-sig
@


1.11
log
@Refactor f-prot into f-prot (for the code) and f-prot-sig (for the
signature definitions).  This allows the definitions to be updated
seperately as and when required.

PR:		ports/62917, 62918
Submitted by:	Tim Bishop <tim@@bishnet.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.3.3
@


1.10
log
@- Update to version 4.3.3

PR:		ports/62475
Submitted by:	maintainer
@
text
@d18 2
a19 1
RUN_DEPENDS=	${SITE_PERL}/HTTP/Request.pm:${PORTSDIR}/www/p5-libwww
d33 6
a38 1
	cd ${WRKDIR} && ${TAR} -cf - f-prot | ${TAR} -xf - -C ${PREFIX}
d41 6
@


1.9
log
@- Add new MASTER_SITES
- Developers updated their virus definition table
  and rerolled the tarball

Submitted by:	maintainer
@
text
@d8 2
a9 2
PORTNAME=	prot
PORTVERSION=	4.3.1
d11 2
a12 3
MASTER_SITES=	http://www.i-scream.org/pub/ftp.f-prot.com/pub/bsd/ \
		ftp://ftp.i-scream.org/pub/ftp.f-prot.com/pub/bsd/
PKGNAMEPREFIX=	f-
d24 1
a24 1
WRKSRC=		${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}
@


1.8
log
@- Update to version 4.3.1

PR:		59949
Submitted by:	maintainer
@
text
@d11 2
a12 1
MASTER_SITES=	ftp://ftp.f-prot.com/pub/bsd/
@


1.7
log
@Update f-prot to 4.3.0.

PR:		59562
Submitted by:	MAINTAINER
@
text
@d9 1
a9 1
PORTVERSION=	4.3.0
@


1.6
log
@- Mark only for i386

PR:		ports/59437
Submitted by:	maintainer
Approved by:	marcus (backup mentor)
@
text
@d9 1
a9 2
PORTVERSION=	4.2.0
PORTREVISION=	1
@


1.5
log
@Submitted by:	Marcus Henschel <mh@@myfreebsd.org>
Reviewed by:	maintainer
Use RUN_DEPENDS instead of BUILD_DEPENDS to depend on www/p5-libwww
@
text
@d30 2
@


1.4
log
@Approved by:	maintainer
Add BUILD_DEPENDS and bump PORTREVISION.
@
text
@d19 1
a19 1
BUILD_DEPENDS=	${SITE_PERL}/HTTP/Request.pm:${PORTSDIR}/www/p5-libwww
@


1.3
log
@Submitted by:	maintainer
Correct the pathname of WRKSRC.
@
text
@d10 1
d18 2
@


1.2
log
@Fix PKGNAMEPREFIX to use package name as "f-prot" rather than "fprot", no
function change in this commit.
@
text
@d22 1
a22 1
WRKSRC=		${WRKDIR}/${PKGNAMEPREFIX}-${PORTNAME}
@


1.1
log
@Add f-prot 4.2.0, f-Prot Antivirus for BSD Workstations.

PR:		52923
Submitted by:	Tim Bishop <tim@@bishnet.net>
@
text
@d12 1
a12 1
PKGNAMEPREFIX=	f
@

