Ravenports generated: 28 May 2019 13:27
[ravenports.git] / bucket_A7 / patchelf
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               patchelf
4 VERSION=                0.10
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.10
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_TERMS=          primary:{{WRKDIR}}/TERMS
26 LICENSE_FILE=           GPLv3+:{{WRKSRC}}/COPYING
27 LICENSE_AWK=            TERMS:"^$$"
28 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/src/patchelf.cc
29 LICENSE_SCHEME=         solo
30
31 FPC_EQUIVALENT=         sysutils/patchelf
32
33 MUST_CONFIGURE=         gnu
34
35 [FILE:1299:descriptions/desc.primary]
36 PatchELF is a small utility to modify the dynamic linker and RPATH of ELF
37 executables.
38
39 Dynamically linked ELF executables always specify a dynamic linker or
40 interpreter, which is a program that actually loads the executable along
41 with all its dynamically linked libraries. (The kernel just loads the
42 interpreter, not the executable.) For example, on a Linux/x86 system the
43 ELF interpreter is typically the file /lib/ld-linux.so.2. It is sometimes
44 necessary to use a different ELF interpreter, say, when you want to test
45 a version of Glibc installed in a location other than /lib.
46
47 Precompiled third-party binaries may have interpreter paths that are
48 incompatible with the target system.  This is where PatchELF comes in.
49 You can simply rewrite the executable:
50
51   $ patchelf --set-interpreter /my/lib/my-ld-linux.so.2 program
52
53 This modifies the interpreter section of program to refer to the specified
54 file. This is not quite trivial because the path of the new interpreter may
55 be longer than the old one, in which case it won't fit. PatchELF takes
56 care of growing the executable with sufficient space at the beginning to
57 contain the new interpreter field. As a result, the resulting program may
58 be one page (4 KiB) larger.
59
60 Likewise it is possible to change or remove RPATHs embedded in ELF files.
61
62
63 [FILE:105:distinfo]
64 b3cb6bdedcef5607ce34a350cf0b182eb979f8f7bc31eae55a93a70a3f020d13        99589 NixOS-patchelf-0.10.tar.gz
65
66
67 [FILE:42:manifests/plist.primary]
68 bin/patchelf
69 share/man/man1/patchelf.1.gz
70
71
72 [FILE:26:manifests/plist.docs]
73 share/doc/patchelf/README
74