From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.kamstrup.com ([93.167.225.188]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YYCaX-0004OJ-Bk for ptxdist@pengutronix.de; Wed, 18 Mar 2015 12:56:42 +0100 From: Bruno Thomsen Date: Wed, 18 Mar 2015 11:56:33 +0000 Message-ID: <915054555B5659448ACF8A70E114824D01984EF8BA@Exchange2010.kamstrup.dk> References: <1421409525-13713-1-git-send-email-bth@kamstrup.dk> In-Reply-To: <1421409525-13713-1-git-send-email-bth@kamstrup.dk> Content-Language: en-US MIME-Version: 1.0 Subject: Re: [ptxdist] [PATCH 1/2] host-certdata: root CA certificate bundle downloader Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" Cc: Bruno Thomsen Ping.. Are there any outstanding issues with this patch series? /Bruno -----Original Message----- From: Bruno Thomsen Sent: 16. januar 2015 12:59 To: m.olbrich@pengutronix.de Cc: ptxdist@pengutronix.de; Bruno Thomsen Subject: [PATCH 1/2] host-certdata: root CA certificate bundle downloader From: Bruno Thomsen Added a new host dummy package that download a specific firefox bundle of root CA certificates. This functionality is used by libcurl package. Signed-off-by: Bruno Thomsen --- rules/host-certdata.in | 5 +++++ rules/host-certdata.make | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 rules/host-certdata.in create mode 100644 rules/host-certdata.make diff --git a/rules/host-certdata.in b/rules/host-certdata.in new file mode 100644 index 0000000..087f34c --- /dev/null +++ b/rules/host-certdata.in @@ -0,0 +1,5 @@ +## SECTION=hosttools_noprompt + +config HOST_CERTDATA + tristate + diff --git a/rules/host-certdata.make b/rules/host-certdata.make new file mode 100644 index 0000000..0bdccc4 --- /dev/null +++ b/rules/host-certdata.make @@ -0,0 +1,57 @@ +# -*-makefile-*- +# +# Copyright (C) 2015 by Bruno Thomsen +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_CERTDATA) += host-certdata + +# +# Paths and names +# +FIREFOX_MAJOR_VERSION := 33 +FIREFOX_MINOR_VERSION := 0 +HOST_CERTDATA_VERSION := $(FIREFOX_MAJOR_VERSION)_$(FIREFOX_MINOR_VERSION) +HOST_CERTDATA_MD5 := c9a187ce3bcd6d5ee1f8f5f531cf97f9 +HOST_CERTDATA := certdata +HOST_CERTDATA_SUFFIX := txt +HOST_CERTDATA_URL := \ + http://hg.mozilla.org/releases/mozilla-release/raw-file/FIREFOX_$(HOST_CERTDATA_VERSION)_RELEASE/security/nss/lib/ckfw/builtins/$(HOST_CERTDATA).$(HOST_CERTDATA_SUFFIX) +HOST_CERTDATA_SOURCE := $(SRCDIR)/$(HOST_CERTDATA).$(HOST_CERTDATA_SUFFIX) +HOST_CERTDATA_DIR := $(HOST_BUILDDIR)/$(HOST_CERTDATA)-$(HOST_CERTDATA_VERSION) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-certdata.extract: + @$(call targetinfo) + @$(call clean, $(HOST_CERTDATA_DIR)) + @mkdir -p $(HOST_CERTDATA_DIR) + @cp $(HOST_CERTDATA_SOURCE) $(HOST_CERTDATA_DIR) + @$(call touch) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-certdata.compile: + @$(call targetinfo) + @$(call touch) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-certdata.install: + @$(call targetinfo) + @$(call touch) + +# vim: syntax=make -- 1.9.1 -- ptxdist mailing list ptxdist@pengutronix.de