./devel/patchelf, Modify the dynamic linker and RPATH of ELF binaries

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.18.0nb1, Package name: patchelf-0.18.0nb1, Maintainer: pkgsrc-users

PatchELF is a small utility to modify the dynamic linker and RPATH
of ELF executables. It is used by the Nix Packages collection
(nixpkgs).


Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 413.369 KB

Version history: (Expand)


CVS history: (Expand)


   2024-10-14 20:38:20 by Greg Troxel | Files touched by this commit (1)
Log message:
devel/patchelf: Require gcc10 for std::optional

This package was marked to require gcc8 because of std::optional.
Change to 10 to align with the limited versions guidance in
mk/compiler/gcc.mk, to avoid building 8 on a typical system which has
had to build 10 anyway.

Add a comment explaining that the mk/compiler/gcc.mk choice of 7 for
c++17 is buggy because declaring c++17 does not lead to a compiler
that can compile c++17 programs, and that there is no carve out for
std::optional.

Builds on n9/i386 and n10/amd64.
   2023-08-28 17:09:33 by Frederic Cambus | Files touched by this commit (4)
Log message:
*: reset MAINTAINER to pkgsrc-users@NetBSD.org.
   2023-04-30 12:48:23 by Frederic Cambus | Files touched by this commit (1)
Log message:
patchelf: bump GCC_REQD to 8, this fixes the build on NetBSD 9.

Pointed out by wiz@, thanks!
   2023-04-25 15:51:50 by Jonathan Perkin | Files touched by this commit (9)
Log message:
*: GCC_REQD must always be appended to.
   2023-04-23 22:05:52 by Frederic Cambus | Files touched by this commit (3) | Package updated
Log message:
patchelf: update to 0.18.0.

- Add options to print, clear and set executable stack state
- Modernizations and strictness improvements
- Add feature to rename dynamic symbols
- Adjust roundUp for 0 as input
- Avoid overlapping program header table with section header table
- Other switches might set changed as true. Use extraStrings size
- Use the largest segment alignment for libraries requiring non-standard
  alignments
- Add one extra page to avoid overlapping with next page if its rounded...
- Add zsh completion
- Do not let modifyRPath taint shared strings in strtab
- Resize segment mapping rewritten sections if needed
   2023-01-11 10:16:12 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
patchelf: update to 0.17.2.

- Also pass STRIP to the tests
- Fix Out-of-bounds read in the function modifySoname
- Split segment size fix
   2022-11-07 23:38:02 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
patchelf: update to 0.17.0.

- fix pagesize on ia64
- write out replace sections in original order
- patchelf: correct page size for sparc64/sparc32
- update vendored elf file
- add workaround for readelf from binutils 2.30
- make objdump/objcopy/readelf configurable and respect cross-compiling
   2022-10-29 15:37:14 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
patchelf: update to 0.16.1.

0.16.1

- This release only fixes the incorrect reported version by the 0.16.0
  release

0.16.0

- Handle glibc-hwcaps on ppc64le on CentOS/RHEL/Rocky 8 for
  tests/replace-add-needed.sh
- Add --print-os-abi and --set-os-abi options
- Fix Out-of-bounds read in the function modifyRPath
- Sync .note.gnu.property to PT_GNU_PROPERTY
- Fix out of bounds access when increasing program header table
- Rework file shifting to avoid sections crossing multiple segments