author | Mike Sullivan <Mike.Sullivan@Oracle.COM> |
Thu, 21 Apr 2016 17:19:50 -0700 | |
changeset 5835 | 681b964c8157 |
parent 5682 | 94c0ca64c022 |
child 7162 | 1052593bed49 |
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 |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
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
|
27 |
|
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= stunnel |
5114
9334382296a9
21123961 stunnel needs an upgrade to version 5.18
Radhika Siravara<radhika.siravara@oracle.com>
parents:
5066
diff
changeset
|
29 |
COMPONENT_VERSION= 5.18 |
1252
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1223
diff
changeset
|
30 |
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
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
5114
9334382296a9
21123961 stunnel needs an upgrade to version 5.18
Radhika Siravara<radhika.siravara@oracle.com>
parents:
5066
diff
changeset
|
32 |
sha256:0532c0a2f8de3da1ab625e384146501ce5936fac63d01561c3a9bf652b692317 |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
|
5114
9334382296a9
21123961 stunnel needs an upgrade to version 5.18
Radhika Siravara<radhika.siravara@oracle.com>
parents:
5066
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= http://pkgs.fedoraproject.org/repo/pkgs/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)/04f90ffbb65ffa289a5b1db2c52950f5/$(COMPONENT_ARCHIVE) |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
|
3926
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3817
diff
changeset
|
36 |
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
|
37 |
|
5114
9334382296a9
21123961 stunnel needs an upgrade to version 5.18
Radhika Siravara<radhika.siravara@oracle.com>
parents:
5066
diff
changeset
|
38 |
TPNO= 24738 |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5114
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:
5114
diff
changeset
|
41 |
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
|
42 |
|
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
# 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
|
44 |
# 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
|
45 |
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
|
46 |
|
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
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
|
48 |
|
1252
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1223
diff
changeset
|
49 |
# 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
|
50 |
CPPFLAGS += -DMACH64='\"$(MACH64)\"' |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1223
diff
changeset
|
51 |
|
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
CONFIGURE_OPTIONS += --disable-fips |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
CONFIGURE_OPTIONS += --enable-ipv6 |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
|
1252
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1223
diff
changeset
|
56 |
# 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
|
57 |
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
|
58 |
|
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
COMPONENT_PRE_INSTALL_ACTION = \ |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
60 |
$(MKDIR) $(PROTOETCDIR)/stunnel ; \ |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
61 |
$(TOUCH) $(PROTOETCDIR)/stunnel/stunnel.pem |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3741
diff
changeset
|
63 |
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
|
64 |
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
|
65 |
REQUIRED_PACKAGES += system/network |