On Mon, Jun 07, 2021 at 03:09:07PM +0200, Roland Hieber wrote:
> The tarball does not include a configure script, generate it in the
> extract.post stage.
> 
> Based on a patch by Marc Kleine-Budde.
> 
> Cc: Marc Kleine-Budde <[email protected]>
> Signed-off-by: Roland Hieber <[email protected]>
> ---
>  patches/ima-evm-utils-1.2.1/autogen.sh | 1 +
>  rules/ima-evm-utils.make               | 7 ++++---
>  2 files changed, 5 insertions(+), 3 deletions(-)
>  create mode 120000 patches/ima-evm-utils-1.2.1/autogen.sh
> 
> diff --git a/patches/ima-evm-utils-1.2.1/autogen.sh 
> b/patches/ima-evm-utils-1.2.1/autogen.sh
> new file mode 120000
> index 000000000000..9f8a4cb7ddcb
> --- /dev/null
> +++ b/patches/ima-evm-utils-1.2.1/autogen.sh
> @@ -0,0 +1 @@
> +../autogen.sh
> \ No newline at end of file
> diff --git a/rules/ima-evm-utils.make b/rules/ima-evm-utils.make
> index eda5ad8a2883..82c5641e3776 100644
> --- a/rules/ima-evm-utils.make
> +++ b/rules/ima-evm-utils.make
> @@ -1,7 +1,7 @@
>  # -*-makefile-*-
>  #
>  # Copyright (C) 2013 by Michael Grzeschik <[email protected]>
> -#               2015 by Marc Kleine-Budde <[email protected]>
> +#               2015, 2020 by Marc Kleine-Budde <[email protected]>
>  #               2021 Roland Hieber, Pengutronix <[email protected]>
>  #
>  # For further information about the PTXdist project and license conditions
> @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_IMA_EVM_UTILS) += ima-evm-utils
>  #
>  # Paths and names
>  #
> -IMA_EVM_UTILS_VERSION        := 1.1
> -IMA_EVM_UTILS_MD5    := 77455aeee54fdc7a70c733bcb65d33cc
> +IMA_EVM_UTILS_VERSION        := 1.2.1

Why 1.2.1? It's two years old and the latest release is 1.3.1.

There are patches for the old version.

Building can fail with:

make[2]: Entering directory '.../build-host/ima-evm-utils-1.2.1'
asciidoc -d manpage -b docbook -o evmctl.1.xsl README
/bin/bash: asciidoc: command not found

Upstream has a Patch to make building the docs optional.

Michael

> +IMA_EVM_UTILS_MD5    := 78dc33816ec7a73a4d73153375ac53e5
>  IMA_EVM_UTILS                := ima-evm-utils-$(IMA_EVM_UTILS_VERSION)
>  IMA_EVM_UTILS_SUFFIX := tar.gz
>  IMA_EVM_UTILS_URL    := $(call ptx/mirror, SF, 
> linux-ima/ima-evm-utils/$(IMA_EVM_UTILS).$(IMA_EVM_UTILS_SUFFIX))
> @@ -35,6 +35,7 @@ IMA_EVM_UTILS_LICENSE_FILES := \
>  IMA_EVM_UTILS_CONF_TOOL := autoconf
>  IMA_EVM_UTILS_AUTOCONF := \
>       $(CROSS_AUTOCONF_USR) \
> +     --enable-openssl-conf \
>       --disable-debug
>  
>  # 
> ----------------------------------------------------------------------------
> -- 
> 2.29.2
> 
> 
> _______________________________________________
> ptxdist mailing list
> [email protected]
> To unsubscribe, send a mail with subject "unsubscribe" to 
> [email protected]
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to