python/types-pytz: update to 2024.2.0.20241221
[oi-userland.git] / components / sysutils / ipmitool / Makefile
blob7976763cd49577080044276dfe4d6e7877d7b7ce
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2017 Gary Mills
14 # Copyright 2016 Alexander Pyhalov
15 # Copyright 2019 Michal Nowak
16 # Copyright 2022 Niklas Poslovski
19 OPENSSL_VERSION= 3.1
20 include ../../../make-rules/shared-macros.mk
22 COMPONENT_NAME= ipmitool
23 COMPONENT_VERSION= 1.8.19
24 COMPONENT_REVISION= 2
25 COMPONENT_SUMMARY= IPMI management tool
26 COMPONENT_SRC= $(COMPONENT_NAME)-IPMITOOL_1_8_19
27 COMPONENT_ARCHIVE= IPMITOOL_1_8_19.tar.gz
28 COMPONENT_ARCHIVE_HASH= \
29 sha256:48b010e7bcdf93e4e4b6e43c53c7f60aa6873d574cbd45a8d86fa7aaeebaff9c
30 COMPONENT_ARCHIVE_URL= \
31 https://github.com/ipmitool/ipmitool/archive/refs/tags/$(COMPONENT_ARCHIVE)
32 COMPONENT_PROJECT_URL= https://github.com/ipmitool/ipmitool
33 COMPONENT_CLASSIFICATION= System/Hardware
34 COMPONENT_LICENSE= BSD
35 COMPONENT_LICENSE_FILE= COPYING
36 COMPONENT_FMRI= system/management/ipmitool
38 include $(WS_MAKE_RULES)/common.mk
40 CPPFLAGS += -D__EXTENSIONS__
42 # Provide paths for OpenSSL 3.1
43 CFLAGS += -I$(OPENSSL_INCDIR)
44 LDFLAGS += -L$(OPENSSL_LIBDIR)
46 COMPONENT_PREP_ACTION = (cd $(@D) && autoreconf -fi)
48 CONFIGURE_SBINDIR.64 = /usr/lib
50 CONFIGURE_OPTIONS += --enable-intf-free=yes
51 CONFIGURE_OPTIONS += --enable-intf-usb=no
52 CONFIGURE_OPTIONS += --enable-intf-lanplus
53 CONFIGURE_OPTIONS += --enable-solaris-opt
55 CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
57 REQUIRED_PACKAGES += driver/ipmi
58 # Auto-generated dependencies
59 REQUIRED_PACKAGES += $(OPENSSL_PKG)
60 REQUIRED_PACKAGES += SUNWcs
61 REQUIRED_PACKAGES += shell/ksh93
62 REQUIRED_PACKAGES += system/extended-system-utilities
63 REQUIRED_PACKAGES += system/library
64 REQUIRED_PACKAGES += system/library/math
65 REQUIRED_PACKAGES += system/management/freeipmi