author | Mike Sullivan <Mike.Sullivan@Oracle.COM> |
Mon, 02 Jan 2017 13:37:03 -0800 | |
changeset 7527 | 352b7a456c30 |
parent 7245 | 934578b959f0 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
1 |
# |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
3 |
# |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
7 |
# |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
12 |
# |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
18 |
# |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
20 |
# |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
21 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
22 |
# |
5454
1efad1afb469
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
5165
diff
changeset
|
23 |
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@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:
5454
diff
changeset
|
25 |
BUILD_BITS= 64_and_32 |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
27 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= openldap |
5911
a8d897c4c442
PSARC/2016/225 OpenLDAP Update to 2.4.44
zihao.zhu@oracle.com <zihao.zhu@oracle.com>
parents:
5682
diff
changeset
|
29 |
COMPONENT_VERSION= 2.4.44 |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
474
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://www.openldap.org/ |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
785
diff
changeset
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
5911
a8d897c4c442
PSARC/2016/225 OpenLDAP Update to 2.4.44
zihao.zhu@oracle.com <zihao.zhu@oracle.com>
parents:
5682
diff
changeset
|
33 |
sha256:d7de6bf3c67009c95525dde3a0212cc110d0a70b92af2af8e3ee800e81b88400 |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/$(COMPONENT_ARCHIVE) |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
35 |
COMPONENT_BUGDB= service/openldap |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
36 |
|
5911
a8d897c4c442
PSARC/2016/225 OpenLDAP Update to 2.4.44
zihao.zhu@oracle.com <zihao.zhu@oracle.com>
parents:
5682
diff
changeset
|
37 |
TPNO= 27074 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1423
diff
changeset
|
38 |
|
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
39 |
SDFVER= sdf-2.001 |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
40 |
SDFBLIB= $(BUILD_DIR_32)/${SDFVER}/blib |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
41 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
42 |
COMPONENT_ARCHIVE_1= $(SDFVER).tar.gz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
785
diff
changeset
|
43 |
COMPONENT_ARCHIVE_HASH_1= \ |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
785
diff
changeset
|
44 |
sha256:6f9bcdc884a9f450208c740e45effdfeb7e65c689f57b05d3c15208193a8a6ea |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
45 |
COMPONENT_ARCHIVE_URL_1= ftp://ftp.eenet.ee/pub/cpan/authors/id/I/IA/IANC/$(COMPONENT_ARCHIVE_1) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
46 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
47 |
|
5089
8d5767cc3ddc
22166085 more tweaks needed for FOSS evaluation project
John Beck <John.Beck@Oracle.COM>
parents:
5055
diff
changeset
|
48 |
# This depends on libsasl which cannot be installed on S11. |
8d5767cc3ddc
22166085 more tweaks needed for FOSS evaluation project
John Beck <John.Beck@Oracle.COM>
parents:
5055
diff
changeset
|
49 |
ifeq ($(BUILD_TYPE), evaluation) |
8d5767cc3ddc
22166085 more tweaks needed for FOSS evaluation project
John Beck <John.Beck@Oracle.COM>
parents:
5055
diff
changeset
|
50 |
PUBLISH_STAMP= |
8d5767cc3ddc
22166085 more tweaks needed for FOSS evaluation project
John Beck <John.Beck@Oracle.COM>
parents:
5055
diff
changeset
|
51 |
endif |
8d5767cc3ddc
22166085 more tweaks needed for FOSS evaluation project
John Beck <John.Beck@Oracle.COM>
parents:
5055
diff
changeset
|
52 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5454
diff
changeset
|
53 |
include $(WS_MAKE_RULES)/common.mk |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
54 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
55 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
56 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
57 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
58 |
COMPONENT_PRE_BUILD_ACTION = \ |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
59 |
(cd $(BUILD_DIR_32); \ |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
60 |
gzip -dc ../../$(SDFVER).tar.gz | tar xopf -; \ |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
61 |
cd $(SDFVER); $(PERL) Makefile.PL; \ |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
62 |
$(GMAKE)) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
63 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
64 |
# we need to enable large file support and build PIC for our shared libraries |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
65 |
CFLAGS += $(CPP_LARGEFILES) $(CC_PIC) $(studio_NORUNPATH) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
66 |
|
5911
a8d897c4c442
PSARC/2016/225 OpenLDAP Update to 2.4.44
zihao.zhu@oracle.com <zihao.zhu@oracle.com>
parents:
5682
diff
changeset
|
67 |
LINT_FLAGS += -Iinclude |
a8d897c4c442
PSARC/2016/225 OpenLDAP Update to 2.4.44
zihao.zhu@oracle.com <zihao.zhu@oracle.com>
parents:
5682
diff
changeset
|
68 |
|
785
50c029682c67
7106938 Problem with ldap/openldap
Douglas Leavitt <Doug.Leavitt@Sun.COM>
parents:
609
diff
changeset
|
69 |
CONFIGURE_ENV += "ac_cv_lib_net_main=no" |
5911
a8d897c4c442
PSARC/2016/225 OpenLDAP Update to 2.4.44
zihao.zhu@oracle.com <zihao.zhu@oracle.com>
parents:
5682
diff
changeset
|
70 |
CONFIGURE_ENV += "ac_cv_lib_net_socket=no" |
a8d897c4c442
PSARC/2016/225 OpenLDAP Update to 2.4.44
zihao.zhu@oracle.com <zihao.zhu@oracle.com>
parents:
5682
diff
changeset
|
71 |
CONFIGURE_ENV += "ac_cv_lib_inet_socket=no" |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
72 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5454
diff
changeset
|
73 |
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5454
diff
changeset
|
74 |
CONFIGURE_OPTIONS += --libexecdir=$(USRLIB.$(BITS)) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5454
diff
changeset
|
75 |
CONFIGURE_OPTIONS += --localstatedir=$(VARDIR)/openldap |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
76 |
CONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/openldap |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
77 |
CONFIGURE_OPTIONS += --docdir=$(USRSHAREDOCDIR) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
78 |
CONFIGURE_OPTIONS += --disable-static |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
79 |
CONFIGURE_OPTIONS += --enable-overlays |
4654
94e90d50dc0e
20220521 OpenLDAP TLS Protocol/Ciphersuite selection for nsswitch-ldap
zihao.zhu@oracle.com <zihao.zhu@oracle.com>
parents:
4339
diff
changeset
|
80 |
CONFIGURE_OPTIONS += --enable-dynamic |
6292
42eb5996e258
21675201 openldap should be built with dynamic module support
zihao.zhu@oracle.com <zihao.zhu@oracle.com>
parents:
5911
diff
changeset
|
81 |
CONFIGURE_OPTIONS += --enable-modules |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
82 |
CONFIGURE_OPTIONS += --enable-crypt |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
83 |
CONFIGURE_OPTIONS += --enable-shared |
5911
a8d897c4c442
PSARC/2016/225 OpenLDAP Update to 2.4.44
zihao.zhu@oracle.com <zihao.zhu@oracle.com>
parents:
5682
diff
changeset
|
84 |
CONFIGURE_OPTIONS += --disable-bdb |
a8d897c4c442
PSARC/2016/225 OpenLDAP Update to 2.4.44
zihao.zhu@oracle.com <zihao.zhu@oracle.com>
parents:
5682
diff
changeset
|
85 |
CONFIGURE_OPTIONS += --disable-hdb |
a8d897c4c442
PSARC/2016/225 OpenLDAP Update to 2.4.44
zihao.zhu@oracle.com <zihao.zhu@oracle.com>
parents:
5682
diff
changeset
|
86 |
CONFIGURE_OPTIONS += --enable-mdb |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
87 |
CONFIGURE_OPTIONS += --enable-null |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
88 |
CONFIGURE_OPTIONS += --enable-passwd |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
89 |
CONFIGURE_OPTIONS += --enable-shell |
4906
51866e99eff7
21839658 Enable the ldap backend for slapd
Shawn Emery <shawn.emery@oracle.com>
parents:
4654
diff
changeset
|
90 |
CONFIGURE_OPTIONS += --enable-ldap |
5165
6ed57851e0dc
22309527 Enable the meta backend for slapd
Shawn Emery <shawn.emery@oracle.com>
parents:
5125
diff
changeset
|
91 |
CONFIGURE_OPTIONS += --enable-meta |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
92 |
CONFIGURE_OPTIONS += --with-cyrus-sasl |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
93 |
CONFIGURE_OPTIONS += --with-threads |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
94 |
CONFIGURE_OPTIONS += --with-tls=openssl |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
95 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5454
diff
changeset
|
96 |
COMPONENT_TEST_ENV += LD_LIBRARY_PATH="$(PROTOUSRLIBDIR):$(PROTOUSRLIBDIR64):" |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
97 |
COMPONENT_TEST_ARGS += -e |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
98 |
|
5055
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
99 |
# |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
100 |
# OpenLDAP must be built with cyrus-sasl out of the gate instead of the |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
101 |
# installed copy. |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
102 |
# |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
103 |
CYRUS_SASL_ROOT = $(WS_COMPONENTS)/cyrus-sasl/build/prototype/$(MACH) |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5454
diff
changeset
|
104 |
LDFLAGS.32 +="-L$(CYRUS_SASL_ROOT)$(USRLIBDIR)" |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5454
diff
changeset
|
105 |
LDFLAGS.64 +="-L$(CYRUS_SASL_ROOT)$(USRLIBDIR64)" |
5055
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
106 |
LDFLAGS +=$(LDFLAGS.$(BITS)) |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5454
diff
changeset
|
107 |
CPPFLAGS +="-I$(CYRUS_SASL_ROOT)$(USRINCDIR)" |
5055
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
108 |
# make sure that we don't add the cyrus-sasl proto area to the RUNPATH |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5454
diff
changeset
|
109 |
LD_UNSET.32="-R$(CYRUS_SASL_ROOT)$(USRLIBDIR)" |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5454
diff
changeset
|
110 |
LD_UNSET.64="-R$(CYRUS_SASL_ROOT)$(USRLIBDIR.$(BITS))" |
5055
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
111 |
LD_UNSET += $(LD_UNSET.$(BITS)) |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
112 |
COMPONENT_BUILD_ENV += LD_UNSET="$(LD_UNSET)" |
6292
42eb5996e258
21675201 openldap should be built with dynamic module support
zihao.zhu@oracle.com <zihao.zhu@oracle.com>
parents:
5911
diff
changeset
|
113 |
COMPONENT_BUILD_ENV += LTCFLAGS="-m$(BITS)" |
5055
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
114 |
COMPONENT_INSTALL_ENV += LD_UNSET="$(LD_UNSET)" |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
115 |
|
7245
934578b959f0
20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents:
6292
diff
changeset
|
116 |
# Enable adiheap and adistack security extensions |
934578b959f0
20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents:
6292
diff
changeset
|
117 |
ADIHEAP_MODE = $(ADIHEAP_ENABLE) |
934578b959f0
20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents:
6292
diff
changeset
|
118 |
ADISTACK_MODE = $(ADISTACK_ENABLE) |
934578b959f0
20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents:
6292
diff
changeset
|
119 |
|
5055
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
120 |
# special targets due to dependency on cyrus-sasl |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
121 |
../cyrus-sasl/build/%/.installed: |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
122 |
(cd ../cyrus-sasl && $(GMAKE) install) |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
123 |
|
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
124 |
$(CONFIGURE_32): ../cyrus-sasl/build/$(MACH32)/.installed |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
125 |
$(CONFIGURE_64): ../cyrus-sasl/build/$(MACH64)/.installed |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
126 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5454
diff
changeset
|
127 |
COMPONENT_POST_BUILD_ACTION += \ |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
128 |
(cd $(BUILD_DIR_32)/doc/guide/admin; \ |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
129 |
$(PERL) -I$(SDFBLIB)/lib $(SDFBLIB)/script/sdf -2html guide.sdf; \ |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
130 |
$(PERL) -I$(SDFBLIB)/lib $(SDFBLIB)/script/sdf -2html index.sdf) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
131 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
132 |
REQUIRED_PACKAGES += library/security/openssl |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
133 |
REQUIRED_PACKAGES += shell/ksh93 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
134 |
REQUIRED_PACKAGES += system/core-os |
7527
352b7a456c30
25305616 RE audits don't like the userland package anymore
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
7245
diff
changeset
|
135 |
$(SOLARIS_11_ONLY)REQUIRED_PACKAGES += system/library/security/libsasl |
5454
1efad1afb469
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
5165
diff
changeset
|
136 |
REQUIRED_PACKAGES += system/library/security/libsasl2 |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
137 |
REQUIRED_PACKAGES += system/network |
4943
1d2d4cba41b1
21935089 Missing package requirements to build Userland gate on 11.3
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
4906
diff
changeset
|
138 |
REQUIRED_PACKAGES += text/groff/groff-core |