forked from pool/elfutils
Accepting request 870809 from Base:System
- Update to version 0.183: debuginfod: New thread-busy metric and more detailed error metrics. New --fdcache-mintmp and tracking of filesystem freespace. New increased webapi concurrency while grooming. debuginfod-client: DEBUGINFOD_SONAME macro added to debuginfod.h which can be used to dlopen the libdebuginfod.so library. New function debuginfod_set_verbose_fd and DEBUGINFOD_VERBOSE environment variable. config: profile.sh and profile.csh won't export DEBUGINFOD_URLS unless configured --enable-debuginfod-urls[=URLS] elflint, readelf: Recognize SHF_GNU_RETAIN. Handle SHT_X86_64_UNWIND as valid relocation target. - Remove config-do-not-define-DEBUGINFOD_URLS-environment-var.patch patch. (forwarded request 870255 from marxin) OBS-URL: https://build.opensuse.org/request/show/870809 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=85
This commit is contained in:
commit
acfed26f99
@ -1,55 +0,0 @@
|
||||
From 911ac29b9eed3c66bba60eda6af8e5de62607e5c Mon Sep 17 00:00:00 2001
|
||||
From: "Dmitry V. Levin" <ldv@altlinux.org>
|
||||
Date: Wed, 4 Nov 2020 08:00:00 +0000
|
||||
Subject: [PATCH] config: do not define DEBUGINFOD_URLS environment variable
|
||||
unnecessarily
|
||||
|
||||
Before this change, when elfutils was configured without
|
||||
--enable-debuginfod-urls, the installed profile.d/debuginfod.sh and
|
||||
profile.d/debuginfod.csh scripts used to define the DEBUGINFOD_URLS
|
||||
environment variable as an non-empty string containing spaces, making
|
||||
all libdebuginfod users do extra work.
|
||||
|
||||
Change these scripts to avoid defining the DEBUGINFOD_URLS environment
|
||||
variable unless configured using --enable-debuginfod-urls.
|
||||
|
||||
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
|
||||
---
|
||||
config/ChangeLog | 5 +++++
|
||||
config/profile.csh.in | 13 +++++++++++--
|
||||
config/profile.sh.in | 7 ++++---
|
||||
3 files changed, 20 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/config/profile.csh.in b/config/profile.csh.in
|
||||
index 4f25896d..0a2d6d16 100644
|
||||
--- a/config/profile.csh.in
|
||||
+++ b/config/profile.csh.in
|
||||
@@ -1,2 +1,11 @@
|
||||
-
|
||||
-setenv DEBUGINFOD_URLS "$DEBUGINFOD_URLS @DEBUGINFOD_URLS@"
|
||||
+if ("@DEBUGINFOD_URLS@" != "") then
|
||||
+ if ($?DEBUGINFOD_URLS) then
|
||||
+ if ($%DEBUGINFOD_URLS) then
|
||||
+ setenv DEBUGINFOD_URLS "$DEBUGINFOD_URLS @DEBUGINFOD_URLS@"
|
||||
+ else
|
||||
+ setenv DEBUGINFOD_URLS "@DEBUGINFOD_URLS@"
|
||||
+ endif
|
||||
+ else
|
||||
+ setenv DEBUGINFOD_URLS "@DEBUGINFOD_URLS@"
|
||||
+ endif
|
||||
+endif
|
||||
diff --git a/config/profile.sh.in b/config/profile.sh.in
|
||||
index 8a022489..aa228a0d 100644
|
||||
--- a/config/profile.sh.in
|
||||
+++ b/config/profile.sh.in
|
||||
@@ -1,3 +1,4 @@
|
||||
-
|
||||
-DEBUGINFOD_URLS="$DEBUGINFOD_URLS @DEBUGINFOD_URLS@"
|
||||
-export DEBUGINFOD_URLS
|
||||
+if [ -n "@DEBUGINFOD_URLS@" ]; then
|
||||
+ DEBUGINFOD_URLS="${DEBUGINFOD_URLS-}${DEBUGINFOD_URLS:+ }@DEBUGINFOD_URLS@"
|
||||
+ export DEBUGINFOD_URLS
|
||||
+fi
|
||||
--
|
||||
2.29.2
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ecc406914edf335f0b7fc084ebe6c460c4d6d5175bfdd6688c1c78d9146b8858
|
||||
size 9096742
|
Binary file not shown.
3
elfutils-0.183.tar.bz2
Normal file
3
elfutils-0.183.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c3637c208d309d58714a51e61e63f1958808fead882e9b607506a29e5474f2c5
|
||||
size 9109254
|
BIN
elfutils-0.183.tar.bz2.sig
Normal file
BIN
elfutils-0.183.tar.bz2.sig
Normal file
Binary file not shown.
@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 8 10:59:08 UTC 2021 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to version 0.183:
|
||||
debuginfod: New thread-busy metric and more detailed error metrics.
|
||||
New --fdcache-mintmp and tracking of filesystem freespace.
|
||||
New increased webapi concurrency while grooming.
|
||||
|
||||
debuginfod-client: DEBUGINFOD_SONAME macro added to debuginfod.h which
|
||||
can be used to dlopen the libdebuginfod.so library.
|
||||
New function debuginfod_set_verbose_fd and
|
||||
DEBUGINFOD_VERBOSE environment variable.
|
||||
|
||||
config: profile.sh and profile.csh won't export DEBUGINFOD_URLS unless
|
||||
configured --enable-debuginfod-urls[=URLS]
|
||||
|
||||
elflint, readelf: Recognize SHF_GNU_RETAIN.
|
||||
Handle SHT_X86_64_UNWIND as valid relocation target.
|
||||
- Remove config-do-not-define-DEBUGINFOD_URLS-environment-var.patch patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 4 12:01:02 UTC 2021 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: elfutils-debuginfod
|
||||
Version: 0.182
|
||||
Version: 0.183
|
||||
Release: 0
|
||||
Summary: Debuginfod server provided by elfutils
|
||||
License: GPL-3.0-or-later
|
||||
@ -28,7 +28,6 @@ Source: https://fedorahosted.org/releases/e/l/elfutils/%{version}/elfuti
|
||||
Source1: https://fedorahosted.org/releases/e/l/elfutils/%{version}/elfutils-%{version}.tar.bz2.sig
|
||||
Source2: elfutils.changes
|
||||
Source3: elfutils.keyring
|
||||
Patch0: config-do-not-define-DEBUGINFOD_URLS-environment-var.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: bison
|
||||
|
@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 8 10:59:08 UTC 2021 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to version 0.183:
|
||||
debuginfod: New thread-busy metric and more detailed error metrics.
|
||||
New --fdcache-mintmp and tracking of filesystem freespace.
|
||||
New increased webapi concurrency while grooming.
|
||||
|
||||
debuginfod-client: DEBUGINFOD_SONAME macro added to debuginfod.h which
|
||||
can be used to dlopen the libdebuginfod.so library.
|
||||
New function debuginfod_set_verbose_fd and
|
||||
DEBUGINFOD_VERBOSE environment variable.
|
||||
|
||||
config: profile.sh and profile.csh won't export DEBUGINFOD_URLS unless
|
||||
configured --enable-debuginfod-urls[=URLS]
|
||||
|
||||
elflint, readelf: Recognize SHF_GNU_RETAIN.
|
||||
Handle SHT_X86_64_UNWIND as valid relocation target.
|
||||
- Remove config-do-not-define-DEBUGINFOD_URLS-environment-var.patch patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 20 12:16:31 UTC 2021 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: elfutils
|
||||
Version: 0.182
|
||||
Version: 0.183
|
||||
Release: 0
|
||||
Summary: Higher-level library to access ELF files
|
||||
License: GPL-3.0-or-later
|
||||
@ -165,6 +165,8 @@ chmod a+x tests/run*.sh
|
||||
%make_install
|
||||
# remove unneeded files
|
||||
rm -f %{buildroot}/%{_libdir}/*.la
|
||||
rm -f %{buildroot}/%{_sysconfdir}/profile.d/debuginfod.*sh
|
||||
rm -f %{buildroot}/%{_libdir}/pkgconfig/libdebuginfod.pc
|
||||
ls -lR %{buildroot}/%{_libdir}/libelf*
|
||||
%find_lang %{name}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user