diff options
author | Mark Wielaard <[email protected]> | 2020-06-11 23:16:21 +0200 |
---|---|---|
committer | Mark Wielaard <[email protected]> | 2020-06-11 23:16:21 +0200 |
commit | 50a6eeef7d87623faa65126dc3d16c2a8e613aea (patch) | |
tree | 19a35135efaac56c49a30316c6572c7b4d6ec4aa /config | |
parent | 49f13584d60322578c19b6118393ab04236ca7bf (diff) | |
parent | a2bc0214a5615551d89cef8d160bdbaafd5f1a83 (diff) |
Merge tag 'elfutils-0.180' into mjw/RH-DTSdts-0.180
elfutils 0.180 release
Diffstat (limited to 'config')
-rw-r--r-- | config/ChangeLog | 59 | ||||
-rw-r--r-- | config/Makefile.am | 5 | ||||
-rw-r--r-- | config/debuginfod.service | 1 | ||||
-rw-r--r-- | config/debuginfod.sysconfig | 2 | ||||
-rw-r--r-- | config/elfutils.spec.in | 62 | ||||
-rwxr-xr-x | config/upload-release.sh | 2 |
6 files changed, 116 insertions, 15 deletions
diff --git a/config/ChangeLog b/config/ChangeLog index 16379207..2ad93702 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,62 @@ +2020-06-11 Mark Wielaard <[email protected]> + + * elfutils.spec.in: Update for 0.189. + +2020-04-21 Frank Ch. Eigler <[email protected]> + + * debuginfod.sysconfig (DEBUGINFOD_PATHS): Add /var/lib/pulp. + +2020-03-30 Mark Wielaard <[email protected]> + + * upload-release.sh: chmod uploaded dir and files to make them + readable. + +2020-03-30 Mark Wielaard <[email protected]> + + * elfutils.spec.in: Update for 0.179. + +2020-03-25 Frank Ch. Eigler <[email protected]> + + * elfutils.spec.in: *Require: bsdtar instead of dpkg. + +2020-03-04 Mark Wielaard <[email protected]> + + * elfutils.spec.in (package debuginfod): Remove Requires: rpm. + Add Requires: dpkg. + +2020-01-12 Frank Ch. Eigler <[email protected]> + + * elfutils.spec.in: Typo fix for "Requires: debuginfod-client". + +2020-01-11 Frank Ch. Eigler <[email protected]> + + * debuginfod.service: Set PrivateTmp=yes. + +2020-01-01 Dmitry V. Levin <[email protected]> + + * Makefile.am (pkgconfig_DATA): Conditionalize libdebuginfod.pc + on DEBUGINFOD. + +2019-12-22 Frank Ch. Eigler <[email protected]> + + * elfutils.spec.in (debuginfod): Add BuildRequire dpkg + for deb testing. (Available on Fedora & EPEL, not base RHEL.) + +2019-12-05 Mark Wielaard <[email protected]> + + * elfutils.spec.in: Add explicit version-release requires for all + packages. + +2019-11-28 Mark Wielaard <[email protected]> + + * elfutils.spec.in (debuginfod): Add an explicit Requires + elfutils-debuginfod-client. + +2019-11-27 Mark Wielaard <[email protected]> + + * elfutils.spec.in: Move all versioned libdebuginfod libraries + from debuginfod-client-devel to debuginfod-client. + 2019-11-26 Mark Wielaard <[email protected]> * elfutils.spec.in: Remove Group tags, remove fedora and rhel diff --git a/config/Makefile.am b/config/Makefile.am index 55e895ac..11f17df0 100644 --- a/config/Makefile.am +++ b/config/Makefile.am @@ -33,7 +33,10 @@ EXTRA_DIST = elfutils.spec.in known-dwarf.awk 10-default-yama-scope.conf \ debuginfod.service debuginfod.sysconfig pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libelf.pc libdw.pc libdebuginfod.pc +pkgconfig_DATA = libelf.pc libdw.pc +if DEBUGINFOD +pkgconfig_DATA += libdebuginfod.pc +endif if MAINTAINER_MODE $(srcdir)/elfutils.spec.in: $(top_srcdir)/NEWS diff --git a/config/debuginfod.service b/config/debuginfod.service index d8ef072b..8fca343f 100644 --- a/config/debuginfod.service +++ b/config/debuginfod.service @@ -10,6 +10,7 @@ Group=debuginfod #CacheDirectory=debuginfod ExecStart=/usr/bin/debuginfod -d /var/cache/debuginfod/debuginfod.sqlite -p $DEBUGINFOD_PORT $DEBUGINFOD_VERBOSE $DEBUGINFOD_PRAGMAS $DEBUGINFOD_PATHS TimeoutStopSec=10 +PrivateTmp=yes [Install] WantedBy=multi-user.target diff --git a/config/debuginfod.sysconfig b/config/debuginfod.sysconfig index c56bcf3f..44603874 100644 --- a/config/debuginfod.sysconfig +++ b/config/debuginfod.sysconfig @@ -3,7 +3,7 @@ DEBUGINFOD_PORT="8002" #DEBUGINFOD_VERBOSE="-v" # some common places to find trustworthy ELF/DWARF files and RPMs -DEBUGINFOD_PATHS="-t43200 -F -R /usr/lib/debug /usr/bin /usr/libexec /usr/sbin /usr/lib /usr/lib64 /var/cache/yum /var/cache/dnf" +DEBUGINFOD_PATHS="-t43200 -F -R /usr/lib/debug /usr/bin /usr/libexec /usr/sbin /usr/lib /usr/lib64 /var/cache/yum /var/cache/dnf /var/lib/pulp" # prefer reliability/durability over performance #DEBUGINFOD_PRAGMAS="-D 'pragma synchronous=full;'" diff --git a/config/elfutils.spec.in b/config/elfutils.spec.in index 46779340..7388829c 100644 --- a/config/elfutils.spec.in +++ b/config/elfutils.spec.in @@ -1,16 +1,16 @@ # -*- rpm-spec-*- -Summary: A collection of utilities and DSOs to handle ELF files and DWARF data Name: elfutils Version: @PACKAGE_VERSION@ Release: 1 URL: http://elfutils.org/ License: GPLv3+ and (GPLv2+ or LGPLv3+) and GFDL Source: ftp://sourceware.org/pub/elfutils/%{version}/elfutils-%{version}.tar.bz2 +Summary: A collection of utilities and DSOs to handle ELF files and DWARF data Requires: elfutils-libelf = %{version}-%{release} Requires: elfutils-libs = %{version}-%{release} # Can be a Recommends if rpm supports that -Requires: elfutils-debuginfod-client +Requires: elfutils-debuginfod-client = %{version}-%{release} BuildRequires: gcc # For libstdc++ demangle support @@ -35,6 +35,7 @@ BuildRequires: pkgconfig(libarchive) >= 3.1.2 BuildRequires: bzip2 # For the run-debuginfod-find.sh test case in %check for /usr/sbin/ss BuildRequires: iproute +BuildRequires: bsdtar BuildRequires: curl %define _gnu %{nil} @@ -54,7 +55,7 @@ License: GPLv2+ or LGPLv3+ Requires: elfutils-libelf = %{version}-%{release} Requires: default-yama-scope # Can be a Recommends if rpm supports that -Requires: elfutils-debuginfod-client +Requires: elfutils-debuginfod-client = %{version}-%{release} %description libs The elfutils-libs package contains libraries which implement DWARF, ELF, @@ -68,11 +69,8 @@ Summary: Development libraries to handle compiled objects License: GPLv2+ or LGPLv3+ Requires: elfutils-libs = %{version}-%{release} Requires: elfutils-libelf-devel = %{version}-%{release} -%if 0%{?rhel} >= 8 || 0%{?fedora} >= 20 -Recommends: elfutils-debuginfod-client-devel -%else -Requires: elfutils-debuginfod-client-devel -%endif +# Can be a Recommends if rpm supports that +Requires: elfutils-debuginfod-client-devel = %{version}-%{release} %description devel The elfutils-devel package contains the libraries to create @@ -87,8 +85,8 @@ Requires: elfutils-devel = %{version}-%{release} Requires: elfutils-libelf-devel-static = %{version}-%{release} %description devel-static -The elfutils-devel-static archive contains the static archives -with the code the handle compiled objects. +The elfutils-devel-static package contains the static archives +with the code to handle compiled objects. %package libelf Summary: Library to read and write ELF files @@ -144,17 +142,21 @@ License: GPLv3+ and (GPLv2+ or LGPLv3+) %package debuginfod-client-devel Summary: Libraries and headers to build debuginfod client applications License: GPLv2+ or LGPLv3+ +Requires: elfutils-debuginfod-client = %{version}-%{release} %package debuginfod Summary: HTTP ELF/DWARF file server addressed by build-id License: GPLv3+ +Requires: elfutils-libs = %{version}-%{release} +Requires: elfutils-libelf = %{version}-%{release} +Requires: elfutils-debuginfod-client = %{version}-%{release} BuildRequires: systemd Requires(post): systemd Requires(preun): systemd Requires(postun): systemd Requires(pre): shadow-utils -# For /usr/bin/cpio2rpm -Requires: rpm +# To extract .deb files with a bsdtar (= libarchive) subshell +Requires: bsdtar %description debuginfod-client The elfutils-debuginfod-client package contains shared libraries @@ -289,6 +291,7 @@ fi %files debuginfod-client %defattr(-,root,root) %{_libdir}/libdebuginfod-%{version}.so +%{_libdir}/libdebuginfod.so.* %{_bindir}/debuginfod-find %{_mandir}/man1/debuginfod-find.1* @@ -297,7 +300,7 @@ fi %{_libdir}/pkgconfig/libdebuginfod.pc %{_mandir}/man3/debuginfod_*.3* %{_includedir}/elfutils/debuginfod.h -%{_libdir}/libdebuginfod.so* +%{_libdir}/libdebuginfod.so %files debuginfod %defattr(-,root,root) @@ -324,6 +327,39 @@ exit 0 %systemd_postun_with_restart debuginfod.service %changelog +* Thu Jun 11 2020 Mark Wielaard <[email protected]> 0.180-1 +- elflint: Allow SHF_EXCLUDE as generic section flag when --gnu is given. +- libdw, readelf: Handle GCC LTO .gnu.debuglto_ prefix. +- libdw: Use correct CU to resolve file names in dwarf_decl_file. +- libdwfl: Handle debugaltlink in dwfl_standard_find_debuginfo. +- size: Also obey radix printing for bsd format. +- nm: Explicitly print weak 'V' or 'T' and common 'C' symbols. + +* Mon Mar 30 2020 Mark Wielaard <[email protected]> 0.179-1 +- debuginfod-client: When DEBUGINFOD_PROGRESS is set and the program + doesn't install its own debuginfod_progressfn_t show download + progress on stderr. + DEBUGINFOD_TIMEOUT is now defined as seconds to get at least 100K, + defaults to 90 seconds. + Default to $XDG_CACHE_HOME/debuginfod_client. + New functions debuginfod_set_user_data, debuginfod_get_user_data, + debuginfod_get_url and debuginfod_add_http_header. + Support for file:// URLs. +- debuginfod: Uses libarchive directly for reading rpm archives. + Support for indexing .deb/.ddeb archives through dpkg-deb or bsdtar. + Generic archive support through -Z EXT[=CMD]. Which can be used for + example for arch-linux pacman files by using -Z '.tar.zst=zstdcat'. + Better logging using User-Agent and X-Forwarded-For headers. + More prometheus metrics. + Support for eliding dots or extraneous slashes in path names. +- debuginfod-find: Accept /path/names in place of buildid hex. +- libelf: Handle PN_XNUM in elf_getphdrnum before shdr 0 is cached. + Ensure zlib resource cleanup on failure. +- libdwfl: dwfl_linux_kernel_find_elf and dwfl_linux_kernel_report_offline + now find and handle a compressed vmlinuz image. +- readelf, elflint: Handle PT_GNU_PROPERTY. +- translations: Updated Ukrainian translation. + * Tue Nov 26 2019 Mark Wielaard <[email protected]> 0.178-1 - debuginfod: New server, client tool and library to index and fetch ELF/DWARF files addressed by build-id through HTTP. diff --git a/config/upload-release.sh b/config/upload-release.sh index df5e3a07..b52642ea 100755 --- a/config/upload-release.sh +++ b/config/upload-release.sh @@ -50,6 +50,8 @@ cp -r $VERSION $HOME/elfutils-$VERSION # Upload scp -r $VERSION sourceware.org:/sourceware/ftp/pub/elfutils/ ssh sourceware.org "(cd /sourceware/ftp/pub/elfutils \ + && chmod go+rx $VERSION \ + && chmod go+r $VERSION/elfutils-$VERSION.tar.bz2* \ && ln -sf $VERSION/elfutils-$VERSION.tar.bz2 elfutils-latest.tar.bz2 \ && ln -sf $VERSION/elfutils-$VERSION.tar.bz2.sig elfutils-latest.tar.bz2.sig \ && ls -lah elfutils-latest*)" |