components/privoxy/Makefile
author saurabh.vyas@oracle.com
Tue, 21 Mar 2017 20:35:40 -0700
branchs11u3-sru
changeset 7789 d23f3837744d
parent 4543 b698738a8b26
permissions -rw-r--r--
25657521 OpenStack Cinder NFS driver can not detect capacity info
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
407
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    23
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
407
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
#
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		privoxy
4543
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    29
COMPONENT_VERSION=	3.0.23
407
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)-stable
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC)-src.tar.gz
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	http://www.privoxy.org/
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 451
diff changeset
    33
COMPONENT_ARCHIVE_HASH=	\
4543
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    34
    sha256:b75f6b8b8409ed7ac6c3a00dcd608a45180f07bfa46658c836d5c6ffc4dc25c4
407
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_URL=	http://downloads.sourceforge.net/ijbswa/$(COMPONENT_ARCHIVE)
2446
aabe313bb2a2 15959414 Several Userland components are using the wrong BugDB cat/subcat.
Rich Burridge <rich.burridge@oracle.com>
parents: 2434
diff changeset
    36
COMPONENT_BUGDB=	utility/privoxy
407
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
4543
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    38
TPNO=		 22977	
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2446
diff changeset
    39
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    40
include $(WS_MAKE_RULES)/prep.mk
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    41
include $(WS_MAKE_RULES)/configure.mk
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    42
include $(WS_MAKE_RULES)/ips.mk
407
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    43
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
COMPONENT_PRE_CONFIGURE_ACTION = \
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    45
	($(CLONEY) $(SOURCE_DIR) $(@D))
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    46
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
COMPONENT_PREP_ACTION = \
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
        (cd $(@D) ; \
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
            autoheader; \
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    50
            autoconf )
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    51
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    52
# Needed to installed most of the files into the proto area.
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    53
CONFIGURE_OPTIONS +=	--sysconfdir=/etc
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    54
CONFIGURE_OPTIONS +=	--localstatedir=/var
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    56
# common targets
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    57
build:		$(BUILD_32)
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    58
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    59
install:	$(INSTALL_32)
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    60
	$(CP) $(BUILD_DIR_32)/templates/* $(PROTOETCDIR)/templates
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    61
4543
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    62
# Regression tests exist for privoxy in tools/privoxy-regression-test.pl,
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    63
# however these are not applicable to us since they violate the company policy
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    64
# of not allowing third-party programs to communicate outside the company.
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    65
#
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    66
# To test privoxy, follow the instructions in the privoxy quick start guide:
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    67
# http://www.privoxy.org/user-manual/quickstart.html
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    68
# 
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    69
# Privoxy is disabled by default, so make sure to enable it if necessary:
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    70
# 	# svcs privoxy
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    71
#	# svcadm enable privoxy
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    72
# You may need to set the forward address in /etc/privoxy/config to the 
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    73
# Oracle proxy to access pages in your web browser with privoxy running. 
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    74
b698738a8b26 21282917 update to privoxy 3.0.23
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3996
diff changeset
    75
test: 		$(NO_TESTS)
407
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    76
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    77
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    78
REQUIRED_PACKAGES += library/pcre
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    79
REQUIRED_PACKAGES += library/zlib
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    80
REQUIRED_PACKAGES += shell/ksh93
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    81
REQUIRED_PACKAGES += system/core-os
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    82
REQUIRED_PACKAGES += system/library
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    83
REQUIRED_PACKAGES += system/network