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#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
407N/A#
5680N/ABUILD_BITS= 64
407N/Ainclude ../../make-rules/shared-macros.mk
407N/A
407N/ACOMPONENT_NAME= privoxy
5805N/ACOMPONENT_VERSION= 3.0.24
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= \
5805N/A sha256:a381f6dc78f08de0d4a2342d47a5949a6608073ada34b933137184f3ca9fb012
407N/ACOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/ijbswa/$(COMPONENT_ARCHIVE)
407N/A
5805N/ATPNO= 27274
2899N/A
5680N/ATEST_TARGET= $(NO_TESTS)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
5680N/A
5680N/A# Fix 64-bit linking via compiler.
5680N/ALDFLAGS += $(CC_BITS)
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.
5680N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
5680N/ACONFIGURE_OPTIONS += --localstatedir=$(VARDIR)
2282N/ACONFIGURE_OPTIONS += --sbindir=$(CONFIGURE_PREFIX)/lib
2282N/A
407N/A# common targets
5680N/ACOMPONENT_POST_INSTALL_ACTION += \
5680N/A ($(CP) $(BUILD_DIR_64)/templates/* $(PROTOETCDIR)/templates)
407N/A
4509N/A# Regression tests exist for privoxy in tools/privoxy-regression-test.pl,
4509N/A# however these are not applicable to us since they violate the company policy
4509N/A# of not allowing third-party programs to communicate outside the company.
4509N/A#
4509N/A# To test privoxy, follow the instructions in the privoxy quick start guide:
4509N/A# http://www.privoxy.org/user-manual/quickstart.html
4509N/A#
4509N/A# Privoxy is disabled by default, so make sure to enable it if necessary:
4509N/A# # svcs privoxy
4509N/A# # svcadm enable privoxy
4509N/A# You may need to set the forward address in /etc/privoxy/config to the
4509N/A# Oracle proxy to access pages in your web browser with privoxy running.
4509N/A
3817N/AREQUIRED_PACKAGES += library/pcre
3817N/AREQUIRED_PACKAGES += library/zlib
3817N/AREQUIRED_PACKAGES += shell/ksh93
3817N/AREQUIRED_PACKAGES += system/core-os
3817N/AREQUIRED_PACKAGES += system/network