head	1.29;
access;
symbols
	RELEASE_8_3_0:1.25
	RELEASE_9_0_0:1.25
	RELEASE_7_4_0:1.24
	RELEASE_8_2_0:1.24
	RELEASE_6_EOL:1.23
	RELEASE_8_1_0:1.23
	RELEASE_7_3_0:1.23
	RELEASE_8_0_0:1.23
	RELEASE_7_2_0:1.22
	RELEASE_7_1_0:1.19
	RELEASE_6_4_0:1.19
	old_RELEASE_5_EOL:1.8;
locks; strict;
comment	@# @;


1.29
date	2013.03.22.15.52.26;	author svnexp;	state Exp;
branches;
next	1.28;

1.28
date	2013.02.07.14.08.05;	author svnexp;	state Exp;
branches;
next	1.27;

1.27
date	2012.12.10.15.19.18;	author svnexp;	state Exp;
branches;
next	1.26;

1.26
date	2012.11.17.06.02.29;	author svnexp;	state Exp;
branches;
next	1.25;

1.25
date	2011.09.23.22.25.54;	author amdmi3;	state Exp;
branches;
next	1.24;

1.24
date	2010.12.25.16.55.36;	author sunpoet;	state Exp;
branches;
next	1.23;

1.23
date	2009.05.31.20.31.06;	author pav;	state Exp;
branches;
next	1.22;

1.22
date	2009.01.06.16.53.03;	author wxs;	state Exp;
branches;
next	1.21;

1.21
date	2008.11.27.17.51.28;	author adrian;	state Exp;
branches;
next	1.20;

1.20
date	2008.10.07.09.39.19;	author adrian;	state Exp;
branches;
next	1.19;

1.19
date	2008.09.16.22.07.52;	author pav;	state Exp;
branches;
next	1.18;

1.18
date	2008.09.06.11.39.05;	author adrian;	state Exp;
branches;
next	1.17;

1.17
date	2008.09.02.18.23.01;	author adrian;	state Exp;
branches;
next	1.16;

1.16
date	2008.08.25.04.40.57;	author adrian;	state Exp;
branches;
next	1.15;

1.15
date	2008.08.15.10.57.59;	author adrian;	state Exp;
branches;
next	1.14;

1.14
date	2008.07.30.13.15.42;	author adrian;	state Exp;
branches;
next	1.13;

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

1.12
date	2008.06.30.22.13.16;	author adrian;	state Exp;
branches;
next	1.11;

1.11
date	2008.06.30.10.29.57;	author adrian;	state Exp;
branches;
next	1.10;

1.10
date	2008.06.29.02.26.44;	author adrian;	state Exp;
branches;
next	1.9;

1.9
date	2008.06.20.15.17.20;	author adrian;	state Exp;
branches;
next	1.8;

1.8
date	2008.05.26.18.33.29;	author adrian;	state Exp;
branches;
next	1.7;

1.7
date	2008.05.24.13.59.13;	author adrian;	state Exp;
branches;
next	1.6;

1.6
date	2008.05.17.16.19.29;	author adrian;	state Exp;
branches;
next	1.5;

1.5
date	2008.05.02.12.32.38;	author adrian;	state Exp;
branches;
next	1.4;

1.4
date	2008.04.23.02.25.02;	author adrian;	state Exp;
branches;
next	1.3;

1.3
date	2008.04.18.23.07.26;	author edwin;	state Exp;
branches;
next	1.2;

1.2
date	2008.04.18.22.44.52;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2008.04.18.06.29.39;	author adrian;	state Exp;
branches;
next	;


desc
@@


1.29
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314915
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Adrian Chadd <adrian@@FreeBSD.org>
# $FreeBSD: head/www/cacheboy15-devel/Makefile 314915 2013-03-22 11:53:34Z bapt $

PORTNAME=	cacheboy
DISTVERSION=	1.5.2
PORTREVISION=	6
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
DISTNAME=	CACHEBOY_1.5.2
# EXTRACT_SUFX=	.tar.gz
DIST_SUBDIR=	CACHEBOY_1.5.2

MAINTAINER=	adrian@@FreeBSD.org
COMMENT=	HTTP Caching Proxy (Squid Derivative) - Development Release

CONFLICTS=	squid-[0-9]* cacheboy*
LATEST_LINK=	cacheboy15-devel
GNU_CONFIGURE=	yes
USE_PERL5=	yes
USE_RC_SUBR=	squid

SQUID_UID?=	squid
SQUID_GID?=	squid

MAN8=		cachemgr.cgi.8 squid.8
docs=		QUICKSTART README.Squid ChangeLog.Cacheboy doc/debug-sections.txt
PORTDOCS=	${docs:T}
PORTEXAMPLES=	passwd.sql
SUB_FILES+=	pkg-deinstall pkg-install pkg-message
SUB_LIST+=	SQUID_UID=${SQUID_UID} SQUID_GID=${SQUID_GID}

OPTIONS_DEFINE=	DOCS NLS SQUID_LDAP_AUTH SQUID_SASL_AUTH SQUID_DELAY_POOLS SQUID_SNMP \
		SQUID_CARP SQUID_SSL SQUID_PINGER SQUID_DNS_HELPER SQUID_HTCP SQUID_VIA_DB \
		SQUID_CACHE_DIGESTS SQUID_WCCP SQUID_WCCPV2 SQUID_STRICT_HTTP SQUID_IDENT \
		SQUID_REFERER_LOG SQUID_USERAGENT_LOG SQUID_ARP_ACL SQUID_PF SQUID_IPFILTER \
		SQUID_FOLLOW_XFF SQUID_AUFS SQUID_COSS SQUID_KQUEUE SQUID_LARGEFILE \
		SQUID_STACKTRACES
OPTIONS_DEFAULT=	SQUID_CARP SQUID_WCCP SQUID_KQUEUE
SQUID_LDAP_AUTH_DESC=		Install LDAP authentication helpers
SQUID_SASL_AUTH_DESC=		Install SASL authentication helpers
SQUID_DELAY_POOLS_DESC=		Enable delay pools
SQUID_SNMP_DESC=		Enable SNMP support
SQUID_CARP_DESC=		Enable CARP support
SQUID_SSL_DESC=			Enable SSL support for reverse proxies
SQUID_PINGER_DESC=		Install the icmp helper
SQUID_DNS_HELPER_DESC=		Use the old 'dnsserver' helper
SQUID_HTCP_DESC=		Enable HTCP support
SQUID_VIA_DB_DESC=		Enable forward/via database
SQUID_CACHE_DIGESTS_DESC=	Enable cache digests
SQUID_WCCP_DESC=		Enable Web Cache Coordination Prot. v1
SQUID_WCCPV2_DESC=		Enable Web Cache Coordination Prot. v2
SQUID_STRICT_HTTP_DESC=		Be strictly HTTP compliant
SQUID_IDENT_DESC=		Enable ident (RFC 931) lookups
SQUID_REFERER_LOG_DESC=		Enable Referer-header logging
SQUID_USERAGENT_LOG_DESC=	Enable User-Agent-header logging
SQUID_ARP_ACL_DESC=		Enable ACLs based on ethernet address
SQUID_PF_DESC=			Enable transparent proxying with PF
SQUID_IPFILTER_DESC=		Enable transp. proxying with IPFilter
SQUID_FOLLOW_XFF_DESC=		Follow X-Forwarded-For headers
SQUID_AUFS_DESC=		Enable the aufs storage scheme
SQUID_COSS_DESC=		Enable the COSS storage scheme
SQUID_KQUEUE_DESC=		Use kqueue(2) instead of poll(2)
SQUID_LARGEFILE_DESC=		Support log and cache files >2GB
SQUID_STACKTRACES_DESC=		Create backtraces on fatal errors

etc_files=	squid/cachemgr.conf.default \
		squid/mib.txt squid/mime.conf.default \
		squid/msntauth.conf.default squid/squid.conf.default

icon_files=	anthony-binhex.gif anthony-bomb.gif anthony-box.gif \
		anthony-box2.gif anthony-c.gif anthony-compressed.gif \
		anthony-dir.gif anthony-dirup.gif anthony-dvi.gif \
		anthony-f.gif anthony-image.gif anthony-image2.gif \
		anthony-layout.gif anthony-link.gif anthony-movie.gif \
		anthony-pdf.gif anthony-portal.gif anthony-ps.gif \
		anthony-quill.gif anthony-script.gif anthony-sound.gif \
		anthony-tar.gif anthony-tex.gif anthony-text.gif \
		anthony-unknown.gif anthony-xbm.gif anthony-xpm.gif

error_files=	ERR_ACCESS_DENIED ERR_CACHE_ACCESS_DENIED \
		ERR_CACHE_MGR_ACCESS_DENIED ERR_CANNOT_FORWARD \
		ERR_CONNECT_FAIL ERR_DNS_FAIL ERR_FORWARDING_DENIED \
		ERR_FTP_DISABLED ERR_FTP_FAILURE ERR_FTP_FORBIDDEN \
		ERR_FTP_NOT_FOUND ERR_FTP_PUT_CREATED \
		ERR_FTP_PUT_ERROR ERR_FTP_PUT_MODIFIED ERR_FTP_UNAVAILABLE \
		ERR_INVALID_REQ ERR_INVALID_RESP ERR_INVALID_URL \
		ERR_LIFETIME_EXP ERR_NO_RELAY ERR_ONLY_IF_CACHED_MISS \
		ERR_READ_ERROR ERR_READ_TIMEOUT ERR_SHUTTING_DOWN \
		ERR_SOCKET_FAILURE ERR_TOO_BIG ERR_UNSUP_REQ \
		ERR_URN_RESOLVE ERR_WRITE_ERROR ERR_ZERO_SIZE_OBJECT

libexec=	cachemgr.cgi digest_pw_auth diskd-daemon logfile-daemon \
		ip_user_check \
		msnt_auth ncsa_auth ntlm_auth \
		pam_auth smb_auth smb_auth.sh squid_db_auth squid_session \
		squid_unix_group wbinfo_group.pl
.if !defined(SQUID_CONFIGURE_ARGS) || ${SQUID_CONFIGURE_ARGS:M*--disable-unlinkd*} == ""
libexec+=	unlinkd
.endif

sbin=		RunCache squidclient squid

CONFIGURE_ARGS=	--bindir=${PREFIX}/sbin  \
		--sbindir=${PREFIX}/sbin  \
		--datadir=${PREFIX}/etc/squid \
		--libexecdir=${PREFIX}/libexec/squid \
		--localstatedir=${PREFIX}/squid \
		--sysconfdir=${PREFIX}/etc/squid \
		--enable-removal-policies="lru heap" \
		--disable-linux-netfilter \
		--disable-linux-tproxy \
		--disable-epoll

.include <bsd.port.options.mk>

.if ${OSVERSION} >= 800037
BROKEN=		does not compile with Heimdal 1.1 in 8.0-CURRENT
.endif

.if ${OSVERSION} < 700000
BROKEN=		does not compile with OpenSSL in 6.x base
.endif

# Authentication methods and modules:

basic_auth=	DB NCSA PAM MSNT SMB
digest_auth=	password
external_acl=	ip_user session unix_group wbinfo_group
MAN8+=		ncsa_auth.8 pam_auth.8 squid_db_auth.8 squid_session.8 \
		squid_unix_group.8
.if ${PORT_OPTIONS:MSQUID_LDAP_AUTH}
USE_OPENLDAP=	yes
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
MAN8+=		squid_ldap_auth.8 squid_ldap_group.8
basic_auth+=	LDAP
digest_auth+=	ldap
external_acl+=	ldap_group
libexec+=	digest_ldap_auth squid_ldap_auth squid_ldap_group
.endif
.if ${PORT_OPTIONS:MSQUID_SASL_AUTH}
LIB_DEPENDS+=	sasl2:${PORTSDIR}/security/cyrus-sasl2
CFLAGS+=	-I${LOCALBASE}/include
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
basic_auth+=	SASL
libexec+=	sasl_auth
.endif
.if !defined(NO_NIS) && ${PORT_OPTIONS:MNIS}
basic_auth+=	YP
libexec+=	yp_auth
.endif
CONFIGURE_ARGS+=	--enable-auth="basic ntlm digest" \
			--enable-basic-auth-helpers="${basic_auth}" \
			--enable-digest-auth-helpers="${digest_auth}" \
			--enable-external-acl-helpers="${external_acl}" \
			--enable-ntlm-auth-helpers="SMB"
.if !defined(NO_KERBEROS) && ${PORT_OPTIONS:MKERBEROS}
# XXX This currently only works with heimdal from the base system,
#     see files/patch-helpers_negotiate_auth-squid_kerb_auth_*
CONFIGURE_ARGS+=	--enable-negotiate-auth-helpers="squid_kerb_auth"
libexec+=	squid_kerb_auth
.endif

# Storage schemes:

storage_schemes=	ufs diskd null
.if ${PORT_OPTIONS:MSQUID_AUFS}
storage_schemes+=	aufs
EXTRA_PATCHES+=		${PATCHDIR}/extra-patch-src-cf.data.pre.aufs
# Nil aufs threads is default, set any other value via SQUID_CONFIGURE_ARGS
CONFIGURE_ARGS+=	--with-pthreads
.endif
.if ${PORT_OPTIONS:MSQUID_COSS}
storage_schemes+=	coss
.if !  ${PORT_OPTIONS:MSQUID_AUFS}
# use Posix AIO instead of aufs' AIO; note that you then need the kernel to
# supply AIO support, either by loading the aio(4) module (n/a on 4.x) or by
# adding the option VFS_AIO to your kernel configuration if you want to
# actually use COSS storage:
CONFIGURE_ARGS+=	--enable-coss-aio-ops
.endif
sbin+=		cossdump
.endif
CONFIGURE_ARGS+=	--enable-storeio="${storage_schemes}"

# Other options set via 'make config':

.if ${PORT_OPTIONS:MSQUID_DELAY_POOLS}
CONFIGURE_ARGS+=	--enable-delay-pools
.endif
.if ${PORT_OPTIONS:MSQUID_SNMP}
CONFIGURE_ARGS+=	--enable-snmp
.endif
.if ! ${PORT_OPTIONS:MSQUID_CARP}
CONFIGURE_ARGS+=	--disable-carp
.endif
.if ${PORT_OPTIONS:MSQUID_SSL}
# we need to .include bsd.openssl.mk manually here.because USE_OPENSSL only
# works when it is defined before bsd.port{.pre}.mk is .included.
# This makes it currently impossible to combine this macro with OPTIONS to
# conditionally include OpenSSL support.
USE_OPENSSL=		yes
CONFIGURE_ARGS+=	--enable-ssl \
			--with-openssl="${OPENSSLBASE}"
CFLAGS+=	-I${OPENSSLINC}
LDFLAGS+=	-L${OPENSSLLIB}
.endif
.if ${PORT_OPTIONS:MSQUID_PINGER}
CONFIGURE_ARGS+=	--enable-icmp
libexec+=	pinger
.endif
.if ${PORT_OPTIONS:MSQUID_DNS_HELPER}
CONFIGURE_ARGS+=	--disable-internal-dns
libexec+=	dnsserver
.endif
.if ${PORT_OPTIONS:MSQUID_HTCP}
CONFIGURE_ARGS+=	--enable-htcp
.endif
.if ${PORT_OPTIONS:MSQUID_VIA_DB}
CONFIGURE_ARGS+=	--enable-forw-via-db
.endif
.if ${PORT_OPTIONS:MSQUID_CACHE_DIGESTS}
CONFIGURE_ARGS+=	--enable-cache-digests
.endif
.if ! ${PORT_OPTIONS:MSQUID_WCCP}
CONFIGURE_ARGS+=	--disable-wccp
.endif
.if ${PORT_OPTIONS:MSQUID_WCCPV2}
CONFIGURE_ARGS+=	--enable-wccpv2
.endif
.if ${PORT_OPTIONS:MSQUID_STRICT_HTTP}
CONFIGURE_ARGS+=	--disable-http-violations
.endif
.if ! ${PORT_OPTIONS:MSQUID_IDENT}
CONFIGURE_ARGS+=	--disable-ident-lookups
.endif
.if ${PORT_OPTIONS:MSQUID_REFERER_LOG}
CONFIGURE_ARGS+=	--enable-referer-log
.endif
.if ${PORT_OPTIONS:MSQUID_USERAGENT_LOG}
CONFIGURE_ARGS+=	--enable-useragent-log
.endif
.if ${PORT_OPTIONS:MSQUID_ARP_ACL}
CONFIGURE_ARGS+=	--enable-arp-acl
.endif
.if ${PORT_OPTIONS:MSQUID_PF}
CONFIGURE_ARGS+=	--enable-pf-transparent
.endif
.if ${PORT_OPTIONS:MSQUID_IPFILTER}
CONFIGURE_ARGS+=	--enable-ipf-transparent
.endif
.if ${PORT_OPTIONS:MSQUID_FOLLOW_XFF}
CONFIGURE_ARGS+=	--enable-follow-x-forwarded-for
.endif
.if ! ${PORT_OPTIONS:MSQUID_KQUEUE}
CONFIGURE_ARGS+=	--disable-kqueue
.endif
.if ${PORT_OPTIONS:MSQUID_LARGEFILE}
CONFIGURE_ARGS+=	--with-large-files --enable-large-cache-files
.endif
.if ${PORT_OPTIONS:MSQUID_STACKTRACES}
CONFIGURE_ARGS+=	--enable-stacktraces
CFLAGS+=	-g
STRIP=
.endif

# Languages:
#
# If you do not define SQUID_LANGUAGES yourself, all available language files
# will be installed; the default language will be English.

SQUID_LANGUAGES?=	Armenian Azerbaijani Bulgarian Catalan Czech Danish \
			Dutch English Estonian Finnish French German Greek \
			Hebrew Hungarian Italian Japanese Korean Lithuanian \
			Polish Portuguese Romanian Russian-1251 Russian-koi8-r \
			Serbian Simplify_Chinese Slovak Spanish Swedish \
			Traditional_Chinese Turkish NewEnglish
SQUID_DEFAULT_LANG?=	NewEnglish
CONFIGURE_ARGS+=	--enable-err-languages="${SQUID_LANGUAGES}" \
			--enable-default-err-language=${SQUID_DEFAULT_LANG}

# Finally, add additional user specified configuration options:
CONFIGURE_ARGS+=	${SQUID_CONFIGURE_ARGS}

PLIST_DIRS=	etc/squid/icons libexec/squid
PLIST_FILES=	${etc_files:S,^,etc/,} ${icon_files:S,^,etc/squid/icons/,} \
		${libexec:S,^,libexec/squid/,} ${sbin:S,^,sbin/,}

.for d in ${SQUID_LANGUAGES}
PLIST_DIRS+=	etc/squid/errors/${d}
PLIST_FILES+=	${error_files:S,^,etc/squid/errors/${d}/,}
.endfor
PLIST_DIRS+=	etc/squid/errors etc/squid squid/logs squid/cache squid

post-patch:
	@@${REINPLACE_CMD} -e 's|%%SQUID_UID%%|${SQUID_UID}|g' \
	    -e 's|%%SQUID_GID%%|${SQUID_GID}|g' \
	    -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/cf.data.pre
	@@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
	    ${WRKSRC}/helpers/basic_auth/SMB/Makefile.in \
	    ${WRKSRC}/helpers/basic_auth/SMB/smb_auth.sh

pre-install:
# Prevent installation of .orig files by deleting them.
	@@${FIND} ${WRKSRC} -name '*.bak' -delete
	@@${FIND} ${WRKSRC} -name '*.orig' -delete

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

post-install:
.if ${PORT_OPTIONS:MNLS}
	@@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/helpers/basic_auth/DB/passwd.sql ${EXAMPLESDIR}
.endif
.if ${PORT_OPTIONS:MSQUID_PINGER}
	${CHMOD} 4510 ${PREFIX}/libexec/squid/pinger; \
	${CHGRP} ${SQUID_GID} ${PREFIX}/libexec/squid/pinger
.endif
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${docs} ${DOCSDIR}
.endif
	@@${SETENV} PKG_PREFIX=${PREFIX} \
	    ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

	@@${ECHO_CMD} "===> post-installation information for ${PKGNAME}:"
	@@${ECHO_CMD} ""
	@@${CAT} ${PKGMESSAGE}
	@@${ECHO_CMD} ""

.include <bsd.port.mk>
@


1.28
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311829
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 2
a2 75
# New ports collection makefile for:	squid24
# Date created:		Tue Mar 27 14:56:08 CEST 2001
# Whom:			Adrian Chadd <adrian@@FreeBSD.org>
#
# $FreeBSD: head/www/cacheboy15-devel/Makefile 311829 2013-02-07 12:37:48Z gahr $
#
# Tunables not (yet) configurable via 'make config':
# SQUID_{U,G}ID
#   Which user/group Squid should run as (default: squid/squid).
#   The user and group will be created if they do not already exist using
#   a uid:gid of 100:100.
#   NOTE: older versions of Squid defaulted to nobody/nogroup.
#   If you wish to run Squid as "nobody" (which is not recommended), please
#   define SQUID_UID=nobody and SQUID_GID=nogroup in your make environment
#   before you start the update or installation of this port.
#
# SQUID_LANGUAGES
#   A list of languages for which error page files should be installed
#   (default: all)
#
#   E.g. use `make SQUID_LANGUAGES="English French"' if you want to
#   install the files for these languages only.
#   Use `make -VSQUID_LANGUAGES' or scroll down to this variable's
#   definition to see which values are valid.
#
# SQUID_DEFAULT_LANG
#   If you define SQUID_LANGUAGES, select which language should be the default
#   one (this variable defaults to English). This setting can be overwritten
#   with squid.conf's error_directory directive.
#
# SQUID_CONFIGURE_ARGS
#   Additional configuration options.
#
#   To enable them, use e.g
#   `make SQUID_CONFIGURE_ARGS="--enable-dlmalloc --enable-truncate" install'
#
#   The list below may be incomplete, please see the configure script
#   in the Squid source distribution for the complete list of additional
#   options.
#   Note that you probably do not need to worry about these options in most
#   cases, they are included in case you want to experiment with them.
#
#    --enable-dlmalloc
#     Compile and use the malloc package from Doug Lea
#    --enable-gnuregex
#     Compile and use the supplied GNUregex routines instead of BSD regex
#     (not recommended).
#    --enable-xmalloc-statistics
#     Show malloc statistics in status page
#    --enable-cachemgr-hostname=some.hostname
#     Set an explicit hostname in cachemgr.cgi
#    --enable-truncate
#     Use truncate() rather than unlink()
#    --disable-unlinkd
#     Do not use "unlinkd"
#    --with-aufs-threads=N_THREADS
#     Tune the number of worker threads for the aufs object
#    --with-coss-membuf-size
#     COSS membuf size (default: 1048576 bytes)
#    --with-maxfd=N
#     Override the maximum number of filedescriptors. Useful if you
#     build as another user who is not privileged to use the amount
#     of filedescriptors the resulting binary is expected to support.
#    --enable-ntlm-fail-open
#     Enable NTLM fail open, where a helper that fails one of the
#     Authentication steps can allow Squid to still authenticate the user
#    --enable-x-accelerator-vary
#     Enable support for the X-Accelerator-Vary HTTP header. Can be used
#     to indicate variance within an accelerator setup. Typically used
#     together with other code that adds custom HTTP headers to the
#     requests.
#    --enable-forward-log
#     Enable experimental forward_log directive.
#    --enable-multicast-miss
#     Enable experimental multicast notification of cachemisses.
d32 33
a64 26
OPTIONS=	SQUID_LDAP_AUTH "Install LDAP authentication helpers" off \
		SQUID_SASL_AUTH "Install SASL authentication helpers" off \
		SQUID_DELAY_POOLS "Enable delay pools" off \
		SQUID_SNMP "Enable SNMP support" off \
		SQUID_CARP "Enable CARP support" on \
		SQUID_SSL "Enable SSL support for reverse proxies" off \
		SQUID_PINGER "Install the icmp helper" off \
		SQUID_DNS_HELPER "Use the old 'dnsserver' helper" off \
		SQUID_HTCP "Enable HTCP support" off \
		SQUID_VIA_DB "Enable forward/via database" off \
		SQUID_CACHE_DIGESTS "Enable cache digests" off \
		SQUID_WCCP "Enable Web Cache Coordination Prot. v1" on \
		SQUID_WCCPV2 "Enable Web Cache Coordination Prot. v2" off \
		SQUID_STRICT_HTTP "Be strictly HTTP compliant" off \
		SQUID_IDENT "Enable ident (RFC 931) lookups" on \
		SQUID_REFERER_LOG "Enable Referer-header logging" off \
		SQUID_USERAGENT_LOG "Enable User-Agent-header logging" off \
		SQUID_ARP_ACL "Enable ACLs based on ethernet address" off \
		SQUID_PF "Enable transparent proxying with PF" off \
		SQUID_IPFILTER "Enable transp. proxying with IPFilter" off \
		SQUID_FOLLOW_XFF "Follow X-Forwarded-For headers" off \
		SQUID_AUFS "Enable the aufs storage scheme" off \
		SQUID_COSS "Enable the COSS storage scheme" off \
		SQUID_KQUEUE "Use kqueue(2) instead of poll(2)" on \
		SQUID_LARGEFILE "Support log and cache files >2GB" off \
		SQUID_STACKTRACES "Create backtraces on fatal errors" off
d114 1
a114 1
.include <bsd.port.pre.mk>
d131 1
a131 1
.if defined(WITH_SQUID_LDAP_AUTH)
d141 1
a141 1
.if defined(WITH_SQUID_SASL_AUTH)
d149 1
a149 1
.if !defined(NO_NIS) && !defined(WITHOUT_NIS)
d158 1
a158 1
.if !defined(NO_KERBEROS) && !defined(WITHOUT_KERBEROS)
d168 1
a168 1
.if defined(WITH_SQUID_AUFS)
d174 1
a174 1
.if defined(WITH_SQUID_COSS)
d176 1
a176 1
.if !defined(WITH_SQUID_AUFS)
d189 1
a189 1
.if defined(WITH_SQUID_DELAY_POOLS)
d192 1
a192 1
.if defined(WITH_SQUID_SNMP)
d195 1
a195 1
.if defined(WITHOUT_SQUID_CARP)
d198 1
a198 1
.if defined(WITH_SQUID_SSL)
d203 1
a203 1
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
d209 1
a209 1
.if defined(WITH_SQUID_PINGER)
d213 1
a213 1
.if defined(WITH_SQUID_DNS_HELPER)
d217 1
a217 1
.if defined(WITH_SQUID_HTCP)
d220 1
a220 1
.if defined(WITH_SQUID_VIA_DB)
d223 1
a223 1
.if defined(WITH_SQUID_CACHE_DIGESTS)
d226 1
a226 1
.if defined(WITHOUT_SQUID_WCCP)
d229 1
a229 1
.if defined(WITH_SQUID_WCCPV2)
d232 1
a232 1
.if defined(WITH_SQUID_STRICT_HTTP)
d235 1
a235 1
.if defined(WITHOUT_SQUID_IDENT)
d238 1
a238 1
.if defined(WITH_SQUID_REFERER_LOG)
d241 1
a241 1
.if defined(WITH_SQUID_USERAGENT_LOG)
d244 1
a244 1
.if defined(WITH_SQUID_ARP_ACL)
d247 1
a247 1
.if defined(WITH_SQUID_PF)
d250 1
a250 1
.if defined(WITH_SQUID_IPFILTER)
d253 1
a253 1
.if defined(WITH_SQUID_FOLLOW_XFF)
d256 1
a256 1
.if defined(WITHOUT_SQUID_KQUEUE)
d259 1
a259 1
.if defined(WITH_SQUID_LARGEFILE)
d262 1
a262 1
.if defined(WITH_SQUID_STACKTRACES)
d314 1
a314 1
.if !defined(NOPORTEXAMPLES)
d318 1
a318 1
.if defined(WITH_SQUID_PINGER)
d322 1
a322 1
.if !defined(NOPORTDOCS)
d334 1
a334 1
.include <bsd.port.post.mk>
@


1.27
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308609
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308609 | ume | 2012-12-10 15:10:02 +0000 (Mon, 10 Dec 2012) | 3 lines
## SVN ##
## SVN ## Update cyrus-sasl2 to 2.1.26.
## SVN ## This bumps shlib version of libsasl2.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
# $FreeBSD: head/www/cacheboy15-devel/Makefile 308609 2012-12-10 15:10:02Z ume $
a238 1
CFLAGS+=	${PTHREAD_CFLAGS}
a362 2
	@@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
	    ${WRKSRC}/configure
@


1.26
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/www/cacheboy15-devel/Makefile 300897 2012-07-14 14:29:18Z beat $
d79 1
a79 1
PORTREVISION=	5
d208 1
a208 1
LIB_DEPENDS+=	sasl2.2:${PORTSDIR}/security/cyrus-sasl2
@


1.25
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.24
log
@- Use canonical format for FreeBSD.org MAINTAINER addresses
- Remove obsolete MD5 checksum while I'm here

PR:		ports/152844
Submitted by:	sunpoet (myself)
Approved by:	miwi (with portmgr hat)
@
text
@a352 4
CONFIGURE_ENV+=		CFLAGS="${CFLAGS}" \
			CPPFLAGS="${CPPFLAGS}"\
			LDFLAGS="${LDFLAGS}"

@


1.23
log
@- Resolve LATEST_LINK conflict
@
text
@d86 1
a86 1
MAINTAINER=	adrian@@freebsd.org
@


1.22
log
@- Remove conditional checks for FreeBSD 5.x and older

Approved by:	pav
@
text
@d90 1
@


1.21
log
@Update port to Cacheboy-1.5.2.
@
text
@a234 2
.if ${OSVERSION}>=501000
# Only document libmap.conf where it is available:
a235 1
.endif
a314 3
.if ${OSVERSION} < 502106
IGNORE=		pf available only in FreeBSD 5.3 and newer
.endif
a315 6
# IPFilter-headers are not installed on FreeBSD 4 since 4.7-RELEASE,
# they were not installed on FreeBSD 5 from 2002-03-26 (OSVERSION > 500032) to
# 2003-06-27 (OSVERSION < 501101).
#
# Please see PR misc/44148 and the CVS log of src/include/Makefile for further
# information.
a316 3
.if (${OSVERSION} > 500032 && ${OSVERSION} < 501101)
IGNORE=		the IPFilter headers are not part of the base system
.else
a318 1
.endif
@


1.20
log
@Update to Cacheboy-1.5.1.
@
text
@d78 2
a79 2
DISTVERSION=	1.5.1
PORTREVISION=	4
d82 1
a82 1
DISTNAME=	CACHEBOY_1.5.1
d84 1
a84 1
DIST_SUBDIR=	CACHEBOY_1.5.1
@


1.19
log
@- Mark BROKEN on 6.x: does not compile with base OpenSSL

Reported by:	pointyhat
Approved by:	portmgr (self)
@
text
@d78 2
a79 2
DISTVERSION=	1.5.PRE4
PORTREVISION=	3
d82 1
a82 1
DISTNAME=	CACHEBOY_1.5.PRE4
d84 1
a84 1
DIST_SUBDIR=	CACHEBOY_1.5.PRE4
@


1.18
log
@Update port to Cacheboy-1.5.PRE3.
@
text
@d185 4
@


1.17
log
@Update to 1.5.PRE3.
@
text
@d78 2
a79 2
DISTVERSION=	1.5.PRE3
PORTREVISION=	2
d82 1
a82 1
DISTNAME=	CACHEBOY_1.5.PRE3
d84 1
a84 1
DIST_SUBDIR=	CACHEBOY_1.5.PRE3
@


1.16
log
@First development release of Cacheboy-1.5.
@
text
@d78 2
a79 2
DISTVERSION=	1.5.PRE1
PORTREVISION=	1
d82 1
a82 1
DISTNAME=	CACHEBOY_1.5.PRE1
d84 1
a84 1
DIST_SUBDIR=	CACHEBOY_1.5.PRE1
@


1.15
log
@Upgrade to Cacheboy-1.4.1.

I haven't yet fixed the tcptest binary install; I need to figure out
the correct automake magic to commit to a subsequent cacheboy release.
@
text
@d78 2
a79 2
DISTVERSION=	1.4.1
PORTREVISION=	12
d82 1
a82 1
DISTNAME=	CACHEBOY_1.4.1
d84 1
a84 1
DIST_SUBDIR=	CACHEBOY_1.4.1
d87 1
a87 1
COMMENT=	HTTP Caching Proxy (Squid Derivative)
d89 1
a89 1
CONFLICTS=	squid-[0-9]*
@


1.14
log
@Upgrade port to Cacheboy-1.4.
@
text
@d78 2
a79 2
DISTVERSION=	1.4
PORTREVISION=	11
d82 1
a82 1
DISTNAME=	CACHEBOY_1.4
d84 1
a84 1
DIST_SUBDIR=	CACHEBOY_1.4
@


1.13
log
@- Mark BROKEN on -CURRENT after Heimdal import
@
text
@d78 2
a79 2
DISTVERSION=	1.3.3
PORTREVISION=	10
d82 1
a82 1
DISTNAME=	CACHEBOY_1.3.3
d84 1
a84 1
DIST_SUBDIR=	CACHEBOY_1.3.3
@


1.12
log
@A commit to squid a few months ago broke using openssl's MD5 implementation
without compiling in ssl. This fix disables including the openssl headers
unless SSL support is compiled in, leaving the md5 stuff to hopefully
compile correctly.
@
text
@d181 4
@


1.11
log
@Update to Cacheboy-1.3.3.
@
text
@d79 1
a79 1
PORTREVISION=	9
@


1.10
log
@Update port to Cacheboy-1.3.2.
@
text
@d78 2
a79 2
DISTVERSION=	1.3.2
PORTREVISION=	8
d82 1
a82 1
DISTNAME=	CACHEBOY_1.3.2
d84 1
a84 1
DIST_SUBDIR=	CACHEBOY_1.3.2
@


1.9
log
@Update cacheboy port to 1.2.
@
text
@d78 2
a79 2
DISTVERSION=	1.2
PORTREVISION=	7
d82 1
a82 1
DISTNAME=	CACHEBOY_1.2
d84 1
a84 1
DIST_SUBDIR=	CACHEBOY_1.2
@


1.8
log
@Add logfile-daemon to packing list.

Noticed-By: Ion-Mihai Tetcu <itetcu@@freebsd.org>
@
text
@d78 2
a79 2
DISTVERSION=	1.0
PORTREVISION=	6
d82 1
a82 1
DISTNAME=	CACHEBOY_1.0
d84 1
a84 1
DIST_SUBDIR=	CACHEBOY_1.0
@


1.7
log
@Update cacheboy package to the 1.0 stable release.
@
text
@d79 1
a79 1
PORTREVISION=	5
d157 1
a157 1
libexec=	cachemgr.cgi digest_pw_auth diskd-daemon \
@


1.6
log
@Update port to PRE6.
Include new error pages (NewEnglish); set these as the default error
pages.
@
text
@d78 2
a79 2
DISTVERSION=	0.PRE6
PORTREVISION=	4
d82 1
a82 1
DISTNAME=	CACHEBOY_0.PRE6
d84 1
a84 1
DIST_SUBDIR=	CACHEBOY_0.PRE6
@


1.5
log
@Upgrade to 0.PRE4.
@
text
@d78 2
a79 2
DISTVERSION=	0.PRE4
PORTREVISION=	3
d82 1
a82 1
DISTNAME=	CACHEBOY_0.PRE4
d84 1
a84 1
DIST_SUBDIR=	CACHEBOY_0.PRE4
d352 2
a353 2
			Traditional_Chinese Turkish
SQUID_DEFAULT_LANG?=	English
@


1.4
log
@Update to PRE0.3 ; remove debugging comment.
@
text
@d78 2
a79 2
DISTVERSION=	0.PRE3
PORTREVISION=	2
d82 1
a82 1
DISTNAME=	CACHEBOY_0.PRE3
d84 1
a84 1
DIST_SUBDIR=	CACHEBOY_0.PRE3
@


1.3
log
@remove unnecessary PROJECTHOST macro
@
text
@a76 2
# FATAL: Makefile: order must be PORTNAME/PORTVERSION/DISTVERSIONPREFIX/DISTVERSION/DISTVERSIONSUFFIX/PORTREVISION/PORTEPOCH/CATEGORIES/MASTER_SITES/MASTER_SITE_SUBDIR/PKGNAMEPREFIX/PKGNAMESUFFIX/DISTNAME/EXTRACT_SUFX/DISTFILES/DIST_SUBDIR/EXTRACT_ONLY.

d78 2
a79 2
DISTVERSION=	0.PRE1
PORTREVISION=	1
d82 1
a82 1
DISTNAME=	CACHEBOY_0.PRE1
d84 1
a84 1
DIST_SUBDIR=	CACHEBOY_0.PRE1
d98 1
a98 1
docs=		QUICKSTART README.Squid doc/debug-sections.txt
@


1.2
log
@Use proper MASTER_SITES and PROJECTHOST macros
@
text
@a83 1
PROJECTHOST=	${PORTNAME}
@


1.1
log
@Cacheboy is a deriative of Squid-2 begun by yours truely to continue
active development on the stable Squid-2 codebase.

This initial preview release should be as stable as Squid-2.HEAD (at this
point in time) is.
@
text
@d83 2
a84 2
MASTER_SITES=	http://cacheboy.googlecode.com/files/
MASTER_SITE_SUBDIR=	/
@

