407N/A#
407N/A# CDDL HEADER START
407N/A#
407N/A# The contents of this file are subject to the terms of the
407N/A# Common Development and Distribution License (the "License").
407N/A# You may not use this file except in compliance with the License.
407N/A#
407N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
407N/A# or http://www.opensolaris.org/os/licensing.
407N/A# See the License for the specific language governing permissions
407N/A# and limitations under the License.
407N/A#
407N/A# When distributing Covered Code, include this CDDL HEADER in each
407N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
407N/A# If applicable, add the following below this CDDL HEADER, with the
407N/A# fields enclosed by brackets "[]" replaced with your own identifying
407N/A# information: Portions Copyright [yyyy] [name of copyright owner]
407N/A#
407N/A# CDDL HEADER END
407N/A#
407N/A
407N/A#
3996N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
407N/A#
407N/A
407N/Ainclude ../../make-rules/shared-macros.mk
407N/A
407N/ACOMPONENT_NAME= privoxy
4541N/ACOMPONENT_VERSION= 3.0.23
407N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-stable
407N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.gz
407N/ACOMPONENT_PROJECT_URL= http://www.privoxy.org/
844N/ACOMPONENT_ARCHIVE_HASH= \
4541N/A sha256:b75f6b8b8409ed7ac6c3a00dcd608a45180f07bfa46658c836d5c6ffc4dc25c4
407N/ACOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/ijbswa/$(COMPONENT_ARCHIVE)
1298N/ACOMPONENT_BUGDB= utility/privoxy
407N/A
4541N/ATPNO= 22977
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
407N/A
407N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
407N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
407N/A
407N/ACOMPONENT_PREP_ACTION = \
407N/A (cd $(@D) ; \
407N/A autoheader; \
407N/A autoconf )
407N/A
407N/A# Needed to installed most of the files into the proto area.
407N/ACONFIGURE_OPTIONS += --sysconfdir=/etc
407N/ACONFIGURE_OPTIONS += --localstatedir=/var
407N/A
407N/A# common targets
407N/Abuild: $(BUILD_32)
407N/A
407N/Ainstall: $(INSTALL_32)
407N/A $(CP) $(BUILD_DIR_32)/templates/* $(PROTOETCDIR)/templates
407N/A
4541N/A# Regression tests exist for privoxy in tools/privoxy-regression-test.pl,
4541N/A# however these are not applicable to us since they violate the company policy
4541N/A# of not allowing third-party programs to communicate outside the company.
4541N/A#
4541N/A# To test privoxy, follow the instructions in the privoxy quick start guide:
4541N/A# http://www.privoxy.org/user-manual/quickstart.html
4541N/A#
4541N/A# Privoxy is disabled by default, so make sure to enable it if necessary:
4541N/A# # svcs privoxy
4541N/A# # svcadm enable privoxy
4541N/A# You may need to set the forward address in /etc/privoxy/config to the
4541N/A# Oracle proxy to access pages in your web browser with privoxy running.
4541N/A
4541N/Atest: $(NO_TESTS)
407N/A
407N/A
3996N/AREQUIRED_PACKAGES += library/pcre
3996N/AREQUIRED_PACKAGES += library/zlib
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/core-os
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/network