02770ce47d
Fixes security bugs CVE-2017-11103 & CVE-2017-6594 Changed upstream tarball location as noted in the release notes: http://www.h5l.org/releases.html?show=7.4.0 --with-db-type-preference= is needed to fix a build error: CCLD otp ../../lib/otp/.libs/libotp.a(otp_db.o): In function `otp_get_internal': otp_db.c:(.text+0x32): undefined reference to `__roken_dbm_fetch' otp_db.c:(.text+0xd9): undefined reference to `__roken_dbm_store' ../../lib/otp/.libs/libotp.a(otp_db.o): In function `otp_db_open': otp_db.c:(.text+0x1c9): undefined reference to `__roken_dbm_open' ../../lib/otp/.libs/libotp.a(otp_db.o): In function `otp_db_close': otp_db.c:(.text+0x205): undefined reference to `__roken_dbm_close' ../../lib/otp/.libs/libotp.a(otp_db.o): In function `otp_delete': otp_db.c:(.text+0x23e): undefined reference to `__roken_dbm_delete' ../../lib/otp/.libs/libotp.a(otp_db.o): In function `otp_put': otp_db.c:(.text+0x388): undefined reference to `__roken_dbm_store' collect2: error: ld returned 1 exit status Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# heimdal
|
|
#
|
|
################################################################################
|
|
|
|
HEIMDAL_VERSION = 7.4.0
|
|
HEIMDAL_SITE = https://github.com/heimdal/heimdal/releases/download/heimdal-$(HEIMDAL_VERSION)
|
|
HOST_HEIMDAL_DEPENDENCIES = host-e2fsprogs host-ncurses host-pkgconf
|
|
HEIMDAL_INSTALL_STAGING = YES
|
|
HEIMDAL_MAKE = $(MAKE1)
|
|
# static because of -fPIC issues with e2fsprogs on x86_64 host
|
|
HOST_HEIMDAL_CONF_OPTS = \
|
|
--disable-shared \
|
|
--enable-static \
|
|
--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-heimdal-documentation
|
|
HOST_HEIMDAL_CONF_ENV = MAKEINFO=true
|
|
HEIMDAL_LICENSE = BSD-3-Clause
|
|
HEIMDAL_LICENSE_FILES = LICENSE
|
|
|
|
# We need asn1_compile in the PATH for samba4
|
|
define HOST_HEIMDAL_MAKE_SYMLINK
|
|
ln -sf $(HOST_DIR)/libexec/heimdal/asn1_compile \
|
|
$(HOST_DIR)/bin/asn1_compile
|
|
ln -sf $(HOST_DIR)/bin/compile_et \
|
|
$(HOST_DIR)/libexec/heimdal/compile_et
|
|
endef
|
|
|
|
HOST_HEIMDAL_POST_INSTALL_HOOKS += HOST_HEIMDAL_MAKE_SYMLINK
|
|
|
|
$(eval $(host-autotools-package))
|