[oe] [PATCH v2] epiphany-2.30.2: unbreak do_configure by setting ca-file path
Paul Menzel
paulepanter at users.sourceforge.net
Mon Oct 25 11:37:15 UTC 2010
Am Montag, den 25.10.2010, 11:55 +0200 schrieb Steffen Sledz:
> * Disable existence check for ca-bundle file in configure.ac because
> it does not work in OE cross compile environment (location at build
> host may differ from location at target).
> * Explicitely set ca-bundle file path according to the one used by
> ca-certificates package.
>
> Signed-off-by: Steffen Sledz <sledz at dresearch.de>
> ---
> recipes/gnome/epiphany/ca-file-configure.patch | 17 +++++++++++++++++
> recipes/gnome/epiphany_2.30.2.bb | 6 ++++--
> 2 files changed, 21 insertions(+), 2 deletions(-)
> create mode 100644 recipes/gnome/epiphany/ca-file-configure.patch
>
> diff --git a/recipes/gnome/epiphany/ca-file-configure.patch b/recipes/gnome/epiphany/ca-file-configure.patch
> new file mode 100644
> index 0000000..b77d441
> --- /dev/null
> +++ b/recipes/gnome/epiphany/ca-file-configure.patch
> @@ -0,0 +1,17 @@
> +--- epiphany-2.30.2.orig/configure.ac 2010-10-25 11:10:31.316864572 +0200
> ++++ epiphany-2.30.2/configure.ac 2010-10-25 11:12:29.562614607 +0200
> +@@ -272,9 +272,11 @@
> + fi
> +
> + AC_MSG_RESULT($with_ca_file)
> +- if ! test -f "$with_ca_file"; then
> +- AC_MSG_ERROR([No such file '$with_ca_file'. Use --with-ca-file=path to set, or --without-ca-file to disable])
> +- fi
> ++# disable this check because it does not work in all environments
> ++# (location at build host may differ from target)
> ++# if ! test -f "$with_ca_file"; then
> ++# AC_MSG_ERROR([No such file '$with_ca_file'. Use --with-ca-file=path to set, or --without-ca-file to disable])
> ++# fi
> + GTLS_SYSTEM_CA_FILE="$with_ca_file"
> +
> + AC_DEFINE_UNQUOTED([GTLS_SYSTEM_CA_FILE], ["$GTLS_SYSTEM_CA_FILE"], [path to system Certificate Authority list])
Would adding the following check also work?
if test "$cross_compiling" != "yes"; then
…
fi
I think this would be more portable. Could you report that issue
upstream too please.
[…]
Thanks,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20101025/fdf11912/attachment-0002.sig>
More information about the Openembedded-devel
mailing list