Merge pull request #14163 from neheb/krb

krb5: install krb5-config to host
This commit is contained in:
Rosen Penev 2020-12-07 20:58:52 -08:00 committed by GitHub
commit 307073d4b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=krb5 PKG_NAME:=krb5
PKG_VERSION:=1.18.3 PKG_VERSION:=1.18.3
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org> PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
@ -102,6 +102,9 @@ define Build/InstallDev
# needed for samba4, to detect system-krb5 # needed for samba4, to detect system-krb5
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/krb5-config $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/krb5-config $(1)/usr/bin
$(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' $(1)/usr/bin/krb5-config
$(INSTALL_DIR) $(2)/bin
$(LN) ../../usr/bin/krb5-config $(2)/bin/krb5-config
endef endef
define Package/krb5-libs/install define Package/krb5-libs/install