author | John Beck <John.Beck@Oracle.COM> |
Wed, 09 Nov 2016 09:51:14 -0800 | |
changeset 7279 | c2b1ddc7e31d |
parent 7270 | 2a82983df5d6 |
child 7312 | 6b323adaf9e7 |
permissions | -rw-r--r-- |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
1 |
# |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
3 |
# |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
7 |
# |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
12 |
# |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
18 |
# |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
20 |
# |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
21 |
|
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
22 |
# |
5454
1efad1afb469
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
5122
diff
changeset
|
23 |
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
24 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5616
diff
changeset
|
25 |
BUILD_BITS= 64 |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5616
diff
changeset
|
26 |
COMPILER= gcc |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
27 |
include ../../make-rules/shared-macros.mk |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
28 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5616
diff
changeset
|
29 |
PATH=$(USRBINDIR):$(GNUBIN):$(USRSBINDIR):$(USRDIR)/perl5/bin |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
30 |
|
211
f37f16a2a99c
7035372 update squid to 3.1.8
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
181
diff
changeset
|
31 |
COMPONENT_NAME= squid |
5967
42c0b21048f8
23243453 problem in UTILITY/SQUID
Rich Burridge <rich.burridge@oracle.com>
parents:
5845
diff
changeset
|
32 |
COMPONENT_VERSION= 3.5.18 |
625
a91e898823c4
7119933 Upgrade Squid to 3.1.18
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
609
diff
changeset
|
33 |
COMPONENT_PROJECT_URL= http://www.squid-cache.org/ |
1295
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
34 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
625
diff
changeset
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
5967
42c0b21048f8
23243453 problem in UTILITY/SQUID
Rich Burridge <rich.burridge@oracle.com>
parents:
5845
diff
changeset
|
36 |
sha256:812ba5ec74ebdc1bea1b3013b636f9dfcb7a6f5271b2783961009c215879af82 |
4539
f2b9eb7f8e76
21305852 update to squid 3.5.5
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
37 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)Versions/v3/3.5/$(COMPONENT_ARCHIVE) |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
38 |
|
5967
42c0b21048f8
23243453 problem in UTILITY/SQUID
Rich Burridge <rich.burridge@oracle.com>
parents:
5845
diff
changeset
|
39 |
TPNO= 28337 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1645
diff
changeset
|
40 |
|
7245
934578b959f0
20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents:
6125
diff
changeset
|
41 |
# Enable adiheap and adistack security extensions |
934578b959f0
20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents:
6125
diff
changeset
|
42 |
ADIHEAP_MODE = $(ADIHEAP_ENABLE) |
934578b959f0
20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents:
6125
diff
changeset
|
43 |
ADISTACK_MODE = $(ADISTACK_ENABLE) |
934578b959f0
20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents:
6125
diff
changeset
|
44 |
|
5760
ae78071b3cad
20217383 squid should have its tests hooked up in the Makefile
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
45 |
TEST_TARGET= $(TEST_64) |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5616
diff
changeset
|
46 |
include $(WS_MAKE_RULES)/common.mk |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
47 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5616
diff
changeset
|
48 |
CFLAGS += -I$(USRINCDIR)/kerberosv5 |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
49 |
CFLAGS += $(CPP_LARGEFILES) |
6001
bfad5cf58f0f
23293885 Squid needs help building on 11.3
John Beck <John.Beck@Oracle.COM>
parents:
5967
diff
changeset
|
50 |
# <getopt.h> changed between 11 & 12. |
bfad5cf58f0f
23293885 Squid needs help building on 11.3
John Beck <John.Beck@Oracle.COM>
parents:
5967
diff
changeset
|
51 |
ifeq ($(OS_VERSION), 5.11) |
bfad5cf58f0f
23293885 Squid needs help building on 11.3
John Beck <John.Beck@Oracle.COM>
parents:
5967
diff
changeset
|
52 |
CXXFLAGS += -Wno-write-strings |
bfad5cf58f0f
23293885 Squid needs help building on 11.3
John Beck <John.Beck@Oracle.COM>
parents:
5967
diff
changeset
|
53 |
endif |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
54 |
|
1624
6a885a6e48cb
18043627 squid should enable ASLR and be built 64-bit.
Rich Burridge <rich.burridge@oracle.com>
parents:
1605
diff
changeset
|
55 |
CONFIGURE_LIBDIR.64 = $(CONFIGURE_PREFIX)/lib |
6a885a6e48cb
18043627 squid should enable ASLR and be built 64-bit.
Rich Burridge <rich.burridge@oracle.com>
parents:
1605
diff
changeset
|
56 |
|
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
57 |
# Squid has own prefix |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5616
diff
changeset
|
58 |
CONFIGURE_PREFIX = $(USRDIR)/squid |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
59 |
|
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
60 |
CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_PREFIX)/libexec |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5616
diff
changeset
|
61 |
CONFIGURE_OPTIONS += --localstatedir=$(VARDIR)/squid |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5616
diff
changeset
|
62 |
CONFIGURE_OPTIONS += --sharedstatedir=$(VARDIR)/squid |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
63 |
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/squid |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
64 |
CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_PREFIX)/man |
1624
6a885a6e48cb
18043627 squid should enable ASLR and be built 64-bit.
Rich Burridge <rich.burridge@oracle.com>
parents:
1605
diff
changeset
|
65 |
CONFIGURE_OPTIONS += --sbindir=$(CONFIGURE_PREFIX)/sbin |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
66 |
CONFIGURE_OPTIONS += --enable-arp-acl |
4872
d803761ae12d
21843191 squid upgrade in 21305852 dropped password by accident
Craig Mohrman <craig.mohrman@oracle.com>
parents:
4746
diff
changeset
|
67 |
CONFIGURE_OPTIONS += --enable-auth-basic='DB,NCSA,NIS,LDAP,PAM,getpwnam,MSNT-multi-domain,POP3,SMB,SMB_LM,SASL' |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
68 |
CONFIGURE_OPTIONS += --enable-cache-digests |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
69 |
CONFIGURE_OPTIONS += --enable-carp |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
70 |
CONFIGURE_OPTIONS += --enable-coss-aio-ops |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
71 |
CONFIGURE_OPTIONS += --enable-delay-pools |
4872
d803761ae12d
21843191 squid upgrade in 21305852 dropped password by accident
Craig Mohrman <craig.mohrman@oracle.com>
parents:
4746
diff
changeset
|
72 |
CONFIGURE_OPTIONS += --enable-auth-digest='file,LDAP' |
4539
f2b9eb7f8e76
21305852 update to squid 3.5.5
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
73 |
CONFIGURE_OPTIONS += --enable-external-acl-helpers='file_userip,unix_group,LDAP_group,wbinfo_group' |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
74 |
CONFIGURE_OPTIONS += --enable-follow-x-forwarded-for |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
75 |
CONFIGURE_OPTIONS += --enable-forward-log |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
76 |
CONFIGURE_OPTIONS += --enable-forw-via-db |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
77 |
CONFIGURE_OPTIONS += --enable-htcp |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
78 |
CONFIGURE_OPTIONS += --enable-icmp |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
79 |
CONFIGURE_OPTIONS += --enable-large-cache-files |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
80 |
CONFIGURE_OPTIONS += --enable-multicast-miss |
4539
f2b9eb7f8e76
21305852 update to squid 3.5.5
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
81 |
CONFIGURE_OPTIONS += --enable-auth-negotiate='kerberos' |
f2b9eb7f8e76
21305852 update to squid 3.5.5
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
82 |
CONFIGURE_OPTIONS += --enable-auth-ntlm='smb_lm,fake' |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
83 |
CONFIGURE_OPTIONS += --enable-ntlm-fail-open |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
84 |
CONFIGURE_OPTIONS += --enable-removal-policies='heap,lru' |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
85 |
CONFIGURE_OPTIONS += --enable-snmp |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
86 |
CONFIGURE_OPTIONS += --enable-ssl |
211
f37f16a2a99c
7035372 update squid to 3.1.8
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
181
diff
changeset
|
87 |
CONFIGURE_OPTIONS += --enable-storeio='aufs,diskd,ufs' |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
88 |
CONFIGURE_OPTIONS += --enable-x-accelerator-vary |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
89 |
CONFIGURE_OPTIONS += --with-aio |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
90 |
CONFIGURE_OPTIONS += --with-aufs-threads=8 |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
91 |
CONFIGURE_OPTIONS += --with-build-environment=POSIX_V6_ILP32_OFFBIG |
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
92 |
CONFIGURE_OPTIONS += --with-pthreads |
4690
384db5537828
21480950 squid fails to build when nettle is installed
Craig Mohrman <craig.mohrman@oracle.com>
parents:
4562
diff
changeset
|
93 |
CONFIGURE_OPTIONS += --without-nettle |
5122
b7fb00a04a81
22051233 squid falls over immediately on AMD processor
Michael Nestler <Michael.Nestler@Oracle.COM>
parents:
4872
diff
changeset
|
94 |
CONFIGURE_OPTIONS += --disable-arch-native |
5797
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5760
diff
changeset
|
95 |
CONFIGURE_OPTIONS += PERL=$(PERL) |
163
492ba3a66c6f
7029211 Move squid to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
96 |
|
4562
43ef811d0422
21305852 update to squid 3.5.5 (squid.conf fix)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4539
diff
changeset
|
97 |
# Appends the following line to the end of the squid.conf configuration |
43ef811d0422
21305852 update to squid 3.5.5 (squid.conf fix)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4539
diff
changeset
|
98 |
# file. This line is necessary for running squid for testing. |
43ef811d0422
21305852 update to squid 3.5.5 (squid.conf fix)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4539
diff
changeset
|
99 |
# This starts up squid as user webservd. |
43ef811d0422
21305852 update to squid 3.5.5 (squid.conf fix)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4539
diff
changeset
|
100 |
COMPONENT_POST_INSTALL_ACTION += \ |
43ef811d0422
21305852 update to squid 3.5.5 (squid.conf fix)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4539
diff
changeset
|
101 |
(cd $(PROTO_DIR)/etc/squid ; \ |
43ef811d0422
21305852 update to squid 3.5.5 (squid.conf fix)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4539
diff
changeset
|
102 |
echo '\ncache_effective_user webservd' >> squid.conf) |
43ef811d0422
21305852 update to squid 3.5.5 (squid.conf fix)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4539
diff
changeset
|
103 |
|
5797
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5760
diff
changeset
|
104 |
# Adjust '#!/usr/bin/perl' |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5760
diff
changeset
|
105 |
PERL_SCRIPTS= $(PROTOUSRDIR)/squid/libexec/helper-mux.pl |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5760
diff
changeset
|
106 |
|
1295
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
107 |
# To test manually follow along in the book |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
108 |
# Squid Proxy Server 3.1 Beginner's Guide Page 34 |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
109 |
# |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
110 |
# Add this to the top of /etc/squid/squid.conf: |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
111 |
# cache_dir ufs /var/squid/cache/ 500 16 256 |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
112 |
# acl my_machine src 192.0.2.21 # Replace with your desktop's IP address |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
113 |
# http_access allow my_machine |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
114 |
# |
4539
f2b9eb7f8e76
21305852 update to squid 3.5.5
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
115 |
# You will probably need to remove or comment out the following lines or Squid |
f2b9eb7f8e76
21305852 update to squid 3.5.5
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
116 |
# will fail to start: |
f2b9eb7f8e76
21305852 update to squid 3.5.5
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
117 |
# # acl manager proto cache_object |
f2b9eb7f8e76
21305852 update to squid 3.5.5
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
118 |
# |
1295
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
119 |
# Make sure apache is running. |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
120 |
# # svcs apache22 |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
121 |
# Start squid: |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
122 |
# # svcadm enable squid |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
123 |
# On your desktop set your web browser to proxy through this squid: |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
124 |
# Edit -> Preferences -> Advanced -> Network -> Settings |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
125 |
# Check: Manual proxy configuration |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
126 |
# HTTP Proxy: <squid servers IP address> Port: 3128 |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
127 |
# Save |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
128 |
# Enter <squid server URL> in your web browser. You should be accessing squid |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
129 |
# and seeing files stored in the http server on that machine. |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
130 |
# Enter <squid server URL>:897 in your web browser and squid should complain. |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
131 |
# Squid is working properly. |
e4a3a0c29dc2
16404206 problem in UTILITY/SQUID
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
132 |
|
5809
e7e79a0d8c4a
22758816 Update squid to 3.5.16
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
133 |
# squid tests use cppunit. Currently this requires a version of cppunit |
e7e79a0d8c4a
22758816 Update squid to 3.5.16
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
134 |
# installed that have been built with the GNU version 5.3 compilers. |
e7e79a0d8c4a
22758816 Update squid to 3.5.16
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
135 |
|
5760
ae78071b3cad
20217383 squid should have its tests hooked up in the Makefile
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
136 |
COMPONENT_TEST_TRANSFORMS += \ |
ae78071b3cad
20217383 squid should have its tests hooked up in the Makefile
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
137 |
'-n ' \ |
ae78071b3cad
20217383 squid should have its tests hooked up in the Makefile
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
138 |
'-e "/=====/p" ' \ |
ae78071b3cad
20217383 squid should have its tests hooked up in the Makefile
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
139 |
'-e "/TOTAL/p" ' \ |
ae78071b3cad
20217383 squid should have its tests hooked up in the Makefile
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
140 |
'-e "/SKIP/p" ' \ |
ae78071b3cad
20217383 squid should have its tests hooked up in the Makefile
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
141 |
'-e "/PASS/p" ' \ |
ae78071b3cad
20217383 squid should have its tests hooked up in the Makefile
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
142 |
'-e "/FAIL/p" ' \ |
ae78071b3cad
20217383 squid should have its tests hooked up in the Makefile
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
143 |
'-e "/Can not open file/d" ' \ |
ae78071b3cad
20217383 squid should have its tests hooked up in the Makefile
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
144 |
'-e "/ERROR/p" ' |
ae78071b3cad
20217383 squid should have its tests hooked up in the Makefile
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
145 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
146 |
REQUIRED_PACKAGES += library/libtool/libltdl |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
147 |
REQUIRED_PACKAGES += library/security/openssl |
5797
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5760
diff
changeset
|
148 |
REQUIRED_PACKAGES += $(PERL_PKG) |
6068
70fb2ebe42b2
23347413 tweak squid REQUIRED_PACKAGES so we can build on 11.3 and 12
John Beck <John.Beck@Oracle.COM>
parents:
6049
diff
changeset
|
149 |
REQUIRED_PACKAGES += security/kerberos-5 |
7279
c2b1ddc7e31d
25071339 partially revert 23333808 for FOSS evaluation builds
John Beck <John.Beck@Oracle.COM>
parents:
7270
diff
changeset
|
150 |
ifeq ($(OS_VERSION),5.11) |
c2b1ddc7e31d
25071339 partially revert 23333808 for FOSS evaluation builds
John Beck <John.Beck@Oracle.COM>
parents:
7270
diff
changeset
|
151 |
REQUIRED_PACKAGES += service/security/kerberos-5 |
c2b1ddc7e31d
25071339 partially revert 23333808 for FOSS evaluation builds
John Beck <John.Beck@Oracle.COM>
parents:
7270
diff
changeset
|
152 |
endif |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
153 |
REQUIRED_PACKAGES += shell/ksh93 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
154 |
REQUIRED_PACKAGES += system/core-os |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
155 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
156 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
157 |
REQUIRED_PACKAGES += system/library/math |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
158 |
REQUIRED_PACKAGES += system/library/security/crypto |
7279
c2b1ddc7e31d
25071339 partially revert 23333808 for FOSS evaluation builds
John Beck <John.Beck@Oracle.COM>
parents:
7270
diff
changeset
|
159 |
ifeq ($(OS_VERSION),5.11) |
c2b1ddc7e31d
25071339 partially revert 23333808 for FOSS evaluation builds
John Beck <John.Beck@Oracle.COM>
parents:
7270
diff
changeset
|
160 |
REQUIRED_PACKAGES += system/library/security/gss |
c2b1ddc7e31d
25071339 partially revert 23333808 for FOSS evaluation builds
John Beck <John.Beck@Oracle.COM>
parents:
7270
diff
changeset
|
161 |
endif |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
162 |
REQUIRED_PACKAGES += system/library/security/libsasl |
5454
1efad1afb469
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
5122
diff
changeset
|
163 |
REQUIRED_PACKAGES += system/library/security/libsasl2 |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
164 |
REQUIRED_PACKAGES += system/network |
6125
84f511e8836f
23491056 cups does not build (work?) on s12-100
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
6068
diff
changeset
|
165 |
REQUIRED_PACKAGES += system/network/ldap/openldap |