21 # Copyright (c) 2011, 2015, 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= mod_jk |
25 COMPONENT_NAME= mod_jk |
26 COMPONENT_VERSION= 1.2.28 |
26 COMPONENT_VERSION= 1.2.40 |
27 COMPONENT_PROJECT_URL= http://tomcat.apache.org/connectors-doc/ |
27 COMPONENT_PROJECT_URL= http://tomcat.apache.org/connectors-doc/ |
28 COMPONENT_SRC_NAME= tomcat-connectors |
28 COMPONENT_SRC_NAME= tomcat-connectors |
29 COMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)-src |
29 COMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)-src |
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
31 COMPONENT_ARCHIVE_HASH= \ |
31 COMPONENT_ARCHIVE_HASH= \ |
32 sha256:898fddced320754121b53b3292d1d20a31bebc6733d5aeb92367143f8941fe6f |
32 sha256:895e347c4dff74049a848603fb29958e6cf429ea0fc708d514b3a8958236705d |
33 COMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
33 COMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/$(COMPONENT_ARCHIVE) |
34 COMPONENT_BUGDB= utility/apache |
34 COMPONENT_BUGDB= utility/apache |
35 |
35 |
36 TPNO= 9082 |
36 TPNO= 19268 |
|
37 |
|
38 CONFIGURE_DEFAULT_DIRS=no |
|
39 DEFAULT_COMPILER=no |
37 |
40 |
38 include $(WS_MAKE_RULES)/prep.mk |
41 include $(WS_MAKE_RULES)/prep.mk |
39 include $(WS_MAKE_RULES)/configure.mk |
42 include $(WS_MAKE_RULES)/configure.mk |
40 include $(WS_MAKE_RULES)/ips.mk |
43 include $(WS_MAKE_RULES)/ips.mk |
|
44 include ../modules.mk |
41 |
45 |
42 PATCH_LEVEL=0 |
46 PATCH_LEVEL=0 |
43 |
47 |
44 APACHE_USR_PREFIX=/usr/apache2/2.2 |
|
45 |
|
46 CONFIGURE_SCRIPT = $(SOURCE_DIR)/native/configure |
48 CONFIGURE_SCRIPT = $(SOURCE_DIR)/native/configure |
47 |
49 |
48 # Forcing CC from environment instead. Using one provided by apxs doesn't |
50 CONFIGURE_OPTIONS += --with-apxs=$(APXS) |
49 # make mod_jk build. |
|
50 CC= |
|
51 |
51 |
52 CONFIGURE_OPTIONS.32 += --with-apxs=$(APACHE_USR_PREFIX)/bin/apxs |
52 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
53 CONFIGURE_OPTIONS.64 += --with-apxs=$(APACHE_USR_PREFIX)/bin/$(MACH64)/apxs |
|
54 |
53 |
55 # Header files are missing during build without cloning. |
54 configure: $(CONFIGURE_32_and_64) |
56 COMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR)/native $(@D)); |
|
57 |
|
58 PATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin |
|
59 |
55 |
60 build: $(BUILD_32_and_64) |
56 build: $(BUILD_32_and_64) |
61 |
57 |
62 test: $(NO_TESTS) |
58 test: $(NO_TESTS) |
63 |
59 |