head	1.22;
access;
symbols
	RELEASE_8_3_0:1.21
	RELEASE_9_0_0:1.21
	RELEASE_7_4_0:1.21
	RELEASE_8_2_0:1.21
	RELEASE_6_EOL:1.21
	RELEASE_8_1_0:1.21
	RELEASE_7_3_0:1.20
	RELEASE_8_0_0:1.20
	RELEASE_7_2_0:1.17
	RELEASE_7_1_0:1.16
	RELEASE_6_4_0:1.16
	RELEASE_5_EOL:1.14
	RELEASE_7_0_0:1.10
	RELEASE_6_3_0:1.10
	PRE_XORG_7:1.6
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2;
locks; strict;
comment	@# @;


1.22
date	2012.11.17.06.02.35;	author svnexp;	state Exp;
branches;
next	1.21;

1.21
date	2010.04.06.12.01.56;	author garga;	state Exp;
branches;
next	1.20;

1.20
date	2009.09.19.10.45.18;	author erwin;	state Exp;
branches;
next	1.19;

1.19
date	2009.09.19.09.51.47;	author erwin;	state Exp;
branches;
next	1.18;

1.18
date	2009.09.13.02.43.34;	author lippe;	state Exp;
branches;
next	1.17;

1.17
date	2009.03.27.11.53.06;	author garga;	state Exp;
branches;
next	1.16;

1.16
date	2008.09.15.19.56.38;	author garga;	state Exp;
branches;
next	1.15;

1.15
date	2008.08.21.06.18.35;	author rafan;	state Exp;
branches;
next	1.14;

1.14
date	2008.05.02.19.21.20;	author miwi;	state Exp;
branches;
next	1.13;

1.13
date	2008.04.16.16.10.17;	author garga;	state Exp;
branches;
next	1.12;

1.12
date	2008.02.21.13.05.41;	author garga;	state Exp;
branches;
next	1.11;

1.11
date	2007.12.22.15.59.19;	author miwi;	state Exp;
branches;
next	1.10;

1.10
date	2007.12.19.23.08.38;	author garga;	state Exp;
branches;
next	1.9;

1.9
date	2007.11.26.17.45.55;	author ade;	state Exp;
branches;
next	1.8;

1.8
date	2007.11.25.01.24.13;	author linimon;	state Exp;
branches;
next	1.7;

1.7
date	2007.06.11.13.51.28;	author araujo;	state Exp;
branches;
next	1.6;

1.6
date	2007.03.16.15.06.17;	author novel;	state Exp;
branches;
next	1.5;

1.5
date	2007.03.15.07.01.03;	author novel;	state Exp;
branches;
next	1.4;

1.4
date	2007.03.13.20.11.17;	author garga;	state Exp;
branches;
next	1.3;

1.3
date	2007.02.18.18.34.13;	author garga;	state Exp;
branches;
next	1.2;

1.2
date	2006.08.03.14.46.24;	author novel;	state Exp;
branches;
next	1.1;

1.1
date	2006.06.18.04.54.26;	author novel;	state Exp;
branches;
next	;


desc
@@


1.22
log
@Switch exporter over
@
text
@# New ports collection makefile for:	havp
# Date created:				17 June 2006
# Whom:					Elisey Savateev <b3k@@mail.ru>
#
# $FreeBSD: head/www/havp/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	havp
PORTVERSION=	0.91
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	http://www.server-side.de/download/ \
		http://bio3k.softboard.ru/uploads/arch/ \
		http://havp.hege.li/download/

MAINTAINER=	ayu@@commun.jp
COMMENT=	HTTP Antivirus Proxy

LIB_DEPENDS=	clamav.7:${PORTSDIR}/security/clamav

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_PERL5_BUILD=	yes
USE_RC_SUBR=	havp
CONFIGURE_ARGS=	--disable-locking

LOG_DIR=	/var/log/havp
TMP_DIR=	/var/tmp/havp
RUN_DIR=	/var/run/havp
PLIST_SUB+=	LOG_DIR=${LOG_DIR} TMP_DIR=${TMP_DIR} RUN_DIR=${RUN_DIR}

SUB_FILES=	pkg-install pkg-deinstall
SUB_LIST=	LOG_DIR=${LOG_DIR} TMP_DIR=${TMP_DIR} RUN_DIR=${RUN_DIR}

OPTIONS=	SSL "Enable SSL proxying (not scanned, only forwarded!)" on \
		CLAMAV "Enable libclamav support" on \
		TROPHIE "Enable Trend Micro (Trophie) support" off

.include <bsd.port.pre.mk>

.if defined(WITH_SSL)
CONFIGURE_ARGS+=	--enable-ssl-tunnel
.else
CONFIGURE_ARGS+=	--disable-ssl-tunnel
.endif

.if defined(WITH_CLAMAV)
CONFIGURE_ARGS+=	--enable-clamav
.else
CONFIGURE_ARGS+=	--disable-clamav
.endif

.if defined(WITH_TROPHIE)
CONFIGURE_ARGS+=	--enable-trophie
.else
CONFIGURE_ARGS+=	--disable-trophie
.endif

pre-install:
	@@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

post-install:
	@@[ -f ${PREFIX}/etc/havp/havp.config ] || \
		${CP} ${PREFIX}/etc/havp/havp.config.default ${PREFIX}/etc/havp/havp.config
	@@${MKDIR} ${EXAMPLESDIR}
	@@${CP} ${WRKSRC}/etc/havp/blacklist ${EXAMPLESDIR}/blacklist.sample
	@@${CP} -R ${WRKSRC}/etc/havp/templates ${EXAMPLESDIR}
	@@${CP} ${WRKSRC}/etc/havp/whitelist ${EXAMPLESDIR}/whitelist.sample
	@@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

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


1.21
log
@Chase clamav's lib bump
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.20
log
@Assign to new volunteer.

Submitted by:	Ayumi Mitsui <ayu@@commun.jp>
Feature safe:	yes
@
text
@d10 1
d19 1
a19 1
LIB_DEPENDS=	clamav.6:${PORTSDIR}/security/clamav
@


1.19
log
@Reset maintainership

Submitted by:	"Elisey O. Savateev" <b3k@@mail.ru> (maintainer)
Feature safe:	yes
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.18
log
@- Update to 0.91.

PR:		ports/138216
Submitted by:	Sylvio Cesar <scjamorim@@bsd.com.br>
Approved by:	maintainer timeout (>2 weeks)
@
text
@d15 1
a15 1
MAINTAINER=	b3k@@mail.ru
@


1.17
log
@- Bump necessary PORTREVISIONS and fix some ports to new clamav API
@
text
@d9 1
a9 1
PORTVERSION=	0.90
@


1.16
log
@- Update security/clamav to 0.94 [1] and fix a remote DoS [2]
- Chase libclamav version bump on all dependant ports
- Bump necessary PORTREVISIONS
- Fix some BROKEN messages from ports that were already broken with clamav-0.93
- Mark security/klamav as BROKEN since it doesn't build with clamav-0.94

PR:		ports/127122 [1], ports/127310 [2]
Submitted by:	Gary Palmer <freebsd-gnats@@in-addr.com> [1], delphij [2]
Approved by:	portmgr (pav)
@
text
@d9 1
a9 2
PORTVERSION=	0.88
PORTREVISION=	1
d12 2
a13 1
				http://bio3k.softboard.ru/uploads/arch/
d18 1
a18 1
LIB_DEPENDS=	clamav.5:${PORTSDIR}/security/clamav
@


1.15
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d10 1
d18 1
a18 1
LIB_DEPENDS=	clamav.4:${PORTSDIR}/security/clamav
@


1.14
log
@- Update to 0.88

PR:		122874
Submitted by:	Volker Werth <volker@@vwsoft.com>
Approved by:	maintainer timeout
@
text
@a22 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.13
log
@- Chase clamav library to version 4
- Bump PORTREVISION

Following ports are marked as BROKEN since they don't build with new clamav
0.93:

www/c-icap
mail/claws-mail-clamav
www/gurlchecker
www/havp
security/klamav
devel/p5-Mail-ClamAV
devel/py-clamav
www/squidclam

This clamav version needed to be updated without wait other ports fixes
because it fixes important vulnerabilities.
@
text
@d9 1
a9 2
PORTVERSION=	0.87
PORTREVISION=	1
d35 2
a36 4
			CLAMAV "Enable libclamav support" on \
			TROPHIE "Enable Trend Micro (Trophie) support" off

BROKEN=	Doesn't build with clamav-0.93
@


1.12
log
@- Update to 0.87

PR:		ports/120789
Approved by:	maintainer
@
text
@d10 1
d18 1
a18 1
LIB_DEPENDS=	clamav.3:${PORTSDIR}/security/clamav
d39 2
@


1.11
log
@- Fix OPTIONS handling

PR:		118373
Submitted by:	Max N. Boyarov <m.boyarov@@bsd.by>
Approved by:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	0.86
PORTREVISION=	1
@


1.10
log
@- Update security/clamav to 0.92
- Add a new OPTION (RAR) because unrar code is optional to fix a license
  issue
- Some cosmetic changes
- Chase library version bump and bump PORTREVISION of all dependant ports

Approved by:	portmgr (pav)
Security:	CVE-2007-6335, CVE-2007-6336, CVE-2007-6337
@
text
@d39 2
d71 1
a71 1
.include <bsd.port.mk>
@


1.9
log
@Unbreak pthread-related issues on 5.x

Approved by:	portmgr
@
text
@d10 1
d18 1
a18 1
LIB_DEPENDS=	clamav.2:${PORTSDIR}/security/clamav
@


1.8
log
@Mark as broken on 5.x: fails to find pthread.h.

Something in the infrastructure changed in the late July timeframe that
actually caused this problem.  The only major thing at that time was the
autoconf/libtool change, but I can't see how that could have caused this
failure mode.  It only happens on 5.x; 6.x and 7.x are fine.

Approved by:	portmgr (self)
@
text
@a37 6
.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600000
BROKEN=		Fails to compile: does not find pthread include file
.endif

d68 1
a68 1
.include <bsd.port.post.mk>
@


1.7
log
@- Update to version 0.86.

PR:		ports/112410
Submitted by:	Ivan Lago <ivan.lago@@ifom-ieo-campus.it>
Reviewed by:	Elisey Savateev <b3k@@mail.ru> (maintainer)
Approved by:	stas (mentor)
@
text
@d40 4
@


1.6
log
@Fix clamav dependency.

PR:		110390
Submitted by:	Volker Werth <volker@@vwsoft.com>
Approved by:	Elisey Savateev (maintainer)
Pointyhat to:	novel
@
text
@d9 1
a9 1
PORTVERSION=	0.85
a39 4
.if ${OSVERSION} < 500000
BROKEN=		this port does not compile on FreeBSD 4.x.
.endif

@


1.5
log
@Update to 0.85.

PR:		110117
Submitted by:	Elisey Savateev (maintainer)
@
text
@d17 1
a17 1
LIB_DEPENDS=	clamav.1:${PORTSDIR}/security/clamav
@


1.4
log
@- Update clamav to 0.90.1
- Use -lthr to build clamav since it has problems with libpthread
- Bump PORTREVISION of dependant ports, libclamav version was bumped
- Fix clamcour to build with clamav-0.90.x using patch sent by maintainer
@
text
@d9 1
a9 2
PORTVERSION=	0.82
PORTREVISION=	2
d17 1
a17 1
LIB_DEPENDS=	clamav.2:${PORTSDIR}/security/clamav
d21 1
d24 1
d34 4
d44 18
d63 1
a63 1
	@@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
d67 1
a67 1
		${CP} -p ${PREFIX}/etc/havp/havp.config.default ${PREFIX}/etc/havp/havp.config
d72 1
a72 1
	@@${SH} ${PKGINSTALL} ${PREFIX} POST-INSTALL
@


1.3
log
@- Fix build with clamav 0.90
- Bump PORTREVISION

Reported by:	krismail
@
text
@d10 1
a10 1
PORTREVISION=	1
d18 1
a18 1
LIB_DEPENDS=	clamav.1:${PORTSDIR}/security/clamav
@


1.2
log
@- Update to 0.82
- Marked as BROKEN on 4.x (compile problem reported to author)
- Added CONFIGURE_TARGET in Makefile

PR:		101300
Submitted by:	Elisey Savateev (maintainer)
@
text
@d10 1
@


1.1
log
@HAVP (HTTP Antivirus Proxy) is a proxy with a ClamAV anti-virus scanner. The
main aims are continuous, non-blocking downloads and smooth scanning of
dynamic and password protected HTTP traffic. Havp antivirus proxy has a parent
and transparent proxy mode. It can be used with squid or standalone.

WWW: http://www.server-side.de/

PR:		ports/99073
Submitted by:	Elisey Savateev <b3k@@mail.ru>
@
text
@d9 1
a9 1
PORTVERSION=	0.81
d22 1
d32 6
d50 1
a50 1
.include <bsd.port.mk>
@

