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 2009 Sun Microsystems, Inc. All rights reserved.
13 # via checkout freeipmi_sfw-gate_oi151a~0.7.7~9c2a4ac793f0
14 # Copyright 2016 Jim Klimov
15 # Copyright 2019 Michal Nowak
20 include ..
/..
/..
/make-rules
/shared-macros.mk
22 COMPONENT_NAME
= freeipmi
23 COMPONENT_VERSION
= 1.6.14
24 COMPONENT_SUMMARY
= GNU FreeIPMI
- in-band and out-of-band IPMI
25 COMPONENT_DESCRIPTION
= GNU FreeIPMI
- in-band and out-of-band IPMI software based on the \
26 IPMI v1.5
/2.0 specification
($(COMPONENT_VERSION
))
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
29 COMPONENT_ARCHIVE_HASH
= sha256
:1a3dac5c76b7ccc4d4f86aa12b8ef9b212baef7489bf05e899b89abb7e14edb5
30 COMPONENT_PROJECT_URL
= https
://www.gnu.org
/software
/freeipmi
/
31 COMPONENT_ARCHIVE_URL
= https
://ftp.gnu.org
/gnu
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
32 COMPONENT_FMRI
= system
/management
/$(COMPONENT_NAME
)
33 COMPONENT_CLASSIFICATION
= System
/Hardware
34 COMPONENT_LICENSE
= GPLv3
35 COMPONENT_LICENSE_FILE
= COPYING
37 TEST_TARGET
= $(NO_TESTS
)
38 include $(WS_MAKE_RULES
)/common.mk
40 CFLAGS
+= $(CPP_LARGEFILES
) -DMAXHOSTNAMELEN
=256
41 CPPFLAGS
+= $(CPP_LARGEFILES
) -DMAXHOSTNAMELEN
=256
43 CONFIGURE_OPTIONS
+= --infodir=/usr
/share
/doc
/freeipmi
/info
44 CONFIGURE_OPTIONS
+= --libdir=$(USRLIBDIR.
$(BITS
))
45 CONFIGURE_OPTIONS
+= --localstatedir
=/var
46 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
47 CONFIGURE_OPTIONS
+= --disable-static
48 CONFIGURE_OPTIONS
+= --with-dont-check-for-root
50 # This is needed to avoid using CCACHE for CPP in this recipe:
51 # they use CPP to build manpages! Go figure...
52 CONFIGURE_ENV
+= CPP_FOR_BUILD
=$(GCC_ROOT
)/bin
/cpp
54 # Ensure 32-bit configs are installed last
55 $(INSTALL_32
): $(INSTALL_64
)
57 # Auto-generated dependencies
58 REQUIRED_PACKAGES
+= SUNWcs
59 REQUIRED_PACKAGES
+= driver
/ipmi
60 REQUIRED_PACKAGES
+= shell/ksh93
61 REQUIRED_PACKAGES
+= system
/library
62 REQUIRED_PACKAGES
+= system
/library
/math
63 REQUIRED_PACKAGES
+= system
/library
/security
/libgcrypt