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