public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 3.x development tree branch, master, updated. 074d1301531b005c7463b797df6c6bbb2ac91979
@ 2023-10-08 16:14 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2023-10-08 16:14 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 3257 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 3.x development tree".

The branch, master has been updated
       via  074d1301531b005c7463b797df6c6bbb2ac91979 (commit)
       via  f9e570fc05b081503415ef22e79d7c434908f682 (commit)
      from  1426e4823bb862dd38da56091fc882a58495b10a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 074d1301531b005c7463b797df6c6bbb2ac91979
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Fri Oct 6 16:50:25 2023 +0000

    elfutils: Correctly configure debuginfod
    
    Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>

commit f9e570fc05b081503415ef22e79d7c434908f682
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Fri Oct 6 16:30:59 2023 +0000

    gdb: Update to 13.2
    
    This patch also enables support for debuginfod.
    
    Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 elfutils/elfutils.nm | 16 +++++++++++++---
 gdb/gdb.nm           |  4 +++-
 2 files changed, 16 insertions(+), 4 deletions(-)

Difference in files:
diff --git a/elfutils/elfutils.nm b/elfutils/elfutils.nm
index 4fdb6d955..61220a3d0 100644
--- a/elfutils/elfutils.nm
+++ b/elfutils/elfutils.nm
@@ -5,7 +5,7 @@
 
 name       = elfutils
 version    = 0.189
-release    = 1
+release    = 2
 
 groups     = Development/Libraries
 url        = https://sourceware.org/elfutils/
@@ -24,6 +24,8 @@ source_dl  = https://sourceware.org/elfutils/ftp/%{version}/
 sources    = %{thisapp}.tar.bz2
 
 build
+	DEBUGINFOD_URLS = "https://pakfire.ipfire.org/"
+
 	requires
 		bzip2-devel
 		curl-devel
@@ -39,6 +41,11 @@ build
 	test
 		make check
 	end
+
+	install_cmds
+		# Export DEBUGINFOD_URLS
+		echo "%{DEBUGINFOD_URLS}" > %{BUILDROOT}%{sysconfdir}/debuginfod/%{DISTRO_SNAME}.urls
+	end
 end
 
 packages
@@ -56,8 +63,11 @@ packages
 	package %{name}-libs
 		template LIBS
 
-		files += %{libdir}/lib*%{version}.so
-		files += %{libdir}/elfutils
+		files
+			%{sysconfdir}/debuginfod
+			%{sysconfdir}/profile.d/debuginfod*
+			%{libdir}/lib*%{version}.so
+		end
 	end
 
 	package %{name}-debuginfo
diff --git a/gdb/gdb.nm b/gdb/gdb.nm
index adea165f8..06c49499f 100644
--- a/gdb/gdb.nm
+++ b/gdb/gdb.nm
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = gdb
-version    = 13.1
+version    = 13.2
 release    = 1
 
 groups     = Development/Debuggers
@@ -24,6 +24,7 @@ sources    = %{thisapp}.tar.xz
 build
 	requires
 		bison
+		elfutils-devel
 		expat-devel
 		gmp-devel
 		mpfr-devel
@@ -58,6 +59,7 @@ build
 		--with-expat \
 		--with-python=%{python3} \
 		--with-lzma \
+		--with-debuginfod \
 		--without-libexpat-prefix \
 		%{DISTRO_MACHINE}
 


hooks/post-receive
--
IPFire 3.x development tree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-08 16:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-08 16:14 [git.ipfire.org] IPFire 3.x development tree branch, master, updated. 074d1301531b005c7463b797df6c6bbb2ac91979 Michael Tremer

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