libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / sysutils / xca / Makefile
blob69db4ee910d25d1b92e896e4a0d6f93d4eeb547a
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.7.0
21 COMPONENT_SUMMARY= XCA - X Certificate and Key Management
22 COMPONENT_DESCRIPTION= This application is intended for creating and managing \
23 X.509 certificates, certificate requests, RSA, DSA and EC \
24 private keys, Smartcards and CRLs.\
25 Everything that is needed for a CA is implemented. \
26 All CAs can sign sub-CAs recursively. These certificate chains \
27 are shown clearly.
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
30 COMPONENT_ARCHIVE_HASH= sha256:15ff6fbe4c004ac2ad18885ab35ae6940364a8246d5fe8562a41312fe45ec15e
31 COMPONENT_PROJECT_URL= http://xca.hohnstaedt.de
32 COMPONENT_ARCHIVE_URL= https://github.com/chris2511/$(COMPONENT_NAME)/releases/download/RELEASE.$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
33 COMPONENT_FMRI= sysutils/$(COMPONENT_NAME)
34 COMPONENT_CLASSIFICATION= Applications/System Utilities
35 COMPONENT_LICENSE= Christian Hohnstaedt
36 COMPONENT_LICENSE_FILE= COPYRIGHT
38 include $(WS_MAKE_RULES)/common.mk
40 PATH= $(PATH.gnu)
42 ENV += Qt5_DIR=$(QT5_BASEDIR)
43 ENV += QT_DIR=$(QT5_BASEDIR)
45 CXXFLAGS += -std=c++17 -D__SOLARIS__
47 CMAKE_OPTIONS += -DADDRESS_SANITIZER=OFF
48 CMAKE_OPTIONS += -DAPPSTORE_COMPLIANT=ON
50 COMPONENT_POST_INSTALL_ACTION = \
51 /usr/bin/elfedit -e 'dyn:value -s RUNPATH "$(GCC_LIBDIR):$(QT5_LIBDIR)"' $(PROTO_DIR)/usr/bin/xca; \
52 /usr/bin/elfedit -e 'dyn:value -s RPATH "$(GCC_LIBDIR):$(QT5_LIBDIR)"' $(PROTO_DIR)/usr/bin/xca;
54 COMPONENT_TEST_ENV= DISPLAY=:1
56 COMPONENT_PRE_TEST_ACTION = $(SHELL) $(COMPONENT_DIR)/start_Xvfb $(COMPONENT_DIR)
57 COMPONENT_POST_TEST_ACTION = $(SHELL) $(COMPONENT_DIR)/stop_Xvfb $(COMPONENT_DIR)
59 COMPONENT_TEST_TRANSFORMS = \
60 '-n ' \
61 '-e "s/Passed.*$$/Passed/p" ' \
62 '-e "s/Failed .*$$/Failed/p" '
64 # Manually added dependencies
65 TEST_REQUIRED_PACKAGES += x11/server/xvfb
67 # Auto-generated dependencies
68 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
69 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
70 REQUIRED_PACKAGES += $(OPENSSL_PKG)
71 REQUIRED_PACKAGES += library/qt5
72 REQUIRED_PACKAGES += system/library