openbsd-ports/www/squid/Makefile
brad ec43f0d782 add a transparent FLAVOR, enables support for IPFilter so Squid can be
used in a transparent proxy setup. suggested by jakob@
2000-10-08 20:37:08 +00:00

43 lines
1007 B
Makefile

# $OpenBSD: Makefile,v 1.26 2000/10/08 20:37:08 brad Exp $
DISTNAME= squid-2.3.STABLE4
PKGNAME= squid-2.3
CATEGORIES= www
NEED_VERSION= 1.330
MASTER_SITES= http://www.squid-cache.org/Versions/v2/2.3/
MASTER_SITES0= http://www.squid-cache.org/Versions/v2/2.3/bugs/
EXTRACT_SUFX= -src.tar.gz
DIST_SUBDIR= squid
PATCHFILES= squid-2.3.stable4-ftp_icon_not_found.patch:0 \
squid-2.3.stable4-internal_dns_rcode_table_formatting.patch:0 \
squid-2.3.stable4-ipfw_configure.patch:0 \
squid-2.3.stable4-invalid_ip_acl_entry.patch:0
HOMEPAGE= http://www.squid-cache.org/
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SYSCONFDIR= /etc/squid
STATEDIR?= /var/squid
SUBST_VARS= STATEDIR
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --localstatedir="${STATEDIR}"
FLAVORS= transparent
FLAVOR?=
.if ${FLAVOR:L:Mtransparent}
CONFIGURE_ARGS+= --enable-ipf-transparent
.endif
MAKE_FILE= makefile
.include <bsd.port.mk>