rpm-build/scripts
Ivan Zakharyaschev b491c783f6 verify_stack(): distinguish failures and a normal status of grep
Now, if something fails, the pipe (and the function, and the whole
script) will fail.

If the exit codes are normal, they are handled according to our logic.

Previously, a failure (which is an exceptional rare case) would lead to:

1. skipping the further exe_stack check and error_strict STACK "$f" 'STACK entry not found'
2. silently skipping the exe_stack check (which was impossible anyway because of the failure)
2018-05-23 17:00:54 +03:00
..
.provides.sh find-package: renamed FindByPath -> FindByFile 2010-04-08 11:24:55 +04:00
0common-files.req.list Disable sisyphus_check dirlist test for /usr/lib/rpm 2016-12-08 19:24:36 +03:00
0ldconfig.filetrigger 0ldconfig.filetrigger: execute telinit if appropriate 2012-08-30 23:05:00 +00:00
brp-adjust_libraries.in Removed cvsid tags. 2006-05-14 17:05:34 +04:00
brp-alt.in %%distribution: ALT Linux --> ALT (ALT#32707) and some minor corrections of old @altlinux.ru addresses 2016-11-29 15:12:34 +03:00
brp-bytecompile_python.in brp-bytecompile_python: exclude paths listed in $RPM_PYTHON3_COMPILE_INCLUDE (ALT#28606) 2016-03-09 15:02:22 +00:00
brp-check_contents.in brp-check_contents: do not suppress normal grep output 2017-10-26 14:23:23 +00:00
brp-cleanup.in brp-cleanup: perl cleanup routines moved to rpm-build-perl 2011-10-21 01:27:51 +04:00
brp-compress.in scripts/brp-compress.in: Avoid non-standard info directories (ALT#19993) 2009-05-20 21:51:11 +00:00
brp-debuginfo.in scripts: ignore ELF shared objects with "no" machine type 2017-04-18 16:42:41 +00:00
brp-fix-perms.in brp-fix-perms: fix "find -perm" syntax 2012-08-08 13:15:41 +00:00
brp-fixup.in fixup-desktop: new file that does trivial fixes in desktop files 2011-05-13 21:43:39 +00:00
brp-hardlink_pyo_pyc.in introduce brp-hardlink_pyo_pyc (splitted from brp-bytecompile_python) 2012-01-25 14:23:12 +00:00
brp-verify_elf.in scripts: ignore ELF shared objects with "no" machine type 2017-04-18 16:42:41 +00:00
brp-verify-info.in Implement info files verification 2009-05-20 23:25:58 +00:00
compress_files.in compress_files: change default method to xz 2015-12-02 21:46:44 +03:00
cpp.req.files cpp.req: new dependency generator for header files 2011-02-27 03:51:26 +03:00
cpp.req.in Relax check for gcc package name in {cpp,pkgconfiglib}.req generators 2016-12-20 17:49:07 +03:00
debuginfo.prov.files scripts: ignore ELF shared objects with "no" machine type 2017-04-18 16:42:41 +00:00
debuginfo.prov.in implemented debuginfo.req and debuginfo.prov 2011-02-04 02:55:25 +03:00
debuginfo.req.files scripts: ignore ELF shared objects with "no" machine type 2017-04-18 16:42:41 +00:00
debuginfo.req.in scripts: cleanup readelf(1) invocations 2013-01-10 22:04:19 +00:00
files.req.files.in files.req: reserve second field in *-files.req.list for owner package name 2008-06-17 08:05:10 +04:00
files.req.in files.req: added description and copyright 2008-06-22 11:52:53 +04:00
find-debuginfo-files.in find-debuginfo-files: fix packaging of symlinks 2011-12-06 15:04:05 +00:00
find-lang.in find-lang: update copyright information 2013-03-11 23:15:51 +00:00
find-package.in find-package.in: group the pruned packages nicer in the list 2018-05-15 17:26:10 +00:00
find-scriptlet-requires.in find-requires, find-scriptlet-requires: enabled FINDPACKAGE-COMMANDS output 2010-04-08 11:24:58 +04:00
fixup-binconfig.in scripts: introduced tmpdir.sh 2011-09-22 02:58:59 +04:00
fixup-desktop.awk scripts/fixup-desktop.awk: fix regexp 2013-01-11 22:36:49 +00:00
fixup-desktop.in scripts: introduced tmpdir.sh 2011-09-22 02:58:59 +04:00
fixup-libraries.in scripts: ignore ELF shared objects with "no" machine type 2017-04-18 16:42:41 +00:00
fixup-libtool.in fixup-libtool, fixup-pkgconfig: Quote substitution text (ALT#11437) 2008-07-07 22:07:40 +00:00
fixup-pkgconfig.in fixup-binconfig: strip rpaths 2014-02-25 12:25:51 +00:00
functions scripts/functions: export LC_ALL=C 2013-01-10 22:38:52 +00:00
is_elf_so_executable Move "is this ELF shared object an executable" check to a separate script 2016-12-07 11:30:42 +00:00
ldd.in ldd.in: try interpreters listed in /usr/bin/ldd 2018-05-15 17:26:10 +00:00
lib.prov.files scripts: ignore ELF shared objects with "no" machine type 2017-04-18 16:42:41 +00:00
lib.prov.in lib.req, lib.prov: simplify leading number check in ProvidedSymbols 2011-02-06 03:42:15 +03:00
lib.req.files scripts: ignore ELF shared objects with "no" machine type 2017-04-18 16:42:41 +00:00
lib.req.in lib.req: make "no symbol bindings" condition fatal 2016-03-10 15:30:27 +00:00
Makefile.am Introduce brp-check_contents 2017-10-25 03:16:59 +00:00
pam.prov.files scripts/pam.*.files: Optimize filename check 2007-11-10 20:47:03 +00:00
pam.prov.in adapted pam.req and pam.prov 2007-03-12 15:06:07 +03:00
pam.req.files scripts/pam.*.files: Optimize filename check 2007-11-10 20:47:03 +00:00
pam.req.in pam.req.in: Handle lines with conditional controls 2009-06-26 00:17:19 +00:00
percolate.in percolate: removed loop optimization (for code clarity), result won't change 2016-04-06 03:26:17 +03:00
pkgconfig.req.files pkgconfig.req.files: ignore file type, treat all non-symlinks the same way 2012-12-22 14:41:22 +00:00
pkgconfig.req.in pkgconfig.req.in: allow pkgconfig names to start with + (ALT#29737) 2014-02-25 12:22:12 +00:00
pkgconfiglib.req.in Relax check for gcc package name in {cpp,pkgconfiglib}.req generators 2016-12-20 17:49:07 +03:00
posttrans-filetriggers.in posttrans-filetriggers: minor changes 2008-11-12 05:10:51 +03:00
rpm2cpio.sh rpm2cpio.sh: output raw/compressed cpio stream 2009-09-24 12:35:42 +04:00
rpmlib.req.files.in Revert "rpmlib.req: generate rpmlib(PosttransFiletriggers) dependency for /usr/lib/rpm/*.filetrigger" 2008-11-25 15:37:14 +00:00
rpmlib.req.in Revert "rpmlib.req: generate rpmlib(PosttransFiletriggers) dependency for /usr/lib/rpm/*.filetrigger" 2008-11-25 15:37:14 +00:00
shebang.req.files scripts/*.req.files: Fix "not executable" wording 2007-11-10 20:47:02 +00:00
shebang.req.in shebang.req (ShebangReq): fix the check for absolute pathname (ALT#23716) 2010-07-03 00:23:03 +00:00
shell.prov.files adapted shell.req and shell.prov 2007-03-11 15:00:23 +03:00
shell.prov.in adapted shell.req and shell.prov 2007-03-11 15:00:23 +03:00
shell.req.files shell.req.files: adjusted /bin/ash pattern 2009-06-21 00:20:31 +04:00
shell.req.in added me to "Copyright (C)" 2016-11-28 22:37:13 +03:00
shlib.req.awk Add shlib.req.awk 2006-01-11 00:39:39 +00:00
static.req.files factored static.req 2007-03-11 15:00:35 +03:00
static.req.in factored static.req 2007-03-11 15:00:35 +03:00
symlinks.req.files symlinks.req.files: do all symbolic links (will emit file-level dependencies for targets under RPM_BUILD_ROOT) 2007-12-03 14:22:54 +03:00
symlinks.req.in symlinks.req: do only one single step of symlink resolution 2007-11-17 10:52:57 +03:00
tmpdir.sh scripts: introduced tmpdir.sh 2011-09-22 02:58:59 +04:00
verify-elf.in verify_stack(): distinguish failures and a normal status of grep 2018-05-23 17:00:54 +03:00