Ravenports generated: 04 Feb 2024 05:27
[ravenports.git] / bucket_A7 / patchelf
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               patchelf
4 VERSION=                0.18.0
5 KEYWORDS=               sysutils
6 VARIANTS=               standard
7 SDESC[standard]=        ELF Utility to modify dynamic linker and RPATH
8 HOMEPAGE=               https://github.com/NixOS/patchelf
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/NixOS:patchelf:0.18.0
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         man
18                         docs
19
20 OPTIONS_AVAILABLE=      none
21 OPTIONS_STANDARD=       none
22
23 USES=                   autoreconf c++:primary cpe gmake
24
25 LICENSE=                GPLv3+:primary
26 LICENSE_TERMS=          primary:{{WRKDIR}}/TERMS
27 LICENSE_FILE=           GPLv3+:{{WRKSRC}}/COPYING
28 LICENSE_AWK=            TERMS:"^$$"
29 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/src/patchelf.cc
30 LICENSE_SCHEME=         solo
31
32 CPE_PRODUCT=            patchelf
33 CPE_VENDOR=             patchelf_project
34 FPC_EQUIVALENT=         sysutils/patchelf
35
36 MUST_CONFIGURE=         gnu
37
38 [FILE:1299:descriptions/desc.primary]
39 PatchELF is a small utility to modify the dynamic linker and RPATH of ELF
40 executables.
41
42 Dynamically linked ELF executables always specify a dynamic linker or
43 interpreter, which is a program that actually loads the executable along
44 with all its dynamically linked libraries. (The kernel just loads the
45 interpreter, not the executable.) For example, on a Linux/x86 system the
46 ELF interpreter is typically the file /lib/ld-linux.so.2. It is sometimes
47 necessary to use a different ELF interpreter, say, when you want to test
48 a version of Glibc installed in a location other than /lib.
49
50 Precompiled third-party binaries may have interpreter paths that are
51 incompatible with the target system.  This is where PatchELF comes in.
52 You can simply rewrite the executable:
53
54   $ patchelf --set-interpreter /my/lib/my-ld-linux.so.2 program
55
56 This modifies the interpreter section of program to refer to the specified
57 file. This is not quite trivial because the path of the new interpreter may
58 be longer than the old one, in which case it won't fit. PatchELF takes
59 care of growing the executable with sufficient space at the beginning to
60 contain the new interpreter field. As a result, the resulting program may
61 be one page (4 KiB) larger.
62
63 Likewise it is possible to change or remove RPATHs embedded in ELF files.
64
65
66 [FILE:107:distinfo]
67 1451d01ee3a21100340aed867d0b799f46f0b1749680028d38c3f5d0128fb8a7       331312 NixOS-patchelf-0.18.0.tar.gz
68
69
70 [FILE:48:manifests/plist.primary]
71 bin/patchelf
72 share/zsh/site-functions/_patchelf
73
74
75 [FILE:29:manifests/plist.man]
76 share/man/man1/patchelf.1.gz
77
78
79 [FILE:29:manifests/plist.docs]
80 share/doc/patchelf/README.md
81