Commit Graph

585 Commits

Author SHA1 Message Date
Gleb Fotengauer-Malinovskiy
aa125cd61d 4.0.4-alt119
- Add _allow_deps_with_beginning_dot macro to allow dependencies
  beginning with a dot character (such as ones generated by replaceDeps
  function) in spec file (vseleznv@).
2018-10-03 14:41:25 +03:00
a2f575f8e4 4.0.4-alt118
- Added support for RPM_ADD_CHANGELOG_{NAME,TEXT,TIME} environment variables.
2018-09-24 18:07:32 +03:00
9d1b68fa8e 4.0.4-alt117
- 0common-files.req.list: removed /etc/syslog.d/.
2018-08-28 18:05:40 +00:00
f5ef46abda 4.0.4-alt116
- Removed alternatives from requirements.
2018-07-26 15:10:02 +00:00
Gleb Fotengauer-Malinovskiy
9d1cffa66c 4.0.4-alt115
- rpmrc: added mips64* and mips*r6 support.
- verify-elf: disabled stack verification and elflint on mips* (iv@).
- Fixed installation of platform macros on armh arch.
2018-07-26 18:10:02 +03:00
Alexey Tourbin
50f7517a73 4.0.4-alt114
- cpio.c: Fixed the conversion of 8-digit hex file sizes from cpio header.
  Packages with a 2GB+ file should now be installable.
2018-06-30 15:59:44 +03:00
Alexey Tourbin
691451d42e 4.0.4-alt101.M80P.3
- cpio.c: Fixed the conversion of 8-digit hex file sizes from cpio header.
  Packages with a 2GB+ file should now be installable.
2018-06-30 15:56:09 +03:00
Alexey Tourbin
72ad101add 4.0.4-alt113
- 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 13:03:42 +03:00
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
Gleb Fotengauer-Malinovskiy
fb0d6bde07 4.0.4-alt112
- imz@:
  + Turned on running %__find_{conflicts,obsoletes} if they are defined.
  + shell.req.files: included #!/usr/bin/env sh.
  + verify-elf: allowed standalone use (without failing due to grep's status).
- macro.c: increased maximal macro depth.
- Introduced %_libsuff and %_is_libsuff macros.
- Added support of mips{,n32,64}{,el}, riscv64, and s390x targets.
- Added non-lfs symbols from librt.so.1 library to verify_lfs check.
- Filtered string functions from the list of non-lfs symbols.
2018-06-08 16:20:31 +03:00
11db8f897a spec: fix typo in %changelog 2018-05-29 13:13:20 +03:00
Gleb Fotengauer-Malinovskiy
e9dcdf727e Introduce mips{,n32,64}{,el}, riscv64, and s390x architectures 2018-05-29 13:13:20 +03:00
Ivan Zakharyaschev
5b30923d48 (.spec) install -m0755 is the correct use not to inherit other mode bits
(Also a tiny tweak: install -T is safer because the destination could
be an existing directory.)
2018-05-23 17:02:10 +03:00
e687e8df8d 4.0.4-alt111
- ldd: changed to try interpreters listed in /usr/bin/ldd.
- platform: changed %__nprocs to use nproc(1) instead of /proc/stat.
2018-05-22 00:09:29 +00:00
6d004bec60 4.0.4-alt110
- Added support for RPM_STRICT_INTERDEPS environment variable.
2018-04-26 01:55:36 +03:00
Andrew Savchenko
6ea70e0bdd
4.0.4-alt109
- Add e2k arch and subarches:
  - Modify installplatform for e2k.
  - Add e2k arch, subarches and all macros for them.
- Tag changes (by vseleznev):
  - Add RPMTAG_IDENTITY, RPMTAG_AUTOINSTALLED.
  - respect device ID when remap inodes.
2018-03-27 20:41:56 +03:00
9a33fb0619 4.0.4-alt108
- platform.in:
  + %_smp_mflags: changed to use %__nprocs;
  + added -O option to MAKEFLAGS.
- installplatform, rpmrc.in: made armv8l compatible with armh (by Sergey Bolshakov).
2018-01-17 21:55:12 +00:00
7b57257398 platform.in: add -O option to MAKEFLAGS 2018-01-17 21:53:02 +00:00
87cf7e7cf0 4.0.4-alt107
- compare_deps: fixed a bug in handling epochs.
- platform.in:
  + %optflags_core: added -frecord-gcc-switches (see: #34162);
  + %make_build: implemented as a simple command (closes: #34237).
- genCpioListAndHeader: implemented remapping of device and inode numbers
  (by Vladimir D. Seleznev and me; closes: #34398).
2018-01-07 00:30:31 +00:00
39db987aa6 4.0.4-alt106
- Added support for SOURCE_DATE_EPOCH environment variable
  (by Vladimir D. Seleznev; closes: #34200).
- Dropped bzdio support.
2017-11-20 01:42:20 +00:00
96a5445b98 Drop bzdio support
There is no use in supporting bzip2 compressed payloads in rpmbuild nowadays.
2017-11-20 01:42:20 +00:00
36debebed4 4.0.4-alt105
- brp-check_contents: enabled strict error checking by default.
2017-10-26 14:23:23 +00:00
877b43c83e 4.0.4-alt104
- Introduced brp-check_contents.
2017-10-25 03:16:59 +00:00
baee9cdb9c 4.0.4-alt103
- When scanning files for deps, debuginfo, fixup, and verify_elf,
  ignore ELF files generated by GNU Guile.
2017-04-18 16:50:48 +00: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
8331557f70 4.0.4-alt102
- verify-elf: fixed passing of LD_PRELOAD in verify_unresolved.
2017-01-14 13:42:53 +00:00
e8c780c2b0 Disable build and install of unpackaged files
These are no longer packaged anyway, so no need to bother.
2017-01-14 13:42:53 +00:00
e0e8952034 Disable build of static libraries and executables
These are no longer packaged anyway, so no need to bother.
2017-01-14 13:42:53 +00:00
Gleb Fotengauer-Malinovskiy
509272d41b 4.0.4-alt101
- verify-elf: made verify_lfs check shared objects too.
- Relaxed check for gcc package name in {cpp,pkgconfiglib}.req generators.
- rpm-build: add R: rpmspec.
2016-12-20 20:29:45 +03:00
Gleb Fotengauer-Malinovskiy
c90b86d89b 4.0.4-alt100.99
- Fixed non-LFS check in verify-elf.
- Dropped fake provides made for rpm 4.13.0 bootstrap.
2016-12-19 17:07:39 +03:00
Gleb Fotengauer-Malinovskiy
ccc38e9d0a Revert "Add fake provides for librpm{,build}"
Bootstrap of rpm-4.13.0 is now complete, we can drop this fake provides.

This reverts commit 477fe329f3.
2016-12-19 17:03:57 +03:00
Gleb Fotengauer-Malinovskiy
0270311591 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.
2016-12-19 16:55:34 +03:00
Gleb Fotengauer-Malinovskiy
ad5193bd04 4.0.4-alt100.98
- Restored rpmpopt file.
2016-12-16 19:44:28 +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
Gleb Fotengauer-Malinovskiy
ecd20cdbb6 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@).
- Disabled rpm's installer part.
- Built rpm-build in "compat" mode with rpm-4.13.
2016-12-08 19:24:36 +03:00
Gleb Fotengauer-Malinovskiy
477fe329f3 Add fake provides for librpm{,build}
This change is needed only for rpm-4.13+rpmbuild-4.0.4 bootstrap.
2016-12-08 19:24:36 +03:00
Gleb Fotengauer-Malinovskiy
3691deca51 Rename macros and rpmrc to buildmacros and rpmbuildrc
This change is needed only for rpm-4.13+rpmbuild-4.0.4 bootstrap.
Files in rpm-4.13 can and should be compatible with rpmbuild-4.0.4 and
vice versa.
2016-12-08 19:23:33 +03:00
Gleb Fotengauer-Malinovskiy
d32a8374b4 Build only rpm-build, librpm and librpmbuild packages 2016-12-08 19:18:21 +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