Makefile revision 181
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# CDDL HEADER START
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# The contents of this file are subject to the terms of the
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# Common Development and Distribution License (the "License").
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# You may not use this file except in compliance with the License.
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# See the License for the specific language governing permissions
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# and limitations under the License.
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# When distributing Covered Code, include this CDDL HEADER in each
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# If applicable, add the following below this CDDL HEADER, with the
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# fields enclosed by brackets "[]" replaced with your own identifying
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# information: Portions Copyright [yyyy] [name of copyright owner]
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# CDDL HEADER END
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschPATH=/usr/bin:/usr/gnu/bin:/usr/sbin:/usr/perl5/bin
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCOMPONENT_ARCHIVE_HASH= sha1:6d90fe06468b662b2eefd7ffeb47b9a78f0a871d
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCOMPONENT_ARCHIVE_URL= http://www.squid-cache.org/Versions/v2/2.7/$(COMPONENT_ARCHIVE)
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# Squid has own prefix
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_PREFIX)/libexec
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --localstatedir=/var/squid
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --sharedstatedir=/var/squid
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/squid
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --mandir=$(CONFIGURE_PREFIX)/man
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --enable-auth='basic,digest,negotiate,ntlm'
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --enable-basic-auth-helpers='DB,NCSA,YP,LDAP,PAM,getpwnam,MSNT,POP3,multi-domain-NTLM,SMB,SASL'
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --enable-digest-auth-helpers='ldap,password'
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --enable-external-acl-helpers='ip_user,unix_group,ldap_group,wbinfo_group'
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --enable-follow-x-forwarded-for
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --enable-large-cache-files
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --enable-negotiate-auth-helpers='squid_kerb_auth'
eda1c4f68f460fe9057a3a7e90249b9fa96e687eStephan BoschCONFIGURE_OPTIONS += --enable-ntlm-auth-helpers='SMB,fakeauth,no_check'
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --enable-removal-policies='heap,lru'
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --enable-storeio='aufs,coss,diskd,ufs,null'
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --enable-x-accelerator-vary
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan BoschCONFIGURE_OPTIONS += --with-build-environment=POSIX_V6_ILP32_OFFBIG
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch -e 'print q{visible_hostname localhost} if $$. == 1;' \
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch -e 's/^\# +cache_effective_user.*/cache_effective_user webservd/g;' \
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch -e 's/^\# +dns_testnames.*/dns_testnames localhost/g' \
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch# common targets