Re: [ptxdist] [PATCH 4/6] ppp: use HTTPS URL

2021-07-08 Thread Alexander Dahl
Hello Roland, On Fri, Jul 09, 2021 at 12:02:02AM +0200, Roland Hieber wrote: > Signed-off-by: Roland Hieber I miss the reasoning for this change. What's the benefit? Greets Alex > --- > rules/ppp.make | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/rules/ppp.make b/r

Re: [ptxdist] [PATCH v2 6/7] ptxd_lib_imx_hab: fix indentation

2021-07-08 Thread Michael Olbrich
On Thu, Jul 08, 2021 at 10:02:31PM +0200, Roland Hieber wrote: > On Mon, Jun 28, 2021 at 08:42:13AM +0200, Michael Olbrich wrote: > > On Mon, Jun 28, 2021 at 01:11:20AM +0200, Roland Hieber wrote: > > > Be uniform with bin/ptxdist, indent with one tab instead of mixed tabs > > > and spaces. > > >

[ptxdist] [PATCH v2] linuxptp: version bump 2.0 -> 3.1.1

2021-07-08 Thread Roland Hieber
The old version has been depublished from SourceForge due to CVEs. The remaining patch has been applied upstream. Signed-off-by: Roland Hieber --- PATCH v2: - remove old patches - resend only this one patch out-of-series, no changes for the rest of the series PATCH v1: https://lore.ptxdist

[ptxdist] [PATCH 6/6] samba: use HTTPS URL in menu help text

2021-07-08 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/samba.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/samba.in b/rules/samba.in index dd952cbe6e80..c01b28c10921 100644 --- a/rules/samba.in +++ b/rules/samba.in @@ -31,7 +31,7 @@ menuconfig SAMBA Windows operating syst

[ptxdist] [PATCH 5/6] rsync: use HTTPS URL

2021-07-08 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/rsync.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/rsync.make b/rules/rsync.make index be507916820a..70fdd751ca0d 100644 --- a/rules/rsync.make +++ b/rules/rsync.make @@ -18,7 +18,7 @@ RSYNC_VERSION := 2.6.9 RSYNC_MD5

[ptxdist] [PATCH 2/6] linuxptp: version bump 2.0 -> 3.1.1

2021-07-08 Thread Roland Hieber
The old version has been depublished from SourceForge due to CVEs. Signed-off-by: Roland Hieber --- rules/linuxptp.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/linuxptp.make b/rules/linuxptp.make index 7e94cb20dfbd..6415512f1cbc 100644 --- a/rules/linuxptp.m

[ptxdist] [PATCH 4/6] ppp: use HTTPS URL

2021-07-08 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/ppp.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/ppp.make b/rules/ppp.make index 3c8a57fd9396..e39b87b45dd3 100644 --- a/rules/ppp.make +++ b/rules/ppp.make @@ -20,7 +20,7 @@ PPP_VERSION := 2.4.9 PPP_MD5:=

[ptxdist] [PATCH 3/6] linuxptp: pin down license files

2021-07-08 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/linuxptp.make | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rules/linuxptp.make b/rules/linuxptp.make index 6415512f1cbc..425ba3925a76 100644 --- a/rules/linuxptp.make +++ b/rules/linuxptp.make @@ -23,6 +23,9 @@ LINUXPTP_URL := $(call ptx/m

[ptxdist] [PATCH 1/6] dbench: use HTTPS URL

2021-07-08 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/dbench.in | 2 +- rules/dbench.make | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/dbench.in b/rules/dbench.in index 719b8b797c6a..a16b13f002fc 100644 --- a/rules/dbench.in +++ b/rules/dbench.in @@ -16,7 +16,7 @@ menuconfig DB

[ptxdist] [PATCH v3 3/5] templates/code-signing-provider: set up the 'imx-habv4-srk' role group

2021-07-08 Thread Roland Hieber
From: Marc Kleine-Budde Existing barebox-imx-habv4 recipes can still use the indexed 'imx-habv4-srk%d ' roles to fetch the SRK keys, but for compatibility with HSM use cases that don't supported indexed role names, set up a new role group that contains the roles. Signed-off-by: Marc Kleine-Budde

[ptxdist] [PATCH v3 4/5] templates/barebox-imx-habv4: use the 'imx-habv4-srk' role group

2021-07-08 Thread Roland Hieber
From: Marc Kleine-Budde The previous patch taught new code signing providers to set up the 'imx-habv4-srk' role group. This patch uses it for the barebox-imx-habv4 recipe. Keep backwards compatibility with the old way of using indexed role names in the library part, so existing recipes can still

[ptxdist] [PATCH v3 2/5] ptxd_lib_code_signing: introduce role groups

2021-07-08 Thread Roland Hieber
From: Marc Kleine-Budde A role group consists of one or more roles. It should be used where more than one role is needed, but the exact names and/or number of roles depend on the used code signing provider. For example the generation of the imx HABv4 fuse table can use 1 to 4 SRK keys as input.

[ptxdist] [PATCH v3 1/5] ptxd_lib_code_signing: cs_get_ca(): improve error handling

2021-07-08 Thread Roland Hieber
From: Marc Kleine-Budde This patch changes cs_get_ca() to only output the CA if it actually exists, or print an error and return 1 instead. This makes it possible to use make's $(if $(filter-out, ERROR_CA_NOT_YET_SET, ...)) conditional. Co-authored-by: Roland Hieber Signed-off-by: Marc Kleine-B

[ptxdist] [PATCH v3 5/5] host-ptx-code-signing-dev: version bump 0.4 -> 0.5

2021-07-08 Thread Roland Hieber
With this version, host-ptx-code-signing-dev sets up the new role groups imx-habv4-srk, imx-habv4-csf and imx-habv4-img. Signed-off-by: Roland Hieber --- PATCH v3: - no changes PATCH v2 (rhi): https://lore.ptxdist.org/ptxdist/20210627231121.28313-5-...@pengutronix.de - new patch in v2 (feedba

Re: [ptxdist] [PATCH v2 1/7] ptxd_lib_code_signing: cs_get_ca(): improve error handling

2021-07-08 Thread Roland Hieber
On Mon, Jun 28, 2021 at 08:38:25AM +0200, Michael Olbrich wrote: > On Mon, Jun 28, 2021 at 01:11:15AM +0200, Roland Hieber wrote: > > From: Marc Kleine-Budde > > > > This patch changes cs_get_ca() to only output the CA if it actually > > exists, or print an error and return 1 instead. This makes

Re: [ptxdist] [PATCH v2 6/7] ptxd_lib_imx_hab: fix indentation

2021-07-08 Thread Roland Hieber
On Mon, Jun 28, 2021 at 08:42:13AM +0200, Michael Olbrich wrote: > On Mon, Jun 28, 2021 at 01:11:20AM +0200, Roland Hieber wrote: > > Be uniform with bin/ptxdist, indent with one tab instead of mixed tabs > > and spaces. > > No. Everything is scripts is indented this way: Indention is 4 Spaces > t

[ptxdist] [PATCH v2 2/2] python3-pycryptodomex: fix license identifier

2021-07-08 Thread Roland Hieber
LICENSE.rst includes an Unlicense and a BSD-2-Clause, and refers to additional licenses for the OCB code, which contains a restriction for "military purposes", and is not compatible with the Open Source Definition. Fixes: b8958ad388ba104527e2 (2021-07-02, "python3-pycryptodomex: new package") Cc:

[ptxdist] [PATCH v2 1/2] ptxd_make_world_license: handle PDFs in _LICENSE_FILES

2021-07-08 Thread Roland Hieber
If PDF files are found in the _LICENSE_FILES variable, include them as literal pages in license-report.pdf with the 'pdfpages' package, which nowadays comes preinstalled with most LaTeX distributions. Signed-off-by: Roland Hieber --- * v1 -> v2: no changes scripts/lib/ptxd_make_license_report.s

Re: [ptxdist] [PATCH] fixup! ptxd_make_world_license: handle PDFs in _LICENSE_FILES

2021-07-08 Thread Roland Hieber
OK, why did I break the subject… v2 then. - Roland On Thu, Jul 08, 2021 at 08:46:26PM +0200, Roland Hieber wrote: > Signed-off-by: Roland Hieber > --- > On Wed, Jul 07, 2021 at 04:38:20PM +0200, Michael Olbrich wrote: > > > +PYTHON3_PYCRYPTODOMEX_LICENSE:= Unlicense AND BSD-2-Clause and >

[ptxdist] [PATCH] fixup! ptxd_make_world_license: handle PDFs in _LICENSE_FILES

2021-07-08 Thread Roland Hieber
Signed-off-by: Roland Hieber --- On Wed, Jul 07, 2021 at 04:38:20PM +0200, Michael Olbrich wrote: > > +PYTHON3_PYCRYPTODOMEX_LICENSE := Unlicense AND BSD-2-Clause and > > proprietary > > I think this should be 'custom' not 'proprietary'. If 'proprietary' then we > assume that the code is cl

[ptxdist] [PATCH] libffi: Fix location of libraries for multilib toolchains.

2021-07-08 Thread Christian Melki
libffi uses toolexeclib_LTLIBRARIES. Change it to lib_LTLIBRARIES. Signed-off-by: Christian Melki --- ...ion-of-libraries-for-multilib-toolch.patch | 24 +++ patches/libffi-3.3/autogen.sh | 1 + patches/libffi-3.3/series | 3 ++- 3 files chan

[ptxdist] [PATCH] efivar.make: Install to CROSS_LIB_DIR

2021-07-08 Thread Christian Melki
Signed-off-by: Christian Melki --- rules/efivar.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/efivar.make b/rules/efivar.make index 1c92dce24..db0ed001f 100644 --- a/rules/efivar.make +++ b/rules/efivar.make @@ -29,7 +29,7 @@ EFIVAR_LICENSE:= LGPL-2.1-only