nrpe: update to 4.1.3
[oi-userland.git] / components / sysutils / xca / Makefile
blob67838bc83c0d9d99c6e482062472271065179796
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 2024, Friedrich Kink. All rights reserved.
15 BUILD_STYLE= cmake
16 USE_PARALLEL_BUILD= yes
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= xca
20 COMPONENT_VERSION= 2.8.0
21 COMPONENT_REVISION= 1
22 COMPONENT_SUMMARY= XCA - X Certificate and Key Management
23 COMPONENT_DESCRIPTION= This application is intended for creating and managing \
24 X.509 certificates, certificate requests, RSA, DSA and EC \
25 private keys, Smartcards and CRLs.\
26 Everything that is needed for a CA is implemented. \
27 All CAs can sign sub-CAs recursively. These certificate chains \
28 are shown clearly.
29 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
31 COMPONENT_ARCHIVE_HASH= sha256:87955987ad6e05ba3dcac826cd22f7d9cedf00e4a409a1931e94e5347e79a7d0
32 COMPONENT_PROJECT_URL= https://hohnstaedt.de/xca/
33 COMPONENT_ARCHIVE_URL= https://github.com/chris2511/$(COMPONENT_NAME)/releases/download/RELEASE.$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
34 COMPONENT_FMRI= sysutils/$(COMPONENT_NAME)
35 COMPONENT_CLASSIFICATION= Applications/System Utilities
36 COMPONENT_LICENSE= Christian Hohnstaedt
37 COMPONENT_LICENSE_FILE= COPYRIGHT
39 include $(WS_MAKE_RULES)/common.mk
41 PATH= $(PATH.gnu)
43 ENV += Qt5_DIR=$(QT5_BASEDIR)
44 ENV += QT_DIR=$(QT5_BASEDIR)
46 CXXFLAGS += -std=c++17 -D__SOLARIS__
48 CMAKE_OPTIONS += -DADDRESS_SANITIZER=OFF
49 CMAKE_OPTIONS += -DAPPSTORE_COMPLIANT=ON
51 COMPONENT_POST_INSTALL_ACTION = \
52 /usr/bin/elfedit -e 'dyn:value -s RUNPATH "$(GCC_LIBDIR):$(QT5_LIBDIR)"' $(PROTO_DIR)/usr/bin/xca; \
53 /usr/bin/elfedit -e 'dyn:value -s RPATH "$(GCC_LIBDIR):$(QT5_LIBDIR)"' $(PROTO_DIR)/usr/bin/xca;
55 COMPONENT_TEST_ENV= DISPLAY=:1
57 COMPONENT_PRE_TEST_ACTION = $(SHELL) $(COMPONENT_DIR)/start_Xvfb $(COMPONENT_DIR)
58 COMPONENT_POST_TEST_ACTION = $(SHELL) $(COMPONENT_DIR)/stop_Xvfb $(COMPONENT_DIR)
60 COMPONENT_TEST_TRANSFORMS = \
61 '-n ' \
62 '-e "s/Passed.*$$/Passed/p" ' \
63 '-e "s/Failed .*$$/Failed/p" '
65 # Manually added dependencies
66 TEST_REQUIRED_PACKAGES += x11/server/xvfb
68 # Auto-generated dependencies
69 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
70 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
71 REQUIRED_PACKAGES += $(OPENSSL_PKG)
72 REQUIRED_PACKAGES += library/qt5
73 REQUIRED_PACKAGES += system/library