Files
buildroot/package/heimdal/heimdal.mk
Guillaume Chaye 573ecbd44c package/heimdal: bump version to 8c3c97bdf6c06200418f1a85aa22beaa441c6b23
The current version was more than 3 years old and had known CVEs (see
CVE-2023-36328). Since this is a host only package, we don't consider
this as a security bump.

This upgrade allows the removal of the two patches currently applied:

- The commit 1b57b62, which fixes the build with autoconf 2.72, is
  already included upstream.

- We no longer need to use the JSON-PP module, as it is now
  optional (commit 13d3bcf).

Also, since the latest version of Heimdal no longer depends on
e2fsprogs, the host-e2fsprogs dependency has been removed.

Signed-off-by: Guillaume Chaye <guillaume.chaye@zeetim.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-05-18 18:45:06 +02:00

45 lines
1.5 KiB
Makefile

################################################################################
#
# heimdal
#
################################################################################
HEIMDAL_VERSION = 8c3c97bdf6c06200418f1a85aa22beaa441c6b23
HEIMDAL_SITE = $(call github,heimdal,heimdal,$(HEIMDAL_VERSION))
HOST_HEIMDAL_DEPENDENCIES = host-ncurses host-pkgconf host-libxcrypt host-flex host-bison
HOST_HEIMDAL_AUTORECONF = YES
HOST_HEIMDAL_CONF_OPTS = \
--without-openldap \
--without-capng \
--with-db-type-preference= \
--without-sqlite3 \
--without-libintl \
--without-openssl \
--without-berkeley-db \
--without-readline \
--without-libedit \
--without-hesiod \
--without-x \
--disable-mdb-db \
--disable-ndbm-db \
--disable-heimdal-documentation
# Don't use compile_et from e2fsprogs as it raises a build failure with samba4
HOST_HEIMDAL_CONF_ENV = ac_cv_prog_COMPILE_ET=no MAKEINFO=true LIBS=-lcrypt
HEIMDAL_LICENSE = BSD-3-Clause
HEIMDAL_LICENSE_FILES = LICENSE
HEIMDAL_CPE_ID_VALID = YES
# We need compile_et for samba4 and slc for target version of heimdal
# By default compile_et is not installed so we install it to bin
# By default slc is installed in libexec directory so we just link it
define HOST_HEIMDAL_INSTALL_BINARIES
$(INSTALL) -m 0755 $(@D)/lib/com_err/compile_et $(HOST_DIR)/bin/compile_et
ln -sf $(HOST_DIR)/libexec/heimdal/slc $(HOST_DIR)/bin/slc
endef
HOST_HEIMDAL_POST_INSTALL_HOOKS += HOST_HEIMDAL_INSTALL_BINARIES
$(eval $(host-autotools-package))