Makefile revision 163
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# CDDL HEADER START
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# The contents of this file are subject to the terms of the
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# Common Development and Distribution License (the "License").
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# You may not use this file except in compliance with the License.
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# See the License for the specific language governing permissions
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# and limitations under the License.
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# When distributing Covered Code, include this CDDL HEADER in each
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# If applicable, add the following below this CDDL HEADER, with the
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# fields enclosed by brackets "[]" replaced with your own identifying
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# information: Portions Copyright [yyyy] [name of copyright owner]
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# CDDL HEADER END
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
f64296c40e07614668c4ac4c978bc8980fb6a7dbLukas SlebodnikPATH=/usr/bin:/usr/gnu/bin:/usr/sbin:/usr/perl5/bin
939246537b0b9a4af6862c513d3919501ad57d92Sumit BoseCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
939246537b0b9a4af6862c513d3919501ad57d92Sumit BoseCOMPONENT_ARCHIVE_HASH= sha1:6d90fe06468b662b2eefd7ffeb47b9a78f0a871d
939246537b0b9a4af6862c513d3919501ad57d92Sumit BoseCOMPONENT_ARCHIVE_URL= http://www.squid-cache.org/Versions/v2/2.7/$(COMPONENT_ARCHIVE)
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# Squid has own prefix
939246537b0b9a4af6862c513d3919501ad57d92Sumit BoseCONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_PREFIX)/libexec
939246537b0b9a4af6862c513d3919501ad57d92Sumit BoseCONFIGURE_OPTIONS += --mandir=$(CONFIGURE_PREFIX)/man
939246537b0b9a4af6862c513d3919501ad57d92Sumit BoseCONFIGURE_OPTIONS += --enable-auth='basic,digest,negotiate,ntlm'
939246537b0b9a4af6862c513d3919501ad57d92Sumit BoseCONFIGURE_OPTIONS += --enable-basic-auth-helpers='DB,NCSA,YP,LDAP,PAM,getpwnam,MSNT,POP3,multi-domain-NTLM,SMB,SASL'
939246537b0b9a4af6862c513d3919501ad57d92Sumit BoseCONFIGURE_OPTIONS += --enable-digest-auth-helpers='ldap,password'
939246537b0b9a4af6862c513d3919501ad57d92Sumit BoseCONFIGURE_OPTIONS += --enable-external-acl-helpers='ip_user,unix_group,ldap_group,wbinfo_group'
939246537b0b9a4af6862c513d3919501ad57d92Sumit BoseCONFIGURE_OPTIONS += --enable-follow-x-forwarded-for
939246537b0b9a4af6862c513d3919501ad57d92Sumit BoseCONFIGURE_OPTIONS += --enable-negotiate-auth-helpers='squid_kerb_auth'
939246537b0b9a4af6862c513d3919501ad57d92Sumit BoseCONFIGURE_OPTIONS += --enable-ntlm-auth-helpers='SMB,fakeauth,no_check'
939246537b0b9a4af6862c513d3919501ad57d92Sumit BoseCONFIGURE_OPTIONS += --enable-removal-policies='heap,lru'
939246537b0b9a4af6862c513d3919501ad57d92Sumit BoseCONFIGURE_OPTIONS += --enable-storeio='aufs,coss,diskd,ufs,null'
939246537b0b9a4af6862c513d3919501ad57d92Sumit BoseCONFIGURE_OPTIONS += --with-build-environment=POSIX_V6_ILP32_OFFBIG
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose -e 'print q{visible_hostname localhost} if $$. == 1;' \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose -e 's/^\# +cache_effective_user.*/cache_effective_user webservd/g;' \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose -e 's/^\# +dns_testnames.*/dns_testnames localhost/g' \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose# common targets
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose sed -f oracleman-stability $(BUILD_DIR_32)/doc/squid.8 \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose sed -f oracleman-stability $(BUILD_DIR_32)/doc/cachemgr.cgi.8 \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose sed -f oracleman-stability $(SOURCE_DIR)/helpers/basic_auth/NCSA/ncsa_auth.8 \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose sed -f oracleman-stability $(SOURCE_DIR)/helpers/basic_auth/PAM/pam_auth.8 \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose sed -f oracleman-stability $(BUILD_DIR_32)/helpers/basic_auth/DB/squid_db_auth.8 \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose sed -f oracleman-stability $(SOURCE_DIR)/helpers/basic_auth/LDAP/squid_ldap_auth.8 \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose > $(PROTOUSRDIR)/squid/man/man8/squid_ldap_auth.8
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose sed -f oracleman-stability $(SOURCE_DIR)/helpers/external_acl/ldap_group/squid_ldap_group.8 \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose > $(PROTOUSRDIR)/squid/man/man8/squid_ldap_group.8
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose sed -f oracleman-stability $(SOURCE_DIR)/helpers/external_acl/unix_group/squid_unix_group.8 \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose > $(PROTOUSRDIR)/squid/man/man8/squid_unix_group.8
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose @echo "no tests available"