All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/rtl_433: do not leak Buildroot git info
@ 2025-09-22  8:15 Peter Korsgaard
  2025-09-22  8:15 ` [Buildroot] [PATCH 2/2] package/rtl_433: bump to version 25.02 Peter Korsgaard
  2025-09-22 19:54 ` [Buildroot] [PATCH 1/2] package/rtl_433: do not leak Buildroot git info Julien Olivain via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Korsgaard @ 2025-09-22  8:15 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

The CMake build system has logic to detect the git repo info and include it
in the version output.  This unfortunately gets confused and adds the git
info of the Buildroot repository when building inside the repo:

-- Found Git version: refs/heads/rtl_433-25.02 commit a367362af00ed349915b0b4496ebeb9910fc86e4                                 from 2025-09-21T20:07:58+0200
-- Using Git version tag: 2025.08-283-ga367362af0 on rtl_433-25.02 at 202509212007

rtl_433 -V
rtl_433 version 2025.08-283-ga367362af0 branch rtl_433-25.02 at 202509212007 inputs file rtl_tcp RTL-SDR

Pass GIT_DIR=.  to the configure step similar to how it is already done for
the build step to disable this.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/rtl_433/rtl_433.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/rtl_433/rtl_433.mk b/package/rtl_433/rtl_433.mk
index 0af25c7936..60f90a94c7 100644
--- a/package/rtl_433/rtl_433.mk
+++ b/package/rtl_433/rtl_433.mk
@@ -18,6 +18,9 @@ RTL_433_CONF_OPTS = \
 	-DBUILD_TESTING_ANALYZER=OFF \
 	-DENABLE_SOAPYSDR=OFF
 
+# do not include Buildroot git info in version output
+RTL_433_CONF_ENV = GIT_DIR=.
+
 ifeq ($(BR2_PACKAGE_LIBRTLSDR),y)
 RTL_433_DEPENDENCIES += librtlsdr
 RTL_433_CONF_OPTS += -DENABLE_RTLSDR=ON
-- 
2.39.5

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 2/2] package/rtl_433: bump to version 25.02
  2025-09-22  8:15 [Buildroot] [PATCH 1/2] package/rtl_433: do not leak Buildroot git info Peter Korsgaard
@ 2025-09-22  8:15 ` Peter Korsgaard
  2025-09-22 19:54 ` [Buildroot] [PATCH 1/2] package/rtl_433: do not leak Buildroot git info Julien Olivain via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2025-09-22  8:15 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

For details, see the release notes:
https://github.com/merbanan/rtl_433/releases/tag/25.02

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/rtl_433/rtl_433.hash | 2 +-
 package/rtl_433/rtl_433.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/rtl_433/rtl_433.hash b/package/rtl_433/rtl_433.hash
index 3a00e0cae7..30f60a82f7 100644
--- a/package/rtl_433/rtl_433.hash
+++ b/package/rtl_433/rtl_433.hash
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  1260c58400bf35832ac1b76cb3cccf3dc1335ffa2416909c63c7d7060c74663b  rtl_433-23.11.tar.gz
+sha256  5a409ea10e6d3d7d4aa5ea91d2d6cc92ebb2d730eb229c7b37ade65458223432  rtl_433-25.02.tar.gz
 # License file, locally calculated
 sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  COPYING
diff --git a/package/rtl_433/rtl_433.mk b/package/rtl_433/rtl_433.mk
index 60f90a94c7..08735be850 100644
--- a/package/rtl_433/rtl_433.mk
+++ b/package/rtl_433/rtl_433.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RTL_433_VERSION = 23.11
+RTL_433_VERSION = 25.02
 RTL_433_SITE = $(call github,merbanan,rtl_433,$(RTL_433_VERSION))
 RTL_433_LICENSE = GPL-2.0+
 RTL_433_LICENSE_FILES = COPYING
-- 
2.39.5

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/2] package/rtl_433: do not leak Buildroot git info
  2025-09-22  8:15 [Buildroot] [PATCH 1/2] package/rtl_433: do not leak Buildroot git info Peter Korsgaard
  2025-09-22  8:15 ` [Buildroot] [PATCH 2/2] package/rtl_433: bump to version 25.02 Peter Korsgaard
@ 2025-09-22 19:54 ` Julien Olivain via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Julien Olivain via buildroot @ 2025-09-22 19:54 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: buildroot, Fabrice Fontaine

On 22/09/2025 10:15, Peter Korsgaard wrote:
> The CMake build system has logic to detect the git repo info and 
> include it
> in the version output.  This unfortunately gets confused and adds the 
> git
> info of the Buildroot repository when building inside the repo:
> 
> -- Found Git version: refs/heads/rtl_433-25.02 commit 
> a367362af00ed349915b0b4496ebeb9910fc86e4                                
>  from 2025-09-21T20:07:58+0200
> -- Using Git version tag: 2025.08-283-ga367362af0 on rtl_433-25.02 at 
> 202509212007
> 
> rtl_433 -V
> rtl_433 version 2025.08-283-ga367362af0 branch rtl_433-25.02 at 
> 202509212007 inputs file rtl_tcp RTL-SDR
> 
> Pass GIT_DIR=.  to the configure step similar to how it is already done 
> for
> the build step to disable this.
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Series applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2025-09-22 19:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-22  8:15 [Buildroot] [PATCH 1/2] package/rtl_433: do not leak Buildroot git info Peter Korsgaard
2025-09-22  8:15 ` [Buildroot] [PATCH 2/2] package/rtl_433: bump to version 25.02 Peter Korsgaard
2025-09-22 19:54 ` [Buildroot] [PATCH 1/2] package/rtl_433: do not leak Buildroot git info Julien Olivain via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.