components/squid/Makefile
changeset 5797 432ac76de3b0
parent 5760 ae78071b3cad
child 5809 e7e79a0d8c4a
equal deleted inserted replaced
5795:b6b9d57d2466 5797:432ac76de3b0
    82 CONFIGURE_OPTIONS += --with-aufs-threads=8
    82 CONFIGURE_OPTIONS += --with-aufs-threads=8
    83 CONFIGURE_OPTIONS += --with-build-environment=POSIX_V6_ILP32_OFFBIG
    83 CONFIGURE_OPTIONS += --with-build-environment=POSIX_V6_ILP32_OFFBIG
    84 CONFIGURE_OPTIONS += --with-pthreads
    84 CONFIGURE_OPTIONS += --with-pthreads
    85 CONFIGURE_OPTIONS += --without-nettle
    85 CONFIGURE_OPTIONS += --without-nettle
    86 CONFIGURE_OPTIONS += --disable-arch-native
    86 CONFIGURE_OPTIONS += --disable-arch-native
       
    87 CONFIGURE_OPTIONS += PERL=$(PERL)
    87 
    88 
    88 # Appends the following line to the end of the squid.conf configuration
    89 # Appends the following line to the end of the squid.conf configuration
    89 # file. This line is necessary for running squid for testing. 
    90 # file. This line is necessary for running squid for testing. 
    90 # This starts up squid as user webservd. 
    91 # This starts up squid as user webservd. 
    91 COMPONENT_POST_INSTALL_ACTION += \
    92 COMPONENT_POST_INSTALL_ACTION += \
    92 	(cd $(PROTO_DIR)/etc/squid ; \
    93 	(cd $(PROTO_DIR)/etc/squid ; \
    93  	echo '\ncache_effective_user webservd' >> squid.conf)
    94  	echo '\ncache_effective_user webservd' >> squid.conf)
       
    95 
       
    96 # Adjust '#!/usr/bin/perl'
       
    97 PERL_SCRIPTS= $(PROTOUSRDIR)/squid/libexec/helper-mux.pl
    94 
    98 
    95 # To test manually follow along in the book
    99 # To test manually follow along in the book
    96 # Squid Proxy Server 3.1 Beginner's Guide Page 34
   100 # Squid Proxy Server 3.1 Beginner's Guide Page 34
    97 #
   101 #
    98 # Add this to the top of /etc/squid/squid.conf:
   102 # Add this to the top of /etc/squid/squid.conf:
   129 	'-e "/Can not open file/d" ' \
   133 	'-e "/Can not open file/d" ' \
   130 	'-e "/ERROR/p" '
   134 	'-e "/ERROR/p" '
   131 
   135 
   132 REQUIRED_PACKAGES += library/libtool/libltdl
   136 REQUIRED_PACKAGES += library/libtool/libltdl
   133 REQUIRED_PACKAGES += library/security/openssl
   137 REQUIRED_PACKAGES += library/security/openssl
   134 REQUIRED_PACKAGES += runtime/perl-512
   138 REQUIRED_PACKAGES += $(PERL_PKG)
   135 REQUIRED_PACKAGES += runtime/perl-520
       
   136 REQUIRED_PACKAGES += shell/ksh93
   139 REQUIRED_PACKAGES += shell/ksh93
   137 REQUIRED_PACKAGES += system/core-os
   140 REQUIRED_PACKAGES += system/core-os
   138 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
   141 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
   139 REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
   142 REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
   140 REQUIRED_PACKAGES += system/library/math
   143 REQUIRED_PACKAGES += system/library/math