author | Radhika Siravara<radhika.siravara@oracle.com> |
Wed, 26 Oct 2016 10:54:19 -0700 | |
changeset 7162 | 1052593bed49 |
parent 5682 | 94c0ca64c022 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation 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 |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
|
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5114
diff
changeset
|
23 |
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation 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:
5114
diff
changeset
|
25 |
BUILD_BITS= 64 |
7162
1052593bed49
23858215 Upgrade stunnel to version 5.35
Radhika Siravara<radhika.siravara@oracle.com>
parents:
5682
diff
changeset
|
26 |
|
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
include ../../make-rules/shared-macros.mk |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
|
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_NAME= stunnel |
7162
1052593bed49
23858215 Upgrade stunnel to version 5.35
Radhika Siravara<radhika.siravara@oracle.com>
parents:
5682
diff
changeset
|
30 |
COMPONENT_VERSION= 5.35 |
1252
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1223
diff
changeset
|
31 |
COMPONENT_PROJECT_URL= http://www.stunnel.org/ |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
7162
1052593bed49
23858215 Upgrade stunnel to version 5.35
Radhika Siravara<radhika.siravara@oracle.com>
parents:
5682
diff
changeset
|
33 |
sha256:ffa386ae4c825f35f35157c285e7402a6d58779ad8c3822f74a9d355b54aba1d |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
|
7162
1052593bed49
23858215 Upgrade stunnel to version 5.35
Radhika Siravara<radhika.siravara@oracle.com>
parents:
5682
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://pkgs.fedoraproject.org/repo/pkgs/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)/9079f5fafbccaf88b7d92b227d78249a/$(COMPONENT_ARCHIVE) |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
|
3926
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3817
diff
changeset
|
37 |
COMPONENT_PREP_ACTION += (cd $(@D) ; autoreconf -f) |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3817
diff
changeset
|
38 |
|
7162
1052593bed49
23858215 Upgrade stunnel to version 5.35
Radhika Siravara<radhika.siravara@oracle.com>
parents:
5682
diff
changeset
|
39 |
TPNO= 31069 |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5114
diff
changeset
|
41 |
TEST_TARGET= $(NO_TESTS) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5114
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/common.mk |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
|
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
# need /usr/perl5/bin on path to access pod2man perl script, used by |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
# the build to create docs |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5114
diff
changeset
|
46 |
COMPONENT_BUILD_ENV += PATH=$(USRDIR)/perl5/bin:$(PATH) |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
|
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
CPPFLAGS += "-DPIDFILE='\"/var/run/stunnel.pid\"'" |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
|
1252
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1223
diff
changeset
|
50 |
# used to generate the 64-bit interposer location |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1223
diff
changeset
|
51 |
CPPFLAGS += -DMACH64='\"$(MACH64)\"' |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1223
diff
changeset
|
52 |
|
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
CONFIGURE_OPTIONS += --disable-fips |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
CONFIGURE_OPTIONS += --enable-ipv6 |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
56 |
|
1252
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1223
diff
changeset
|
57 |
# used to generate LD_PRELOAD_* interposer pathnames |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5114
diff
changeset
|
58 |
COMPONENT_BUILD_ARGS += pkglibdir=$(USRLIBDIR)/stunnel |
1252
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1223
diff
changeset
|
59 |
|
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
60 |
COMPONENT_PRE_INSTALL_ACTION = \ |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
61 |
$(MKDIR) $(PROTOETCDIR)/stunnel ; \ |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
$(TOUCH) $(PROTOETCDIR)/stunnel/stunnel.pem |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
63 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3741
diff
changeset
|
64 |
REQUIRED_PACKAGES += library/security/openssl |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3741
diff
changeset
|
65 |
REQUIRED_PACKAGES += system/core-os |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3741
diff
changeset
|
66 |
REQUIRED_PACKAGES += system/network |
7162
1052593bed49
23858215 Upgrade stunnel to version 5.35
Radhika Siravara<radhika.siravara@oracle.com>
parents:
5682
diff
changeset
|
67 |
REQUIRED_PACKAGES += system/library |