Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Thomas Zimmermann <ml@vdm-design.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 1/2] ca-certificates: unbreak do_configure of packages depending on ca-bundle.pem
Date: Thu, 21 Oct 2010 11:59:41 +0200	[thread overview]
Message-ID: <201010211159.41352.ml@vdm-design.de> (raw)
In-Reply-To: <1287573007-24350-1-git-send-email-sledz@dresearch.de>

Am Mittwoch 20 Oktober 2010, 13:10:06 schrieb Steffen Sledz:
> just create an empty ca-bundle file to satisfy build time
> dependencies in do_configure of other packages (e.g. epiphany),
> content is updated later in postinst
> 
> Signed-off-by: Steffen Sledz <sledz@dresearch.de>

Acked-by: Thomas Zimmermann <ml@vdm-design.de>

> ---
>  .../ca-certificates_20090814+nmu2.bb               |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)
> 
> diff --git a/recipes/ca-certificates/ca-certificates_20090814+nmu2.bb
> b/recipes/ca-certificates/ca-certificates_20090814+nmu2.bb index
> c8e4dbd..a37b01a 100644
> --- a/recipes/ca-certificates/ca-certificates_20090814+nmu2.bb
> +++ b/recipes/ca-certificates/ca-certificates_20090814+nmu2.bb
> @@ -3,6 +3,7 @@ HOMEPAGE = "http://packages.debian.org/sid/ca-certificates"
>  SECTION = "misc"
>  PRIORITY = "optional"
>  LICENSE = "GPL"
> +PR = "r1"
> 
>  SRC_URI =
> "${DEBIAN_MIRROR}/main/c/ca-certificates/ca-certificates_${PV}.tar.gz \
> file://remove-c-rehash.patch"
> @@ -27,13 +28,21 @@ do_install_append() {
>                  crt=$(echo $crt | sed -e 's/\.\///')
>                  echo $crt >> ${D}/etc/ca-certificates.conf
>          done
> +
> +	# update-ca-certificates is not able to deal with pathes,
> +	# so just create an empty ca-bundle file to satisfy build time
> +	# dependencies in do_configure of other packages (e.g. epiphany),
> +	# content is updated later (see pkg_postinst)
> +	touch ${D}/etc/ssl/ca-bundle.pem
>  }
> 
>  PACKAGE_ARCH = "all"
>  PACKAGES = "${PN}"
> 
>  pkg_postinst_${PN} () {
> +if test -z "$D"; then
>          /usr/sbin/update-ca-certificates
> +fi
>  }
> 
>  CONFFILES_${PN} = "/etc/ca-certificates.conf"




  reply	other threads:[~2010-10-21 10:07 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14 21:56 testing branch 2010-10-14 Cliff Brake
2010-10-15 10:21 ` Cliff Brake
2010-10-16  7:24 ` Petr Štetiar
2010-10-19  6:21   ` Frans Meulenbroeks
2010-10-19 11:06     ` Cliff Brake
2010-10-19 11:13       ` Koen Kooi
2010-10-17 12:27 ` testing branch 2010-10-14 - configure epiphany still fails Sledz, Steffen
2010-10-20 11:08   ` Steffen Sledz
2010-10-20 11:10     ` [PATCH 1/2] ca-certificates: unbreak do_configure of packages depending on ca-bundle.pem Steffen Sledz
2010-10-21  9:59       ` Thomas Zimmermann [this message]
2010-10-20 11:10     ` [PATCH 2/2] epiphany-2.30.2: unbreak do_configure by setting ca-file path Steffen Sledz
2010-10-21  9:14       ` Steffen Sledz
2010-10-21  9:54         ` Holger Freyther
2010-10-21 12:11           ` Steffen Sledz
2010-10-23 12:27             ` Sledz, Steffen
2010-10-25  9:55               ` [PATCH v2] " Steffen Sledz
2010-10-25 10:03                 ` Steffen Sledz
2010-10-25 11:37                 ` Paul Menzel
2010-10-25 12:07                   ` Steffen Sledz
2010-10-25 15:36                     ` Steffen Sledz
2010-10-25 18:02                     ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201010211159.41352.ml@vdm-design.de \
    --to=ml@vdm-design.de \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox