mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Ulrich Ölmann" <u.oelmann@pengutronix.de>
To: PTXdist Development Mailing List <ptxdist@pengutronix.de>
Cc: "Ulrich Ölmann" <u.oelmann@pengutronix.de>
Subject: [ptxdist] [PATCH] krb5: install libs only when needed
Date: Fri, 14 Jan 2022 10:57:56 +0100	[thread overview]
Message-ID: <20220114095756.3162415-1-u.oelmann@pengutronix.de> (raw)

The 'kinit' admin tool is the only installable executable linked against
libkdb5, hence this library is solely needed in that case. Similarly now only
admin libs depend on libgssrpc, therefore restrict its installation accordingly.

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
---
 rules/krb5.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/krb5.make b/rules/krb5.make
index 10240a289598..412433c4e869 100644
--- a/rules/krb5.make
+++ b/rules/krb5.make
@@ -91,15 +91,15 @@ $(STATEDIR)/krb5.targetinstall:
 	@$(call install_fixup, krb5,DESCRIPTION,missing)
 
 	@$(call install_lib, krb5, 0, 0, 0644, libgssapi_krb5)
-	@$(call install_lib, krb5, 0, 0, 0644, libgssrpc)
 	@$(call install_lib, krb5, 0, 0, 0644, libk5crypto)
-	@$(call install_lib, krb5, 0, 0, 0644, libkdb5)
 	@$(call install_lib, krb5, 0, 0, 0644, libkrb5)
 	@$(call install_lib, krb5, 0, 0, 0644, libkrb5support)
 
 ifdef PTXCONF_KRB5_ADMIN_LIBS
+	@$(call install_lib, krb5, 0, 0, 0644, libgssrpc)
 	@$(call install_lib, krb5, 0, 0, 0644, libkadm5clnt_mit)
 	@$(call install_lib, krb5, 0, 0, 0644, libkadm5srv_mit)
+	@$(call install_lib, krb5, 0, 0, 0644, libkdb5)
 endif
 
 ifdef PTXCONF_KRB5_CLIENT_TOOLS
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

             reply	other threads:[~2022-01-14  9:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-14  9:57 Ulrich Ölmann [this message]
2022-01-21  7:19 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220114095756.3162415-1-u.oelmann@pengutronix.de \
    --to=u.oelmann@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox