head	1.24;
access;
symbols
	RELEASE_8_1_0:1.20
	RELEASE_7_3_0:1.19
	RELEASE_8_0_0:1.19
	RELEASE_7_2_0:1.19
	RELEASE_7_1_0:1.19
	RELEASE_6_4_0:1.19
	RELEASE_5_EOL:1.17
	RELEASE_7_0_0:1.16
	RELEASE_6_3_0:1.16
	PRE_XORG_7:1.11
	RELEASE_4_EOL:1.10
	RELEASE_6_2_0:1.10
	RELEASE_6_1_0:1.8
	RELEASE_5_5_0:1.8
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.1;
locks; strict;
comment	@# @;


1.24
date	2010.10.18.12.54.32;	author garga;	state dead;
branches;
next	1.23;

1.23
date	2010.10.18.12.03.09;	author garga;	state Exp;
branches;
next	1.22;

1.22
date	2010.10.16.11.52.35;	author ade;	state Exp;
branches;
next	1.21;

1.21
date	2010.09.15.18.35.10;	author ade;	state Exp;
branches;
next	1.20;

1.20
date	2010.06.19.04.23.02;	author linimon;	state Exp;
branches;
next	1.19;

1.19
date	2008.08.20.00.57.13;	author ade;	state Exp;
branches;
next	1.18;

1.18
date	2008.07.09.14.22.48;	author jmelo;	state Exp;
branches;
next	1.17;

1.17
date	2007.12.26.13.56.34;	author jmelo;	state Exp;
branches;
next	1.16;

1.16
date	2007.09.30.10.35.32;	author linimon;	state Exp;
branches;
next	1.15;

1.15
date	2007.09.30.04.47.25;	author linimon;	state Exp;
branches;
next	1.14;

1.14
date	2007.09.04.19.22.28;	author jmelo;	state Exp;
branches;
next	1.13;

1.13
date	2007.09.04.19.21.25;	author jmelo;	state Exp;
branches;
next	1.12;

1.12
date	2007.06.10.04.12.40;	author kris;	state Exp;
branches;
next	1.11;

1.11
date	2007.04.24.16.23.12;	author jmelo;	state Exp;
branches;
next	1.10;

1.10
date	2006.04.05.21.04.29;	author jmelo;	state Exp;
branches;
next	1.9;

1.9
date	2006.03.20.21.46.22;	author garga;	state Exp;
branches;
next	1.8;

1.8
date	2006.02.19.13.18.08;	author ehaupt;	state Exp;
branches;
next	1.7;

1.7
date	2006.01.31.09.57.08;	author garga;	state Exp;
branches;
next	1.6;

1.6
date	2005.12.20.12.35.18;	author edwin;	state Exp;
branches;
next	1.5;

1.5
date	2005.09.12.15.08.11;	author vsevolod;	state Exp;
branches;
next	1.4;

1.4
date	2005.06.05.20.44.14;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2004.08.28.05.08.45;	author linimon;	state Exp;
branches;
next	1.2;

1.2
date	2004.08.05.04.12.46;	author kuriyama;	state Exp;
branches;
next	1.1;

1.1
date	2004.02.28.17.48.28;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.24
log
@security/samba-vscan just works with samba 3.0, that is gone, so remove it too
@
text
@# New ports collection makefile for:	samba-vscan
# Date created:		27 February 2004
# Whom:			Jean Milanez Melo <jmelo@@FreeBSD.org>
#
# $FreeBSD: ports/security/samba-vscan/Makefile,v 1.23 2010/10/18 12:03:09 garga Exp $
#

PORTNAME=	samba-vscan
PORTVERSION=	0.3.6c
PORTREVISION=	4
CATEGORIES=	security
MASTER_SITES=	http://www.openantivirus.org/download/
DISTNAME=	${PORTNAME}-${PORTVERSION}-beta5

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	On-access virus scanning with Samba

BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/net/${VSCAN_SAMBA_PORT}:configure

OPTIONS=	VSCAN_ANTIVIR "for use with AntiVir" off \
		VSCAN_CLAMAV "for use with Clam AntiVirus Daemon" off \
		VSCAN_FPROTD "for use with F-Prot Daemon" off \
		VSCAN_FSAV "for use with F-Secure AntiVirus" off \
		VSCAN_ICAP "for use with an ICAP anti-virus" off \
		VSCAN_KAVP "for use with Kaspersky AntiVirus" off \
		VSCAN_MKSD "for use with mks32" off \
		VSCAN_NAI "for use with NAI/McAfee uvscan" off \
		VSCAN_OAV "for use with OpenAntiVirus.org ScannerDaemon" off \
		VSCAN_SOPHOS "for use with Sophos" off \
		VSCAN_TREND "for use with Trend Micro FileScanner" off

PORTDOCS=	AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README

USE_AUTOTOOLS=	autoconf:268
VSCAN_SAMBA_PORT?=	samba34
SAMBA_WRKSRC!=	cd ${.CURDIR}/../../net/${VSCAN_SAMBA_PORT}; ${MAKE} -V WRKSRC
HAS_CONFIGURE=	yes
USE_GMAKE=	yes
CONFIGURE_ARGS=	--with-samba-source=${SAMBA_WRKSRC}
ETCDIR=		etc/samba-vscan
SUB_FILES=	pkg-message
VFSDIR?=	lib/samba/vfs
VSCAN_NAME=
VSCAN_CONF=
ALL_TARGET=

.include <bsd.port.pre.mk>

VFSDIR=lib/samba

.if defined(WITH_VSCAN_ANTIVIR)
ALL_TARGET+=antivir
VSCAN_NAME+=vscan-antivir.so
VSCAN_CONF+=antivir/vscan-antivir.conf
.endif

.if defined(WITH_VSCAN_CLAMAV)
ALL_TARGET+=clamav
VSCAN_NAME+=vscan-clamav.so
VSCAN_CONF+=clamav/vscan-clamav.conf
.endif

.if defined(WITH_VSCAN_FPROTD)
ALL_TARGET+=fprotd
VSCAN_NAME+=vscan-fprotd.so
VSCAN_CONF+=fprot/vscan-fprotd.conf
.endif

.if defined(WITH_VSCAN_FSAV)
ALL_TARGET+=fsav
VSCAN_NAME+=vscan-fsav.so
VSCAN_CONF+=f-secure/vscan-fsav.conf
.endif

.if defined(WITH_VSCAN_ICAP)
ALL_TARGET+=icap
VSCAN_NAME+=vscan-icap.so
VSCAN_CONF+=icap/vscan-icap.conf
.endif

.if defined(WITH_VSCAN_KAVP)
ALL_TARGET+=kavp
VSCAN_NAME+=vscan-kavp.so
VSCAN_CONF+=kaspersky/vscan-kavp.conf
.endif

.if defined(WITH_VSCAN_MKSD)
ALL_TARGET+=mksd
VSCAN_NAME+=vscan-mksd.so
VSCAN_CONF+=mks/vscan-mks32.conf
.endif

.if defined(WITH_VSCAN_NAI)
ALL_TARGET+=nai
VSCAN_NAME+=vscan-mcdaemon.so
VSCAN_CONF+=nai/vscan-mcdaemon.conf
.endif

.if defined(WITH_VSCAN_OAV)
ALL_TARGET+=oav
VSCAN_NAME+=vscan-oav.so
VSCAN_CONF+=openantivirus/vscan-oav.conf
.endif

.if defined(WITH_VSCAN_SOPHOS)
ALL_TARGET+=sophos
VSCAN_NAME+=vscan-sophos.so
VSCAN_CONF+=sophos/vscan-sophos.conf
.endif

.if defined(WITH_VSCAN_TREND)
ALL_TARGET+=trend
VSCAN_NAME+=vscan-trend.so
VSCAN_CONF+=trend/vscan-trend.conf
.endif

PLIST_FILES+=	${VSCAN_NAME:S|^|${VFSDIR}/|} \
		${VSCAN_CONF:S|^|${ETCDIR}/|:C|(.*/).*/(.*.conf)|\1\2|}
PLIST_DIRS=	${ETCDIR} ${VFSDIR}

do-install:
.for i in ${VSCAN_NAME}
	@@${MKDIR} ${PREFIX}/${VFSDIR}
	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/${VFSDIR}
.endfor
	@@${MKDIR} ${PREFIX}/${ETCDIR}
.for i in ${VSCAN_CONF}
	${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${ETCDIR}
.endfor

post-install:
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
	@@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.23
log
@- Change default samba version to 3.4
- Bump PORTREVISION
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.22
log
@Punt autoconf267->autoconf268
@
text
@d10 1
a10 1
PORTREVISION=	3
d35 1
a35 1
VSCAN_SAMBA_PORT?=	samba3
a48 1
.if ${VSCAN_SAMBA_PORT} != "samba3"
a49 1
.endif
a120 5
pre-configure:
.if ${VSCAN_SAMBA_PORT} == "samba3"
		@@cd ${SAMBA_WRKSRC}; make proto 2>&1 > /dev/null
.endif

@


1.21
log
@Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
@
text
@d34 1
a34 1
USE_AUTOTOOLS=	autoconf:267
@


1.20
log
@Reset jmelo@@FreeBSD.org due to many months of inactivity and no response
to PRs.

Hat:		portmgr
Feature safe:	yes
@
text
@d10 1
a10 1
PORTREVISION=	2
d34 1
a34 1
USE_AUTOTOOLS=	autoconf:262
@


1.19
log
@Conversion from (now defunct) autoconf-2.61 to autoconf-2.62

Tested by:	exp build run (erwin)
@
text
@d15 1
a15 1
MAINTAINER=	jmelo@@FreeBSD.org
@


1.18
log
@- Bump PORTREVISION.

Reported by:	Kris
@
text
@d34 1
a34 1
USE_AUTOTOOLS=	autoconf:261
@


1.17
log
@- Update to beta5.
- Unbreak port.
@
text
@d10 1
@


1.16
log
@Mark as broken: fails to install.
@
text
@a9 1
PORTREVISION=	1
d12 1
a12 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-beta4
a18 4
BROKEN=		fails to install
DEPRECATED=	"${BROKEN}"
EXPIRATION_DATE=	2007-11-30

@


1.15
log
@Switch autoconf dependencies from 2.53 or 2.59 to 2.61.

PR:		ports/116639
Submitted by:	aDe
@
text
@d20 4
@


1.14
log
@- Fix typo.
@
text
@d10 1
d34 1
a34 1
USE_AUTOTOOLS=	autoconf:259
@


1.13
log
@- Update to 0.3.6c.
- Unbreak port.
@
text
@d129 1
a129 1
	@@${MKDIR} -p ${PREFIX}/${VFSDIR}
@


1.12
log
@BROKEN: Does not compile
@
text
@d9 1
a9 2
PORTVERSION=	0.3.6b
PORTREVISION=	1
d11 2
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR=	openantivirus
a18 2
BROKEN=		Does not compile

a33 1
USE_BZIP2=	yes
d129 1
@


1.11
log
@- Remove FreeBSD 4.X support.

PR:		ports/111884
Submitted by:	Marcelo Araujo <araujo@@bsdmail.org>
@
text
@d20 2
@


1.10
log
@- Change my ports MAINTAINER to jmelo@@FreeBSD.org.

Approved by:	mnag (mentor)
@
text
@a49 4
.if ${OSVERSION} < 500000
EXTRA_PATCHES=${FILESDIR}/extra_patch-*
.endif

@


1.9
log
@Fix build on 4.x

Submitted by:	maintainer via email
Reported by:	krismail
@
text
@d3 1
a3 1
# Whom:			Jean Milanez Melo <jmelo@@freebsdbrasil.com.br>
d15 1
a15 1
MAINTAINER=	jmelo@@freebsdbrasil.com.br
@


1.8
log
@- Use OPTIONS
- Use PLIST_FILES, remove pkg-plist
- Use files/pkg-message.in

PR:		92749
Submitted by:	Jean Milanez Melo <jmelo@@freebsdbrasil.com.br> (maintainer)
@
text
@d31 1
a31 1
.if !defined(NOPORTDOCS)
a32 1
.endif
d37 1
a37 1
SAMBA_WRKSRC!=	${MAKE} -C ${.CURDIR}/../../net/${VSCAN_SAMBA_PORT} -V WRKSRC
@


1.7
log
@- Add autoconf as a dependency

PR:		ports/92560
Submitted by:	maintainer
Reported by:	krismail
@
text
@d10 1
d19 12
d37 2
a38 1
SAMBA_WRKSRC=	`cd ${PORTSDIR}/net/${VSCAN_SAMBA_PORT}; make -V WRKSRC`
d42 6
a47 3
ETCDIR=		${PREFIX}/etc/samba-vscan
PKGMESSAGE=	${WRKDIR}/pkg-message
VSCAN_SAMBA_PORT?=samba3
d55 68
a122 4
.if ${VSCAN_SAMBA_PORT} == "samba3"
PLIST_SUB=	VFSDIR=lib/samba/vfs
.else
PLIST_SUB=	VFSDIR=lib/samba
d125 4
d134 9
a149 10
	@@${MKDIR} ${PREFIX}/etc/samba-vscan
	@@${INSTALL_DATA} ${WRKSRC}/clamav/vscan-clamav.conf ${ETCDIR}
	@@${INSTALL_DATA} ${WRKSRC}/fprot/vscan-fprotd.conf ${ETCDIR}
	@@${INSTALL_DATA} ${WRKSRC}/icap/vscan-icap.conf ${ETCDIR}
	@@${INSTALL_DATA} ${WRKSRC}/kaspersky/vscan-kavp.conf ${ETCDIR}
	@@${INSTALL_DATA} ${WRKSRC}/mks/vscan-mks32.conf ${ETCDIR}
	@@${INSTALL_DATA} ${WRKSRC}/openantivirus/vscan-oav.conf ${ETCDIR}
	@@${INSTALL_DATA} ${WRKSRC}/sophos/vscan-sophos.conf ${ETCDIR}
	@@${INSTALL_DATA} ${WRKSRC}/trend/vscan-trend.conf ${ETCDIR}
	@@${SED} "s|%%PREFIX%%|${PREFIX}|g;" ${.CURDIR}/pkg-message > ${PKGMESSAGE}
@


1.6
log
@[maintainer update]: security/samba-vscan fix atoll problem on 4.X

	- Fix atoll problem with FreeBSD 4.X.

PR:		ports/90645
Submitted by:	Jean Milanez Melo <jmelo@@freebsdbrasil.com.br>
@
text
@d22 1
@


1.5
log
@Update to 0.3.6b that fixes build with samba 3.0.20.

PR:		86013
Submitted by:	Jean Milanez Melo (maintainer)
@
text
@d31 6
d67 1
a67 1
.include <bsd.port.mk>
@


1.4
log
@- Update to 0.3.6

PR:		ports/81669
Submitted by:	Vsevolod Stakhov <vsevolod@@highsecure.ru>
Approved by:	maintainer timeout (16 days)
@
text
@d9 1
a9 1
PORTVERSION=	0.3.6
@


1.3
log
@Patch the default installation locations to be FreeBSD-friendly.  Bump
portrevision.  Users should take care when upgrading.

PR:		ports/70424
Submitted by:	Jean Milanez Melo <jmelo at freebsdbrasil dot com dot br> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	0.3.5
PORTREVISION=	1
d11 2
a12 3
MASTER_SITES=	http://heanet.dl.sourceforge.net/sourceforge/openantivirus/ \
		http://easynews.dl.sourceforge.net/sourceforge/openantivirus/ \
		http://flow.dl.sourceforge.net/sourceforge/openantivirus/
d17 4
a20 1
BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/net/${VSCAN_SAMBA_PORT}:build
d29 1
a29 1
VSCAN_SAMBA_PORT?=samba
d37 5
d43 6
@


1.2
log
@- Upgrade to 0.3.5.
- Add VSCAN_SAMBA_PORT knob to work with samba3 port.

No response from:	maintainer
@
text
@d10 1
@


1.1
log
@Add samba-vscan 0.3.4, on-access virus scanning with Samba.

While I am here,

  - make portlint happy,
  - use WRKSRC instead hardcode path.
  - use SAMBASRC instead wrong path if WRKDIRPREFIX env set.
  - remove PORTREVISION on new ports.

PR:		ports/63464
Submitted by:	Jean Milanez Melo <jmelo@@freebsdbrasil.com.br>
@
text
@d9 1
a9 1
PORTVERSION=	0.3.4
d18 1
a18 1
BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/net/samba:configure
d21 1
a21 1
SAMBA_WRKSRC=	`cd ${PORTSDIR}/net/samba; make -V WRKSRC`
d27 7
@

