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, 2014, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2015, 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.39.0 |
26 COMPONENT_VERSION= 7.40.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:a3a7c2b9e7416c728469eb4cb5b61e9161335df4278329e1d9cc3c194e25d795 |
31 sha256:c2e0705a13e53f8f924d1eaeb2ab94f59a9e162007c489b9ab0c96238bddf84b |
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= 20040 |
35 TPNO= 21343 |
36 |
36 |
37 include ../../make-rules/prep.mk |
37 include ../../make-rules/prep.mk |
38 include ../../make-rules/configure.mk |
38 include ../../make-rules/configure.mk |
39 include ../../make-rules/ips.mk |
39 include ../../make-rules/ips.mk |
40 include ../../make-rules/lint-libraries.mk |
40 include ../../make-rules/lint-libraries.mk |
76 CONFIGURE_OPTIONS += --with-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 |
|
82 # test results to try to normalize them. |
|
83 COMPONENT_TEST_TRANSFORMS += \ |
|
84 '-e "s|\(^$(CC)\).*|\\$$(CC)|" ' \ |
|
85 '-e "s|\(^/bin/bash ../../libtool\).*|\1|" ' \ |
|
86 '-e "s|\(^libtool: compile:\).*|\1|" ' \ |
|
87 '-e "s|\(^libtool: link:\).*|\1|" ' \ |
|
88 '-e "s|remaining: ..:..|remaining: xx:xx|" ' \ |
|
89 '-e "s|\(^TESTDONE: 964 tests were considered during\).*|\1|" ' \ |
|
90 '-e "s|\(^\* curl $(COMPONENT_VERSION)\).*|\1|" ' \ |
|
91 '-e "s|\(^\* Host:\).*|\1|" ' \ |
|
92 '-e "s|\(^\* System: SunOS\).*|\1|" ' \ |
|
93 '-e "s|\(^Connection from 127.0.0.1 port\).*|\1|" ' \ |
|
94 '-e "s|\(^Failed none for\).*|\1|" ' \ |
|
95 '-e "s|\(^Found matching DSA key:\).*|\1|" ' \ |
|
96 '-e "s|\(^Failed publickey for\).*|\1|" ' \ |
|
97 '-e "/^debug.:/d" ' \ |
|
98 '-e "/^monitor debug.:/d" ' |
|
99 |
81 ASLR_MODE = $(ASLR_ENABLE) |
100 ASLR_MODE = $(ASLR_ENABLE) |
82 |
101 |
83 configure: $(CONFIGURE_32_and_64) |
102 configure: $(CONFIGURE_32_and_64) |
84 |
103 |
85 build: $(BUILD_32_and_64) |
104 build: $(BUILD_32_and_64) |