openbsd-ports/www/squid/Makefile
brad da5b4b0e75 add 2 distribution patches: (and fix a mistake in the HTML quoting patch)
squid-2.3.stable4-accel_only_access.patch
clientAccessCheck incorrectly returns ACCESS_ALLOWED for proxy requests
when configured as an HTTP accelerator only

squid-2.3.stable4-html_quoting.patch
Everywhere where Squid inserts text received from the network into a HTML
page (error pages, FTP listings, Gopher listings, ...) care must be taken
to ensure that the text is properly encoded as HTML, or a malicious user
might be able to insert script code or other HTML tags, and exploit the
web browser of any user visiting their page or clicking on that funny link
received in a email..
2000-11-17 22:35:52 +00:00

45 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.27 2000/11/17 22:35:52 brad Exp $
DISTNAME= squid-2.3.STABLE4
PKGNAME= squid-2.3
CATEGORIES= www
NEED_VERSION= 1.336
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 \
squid-2.3.stable4-accel_only_access.patch:0 \
squid-2.3.stable4-html_quoting.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>