pacman/scripts/libmakepkg
Jan Alexander Steffens (heftig) 03272ad571 libmakepkg: Support file 5.33's application/x-pie-executable
file 5.33 introduces a new MIME type "application/x-pie-executable",
which is used for relocatable binaries. makepkg ignored these binaries
and did not attempt to strip them.

Handle the new MIME type like the old "application/x-sharedlib".
Stripping the binaries with --strip-unneeded to keep relocation
information should be the correct thing to do.

file 5.33 also misidentifies actual libraries as PIE executables, so we
didn't strip any shared libraries, either. We now work around this bug.

Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
2018-05-12 22:57:47 +10:00
..
integrity libmakepkg/integrity: determine what is a signature preferring local filename 2018-05-12 21:30:51 +10:00
lint_config libmakepkg: Add basic rules to lint makepkg.conf variables 2018-03-15 14:34:13 +10:00
lint_package Update coyrights for 2018 2018-03-14 13:31:31 +10:00
lint_pkgbuild libmakepkg: only save the shellopts we need 2018-05-12 21:11:52 +10:00
source Update coyrights for 2018 2018-03-14 13:31:31 +10:00
tidy libmakepkg: Support file 5.33's application/x-pie-executable 2018-05-12 22:57:47 +10:00
util util/pkgbuild: fix broken indentation 2018-05-12 22:22:54 +10:00
.gitignore libmakepkg: fix .gitignore to simply ignore all generated .sh files 2017-12-07 15:37:20 +10:00
integrity.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
lint_config.sh.in libmakepkg: Add basic rules to lint makepkg.conf variables 2018-03-15 14:34:13 +10:00
lint_package.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
lint_pkgbuild.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
source.sh.in remove unneeded break argument from option parsing 2018-05-12 21:09:37 +10:00
srcinfo.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
tidy.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
util.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00