mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] crda: Version bump. crda 4.14 -> 4.15. regdb 2022.06.06 -> 2022.08.12.
@ 2022-09-23  7:24 Christian Melki
  2022-09-28 14:29 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Melki @ 2022-09-23  7:24 UTC (permalink / raw)
  To: ptxdist

Very minor fixes. crda is just a release tag on the latest commit,
which is a couple of years already.

* Forward patches. Minor changes to make them apply.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 .../0001-fix-linking-libreg.patch                         | 8 ++++----
 .../0002-Do-not-run-ldconfig-if-DESTDIR-is-set.patch      | 4 ++--
 ...w-build-without-embedding-pubkey-data-into-crda-.patch | 4 ++--
 .../0004-udev-Fix-rule-for-initial-setup.patch            | 0
 patches/{crda-4.14 => crda-4.15}/series                   | 0
 rules/crda.make                                           | 8 ++++----
 6 files changed, 12 insertions(+), 12 deletions(-)
 rename patches/{crda-4.14 => crda-4.15}/0001-fix-linking-libreg.patch (92%)
 rename patches/{crda-4.14 => crda-4.15}/0002-Do-not-run-ldconfig-if-DESTDIR-is-set.patch (83%)
 rename patches/{crda-4.14 => crda-4.15}/0003-Allow-build-without-embedding-pubkey-data-into-crda-.patch (95%)
 rename patches/{crda-4.14 => crda-4.15}/0004-udev-Fix-rule-for-initial-setup.patch (100%)
 rename patches/{crda-4.14 => crda-4.15}/series (100%)

diff --git a/patches/crda-4.14/0001-fix-linking-libreg.patch b/patches/crda-4.15/0001-fix-linking-libreg.patch
similarity index 92%
rename from patches/crda-4.14/0001-fix-linking-libreg.patch
rename to patches/crda-4.15/0001-fix-linking-libreg.patch
index 8eae90bd3..6b566ba04 100644
--- a/patches/crda-4.14/0001-fix-linking-libreg.patch
+++ b/patches/crda-4.15/0001-fix-linking-libreg.patch
@@ -9,7 +9,7 @@ Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
  1 file changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/Makefile b/Makefile
-index a3ead30371c9..2f485724c3be 100644
+index 6ca26f341dfa..832399dea8db 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -30,7 +30,7 @@ CFLAGS += -std=gnu99 -Wall -Werror -pedantic
@@ -39,10 +39,10 @@ index a3ead30371c9..2f485724c3be 100644
  
 @@ -116,7 +116,7 @@ keys-%.c: utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem)
  
- $(LIBREG): regdb.h reglib.h reglib.c
+ $(LIBREG): reglib.c regdb.h reglib.h
  	$(NQ) '  CC  ' $@
--	$(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^
-+	$(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^ $(LIBREGLIBS)
+-	$(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $<
++	$(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $< $(LIBREGLIBS)
  
  install-libreg-headers:
  	$(NQ) '  INSTALL  libreg-headers'
diff --git a/patches/crda-4.14/0002-Do-not-run-ldconfig-if-DESTDIR-is-set.patch b/patches/crda-4.15/0002-Do-not-run-ldconfig-if-DESTDIR-is-set.patch
similarity index 83%
rename from patches/crda-4.14/0002-Do-not-run-ldconfig-if-DESTDIR-is-set.patch
rename to patches/crda-4.15/0002-Do-not-run-ldconfig-if-DESTDIR-is-set.patch
index fac346892..8f40e0a89 100644
--- a/patches/crda-4.14/0002-Do-not-run-ldconfig-if-DESTDIR-is-set.patch
+++ b/patches/crda-4.15/0002-Do-not-run-ldconfig-if-DESTDIR-is-set.patch
@@ -8,13 +8,13 @@ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
  1 file changed, 2 insertions(+)
 
 diff --git a/Makefile b/Makefile
-index 2f485724c3be..b74d3b544bd9 100644
+index 832399dea8db..4ba2ed5aadd8 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -127,7 +127,9 @@ install-libreg:
  	$(NQ) '  INSTALL  libreg'
  	$(Q)mkdir -p $(DESTDIR)/$(LIBDIR)
- 	$(Q)cp $(LIBREG) $(DESTDIR)/$(LIBDIR)/
+ 	$(Q)$(INSTALL) -m 644 $(LIBREG) $(DESTDIR)/$(LIBDIR)/
 +ifndef DESTDIR
  	$(Q)ldconfig
 +endif
diff --git a/patches/crda-4.14/0003-Allow-build-without-embedding-pubkey-data-into-crda-.patch b/patches/crda-4.15/0003-Allow-build-without-embedding-pubkey-data-into-crda-.patch
similarity index 95%
rename from patches/crda-4.14/0003-Allow-build-without-embedding-pubkey-data-into-crda-.patch
rename to patches/crda-4.15/0003-Allow-build-without-embedding-pubkey-data-into-crda-.patch
index 5a55618e6..a5b9fb9f3 100644
--- a/patches/crda-4.14/0003-Allow-build-without-embedding-pubkey-data-into-crda-.patch
+++ b/patches/crda-4.15/0003-Allow-build-without-embedding-pubkey-data-into-crda-.patch
@@ -10,7 +10,7 @@ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
  2 files changed, 9 insertions(+), 2 deletions(-)
 
 diff --git a/Makefile b/Makefile
-index b74d3b544bd9..9ce318484001 100644
+index 4ba2ed5aadd8..8f45630296d7 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -42,7 +42,12 @@ ifeq ($(USE_OPENSSL),1)
@@ -27,7 +27,7 @@ index b74d3b544bd9..9ce318484001 100644
  else
  CFLAGS += -DUSE_GCRYPT
 diff --git a/reglib.c b/reglib.c
-index e00e9b8d4b44..87691022f9e7 100644
+index 4dee40151bd6..6f1edec4e154 100644
 --- a/reglib.c
 +++ b/reglib.c
 @@ -30,7 +30,7 @@
diff --git a/patches/crda-4.14/0004-udev-Fix-rule-for-initial-setup.patch b/patches/crda-4.15/0004-udev-Fix-rule-for-initial-setup.patch
similarity index 100%
rename from patches/crda-4.14/0004-udev-Fix-rule-for-initial-setup.patch
rename to patches/crda-4.15/0004-udev-Fix-rule-for-initial-setup.patch
diff --git a/patches/crda-4.14/series b/patches/crda-4.15/series
similarity index 100%
rename from patches/crda-4.14/series
rename to patches/crda-4.15/series
diff --git a/rules/crda.make b/rules/crda.make
index 6a6aeacb8..e9c91a68e 100644
--- a/rules/crda.make
+++ b/rules/crda.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_CRDA) += crda
 #
 # Paths and names
 #
-CRDA_VERSION	:= 4.14
-CRDA_MD5	:= cac7ba8de3e2e6aa46918e0c76df7d67
+CRDA_VERSION	:= 4.15
+CRDA_MD5	:= 30797103dfaae807b6ece1a695518dc1
 CRDA		:= crda-$(CRDA_VERSION)
 CRDA_SUFFIX	:= tar.gz
 CRDA_URL	:= https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git/snapshot/$(CRDA).$(CRDA_SUFFIX)
@@ -26,8 +26,8 @@ CRDA_LICENSE_FILES := \
 	file://LICENSE;md5=ef8b69b43141352d821fd66b64ff0ee7 \
 	file://copyleft-next-0.3.0;md5=8743a2c359037d4d329a31e79eabeffe
 
-CRDA_REGDB_VERSION	:= 2022.06.06
-CRDA_REGDB_MD5		:= 49b1309ed4fb507eec382faf7564d235
+CRDA_REGDB_VERSION	:= 2022.08.12
+CRDA_REGDB_MD5		:= 29447e6d5e9dc268bf229fd98bfaf958
 CRDA_REGDB		:= wireless-regdb-$(CRDA_REGDB_VERSION)
 CRDA_REGDB_SUFFIX	:= tar.gz
 CRDA_REGDB_URL		:= \
-- 
2.34.1




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] crda: Version bump. crda 4.14 -> 4.15. regdb 2022.06.06 -> 2022.08.12.
  2022-09-23  7:24 [ptxdist] [PATCH] crda: Version bump. crda 4.14 -> 4.15. regdb 2022.06.06 -> 2022.08.12 Christian Melki
@ 2022-09-28 14:29 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2022-09-28 14:29 UTC (permalink / raw)
  To: ptxdist; +Cc: Christian Melki

Thanks, applied as 2e94022092149d56ffe9b009f6fa98413446f62b.

Michael

[sent from post-receive hook]

On Wed, 28 Sep 2022 16:29:05 +0200, Christian Melki <christian.melki@t2data.com> wrote:
> Very minor fixes. crda is just a release tag on the latest commit,
> which is a couple of years already.
> 
> * Forward patches. Minor changes to make them apply.
> 
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> Message-Id: <20220923072430.652471-1-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/patches/crda-4.14/0001-fix-linking-libreg.patch b/patches/crda-4.15/0001-fix-linking-libreg.patch
> similarity index 92%
> rename from patches/crda-4.14/0001-fix-linking-libreg.patch
> rename to patches/crda-4.15/0001-fix-linking-libreg.patch
> index 8eae90bd3dcb..6b566ba042ac 100644
> --- a/patches/crda-4.14/0001-fix-linking-libreg.patch
> +++ b/patches/crda-4.15/0001-fix-linking-libreg.patch
> @@ -9,7 +9,7 @@ Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
>   1 file changed, 4 insertions(+), 4 deletions(-)
>  
>  diff --git a/Makefile b/Makefile
> -index a3ead30371c9..2f485724c3be 100644
> +index 6ca26f341dfa..832399dea8db 100644
>  --- a/Makefile
>  +++ b/Makefile
>  @@ -30,7 +30,7 @@ CFLAGS += -std=gnu99 -Wall -Werror -pedantic
> @@ -39,10 +39,10 @@ index a3ead30371c9..2f485724c3be 100644
>   
>  @@ -116,7 +116,7 @@ keys-%.c: utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem)
>   
> - $(LIBREG): regdb.h reglib.h reglib.c
> + $(LIBREG): reglib.c regdb.h reglib.h
>   	$(NQ) '  CC  ' $@
> --	$(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^
> -+	$(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^ $(LIBREGLIBS)
> +-	$(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $<
> ++	$(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $< $(LIBREGLIBS)
>   
>   install-libreg-headers:
>   	$(NQ) '  INSTALL  libreg-headers'
> diff --git a/patches/crda-4.14/0002-Do-not-run-ldconfig-if-DESTDIR-is-set.patch b/patches/crda-4.15/0002-Do-not-run-ldconfig-if-DESTDIR-is-set.patch
> similarity index 83%
> rename from patches/crda-4.14/0002-Do-not-run-ldconfig-if-DESTDIR-is-set.patch
> rename to patches/crda-4.15/0002-Do-not-run-ldconfig-if-DESTDIR-is-set.patch
> index fac3468923d7..8f40e0a89921 100644
> --- a/patches/crda-4.14/0002-Do-not-run-ldconfig-if-DESTDIR-is-set.patch
> +++ b/patches/crda-4.15/0002-Do-not-run-ldconfig-if-DESTDIR-is-set.patch
> @@ -8,13 +8,13 @@ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>   1 file changed, 2 insertions(+)
>  
>  diff --git a/Makefile b/Makefile
> -index 2f485724c3be..b74d3b544bd9 100644
> +index 832399dea8db..4ba2ed5aadd8 100644
>  --- a/Makefile
>  +++ b/Makefile
>  @@ -127,7 +127,9 @@ install-libreg:
>   	$(NQ) '  INSTALL  libreg'
>   	$(Q)mkdir -p $(DESTDIR)/$(LIBDIR)
> - 	$(Q)cp $(LIBREG) $(DESTDIR)/$(LIBDIR)/
> + 	$(Q)$(INSTALL) -m 644 $(LIBREG) $(DESTDIR)/$(LIBDIR)/
>  +ifndef DESTDIR
>   	$(Q)ldconfig
>  +endif
> diff --git a/patches/crda-4.14/0003-Allow-build-without-embedding-pubkey-data-into-crda-.patch b/patches/crda-4.15/0003-Allow-build-without-embedding-pubkey-data-into-crda-.patch
> similarity index 95%
> rename from patches/crda-4.14/0003-Allow-build-without-embedding-pubkey-data-into-crda-.patch
> rename to patches/crda-4.15/0003-Allow-build-without-embedding-pubkey-data-into-crda-.patch
> index 5a55618e6a64..a5b9fb9f331f 100644
> --- a/patches/crda-4.14/0003-Allow-build-without-embedding-pubkey-data-into-crda-.patch
> +++ b/patches/crda-4.15/0003-Allow-build-without-embedding-pubkey-data-into-crda-.patch
> @@ -10,7 +10,7 @@ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>   2 files changed, 9 insertions(+), 2 deletions(-)
>  
>  diff --git a/Makefile b/Makefile
> -index b74d3b544bd9..9ce318484001 100644
> +index 4ba2ed5aadd8..8f45630296d7 100644
>  --- a/Makefile
>  +++ b/Makefile
>  @@ -42,7 +42,12 @@ ifeq ($(USE_OPENSSL),1)
> @@ -27,7 +27,7 @@ index b74d3b544bd9..9ce318484001 100644
>   else
>   CFLAGS += -DUSE_GCRYPT
>  diff --git a/reglib.c b/reglib.c
> -index e00e9b8d4b44..87691022f9e7 100644
> +index 4dee40151bd6..6f1edec4e154 100644
>  --- a/reglib.c
>  +++ b/reglib.c
>  @@ -30,7 +30,7 @@
> diff --git a/patches/crda-4.14/0004-udev-Fix-rule-for-initial-setup.patch b/patches/crda-4.15/0004-udev-Fix-rule-for-initial-setup.patch
> similarity index 100%
> rename from patches/crda-4.14/0004-udev-Fix-rule-for-initial-setup.patch
> rename to patches/crda-4.15/0004-udev-Fix-rule-for-initial-setup.patch
> diff --git a/patches/crda-4.14/series b/patches/crda-4.15/series
> similarity index 100%
> rename from patches/crda-4.14/series
> rename to patches/crda-4.15/series
> diff --git a/rules/crda.make b/rules/crda.make
> index 6a6aeacb85a9..e9c91a68ee01 100644
> --- a/rules/crda.make
> +++ b/rules/crda.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_CRDA) += crda
>  #
>  # Paths and names
>  #
> -CRDA_VERSION	:= 4.14
> -CRDA_MD5	:= cac7ba8de3e2e6aa46918e0c76df7d67
> +CRDA_VERSION	:= 4.15
> +CRDA_MD5	:= 30797103dfaae807b6ece1a695518dc1
>  CRDA		:= crda-$(CRDA_VERSION)
>  CRDA_SUFFIX	:= tar.gz
>  CRDA_URL	:= https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git/snapshot/$(CRDA).$(CRDA_SUFFIX)
> @@ -26,8 +26,8 @@ CRDA_LICENSE_FILES := \
>  	file://LICENSE;md5=ef8b69b43141352d821fd66b64ff0ee7 \
>  	file://copyleft-next-0.3.0;md5=8743a2c359037d4d329a31e79eabeffe
>  
> -CRDA_REGDB_VERSION	:= 2022.06.06
> -CRDA_REGDB_MD5		:= 49b1309ed4fb507eec382faf7564d235
> +CRDA_REGDB_VERSION	:= 2022.08.12
> +CRDA_REGDB_MD5		:= 29447e6d5e9dc268bf229fd98bfaf958
>  CRDA_REGDB		:= wireless-regdb-$(CRDA_REGDB_VERSION)
>  CRDA_REGDB_SUFFIX	:= tar.gz
>  CRDA_REGDB_URL		:= \



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-28 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-23  7:24 [ptxdist] [PATCH] crda: Version bump. crda 4.14 -> 4.15. regdb 2022.06.06 -> 2022.08.12 Christian Melki
2022-09-28 14:29 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox