author | jiri.kralovec@oracle.com <jiri.kralovec@oracle.com> |
Fri, 07 Apr 2017 00:53:32 -0700 | |
changeset 7846 | eaed6d702f04 |
parent 7844 | e53241eef312 |
permissions | -rw-r--r-- |
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 |
# |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
5807
diff
changeset
|
23 |
# Copyright (c) 2011, 2017, 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 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4511
diff
changeset
|
25 |
BUILD_BITS= 64 |
407
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 |
7844
e53241eef312
25711815 Update privoxy to version 3.0.26
Rich Burridge <rich.burridge@oracle.com>
parents:
7687
diff
changeset
|
29 |
COMPONENT_VERSION= 3.0.26 |
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= \ |
7844
e53241eef312
25711815 Update privoxy to version 3.0.26
Rich Burridge <rich.burridge@oracle.com>
parents:
7687
diff
changeset
|
34 |
sha256:57e415b43ee5dfdca74685cc034053eaae962952fdabd086171551a86abf9cd8 |
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) |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
5807
diff
changeset
|
36 |
COMPONENT_ANITYA_ID= 3712 |
407
371955ee7fe6
7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
|
7844
e53241eef312
25711815 Update privoxy to version 3.0.26
Rich Burridge <rich.burridge@oracle.com>
parents:
7687
diff
changeset
|
38 |
TPNO= 34236 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1623
diff
changeset
|
39 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4511
diff
changeset
|
40 |
TEST_TARGET= $(NO_TESTS) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4511
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/common.mk |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4511
diff
changeset
|
42 |
|
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4511
diff
changeset
|
43 |
# Fix 64-bit linking via compiler. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4511
diff
changeset
|
44 |
LDFLAGS += $(CC_BITS) |
407
371955ee7fe6
7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
|
371955ee7fe6
7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
371955ee7fe6
7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
371955ee7fe6
7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
|
371955ee7fe6
7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
COMPONENT_PREP_ACTION = \ |
371955ee7fe6
7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
(cd $(@D) ; \ |
371955ee7fe6
7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
autoheader; \ |
371955ee7fe6
7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
autoconf ) |
371955ee7fe6
7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
|
371955ee7fe6
7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
# Needed to installed most of the files into the proto area. |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4511
diff
changeset
|
55 |
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4511
diff
changeset
|
56 |
CONFIGURE_OPTIONS += --localstatedir=$(VARDIR) |
1623
d468c2c1e73d
18042697 Various Userland components need ASLR'ing and 64-bit-ing
Rich Burridge <rich.burridge@oracle.com>
parents:
1071
diff
changeset
|
57 |
CONFIGURE_OPTIONS += --sbindir=$(CONFIGURE_PREFIX)/lib |
d468c2c1e73d
18042697 Various Userland components need ASLR'ing and 64-bit-ing
Rich Burridge <rich.burridge@oracle.com>
parents:
1071
diff
changeset
|
58 |
|
407
371955ee7fe6
7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
# common targets |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4511
diff
changeset
|
60 |
COMPONENT_POST_INSTALL_ACTION += \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4511
diff
changeset
|
61 |
($(CP) $(BUILD_DIR_64)/templates/* $(PROTOETCDIR)/templates) |
407
371955ee7fe6
7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
|
4511
dd483456146f
20417997 problem in UTILITY/PRIVOXY
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
63 |
# Regression tests exist for privoxy in tools/privoxy-regression-test.pl, |
dd483456146f
20417997 problem in UTILITY/PRIVOXY
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
64 |
# however these are not applicable to us since they violate the company policy |
dd483456146f
20417997 problem in UTILITY/PRIVOXY
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
65 |
# of not allowing third-party programs to communicate outside the company. |
dd483456146f
20417997 problem in UTILITY/PRIVOXY
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
66 |
# |
dd483456146f
20417997 problem in UTILITY/PRIVOXY
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
67 |
# To test privoxy, follow the instructions in the privoxy quick start guide: |
dd483456146f
20417997 problem in UTILITY/PRIVOXY
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
68 |
# http://www.privoxy.org/user-manual/quickstart.html |
dd483456146f
20417997 problem in UTILITY/PRIVOXY
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
69 |
# |
dd483456146f
20417997 problem in UTILITY/PRIVOXY
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
70 |
# Privoxy is disabled by default, so make sure to enable it if necessary: |
dd483456146f
20417997 problem in UTILITY/PRIVOXY
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
71 |
# # svcs privoxy |
dd483456146f
20417997 problem in UTILITY/PRIVOXY
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
72 |
# # svcadm enable privoxy |
dd483456146f
20417997 problem in UTILITY/PRIVOXY
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
73 |
# You may need to set the forward address in /etc/privoxy/config to the |
dd483456146f
20417997 problem in UTILITY/PRIVOXY
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
74 |
# Oracle proxy to access pages in your web browser with privoxy running. |
dd483456146f
20417997 problem in UTILITY/PRIVOXY
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
75 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
76 |
REQUIRED_PACKAGES += library/pcre |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
77 |
REQUIRED_PACKAGES += library/zlib |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
78 |
REQUIRED_PACKAGES += shell/ksh93 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
79 |
REQUIRED_PACKAGES += system/core-os |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
80 |
REQUIRED_PACKAGES += system/network |