Makefile revision 7310
# See the License for the specific language governing permissions # and limitations under the License. # When distributing Covered Code, include this CDDL HEADER in each # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. # Enable adiheap and adistack security extensions # Look for gnutls-3 pkg-config & libraries before the defaults CONFIGURE_OPTIONS += --
enable-
auth-
basic=
'DB,NCSA,NIS,LDAP,PAM,getpwnam,MSNT-multi-domain,POP3,SMB,SMB_LM,SASL' # Due to the current licensing of squid and openssl, gnutls/nettle # must be enabled and used instead of openssl for tls and/or other # Appends the following line to the end of the squid.conf configuration # file. This line is necessary for running squid for testing. # This starts up squid as user webservd. echo '\ncache_effective_user webservd' >> squid.conf) # To test manually follow along in the book # Squid Proxy Server 3.1 Beginner's Guide Page 34 # acl my_machine src 192.0.2.21 # Replace with your desktop's IP address # http_access allow my_machine # You will probably need to remove or comment out the following lines or Squid # # acl manager proto cache_object # Make sure apache is running. # On your desktop set your web browser to proxy through this squid: # Edit -> Preferences -> Advanced -> Network -> Settings # Check: Manual proxy configuration # HTTP Proxy: <squid servers IP address> Port: 3128 # Enter <squid server URL> in your web browser. You should be accessing squid # and seeing files stored in the http server on that machine. # Enter <squid server URL>:897 in your web browser and squid should complain. # Squid is working properly. # squid tests use cppunit. Currently this requires a version of cppunit # installed that have been built with the GNU version 5.3 compilers. '-e "/Can not open file/d" ' \