Files
buildroot/package/freeipmi/freeipmi.mk
Julien Olivain f882742c35 package/freeipmi: update _SITE to use BR2_GNU_MIRROR
The freeipmi package is distributed on the GNU project servers.
See [1] and [2]. Buildroot has the BR2_GNU_MIRROR configuration
which can be used for that purpose. See [3].

For consistency with all other GNU packages, this commit updates
the _SITE to use BR2_GNU_MIRROR.

[1] https://www.gnu.org/software/freeipmi/download.html
[2] https://www.gnu.org/prep/ftp.html
[3] https://gitlab.com/buildroot.org/buildroot/-/blob/2024.08.2/Config.in#L286

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
(cherry picked from commit bfa2dbc2d6)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-12-14 09:51:21 +01:00

35 lines
1.1 KiB
Makefile

################################################################################
#
# freeipmi
#
################################################################################
FREEIPMI_VERSION = 1.6.14
FREEIPMI_SITE = $(BR2_GNU_MIRROR)/freeipmi
FREEIPMI_LICENSE = GPL-3.0+, BSD-like (sunbmc)
FREEIPMI_LICENSE_FILES = \
COPYING COPYING.bmc-watchdog COPYING.ipmiconsole COPYING.ipmi-dcmi \
COPYING.ipmidetect COPYING.ipmi-fru COPYING.ipmimonitoring \
COPYING.ipmiping COPYING.ipmipower COPYING.ipmiseld COPYING.pstdout \
COPYING.sunbmc COPYING.ZRESEARCH
FREEIPMI_DEPENDENCIES = host-pkgconf
FREEIPMI_INSTALL_STAGING = YES
# Disable checking for /dev/urandom and /dev/random through AC_CHECK_FILE
FREEIPMI_CONF_OPTS = --without-random-device
# Work around for uClibc or musl toolchains which lack argp_*()
# functions.
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
FREEIPMI_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES)
FREEIPMI_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
endif
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
FREEIPMI_CONF_OPTS += --with-encryption
FREEIPMI_DEPENDENCIES += libgcrypt
else
FREEIPMI_CONF_OPTS += --without-encryption
endif
$(eval $(autotools-package))