mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] krb5: install libs only when needed
@ 2022-01-14  9:57 Ulrich Ölmann
  2022-01-21  7:19 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Ölmann @ 2022-01-14  9:57 UTC (permalink / raw)
  To: PTXdist Development Mailing List; +Cc: Ulrich Ölmann

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] krb5: install libs only when needed
  2022-01-14  9:57 [ptxdist] [PATCH] krb5: install libs only when needed Ulrich Ölmann
@ 2022-01-21  7:19 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2022-01-21  7:19 UTC (permalink / raw)
  To: ptxdist; +Cc: Ulrich Ölmann

Thanks, applied as f1ed927fcba111006f40747b50465ab140df9900.

Michael

[sent from post-receive hook]

On Fri, 21 Jan 2022 08:19:52 +0100, Ulrich Ölmann <u.oelmann@pengutronix.de> wrote:
> 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>
> Message-Id: <20220114095756.3162415-1-u.oelmann@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-21  7:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14  9:57 [ptxdist] [PATCH] krb5: install libs only when needed Ulrich Ölmann
2022-01-21  7:19 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox