Obsolete VTE pre-2.91 ABI
[oi-userland.git] / components / web / privoxy / Makefile
blobd2b0ee89bfd7d9ae02ec41af4429c71afa9c81f8
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
26 BUILD_BITS= 64
27 include ../../../make-rules/shared-macros.mk
29 COMPONENT_NAME= privoxy
30 COMPONENT_VERSION= 3.0.34
31 COMPONENT_SUMMARY= Privacy-enhancing, ad-removing web proxy
32 COMPONENT_DESCRIPTION= Privoxy is a non-caching web proxy with advanced\
33 filtering capabilities for enhancing privacy, modifying web page data\
34 and HTTP headers, controlling access, and removing ads and other obnoxious\
35 Internet junk
36 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-stable
37 COMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.gz
38 COMPONENT_PROJECT_URL= https://www.privoxy.org/
39 COMPONENT_ARCHIVE_HASH= sha256:e6ccbca1656f4e616b4657f8514e33a70f6697e9d7294356577839322a3c5d2c
40 COMPONENT_ARCHIVE_URL= https://downloads.sourceforge.net/ijbswa/$(COMPONENT_ARCHIVE)
41 COMPONENT_FMRI= web/proxy/privoxy
42 COMPONENT_CLASSIFICATION= Web Services/Application and Web Servers
43 COMPONENT_LICENSE= GPLv2,GPLv3
44 COMPONENT_LICENSE_FILE= privoxy.license
46 TEST_TARGET= $(NO_TESTS)
47 include $(WS_MAKE_RULES)/common.mk
49 COMPONENT_PRE_CONFIGURE_ACTION = \
50 ($(CLONEY) $(SOURCE_DIR) $(@D))
52 COMPONENT_PREP_ACTION = \
53 (cd $(@D) ; \
54 autoheader; \
55 autoconf )
57 # Needed to installed most of the files into the proto area.
58 CONFIGURE_OPTIONS += --sysconfdir=/etc
59 CONFIGURE_OPTIONS += --localstatedir=/var
61 # common targets
62 install: $(INSTALL_64)
63 $(CP) $(BUILD_DIR_64)/templates/* $(PROTOETCDIR)/templates
65 # Regression tests exist for privoxy in tools/privoxy-regression-test.pl,
66 # however these are not applicable to us since they violate the company policy
67 # of not allowing third-party programs to communicate outside the company.
69 # To test privoxy, follow the instructions in the privoxy quick start guide:
70 # http://www.privoxy.org/user-manual/quickstart.html
72 # Privoxy is disabled by default, so make sure to enable it if necessary:
73 # # svcs privoxy
74 # # svcadm enable privoxy
75 # You may need to set the forward address in /etc/privoxy/config to the
76 # Oracle proxy to access pages in your web browser with privoxy running.
78 # Auto-generated dependencies
79 REQUIRED_PACKAGES += library/pcre
80 REQUIRED_PACKAGES += library/zlib
81 REQUIRED_PACKAGES += shell/ksh93
82 REQUIRED_PACKAGES += SUNWcs
83 REQUIRED_PACKAGES += system/library