Commit Graph

550 Commits

Author SHA1 Message Date
Alexey Tourbin
5c202f0b50 4.0.4-alt101.M80P.2
- Implemented limited support for large files: a 2GB+ file can now be packaged,
  but the total size of uncompressed cpio payload is capped at 4 GB.
- Automatically downgrade LZMA compression levels 7-9 -> 6 on small payloads.
2018-06-26 12:54:10 +03:00
Ivan Zakharyaschev
c58b3a24d0 4.0.4-alt101.M80P.1 - Merged rpm-build-4.0.4-alt102 into p8 (everything except for separating rpm & -build):
[4.0.4-alt102]
  + verify-elf: fixed passing of LD_PRELOAD in verify_unresolved.
  [4.0.4-alt101]
  + verify-elf: made verify_lfs check shared objects too.
  + Relaxed check for gcc package name in {cpp,pkgconfiglib}.req generators.
  [4.0.4-alt100.99]
  + Updated generator of non-LFS functions list.
  [4.0.4-alt100.97]
  + fixup-libraries: fixed recognition of PIEs (ldv@).
  + verify-elf: treat PIEs as executables in the check for unresolved symbols (ldv@).
2017-01-17 16:16:56 +03:00
cd09d0527e [rpm-build 4.0.4-alt102] cherry-picked (skipped the separation of rpm & -build)
- verify-elf: fixed passing of LD_PRELOAD in verify_unresolved.
2017-01-17 16:16:31 +03:00
Gleb Fotengauer-Malinovskiy
8605fa7393 [rpm-build 4.0.4-alt101] cherry-picked (skipped the separation of rpm & -build)
- verify-elf: made verify_lfs check shared objects too.
- Relaxed check for gcc package name in {cpp,pkgconfiglib}.req generators.
- [not for p8] rpm-build: add R: rpmspec.
2017-01-17 16:16:03 +03:00
Gleb Fotengauer-Malinovskiy
e6eb33cf4b [rpm-build 4.0.4-alt100.99] cherry-picked (skipped the separation of rpm & -build)
- Fixed non-LFS check in verify-elf.
- [not for p8] Dropped fake provides made for rpm 4.13.0 bootstrap.
2017-01-17 16:10:06 +03:00
Gleb Fotengauer-Malinovskiy
1b41cd0741 Fix generation of verify-elf-non-lfs-funcs.list
If there were both `func' and `func'64, `func' was considered non-LFS.
Unfortunately, that approach missed functions like fts64_* and
readdir64_r.
2017-01-17 16:07:21 +03:00
Ivan Zakharyaschev
22eb7f0c27 4.0.4-alt100.96.M80P.1 - Build for p8. - verify-elf: correctly handle grep's status
...in practically impossible cases.
2016-12-09 03:27:48 +03:00
Ivan Zakharyaschev
f415265c95 Merge branch 'alt', remote-tracking branch 'ldv@ALT/maint' into altM/80P 2016-12-09 03:27:26 +03:00
0e2f86b0fb 4.0.4-alt100.97
- fixup-libraries: fixed recognition of PIEs.
- verify-elf: treat PIEs as executables in the check for unresolved symbols.
2016-12-07 11:30:44 +00:00
8c1f9d589b Move "is this ELF shared object an executable" check to a separate script
* configure.ac (AC_OUTPUT): Add scripts/fixup-libraries.
* rpm-4_0.spec (%files build): Add %_rpmlibdir/is_elf_so_executable.
* scripts/is_elf_so_executable: New file.
* scripts/Makefile.am (EXTRA_DIST, config_SCRIPTS): Add it.
* scripts/fixup-libraries: Rename to scripts/fixup-libraries.in,
use is_elf_so_executable.
2016-12-07 11:30:42 +00:00
Ivan Zakharyaschev
d9f7deba30 4.0.4-alt100.95.M80P.1 - Build for p8. 2016-12-01 13:40:39 +03:00
Ivan Zakharyaschev
401d9520ba 4.0.4-alt100.96
- verify-elf: don't confuse the initial verify_rpath() in case
  of two RUNPATH/RPATHs (ALT#32826).
2016-11-30 17:50:04 +03:00
Ivan Zakharyaschev
00635cb1ac 4.0.4-alt100.95
- verify-elf: honor RUNPATH in addition to RPATH, too (like in lib.req).
- (unnoticeable) shell.req: generalize the shebang regexp w.r.t. other
  hardcoded locations of /usr/bin/env. (No need to be too strict here:
  shebang.req should catch bad locations. It's not our job.)
- %distribution: ALT Linux --> ALT (ALT#32707).
2016-11-29 15:12:34 +03:00
Ivan Zakharyaschev
06f844cd6f 4.0.4-alt100.94
- shell.req: use the version of (ba|)sh from the shebang.
- find-{requires,provides}: run all scripts even for empty lists of files.
2016-05-24 23:08:16 +03:00
Ivan Zakharyaschev
edf305d42c 4.0.4-alt100.93
- find-requires fixed for packages consisting completely of symlinks.
2016-04-06 03:30:21 +03:00
Ivan Zakharyaschev
e6e202e522 4.0.4-alt100.92
- find-requires: treat symlinks leading to some real content all way
  through the same package as that content.
- find-{requires,provides}: in case of an error in it, the pipe to it
  will be broken (must not change the visible behavior of rpm-build).
2016-04-05 23:26:03 +03:00
Ivan Zakharyaschev
0f969acf44 percolate: register it in Makefile etc. 2016-04-05 22:57:42 +03:00
Ivan Zakharyaschev
484d6f523f 4.0.4-alt100.91
- brp-verify_elf: handle all rules for setting LD_PRELOAD in the form
  of pairs of RPM_LD_PRELOAD_@ and RPM_FILES_TO_LD_PRELOAD_@ env vars.
- verify-elf: substitute LD_PRELOAD with "$VERIFY_ELF_LD_PRELOAD"
  before ldd (i.e., any prior value of LD_PRELOAD will be cleared!)
- examples of usage of the above facilities:
  rpm-build-python3-0.1.9.3 and rpm-build-python.
2016-03-31 21:23:29 +03:00
a0380cbc27 4.0.4-alt100.90
- lib.req: made "no symbol bindings" condition fatal.
- relative: fixed potential heap buffer overflow (by Gleb F-Malinovskiy).
- rpmrc.in: armv7: do not force FPU kind, rely on compiler defaults
  (by Sergey Bolshakov).
2016-03-10 16:27:08 +00:00
3899fb125e 4.0.4-alt100.89.1
- ldd: reverted recent change (closes: #31870).
2016-03-10 16:14:33 +00:00
f4c77cad3e 4.0.4-alt100.89
- brp-bytecompile_python: exclude paths listed
  in $RPM_PYTHON3_COMPILE_INCLUDE (ALT#28606).
- ldd: pass --list to rtld.
2016-03-09 15:23:58 +00:00
Gleb Fotengauer-Malinovskiy
0f9a4a36ae 4.0.4-alt100.88
- compress_files: changed default method to xz.
2015-12-02 21:51:48 +03:00
Gleb Fotengauer-Malinovskiy
ae81f541b9 compress_files: change default method to xz 2015-12-02 21:46:44 +03:00
010eb422d8 4.0.4-alt100.87
- rpm-build: removed texinfo from requirements.
2015-11-30 18:52:16 +00:00
Gleb Fotengauer-Malinovskiy
ab529f8498 4.0.4-alt100.86
- Made rpm2cpio exit code accurate for large packages.
2015-11-18 20:53:31 +03:00
Gleb Fotengauer-Malinovskiy
499405d5b4 4.0.4-alt100.85
- Added aarch64 architecture support.
2015-09-15 14:09:54 +03:00
Gleb Fotengauer-Malinovskiy
b01060affd 4.0.4-alt100.84
- set.c: rewritten without nested functions.
- find-package: added support for newer naming of gcc and
  libstdc++-devel.
2015-05-21 18:54:44 +03:00
Gleb Fotengauer-Malinovskiy
067436eba4 4.0.4-alt100.83
- platform.in: added support for gcc >= 5.
2015-05-18 13:12:14 +03:00
Gleb Fotengauer-Malinovskiy
7ddeb99e44 4.0.4-alt100.82
- platform.in: removed -Wtrampolines from %optflags_warnings (enabled
  by default in gcc >= 4.9.2-alt3).
2015-03-20 18:14:11 +03:00
23214e4126 4.0.4-alt100.81
- platform.in: added -Wtrampolines to %optflags_warnings.
- librpmbuild: rewritten without using nested functions.
- verify-elf: fixed regression in verify_lfs.
2015-01-28 17:55:30 +00:00
bbb649bae3 4.0.4-alt100.80
- verify-elf: resurrected verify_stack.
2015-01-26 21:05:28 +00:00
7af393f36d 4.0.4-alt100.79
- rpmbuild: implemented finer control for %_deps_optimization
  (by viy@; closes: #30476).
2014-11-19 17:26:33 +00:00
Gleb Fotengauer-Malinovskiy
decd789cf4 4.0.4-alt100.78
- Backported Disttag.
- psm.c: write installed/removed package buildtime to syslog.
2014-06-24 19:06:57 +04:00
1efb40518c 4.0.4-alt100.77
- fixup-binconfig:
  extended library search path stripping algorithm to handle rpaths.
- pkgconfig.{req,prov}:
  allowed pkgconfig names to start with "+" (closes: #29737).
2014-02-25 12:25:53 +00:00
f5810fbcf0 4.0.4-alt100.76
- cpp.req: adapted parser to handle cpp 4.8 output.
- rpmdb: fixed miscompilation by gcc 4.8.
2014-02-15 23:00:18 +00:00
24478642d6 4.0.4-alt100.75
- platform.in: added %add_debuginfo_skiplist and related macros.
- debugedit: enhanced error diagnostics.
2013-10-29 00:52:21 +00:00
e74632ca05 4.0.4-alt100.74
- debugedit: updated from rpm.org.
2013-10-28 21:54:44 +00:00
d2f2f79664 4.0.4-alt100.73
- fixup-pkgconfig: workaround some broken pkgconfig files (closes: #29427).
- Fixed build with new automake.
2013-10-28 14:22:25 +00:00
042f4d132a 4.0.4-alt100.72
- Fixed build with new gettext.
2013-04-08 20:10:07 +00:00
fb9e0c6402 4.0.4-alt100.71
- rpmbuild: enhanced interdep to ignore packages that are not going
  to be written.
2013-04-03 01:33:42 +00:00
24c37fbda4 4.0.4-alt100.70
- find-lang:
  + enhanced regexps;
  + enabled --with-qt option support (closes: #28288).
2013-03-11 23:18:03 +00:00
59b7b16f3f 4.0.4-alt100.69
- %_configure_update_config: handle the case when %_configure_script
  is a symlink.
- platform.in: added more systemd macros:
  %_binfmtdir, %_modulesloaddir, %_presetdir, %_sysctldir,
  %_tmpfilesdir, %_udevhwdbdir, %_udevrulesdir.
- po: fixed typo (by icesik@; closes: #28614).
- find-lang: added QT .qm files support and --with-qt option (closes: #28288).
2013-03-08 17:13:05 +00:00
af88389e45 4.0.4-alt100.68
- rpmbuild: fixed potential use after free introduced in 4.0.4-alt31.
2013-01-29 16:16:14 +00:00
c074cbf9cf 4.0.4-alt100.67
- rpmbuild: enhanced interdep to ignore packages that are not going
  to be written.
2013-01-29 00:54:43 +00:00
fb3f29e079 4.0.4-alt100.66
- build: avoid adding duplicate debuginfo requirements.
2013-01-28 16:25:51 +00:00
66fde39891 4.0.4-alt100.65
- build: fixed a prehistoric bug in version compare algorithm.
2013-01-28 01:20:33 +00:00
604cdda3e0 4.0.4-alt100.64
- build: enhanced interdep algorithm further so that manual requirements
  containing "<" or ">" operators are now left intact, while all
  generated requirements on subpackages are now made strict.
2013-01-26 22:32:13 +00:00
9c22a08868 4.0.4-alt100.63
- build:
  - Fixed Epoch handling for deps whose senses are identical.
  - Enhanced interdep to add strict interpackage requirements
    and missing Epochs automatically when appropriate.
  - Lowered "non-strict dependency" and "dependency needs Epoch"
    errors back to warnings bacause of the change listed above.
  - Removed no longer needed %_allowed_nonstrict_interdeps support.
2013-01-26 18:29:27 +00:00
2f950f6259 4.0.4-alt100.62
- platform.in: added %EVR macro for use in inter-package dependencies.
- build: upgraded "dependency needs Epoch" warning to error.
2013-01-24 21:21:08 +00:00
df6da6843a 4.0.4-alt100.61
- fixup-desktop: fixed regexp.
- build: added %_allowed_nonstrict_interdeps macro to control how
  interdep check errors are treated; the macro is a list of space
  separated pairs of allowed non-strict deps, elements in pairs are
  separated by commas.  By default, the macro is not defined so
  the list is empty and therefore non-strict deps are not allowed.
2013-01-24 05:54:36 +00:00