16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 include ../../make-rules/shared-macros.mk |
23 include ../../make-rules/shared-macros.mk |
24 |
24 |
25 COMPONENT_NAME = curl |
25 COMPONENT_NAME = curl |
26 COMPONENT_VERSION= 7.40.0 |
26 COMPONENT_VERSION= 7.45.0 |
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
28 COMPONENT_PROJECT_URL= http://curl.haxx.se/ |
28 COMPONENT_PROJECT_URL= http://curl.haxx.se/ |
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
30 COMPONENT_ARCHIVE_HASH= \ |
30 COMPONENT_ARCHIVE_HASH= \ |
31 sha256:c2e0705a13e53f8f924d1eaeb2ab94f59a9e162007c489b9ab0c96238bddf84b |
31 sha256:02c78c8060d587422e2826f622c729189b56084bba365140f13af3d402b6cb6b |
32 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE) |
32 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE) |
33 COMPONENT_BUGDB= library/curl |
33 COMPONENT_BUGDB= library/curl |
34 |
34 |
35 TPNO= 21343 |
35 TPNO= 25724 |
36 |
36 |
37 include $(WS_MAKE_RULES)/prep.mk |
37 include $(WS_MAKE_RULES)/prep.mk |
38 include $(WS_MAKE_RULES)/configure.mk |
38 include $(WS_MAKE_RULES)/configure.mk |
39 include $(WS_MAKE_RULES)/ips.mk |
39 include $(WS_MAKE_RULES)/ips.mk |
40 include $(WS_MAKE_RULES)/lint-libraries.mk |
40 include $(WS_MAKE_RULES)/lint-libraries.mk |
71 CONFIGURE_OPTIONS += --with-gssapi-libs=$(GSSAPI_LIBDIR_$(BITS)) |
71 CONFIGURE_OPTIONS += --with-gssapi-libs=$(GSSAPI_LIBDIR_$(BITS)) |
72 CONFIGURE_OPTIONS += --with-gssapi=/usr --without-ca-bundle |
72 CONFIGURE_OPTIONS += --with-gssapi=/usr --without-ca-bundle |
73 CONFIGURE_OPTIONS += --with-ca-path=/etc/openssl/certs |
73 CONFIGURE_OPTIONS += --with-ca-path=/etc/openssl/certs |
74 CONFIGURE_OPTIONS += --with-zlib=/usr --with-libidn=/usr |
74 CONFIGURE_OPTIONS += --with-zlib=/usr --with-libidn=/usr |
75 CONFIGURE_OPTIONS += --with-pic |
75 CONFIGURE_OPTIONS += --with-pic |
76 CONFIGURE_OPTIONS += --without-libssh2 |
76 CONFIGURE_OPTIONS += --with-libssh2 |
77 CONFIGURE_OPTIONS += "curl_disallow_getifaddrs=yes" |
77 CONFIGURE_OPTIONS += "curl_disallow_getifaddrs=yes" |
78 |
78 |
79 LINT_FLAGS += -I$(SOURCE_DIR)/include |
79 LINT_FLAGS += -I$(SOURCE_DIR)/include |
80 |
80 |
81 # The additional curl specific set of transforms to be applied to the |
81 # The additional curl specific set of transforms to be applied to the |
82 # test results to try to normalize them. |
82 # test results to try to normalize them. |
83 COMPONENT_TEST_TRANSFORMS += \ |
83 COMPONENT_TEST_TRANSFORMS += \ |
84 '-e "s|\(^$(CC)\).*|\\$$(CC)|" ' \ |
84 '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \ |
|
85 '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \ |
|
86 '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \ |
|
87 '-e "/^XXX_CC_XXX$$/d" ' \ |
85 '-e "s|\(^/bin/bash ../../libtool\).*|\1|" ' \ |
88 '-e "s|\(^/bin/bash ../../libtool\).*|\1|" ' \ |
86 '-e "s|\(^libtool: compile:\).*|\1|" ' \ |
|
87 '-e "s|\(^libtool: link:\).*|\1|" ' \ |
89 '-e "s|\(^libtool: link:\).*|\1|" ' \ |
88 '-e "s|remaining: ..:..|remaining: xx:xx|" ' \ |
90 '-e "s|remaining: ..:..|remaining: xx:xx|" ' \ |
89 '-e "s|\(^TESTDONE: 964 tests were considered during\).*|\1|" ' \ |
91 '-e "s|\(^TESTDONE: 994 tests were considered during\).*|\1|" ' \ |
90 '-e "s|\(^\* curl $(COMPONENT_VERSION)\).*|\1|" ' \ |
92 '-e "s|\(^\* curl $(COMPONENT_VERSION)\).*|\1|" ' \ |
91 '-e "s|\(^\* Host:\).*|\1|" ' \ |
93 '-e "s|\(^\* Host:\).*|\1|" ' \ |
92 '-e "s|\(^\* System: SunOS\).*|\1|" ' \ |
94 '-e "s|\(^\* System: SunOS\).*|\1|" ' \ |
93 '-e "s|\(^Connection from 127.0.0.1 port\).*|\1|" ' \ |
95 '-e "s|\(^Connection from 127.0.0.1 port\).*|\1|" ' \ |
94 '-e "s|\(^Failed none for\).*|\1|" ' \ |
96 '-e "s|\(^Failed none for\).*|\1|" ' \ |
107 |
109 |
108 test: $(TEST_32_and_64) |
110 test: $(TEST_32_and_64) |
109 |
111 |
110 |
112 |
111 REQUIRED_PACKAGES += library/libidn |
113 REQUIRED_PACKAGES += library/libidn |
|
114 REQUIRED_PACKAGES += library/libssh2 |
112 REQUIRED_PACKAGES += library/openldap |
115 REQUIRED_PACKAGES += library/openldap |
113 REQUIRED_PACKAGES += library/security/openssl |
116 REQUIRED_PACKAGES += library/security/openssl |
114 REQUIRED_PACKAGES += library/zlib |
117 REQUIRED_PACKAGES += library/zlib |
115 REQUIRED_PACKAGES += shell/ksh93 |
118 REQUIRED_PACKAGES += shell/ksh93 |
116 REQUIRED_PACKAGES += system/library |
119 REQUIRED_PACKAGES += system/library |