mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] krb5: only install libkdb5 when needed
@ 2022-01-13 20:35 Ulrich Ölmann
  2022-01-14  9:53 ` Ulrich Ölmann
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Ölmann @ 2022-01-13 20:35 UTC (permalink / raw)
  To: PTXdist Development Mailing List; +Cc: Ulrich Ölmann

Only the 'kinit' admin tool is linked against libkdb5, hence that library is
solely needed in that case.

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

diff --git a/rules/krb5.make b/rules/krb5.make
index 10240a289598..41de2b7fdd4f 100644
--- a/rules/krb5.make
+++ b/rules/krb5.make
@@ -93,13 +93,13 @@ $(STATEDIR)/krb5.targetinstall:
 	@$(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, 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] [PATCH] krb5: only install libkdb5 when needed
  2022-01-13 20:35 [ptxdist] [PATCH] krb5: only install libkdb5 when needed Ulrich Ölmann
@ 2022-01-14  9:53 ` Ulrich Ölmann
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Ölmann @ 2022-01-14  9:53 UTC (permalink / raw)
  To: ptxdist

This patch was a little bit premature... there is another library now
which needs to be installed conditionally only, as well.

Please discard this patch, I'll send a successor in a minute.

Best regards
Ulrich


On Thu, Jan 13 2022 at 21:35 +0100, Ulrich Ölmann <u.oelmann@pengutronix.de> wrote:
> Only the 'kinit' admin tool is linked against libkdb5, hence that library is
> solely needed in that case.
>
> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
> ---
>  rules/krb5.make | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/rules/krb5.make b/rules/krb5.make
> index 10240a289598..41de2b7fdd4f 100644
> --- a/rules/krb5.make
> +++ b/rules/krb5.make
> @@ -93,13 +93,13 @@ $(STATEDIR)/krb5.targetinstall:
>  	@$(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, 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
-- 
Pengutronix e.K.                           | Ulrich Ölmann               |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
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-14  9:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-13 20:35 [ptxdist] [PATCH] krb5: only install libkdb5 when needed Ulrich Ölmann
2022-01-14  9:53 ` Ulrich Ölmann

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