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