[Buildroot] [PATCH] package/sudo: drop legacy, useless, and broken post-configure hook

Christian Stewart christian at aperture.us
Sun Feb 18 23:23:48 UTC 2024


LGTM

On Sat, Feb 17, 2024 at 9:29 AM Yann E. MORIN <yann.morin.1998 at free.fr> wrote:
> Reported-by: Christian Stewart <christian at aperture.us>
> Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> Cc: Peter Korsgaard <peter at korsgaard.com>
> ---
>  package/sudo/sudo.mk | 9 ---------
>  1 file changed, 9 deletions(-)
>
> diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk
> index a4e838dd94..7961a99002 100644
> --- a/package/sudo/sudo.mk
> +++ b/package/sudo/sudo.mk
> @@ -58,15 +58,6 @@ else
>  SUDO_CONF_OPTS += --disable-openssl
>  endif
>
> -# mksigname/mksiglist needs to run on build host to generate source files
> -define SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST
> -       $(MAKE) $(HOST_CONFIGURE_OPTS) \
> -               CPPFLAGS="$(HOST_CPPFLAGS) -I../../include -I../.." \
> -               -C $(@D)/lib/util mksigname mksiglist
> -endef
> -
> -SUDO_POST_CONFIGURE_HOOKS += SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST
> -
>  define SUDO_PERMISSIONS
>         /usr/bin/sudo f 4755 0 0 - - - - -
>  endef
> --
> 2.43.0
>

Reviewed-by: Christian Stewart <christian at aperture.us>



More information about the buildroot mailing list