2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2022 Niklas Poslovski
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= opensearch
20 COMPONENT_VERSION
= 2.7.0
21 COMPONENT_SUMMARY
= Open source distributed and RESTful search engine
22 COMPONENT_PROJECT_URL
= https
://opensearch.org
23 COMPONENT_SRC
= OpenSearch-
$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_URL
= https
://github.com
/opensearch-project
/OpenSearch
/archive
/refs
/tags/$(COMPONENT_VERSION
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= sha256
:b002039009dce94fc25a1cbeade4f35a725b517f717b6bbab95b42dfbb59f20b
27 COMPONENT_FMRI
= database
/opensearch
28 COMPONENT_CLASSIFICATION
= System
/Databases
29 COMPONENT_LICENSE
= APACHE
2.0
30 COMPONENT_LICENSE_FILE
= LICENSE.txt
32 TEST_TARGET
= $(NO_TESTS
)
33 include $(WS_MAKE_RULES
)/common.mk
35 COMPONENT_BUILD_ACTION
= cd
$(@D
); env JAVA_HOME
="/usr/jdk/openjdk18" .
/gradlew localDistro
37 COMPONENT_INSTALL_ACTION
= env DIR
=$(@D
) COMPONENT_VERSION
=$(COMPONENT_VERSION
) PROTO_DIR
=$(PROTO_DIR
) files
/install.sh
39 # Manually added dependencies
40 REQUIRED_PACKAGES
+= runtime
/java
/openjdk18
42 # Auto-generated dependencies
43 REQUIRED_PACKAGES
+= SUNWcs