Commit Graph

672 Commits

Author SHA1 Message Date
Alexey Tourbin
f477104d48 4.0.4-alt98.33
- brp-strip: Speed up by optimizing file(1) invocations.
2010-03-27 01:55:29 +03:00
Alexey Tourbin
16955bc185 4.0.4-alt98.32
- build/files.c (checkHdrIntersect): Avoid quadratic behaviour.
2010-03-26 19:07:30 +03:00
Alexey Tourbin
111bf48e92 4.0.4-alt98.31
- rpmpopt.in: Do remove extra newline before %{CHANGELOGTEXT} (4.0.4-alt93).
2010-03-16 20:12:05 +03:00
Alexey Tourbin
4a406c1f73 4.0.4-alt98.30
- order.c: Factored from depends.c.
- order.c: Added missing error message.
2010-03-16 15:07:21 +03:00
Alexey Tourbin
3231024392 4.0.4-alt98.29
- al.c: Introduced "fasthash" to improve bsearch performance.
2010-03-12 11:22:47 +03:00
Alexey Tourbin
576ab23bcd spec: fixed typos in alt98.27 changelog entry 2010-03-12 11:22:19 +03:00
8ddfa7df9c 4.0.4-alt98.28
- lib.req: Recognize STB_GNU_UNIQUE symbols and add rtld(GNU_UNIQUE)
  requirement for objects that contain such symbols.
- platform.in: Added %_aclocaldir and %_locksubsysdir macros
  (closes: #22710).
2010-01-12 23:47:20 +00:00
Alexey Tourbin
20e65b0e8c 4.0.4-alt98.27
- brp-bytecompile_python: Hadlink indentical .pyc and .pyo files.
2009-12-21 04:28:04 +03:00
13ff82da53 4.0.4-alt98.26
- rpmrc.c (is_pentiumN): Added models with nonzero extended model
  (reported by Alexander Sharapov).
- brp-verify_elf: Fixed typo introduced by previous release.
- brp-verify_elf: Added "default" mode.
- verify-elf: Omit duplicate lines from eu-findtextrel's output.
2009-12-20 17:03:27 +00:00
Alexey Tourbin
e05539a161 4.0.4-alt98.25
- verify-elf: Implemented new "lint" method using "eu-elflint --gnu-ld";
  for now, enabled lint=relaxed mode (just warnings) by default.
- verify-elf: Improved "textrel" diagnostics by using eu-findtextrel.
- verify-elf: Fixed typos in "rpath" method.
2009-12-20 01:58:01 +03:00
Alexey Tourbin
b3dab5713e spec (rpm-build): Requires: elfutils >= 0.143-alt1
Also updated dependency on info-install, since install-info --test
was implemented in 4.11.
2009-12-19 03:25:49 +03:00
4fda20af28 4.0.4-alt98.24
- Recoded README.ALT-ru_RU.KOI8-R -> README.ALT-ru_RU.UTF-8.
- Rebuilt with python-2.6.x.
2009-12-01 13:08:13 +00:00
847beb95d9 Recode KOI8-R -> UTF-8 2009-12-01 13:06:10 +00:00
Alexey Tourbin
d5c7cd8f6c 4.0.4-alt98.23
- depends.c: avoid expression dependent on evaluation order
- depends.c: implemented automatic realloc
- al.c: factored from depends.c
- al.c: reimplemented alProvIndex and alDirIndex/alFileIndex routines
2009-10-04 12:56:29 +04:00
Alexey Tourbin
2534a73873 4.0.4-alt97.M50.20
- depends.c: avoid expression dependent on evaluation order
- depends.c: implemented automatic realloc
- al.c: factored from depends.c
- al.c: reimplemented alProvIndex and alDirIndex/alFileIndex routines
2009-10-04 12:55:45 +04:00
Alexey Tourbin
18ac924845 4.0.4-alt95.M41.30
- depends.c: avoid expression dependent on evaluation order
- depends.c: implemented automatic realloc
- al.c: factored from depends.c
- al.c: reimplemented alProvIndex and alDirIndex/alFileIndex routines
2009-10-04 12:54:33 +04:00
Alexey Tourbin
9c78ea85fd 4.0.4-alt77.M40.28
- depends.c: avoid expression dependent on evaluation order
- depends.c: implemented automatic realloc
- al.c: factored from depends.c
- al.c: reimplemented alProvIndex and alDirIndex/alFileIndex routines
2009-10-04 12:47:37 +04:00
Alexey Tourbin
dd1780dbbe 4.0.4-alt98.22
- Removed support for availablePackages/suggestedPackages.
- Removed rebuilddb db_filter_dups code (Panu Matilainen).
2009-10-01 04:45:02 +04:00
Alexey Tourbin
4ad3f315dc 4.0.4-alt97.M50.19
- Removed support for availablePackages/suggestedPackages.
- Removed rebuilddb db_filter_dups code (Panu Matilainen).
2009-10-01 04:44:10 +04:00
Alexey Tourbin
1a81535d23 4.0.4-alt95.M41.29
- Removed support for availablePackages/suggestedPackages.
- Removed rebuilddb db_filter_dups code (Panu Matilainen).
2009-10-01 04:43:06 +04:00
Alexey Tourbin
ff017795b1 4.0.4-alt77.M40.27
- Removed support for availablePackages/suggestedPackages.
- Removed rebuilddb db_filter_dups code (Panu Matilainen).
2009-10-01 04:42:15 +04:00
Alexey Tourbin
4c4d73c44e 4.0.4-alt98.21
- rpmio, rpmbuild: Added support for .xz/.lzma compressed sources and patches.
- Removed old scripts in /usr/lib/rpm.
2009-09-29 16:38:57 +04:00
Alexey Tourbin
f68c71a2d5 4.0.4-alt97.M50.18
- rpmio, rpmbuild: Added support for .xz/.lzma compressed sources and patches.
- Removed old scripts in /usr/lib/rpm.
2009-09-29 16:30:39 +04:00
Alexey Tourbin
1ccf0dd03c 4.0.4-alt95.M41.28
- rpmio, rpmbuild: Added support for .xz/.lzma compressed sources and patches.
- Removed old scripts in /usr/lib/rpm.
2009-09-29 16:20:33 +04:00
Alexey Tourbin
8d1cf08fe4 4.0.4-alt77.M40.26
- rpmio, rpmbuild: Added support for .xz/.lzma compressed sources and patches.
- Removed old scripts in /usr/lib/rpm.
2009-09-29 16:06:38 +04:00
Alexey Tourbin
e879cdc371 spec: copy mkinstalldirs for older autotools 2009-09-29 16:06:14 +04:00
Alexey Tourbin
6795a36bb1 great removal 2009-09-29 15:29:52 +04:00
Alexey Tourbin
19e6de9d5e added support for .xz/.lzma compressed sources and patches
This also fixes some bugs:
- %uncompress macro never worked;
- %patch -s -b .orig never worked.
2009-09-29 14:18:01 +04:00
Alexey Tourbin
0eb07b8c21 4.0.4-alt95.M41.27
- build/parsePrep.c (doUntar): Remove "-L" option from "unzip" invocation
  (Igor Vlasenko; closes: ALT#17407).
2009-09-29 12:09:31 +04:00
Alexey Tourbin
222b98db0b 4.0.4-alt77.M40.25
- build/parsePrep.c (doUntar): Remove "-L" option from "unzip" invocation
  (Igor Vlasenko; closes: ALT#17407).
2009-09-29 09:20:07 +04:00
Alexey Tourbin
f71f422a0d 4.0.4-alt98.20
- rpmio: Tweak lzma preset options for better compression.
2009-09-26 02:56:35 +04:00
Alexey Tourbin
48fd0e0358 4.0.4-alt97.M50.17
- rpmio: Tweak lzma preset options for better compression.
2009-09-26 02:54:48 +04:00
Alexey Tourbin
9c4c10a89e 4.0.4-alt95.M41.26
- rpmio: Tweak lzma preset options for better compression.
2009-09-26 02:52:55 +04:00
Alexey Tourbin
254345b682 4.0.4-alt77.M40.24
- rpmio: Tweak lzma preset options for better compression.
2009-09-26 02:49:13 +04:00
Alexey Tourbin
295cc50be1 4.0.4-alt98.19
- rpmio: Updated lzma compression routines for xz-5.0 API.
- Packaged /usr/bin/rpm2cpio.static.
2009-09-24 12:49:32 +04:00
Alexey Tourbin
79be480d0e 4.0.4-alt97.M50.16
- rpmio: Updated lzma compression routines for xz-5.0 API.
- Packaged /usr/bin/rpm2cpio.static.
2009-09-24 12:48:17 +04:00
Alexey Tourbin
776a15f6b8 4.0.4-alt95.M41.25
- rpmio: Updated lzma compression routines for xz-5.0 API.
- Packaged /usr/bin/rpm2cpio.static.
2009-09-24 12:46:31 +04:00
Alexey Tourbin
b8221108bb 4.0.4-alt77.M40.23
- rpmio: Updated lzma compression routines for xz-5.0 API.
- Packaged /usr/bin/rpm2cpio.static.
2009-09-24 12:37:05 +04:00
Alexey Tourbin
416a432059 spec, Makefile.am: packaged rpm2cpio.static 2009-09-24 12:35:41 +04:00
Alexey Tourbin
aa9387a868 4.0.4-alt97.M50.15
- Backported changes by Dmitry V. Levin:
- rpmio/macro.c (doShellEscape): Fixed potential buffer underflow (closes: #11921).
- python: Fixed build with libtool.
2009-09-24 12:21:43 +04:00
Alexey Tourbin
dbf90d4a21 4.0.4-alt95.M41.24
- Backported changes by Dmitry V. Levin:
- rpmio/macro.c (doShellEscape): Fixed potential buffer underflow (closes: #11921).
- python: Fixed build with libtool.
2009-09-24 11:57:44 +04:00
Alexey Tourbin
2c384eccb0 4.0.4-alt77.M40.22
- Backported changes by Dmitry V. Levin:
- rpmio/macro.c (doShellEscape): Fixed potential buffer underflow (closes: #11921).
- python: Fixed build with libtool.
2009-09-24 11:47:58 +04:00
73e60fb76d 4.0.4-alt98.18
- Backported %check from rpm-4.2.
- Implemented automated %check control using
  --enable/--disable/--with/--without check/test controls.
- Bumped librpmbuild soname to reflect ABI change intoduced
  along with %check support.
2009-09-09 10:41:04 +00:00
5a5dbf181d 4.0.4-alt98.17
- rpmio/macro.c (doShellEscape): Fixed potential buffer underflow (closes: #11921).
2009-07-13 23:06:29 +00:00
Alexey Tourbin
642df51ba8 4.0.4-alt98.16
- find-package: Removed contents_index_all search, enabled file-level dependencies.
2009-07-01 23:11:36 +04:00
Alexey Tourbin
1d6c258d06 4.0.4-alt97.M50.14
- find-package: Removed contents_index_all search, enabled file-level dependencies.
2009-07-01 23:09:48 +04:00
Alexey Tourbin
abed540426 4.0.4-alt95.M41.23
- find-package: Removed contents_index_all search, enabled file-level dependencies.
2009-07-01 23:06:15 +04:00
b075522075 4.0.4-alt98.15
- pam.req.in:
  + Handle lines with optional modules.
  + Handle lines with leading whitespaces.
  + Handle lines with conditional controls.
- brp-cleanup.in wrt PAM config files:
  + Changed pam_stack replacement from "include" to "substack".
  + Changed spacing.
2009-06-26 21:30:17 +00:00
Alexey Tourbin
d4327f8968 4.0.4-alt98.14
- shell.req.files: Adjusted /bin/ash script detection.
2009-06-21 00:22:58 +04:00
Alexey Tourbin
d33024c1fe 4.0.4-alt97.M50.13
- shell.req.files: Adjusted /bin/ash script detection.
2009-06-21 00:21:56 +04:00
Alexey Tourbin
7149ee127b 4.0.4-alt95.M41.22
- shell.req.files: Adjusted /bin/ash script detection.
2009-06-21 00:20:56 +04:00
Alexey Tourbin
2b74ae0cdf 4.0.4-alt98.13
- Removed _noDirTokens support (producing legacy filelist format).
- Disabled rpmlib(PayloadFilesHavePrefix), rpmlib(CompressedFileNames),
  and rpmlib(VersionedDependencies) dependencies.
- Disabled versioning for rpmlib(PayloadIsBzip2) and rpmlib(PayloadIsLzma)
  dependencies.
2009-06-17 06:44:25 +04:00
Alexey Tourbin
31dc64497c 4.0.4-alt97.M50.12
- Removed _noDirTokens support (producing legacy filelist format).
- Disabled rpmlib(PayloadFilesHavePrefix), rpmlib(CompressedFileNames),
  and rpmlib(VersionedDependencies) dependencies.
- Disabled versioning for rpmlib(PayloadIsBzip2) and rpmlib(PayloadIsLzma)
  dependencies.
2009-06-17 06:43:27 +04:00
Alexey Tourbin
fbac8f2ea4 4.0.4-alt95.M41.21
- Removed _noDirTokens support (producing legacy filelist format).
- Disabled rpmlib(PayloadFilesHavePrefix), rpmlib(CompressedFileNames),
  and rpmlib(VersionedDependencies) dependencies.
- Disabled versioning for rpmlib(PayloadIsBzip2) and rpmlib(PayloadIsLzma)
  dependencies.
2009-06-17 06:42:20 +04:00
Alexey Tourbin
b93c9a4ed8 4.0.4-alt77.M40.21
- Removed _noDirTokens support (producing legacy filelist format).
- Disabled rpmlib(PayloadFilesHavePrefix), rpmlib(CompressedFileNames),
  and rpmlib(VersionedDependencies) dependencies.
- Disabled versioning for rpmlib(PayloadIsBzip2) and rpmlib(PayloadIsLzma)
  dependencies.
2009-06-17 06:40:01 +04:00
Alexey Tourbin
2c81cc39eb 4.0.4-alt77.M40.20
- build/files.c, build/parseReqs.c: allow versioned path dependencies
2009-06-17 06:31:55 +04:00
Alexey Tourbin
65212ed107 4.0.4-alt98.12
- Remove artificial limit in dependency loop elimination attempts (Panu Matilainen).
2009-06-14 05:40:53 +04:00
Alexey Tourbin
4a6b102862 4.0.4-alt97.M50.11
- Remove artificial limit in dependency loop elimination attempts (Panu Matilainen).
2009-06-14 05:39:30 +04:00
Alexey Tourbin
de903ed718 4.0.4-alt95.M41.20
- Remove artificial limit in dependency loop elimination attempts (Panu Matilainen).
2009-06-14 05:38:27 +04:00
Alexey Tourbin
95c231c10f 4.0.4-alt77.M40.19
- Remove artificial limit in dependency loop elimination attempts (Panu Matilainen).
2009-06-14 05:37:13 +04:00
Alexey Tourbin
5b60d490d6 4.0.4-alt98.11
- rpmdb: Minor fingerprint cache improvement.
2009-06-13 09:14:24 +04:00
Alexey Tourbin
f718ef5742 4.0.4-alt97.M50.10
- rpmdb: Minor fingerprint cache improvement.
2009-06-13 09:13:22 +04:00
Alexey Tourbin
044e556faa 4.0.4-alt95.M41.19
- rpmdb: Minor fingerprint cache improvement.
2009-06-13 09:05:23 +04:00
Alexey Tourbin
01f323c74c 4.0.4-alt77.M40.18
- rpmdb: Minor fingerprint cache improvement.
2009-06-13 08:58:10 +04:00
a5760b4e0e 4.0.4-alt124
- addReqProv: fixed too aggressive merge of PreReqs introduced
  in 4.0.4-alt122.
- Applied llvm changes (by lakostis@; closes: #34671):
  + cpp.req: skip cpp checks for llvm;
  + verify-elf: bypass lint checks by request.
2019-01-14 00:32:44 +00:00
dec047fee1 4.0.4-alt123
- Dropped %_allow_deps_with_beginning_dot support
  (introduced in 4.0.4-alt119).
2019-01-10 23:20:03 +00:00
41f81eaa9c 4.0.4-alt122
- Dropped $RPM_STRICT_INTERDEPS support
  (introduced in 4.0.4-alt110).
- Made name, version, release, and disttag check stricter
  (by vseleznv@ and me).
- Changed the generator of package self-provides
  and the generator of strict intersubpackage dependencies
  to use [E:]V-R[:D] format instead of [E:]V-R
  (by vseleznv@ and me).
- addReqProv: implemented dep flags merge:
  when a stronger requirement is added while a weaker one already exists
  with incompatible flags, try to merge these flags to produce a new
  stronger requirement.  For example,
  "PreReq: %name = %version" + "Requires: %name = %version-%release"
  now results to "PreReq: %name = %version-%release".
2019-01-10 23:20:03 +00:00
b6be32e87e spec: downgrade "PreReq: librpmbuild = %version-%release" to Requires
as there seems to be no reason to use PreReq here.
2019-01-10 23:20:03 +00:00
17184e3759 4.0.4-alt121
- verify-elf: disabled stack verification and elflint on RISC-V (arei@).
- platform.in: removed harmless bash4 noise from %filter_from_* macros
  (closes: #35803).
2018-12-21 03:20:01 +00:00
95a1edd1ce 4.0.4-alt120
- lib.prov, lib.req: enhanced ProvidedSymbols (glebfm@ and me).
- Added ppc64le support (glebfm@).
2018-12-16 23:44:22 +00:00
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
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
8d651cd378 4.0.4-alt98.10
- brp-compress: Avoid non-standard info directories (closes: #19993).
- rpm-build: Implemented info files verification.
2009-05-20 23:26:04 +00:00
Alexey Tourbin
ea72e04162 4.0.4-alt98.9
- Re-enabled LZMA compression for rpm itself.
2009-05-11 00:32:49 +04:00
Alexey Tourbin
1e74968323 4.0.4-alt97.M50.9
- Re-enabled LZMA compression for rpm itself.
2009-05-11 00:31:52 +04:00
Alexey Tourbin
d5acd618d1 spec: re-enabled lzma compression for rpm itself
This reverts commit 6f575ecded.
2009-05-11 00:29:36 +04:00
Alexey Tourbin
759c59ce65 4.0.4-alt98.8
- package.c (readPackageHeaders): Use posix_fadvise(2) to disable readahead.
  When scanning a large number of packages (with e.g. rpmquery), readahead
  might cause negative effects on the buffer cache.
2009-05-11 00:01:11 +04:00
Alexey Tourbin
ed0daa3c53 4.0.4-alt97.M50.8
- package.c (readPackageHeaders): Use posix_fadvise(2) to disable readahead.
  When scanning a large number of packages (with e.g. rpmquery), readahead
  might cause negative effects on the buffer cache.
2009-05-10 23:59:41 +04:00
Alexey Tourbin
9e87611786 4.0.4-alt95.M41.18
- package.c (readPackageHeaders): Use posix_fadvise(2) to disable readahead.
  When scanning a large number of packages (with e.g. rpmquery), readahead
  might cause negative effects on the buffer cache.
2009-05-10 23:41:33 +04:00
Alexey Tourbin
29ab0634b1 4.0.4-alt77.M40.17
- package.c (readPackageHeaders): Use posix_fadvise(2) to disable readahead.
  When scanning a large number of packages (with e.g. rpmquery), readahead
  might cause negative effects on the buffer cache.
2009-05-10 23:34:49 +04:00
3eeb20b43e 4.0.4-alt98.7
- platform.in (%configure): Do not run libtoolize, to avoid
  "libtool version mismatch" disaster.
- python: Fixed build with libtool.
2009-04-23 23:10:19 +00:00
Alexey Tourbin
0b94ae2a35 4.0.4-alt98.6
- rpmdb: Rebuilt with libdb4.7.
2009-04-23 18:18:13 +04:00
Alexey Tourbin
2e360d78e9 4.0.4-alt97.M50.7
- rpmdb: Rebuilt with libdb4.7.
2009-04-23 18:17:11 +04:00
Alexey Tourbin
6347b01663 spec: rebuild with libdb4.7 2009-04-23 18:16:18 +04:00
Alexey Tourbin
d7abcfb9dc 4.0.4-alt98.5
- rpmdb: Removed db1 support.
- db3.c (db3close): Backported fix for double close (RH#138589).
2009-04-23 17:51:22 +04:00
Alexey Tourbin
4ea6d71109 4.0.4-alt97.M50.6
- rpmdb: Removed db1 support.
- db3.c (db3close): Backported fix for double close (RH#138589).
2009-04-23 17:49:25 +04:00
Alexey Tourbin
fcf51a9c59 4.0.4-alt95.M41.17
- rpmdb: Removed db1 support.
- db3.c (db3close): Backported fix for double close (RH#138589).
2009-04-23 17:31:39 +04:00
Alexey Tourbin
5bc035fdbd 4.0.4-alt77.M40.16
- rpmdb: Removed db1 support.
- db3.c (db3close): Backported fix for double close (RH#138589).
2009-04-23 17:18:49 +04:00
Alexey Tourbin
af4053bfa0 rpmdb: removed db1 support 2009-04-23 13:49:52 +04:00
3df8cccd04 Reduce macro abuse in %pre and %post scripts
(cherry picked from commit 0ecfddcdcd)
2009-04-23 13:39:13 +04:00
93430b8c85 4.0.4-alt98.4
- rpm.8: Fixed typo (closes: #19356).
- platform.in: Added macros: %_logrotatedir, %_runtimedir (closes: #13639).
- Dropped deprecated RPMTAG_RHNPLATFORM support.
- Dropped unused RPMTAG_PLATFORM support.
- rpmVersionCompare(): Added handling of omitted tags.
- rpmevrcmp: Changed to use rpmVersionCompare() instead of rpmEVRcmp().
- 0common-files.req.list: Added /etc/X11/wms-methods.d (Igor Vlasenko).
2009-04-18 20:34:48 +00:00
925bdb7cd4 4.0.4-alt97.M50.5
- rpm.8: Fixed typo (closes: #19356).
- platform.in: Added macros: %_logrotatedir, %_runtimedir (closes: #13639).
2009-04-18 20:33:07 +00:00
9538baeb7d 4.0.4-alt95.M41.16
- rpm.8: Fixed typo (closes: #19356).
- platform.in: Added macros: %_logrotatedir, %_runtimedir (closes: #13639).
2009-04-18 20:31:03 +00:00
24b4ba2e3a 4.0.4-alt77.M40.15
- rpm.8: Fixed typo (closes: #19356).
- platform.in: Added macros: %_logrotatedir, %_runtimedir (closes: #13639).
2009-04-18 18:56:45 +00:00
72c0ed9c48 4.0.4-alt97.M50.4
- Dropped deprecated RPMTAG_RHNPLATFORM support.
- Dropped unused RPMTAG_PLATFORM support.
- rpmVersionCompare(): Added handling of omitted tags.
- rpmevrcmp: Changed to use rpmVersionCompare() instead of rpmEVRcmp().
- 0common-files.req.list: Added /etc/X11/wms-methods.d (Igor Vlasenko).
2009-04-14 16:55:49 +00:00
Alexey Tourbin
bca67ec3de 4.0.4-alt98.3
- Improved fingerprint cache performance (credits: Florian Festi).
2009-03-26 11:43:41 +03:00
Alexey Tourbin
a8575523ec 4.0.4-alt97.M50.3
- Improved fingerprint cache performance (credits: Florian Festi).
2009-03-26 11:38:00 +03:00
Alexey Tourbin
0890b6456f 4.0.4-alt95.M41.15
- Improved fingerprint cache performance (credits: Florian Festi).
2009-03-26 11:23:19 +03:00
Alexey Tourbin
de9c375951 4.0.4-alt77.M40.14
- Improved fingerprint cache performance (credits: Florian Festi).
2009-03-26 11:21:54 +03:00
Alexey Tourbin
4bf2a42fd8 4.0.4-alt98.2
- Removed prehistoric multilib support.
2009-03-10 14:41:07 +03:00
Alexey Tourbin
07c1a647d4 4.0.4-alt97.M50.2
- Removed prehistoric multilib support.
2009-03-10 14:39:35 +03:00
Alexey Tourbin
3995f6a271 4.0.4-alt95.M41.14
- Removed prehistoric multilib support.
2009-03-10 14:37:49 +03:00
Alexey Tourbin
7d1eb44be2 4.0.4-alt77.M40.13
- Removed prehistoric multilib support.
2009-03-10 14:32:59 +03:00
Alexey Tourbin
356d3d7027 4.0.4-alt98.1
- alt97.M50 release series is for branch 5.0, alt98 is for Sisyphus.
- Updated %config algorithm to avoid unnecessary *.rpmnew, *.rpmsave,
  and *.rpmorig files (credits: Panu Matilainen, Tomas Mraz).
  + If new package keeps the same config file, updating the file on disk
    is skipped (rhbz#194246).  This provides limited support for replacing
    config files with custom symbolic links.
  + If pre-existing file is the same as the one being installed for
    the first time, backup action is suppress (rhbz#128622).
  + Backup action is also disabled but for regular files and symlinks.
2009-03-09 21:08:59 +03:00
Alexey Tourbin
07e59dab46 4.0.4-alt97.M50.1
- alt97.M50 release series is for branch 5.0, alt98 is for Sisyphus.
- Updated %config algorithm to avoid unnecessary *.rpmnew, *.rpmsave,
  and *.rpmorig files (credits: Panu Matilainen, Tomas Mraz).
  + If new package keeps the same config file, updating the file on disk
    is skipped (rhbz#194246).  This provides limited support for replacing
    config files with custom symbolic links.
  + If pre-existing file is the same as the one being installed for
    the first time, backup action is suppress (rhbz#128622).
  + Backup action is also disabled but for regular files and symlinks.
2009-03-09 21:06:06 +03:00
Alexey Tourbin
098c3256ab 4.0.4-alt95.M41.13
- Updated %config algorithm to avoid unnecessary *.rpmnew, *.rpmsave,
  and *.rpmorig files (credits: Panu Matilainen, Tomas Mraz).
  + If new package keeps the same config file, updating the file on disk
    is skipped (rhbz#194246).  This provides limited support for replacing
    config files with custom symbolic links.
  + If pre-existing file is the same as the one being installed for
    the first time, backup action is suppress (rhbz#128622).
  + Backup action is also disabled but for regular files and symlinks.
2009-03-09 20:59:18 +03:00
Alexey Tourbin
b7041d73ef 4.0.4-alt77.M40.12
- Updated %config algorithm to avoid unnecessary *.rpmnew, *.rpmsave,
  and *.rpmorig files (credits: Panu Matilainen, Tomas Mraz).
  + If new package keeps the same config file, updating the file on disk
    is skipped (rhbz#194246).  This provides limited support for replacing
    config files with custom symbolic links.
  + If pre-existing file is the same as the one being installed for
    the first time, backup action is suppress (rhbz#128622).
  + Backup action is also disabled but for regular files and symlinks.
2009-03-09 20:55:33 +03:00
Alexey Tourbin
eb23ad4080 4.0.4-alt95.M41.12
- Fixed /usr/lib/rpm/ ownership for new sisyphus_check.
2009-03-09 19:11:11 +03:00
Alexey Tourbin
4a4f1c6522 4.0.4-alt77.M40.11
- Fixed /usr/lib/rpm/ ownership for new sisyphus_check.
2009-03-09 19:04:45 +03:00
Alexey Tourbin
c9a4295dbb fixed /usr/lib/rpm/ ownership for new sisyphus_check 2009-03-09 18:50:02 +03:00
Alexey Tourbin
267a7e8f33 4.0.4-alt77.M40.10
- Renamed rpm-python subpackage to python-module-rpm (ldv).
2009-03-09 18:42:00 +03:00
de7bee4901 Rename rpm-python subpackage to python-module-rpm
(cherry picked from commit 067f680afd)
2009-03-09 18:30:39 +03:00
Alexey Tourbin
4790122f71 4.0.4-alt77.M40.9
- backported changes from branch 4.1:
- psm.c: in syslog messages, discriminate between no epoch and zero epoch
- transaction.c: updated conflict algorithm for overlapping paths:
  exact st_mode and uid/gid match is required; md5 check is skipped
  for %ghost files
- psm.c: fixed chown attempts for src.rpm introduced [with previous change]
- rpmpopt (--changelog): remove extra newline after %{CHANGELOGNAME} (jbj)
2009-03-08 20:28:48 +03:00
e2e69f01ba 4.0.4-alt96.16
- platform.in: Imported %makeinstall_std macro from rpm-build-perl.
- 0common-files.req.list: Removed /etc/tex-fonts.d directory.
2009-02-25 00:52:01 +00:00
Alexey Tourbin
f6f5889885 4.0.4-alt96.15
- Added buildreq ignore rule for /usr/lib/rpm/macros.d/*
2008-12-16 03:37:08 +03:00
cd51b35b4d 4.0.4-alt96.14
- psm.c (psmTriggerPosttrans):
  Handle null "transaction file info" pointer properly (closes: #18079).
2008-12-12 23:49:46 +00:00
d3f50cc1a7 4.0.4-alt95.M41.11
- psm.c (psmTriggerPosttrans):
  Handle null "transaction file info" pointer properly (closes: #18079).
- GROUPS: Added "Graphical desktop/Sugar" (closes: #18094).
2008-12-09 15:16:44 +00:00
12a1de9df3 4.0.4-alt77.M40.8
- psm.c (psmTriggerPosttrans):
  Handle null "transaction file info" pointer properly (closes: #18079).
2008-12-09 15:04:21 +00:00
6da521cf76 4.0.4-alt95.M41.10
- Disabled automatic rpmlib(PosttransFiletriggers) requirements for M41.
2008-11-25 15:37:37 +00:00
f8fb514ad6 Revert "rpmlib.req: generate rpmlib(PosttransFiletriggers) dependency for /usr/lib/rpm/*.filetrigger"
Disable automatic rpmlib(PosttransFiletriggers) requirements for M41.

This reverts commit 3a9f159460.
2008-11-25 15:37:14 +00:00
6346113d89 4.0.4-alt96.13
- Introduced /usr/lib/rpm/macros.d/ (closes: #17948).
- GROUPS: Added "Graphical desktop/Sugar" (closes: #17950).
- platform.in:
  + Marked update menu, window managers registration, scrollkeeper
    database synchronization and ldconfig macros as obsolete.
  + Removed obsolete %%php_version and %%php_release macros (Alexey Gladkov).
  + Added %_rpmmacrosdir macro.
2008-11-22 22:24:02 +00:00
d975fc66c1 Introduce /usr/lib/rpm/macros.d/ (ALT#17948) 2008-11-21 00:25:45 +00:00
Alexey Tourbin
82d6fbdfe6 4.0.4-alt95.M41.8
- fixed crash in previous release (Dmitry V. Levin)
2008-11-13 07:12:42 +03:00
Alexey Tourbin
0c166f10f0 4.0.4-alt77.M40.7
- fixed crash in previous release (Dmitry V. Levin)
2008-11-13 06:47:19 +03:00
0a48c3206e 4.0.4-alt96.12
- verify-elf: Removed no longer needed workaround for PIE executables on ARM.
- 0common-files.req.list: Added /etc/sysconfig/limits.d (service).
- librpm, librpmbuild: Removed %%post/%%postun scripts.
- librpm: Fixed crash bug in saveTriggerFiles().
2008-11-13 00:19:52 +00:00
a66f0346f8 Remove ldconfig invocations from %post/%postun scripts 2008-11-12 23:07:24 +00:00
Alexey Tourbin
3c75eaca60 4.0.4-alt96.11
- implemented post-transaction filetriggers, loosely based on filetriggers.patch
  from Mandriva Linux (see %_rpmlibdir/posttrans-filetriggers for details)
- implemented %_rpmlibdir/0ldconfig.filetrigger, so that packages with
  shared libraries need not to invoke ldconfig(1) in they %%post-scriptlets
- rpmlib.req: automatically generate rpmlib(PosttransFiletriggers) dependency
  for packages which provide %_rpmlibdir/*.filetrigger programs
2008-11-13 01:01:07 +03:00
Alexey Tourbin
a033d58bd1 4.0.4-alt95.M41.7
- implemented post-transaction filetriggers, loosely based on filetriggers.patch
  from Mandriva Linux (see %_rpmlibdir/posttrans-filetriggers for details)
- implemented %_rpmlibdir/0ldconfig.filetrigger, so that packages with
  shared libraries need not to invoke ldconfig(1) in they %%post-scriptlets
- rpmlib.req: automatically generate rpmlib(PosttransFiletriggers) dependency
  for packages which provide %_rpmlibdir/*.filetrigger programs
2008-11-13 00:58:22 +03:00
Alexey Tourbin
3a9f159460 rpmlib.req: generate rpmlib(PosttransFiletriggers) dependency for /usr/lib/rpm/*.filetrigger 2008-11-13 00:57:57 +03:00
Alexey Tourbin
4acd4051a0 4.0.4-alt95.M41.6+
- implemented post-transaction filetriggers, loosely based on filetriggers.patch
  from Mandriva Linux (see %_rpmlibdir/posttrans-filetriggers for details)
- implemented %_rpmlibdir/0ldconfig.filetrigger, so that packages with
  shared libraries need not to invoke ldconfig(1) in they %%post-scriptlets
2008-11-13 00:55:42 +03:00
Alexey Tourbin
5b8a602896 4.0.4-alt77.M40.6
- implemented post-transaction filetriggers, loosely based on filetriggers.patch
  from Mandriva Linux (see %_rpmlibdir/posttrans-filetriggers for details)
- implemented %_rpmlibdir/0ldconfig.filetrigger, so that packages with
  shared libraries need not to invoke ldconfig(1) in they %%post-scriptlets
2008-11-13 00:54:40 +03:00
Alexey Tourbin
639f3382c9 0ldconfig.filetrigger: new script 2008-11-12 05:10:51 +03:00
Alexey Tourbin
4ada155008 implemented posttrans filetriggers, vaguely based on Mandriva patch 2008-11-12 05:10:11 +03:00
Alexey Tourbin
ffb79de5d1 4.0.4-alt96.10
- improved install/upgrade package reordering (in tsort algorithm,
  changed "presentation order" to "chainsaw order")
2008-11-10 05:46:39 +03:00
Alexey Tourbin
b51c799f6b 4.0.4-alt95.M41.6
- improved install/upgrade package reordering (in tsort algorithm,
  changed "presentation order" to "chainsaw order")
2008-11-10 05:44:13 +03:00
Alexey Tourbin
0d6020f2bf 4.0.4-alt77.M40.5
- improved install/upgrade package reordering (in tsort algorithm,
  changed "presentation order" to "chainsaw order")
2008-11-10 05:30:09 +03:00
b7fb34d018 4.0.4-alt96.9
- rpmevrcmp, rpmvercmp: Imported from rpm-utils (closes: #13627).
- GROUPS: Added "Development/Tools" (ALT#17550).
2008-10-28 00:42:07 +00:00
ba75c265e9 Import rpm*cmp utilities from rpm-utils (ALT#13627) 2008-10-28 00:28:56 +00:00
5e322cbea6 4.0.4-alt96.8
- Fixed build with new toolchain.
- brp-cleanup: Remove .gitignore files as well.
- fixup-libraries: Enhance recognition of ELF executables.
2008-10-20 16:21:29 +00:00
Alexey Tourbin
e4ee0c28f8 4.0.4-alt96.7
- build/reqprov.c: when folding duplicate dependencies, Requires(pre)
  or Requires(post) should not opimitze out bare Requires
- build/files.c: execute find-requires before find-scriptlet-requires
- 0common-files.req.list: added /etc/rc.d/init.d (service)
2008-10-06 10:00:15 +04:00
Alexey Tourbin
4f75dd558d 4.0.4-alt95.M41.5
- build/reqprov.c: when folding duplicate dependencies, Requires(pre)
  or Requires(post) should not opimitze out bare Requires
- build/files.c: execute find-requires before find-scriptlet-requires
- 0common-files.req.list: added /etc/rc.d/init.d (service)
2008-10-06 09:57:01 +04:00
eb2eb2a974 4.0.4-alt96.6
- build/parsePrep.c (doUntar): Remove "-L" option from "unzip" invocation
  (Igor Vlasenko; closes: ALT#17407).
2008-10-02 16:08:46 +00:00
Alexey Tourbin
0d54c4a6f0 4.0.4-alt95.M41.4+
- build/reqprov.c: when folding duplicate dependencies, Requires(pre)
  or Requires(post) should not opimitze out bare Requires
2008-09-22 18:56:46 +00:00
Alexey Tourbin
216ac45267 4.0.4-alt77.M40.4
- build/reqprov.c: when folding duplicate dependencies, Requires(pre)
  or Requires(post) should not opimitze out bare Requires
2008-09-22 18:52:58 +00:00
Alexey Tourbin
794a50719d 4.0.4-alt96.5
- build/spec.c: don't allow multiple definition of PatchX or SourceX
  (Jindrich Novy, rhbz#458261, rhbz#458260)
2008-09-16 11:11:47 +04:00
Alexey Tourbin
f444e26e8e 4.0.4-alt95.M41.4
- build/spec.c: don't allow multiple definition of PatchX or SourceX
  (Jindrich Novy, rhbz#458261, rhbz#458260)
2008-09-16 11:09:57 +04:00
Alexey Tourbin
b81db19611 4.0.4-alt77.M40.3
- build/spec.c: don't allow multiple definition of PatchX or SourceX
  (Jindrich Novy, rhbz#458261, rhbz#458260)
2008-09-16 11:02:21 +04:00
Alexey Tourbin
fc4b584b3d 4.0.4-alt96.4
- shebang.req: check for trailing <CR> in interpreter path or name;
  also, validate argc, since neither execve(2) nor env(1) split arguments
2008-09-14 13:20:11 +04:00
Alexey Tourbin
c9b90976f3 4.0.4-alt95.M41.3
- shebang.req: check for trailing <CR> in interpreter path or name;
  also, validate argc, since neither execve(2) nor env(1) split arguments
2008-09-14 13:18:14 +04:00
1e5972d448 4.0.4-alt96.3
- find-lang: Updated usage (Slava Semushin; closes: ALT#15492).
- GROUPS: Added "Development/Erlang" (ALT#16691).
2008-08-29 13:54:55 +00:00
Kirill A. Shutemov
1b07454c4c 4.0.4-alt96.2
- add support of armv5tel and fix armv5tejl
2008-08-29 01:09:41 +03:00
Alexey Tourbin
18e824516b 4.0.4-alt96.1
- find-package: updated check for file path components being alternatives
2008-08-20 00:06:43 +04:00
Alexey Tourbin
fc4a3e85ed 4.0.4-alt95.M41.2
- find-package: updated check for file path components being alternatives
2008-08-20 00:00:10 +04:00
c8694a9dd7 4.0.4-alt95.M41.1
- %_rpmlibdir/macros: enabled gzip payload compression (w9.gzdio) by default.
2008-07-29 16:29:01 +00:00
Alexey Tourbin
eb4af40306 4.0.4-alt96
- lib.req: use CanonPath() to deal with RPATH like $ORIGIN/../lib
- fixup-{libtool,pkgconfig}: quote substitution text (Dmitry V. Levin, #11437)
- pdeath_execute.c: remove X_OK check, use execvp(3)
- rpm: in %post-script, remove /var/cache/apt/*.bin
2008-07-20 16:31:19 +04:00
b1b00af474 4.0.4-alt77.M40.2
- spec: In %post-script, removed /var/cache/apt/*.bin (Alexey Tourbin).
- pdeath_execute.c: Removed X_OK check, use execvp(3) (Alexey Tourbin).
- fixup-libtool, fixup-pkgconfig: Quote substitution text (Closes: #11437).
- build/files.c: Re-fixed RPMTAG_SIZE calculation (Alexey Tourbin. Closes: #2634).
- parseSpec.c: Fixed duplicating 'rpmbuild -bE' output
  (Kirill Shutemov, Alexey Tourbin. Closes: #5662).
- parsePreamble.c, parseSpec.c: Allow noarch subpackages (Alexey Tourbin).
- rpmrc.c: Added more modern CPU models (Alexey Tourbin, me).
- rpmio.c: Implemented cpio hints for rsyncable_gzwrite() (Alexey Tourbin).
- rpmio.c: Deal with partial rsyncable_gzwrite() return (Alexey Tourbin).
- rpmio.c: Implemented rscynable_gzwrite() (Alexey Tourbin).
- rpmio.c: Introduced rpmGZFILE wrapper for gzdio (Alexey Tourbin).
- scripts/rpm2cpio.sh: Deal with decompressors (Alexey Tourbin).
- spec: Added _binary_payload w9.gzdio (Alexey Tourbin).
- Plugged a memleak in lzclose() (Panu Matilainen).
- Backported LZMA payload compression from SuSE (Alexey Tourbin).
- rpmReadPackageManifest: Fix comments handling.
- files.c (addFile): Check that each intermediate path component
  is a directory (not symlink) (Alexey Tourbin).
- files.c (addFile): File path must be canonical (Alexey Tourbin).
- files.c (addFile): Reassure that file path starts with '/' (Alexey Tourbin).
- files.c (addFile): File path must match buildroot (Alexey Tourbin).
- spec: Removed 'BuildConflicts: rpm-devel' (Alexey Tourbin).
- relative: Fixed potential NULL dereference (Closes: #14067).
- platform.in (%__autoreconf): Added deprecation warning.
- platform.in: Added %warning() macro.
- platform.in: Added %autoreconf macro (Closes: #13925).
- relative.c: Changed to use heap for memory allocation, fix normalize(), cleanup.
- relative.c: Fixed an off-by-one (kind of) error. (Alex Myltsev).
- Added armv5tejl support (Kirill Shutemov).
- rpmrc.in: Removed -fsigned-char from optflags for arm* (Kirill Shutemov).
- Refresh ARM support (Kirill Shutemov).
- Do not check STACK entry in ARM ELF files (Kirill Shutemov).
- More %_target_platform tweaks: cleanup build_os filter; initialize
  %_gnueabi; replace %_gnu with %_gnueabi in %_target_platform.
- %_gnu appended to %_target_platform (Kirill Shutemov).
2008-07-08 14:45:31 +00:00
Alexey Tourbin
5165ed5fd0 spec: in %post-script, remove /var/cache/apt/*.bin
Note that I exepect pdeath_execute to use execvp(3).
2008-07-08 14:39:34 +00:00
Alexey Tourbin
b44bb8cb15 spec: in %post-script, remove /var/cache/apt/*.bin
Note that I exepect pdeath_execute to use execvp(3).
2008-07-07 06:15:21 +04:00
Alexey Tourbin
ba650c669c 4.0.4-alt95
- build/files.c: re-fixed RPMTAG_SIZE calculation (cf. #2634)
- files.req: implemented modular /usr/lib/rpm/*-files.req.list,
  for dependencies on directories
2008-06-24 14:07:31 +04:00
Alexey Tourbin
c4f579077e files.req: modular /usr/lib/rpm/*-files.req.list with longest match 2008-06-16 13:05:37 +04:00
Alexey Tourbin
85bb55e8dd spec: forgot to mention `rpmbuild -bE' fix in alt94 changelog entry 2008-06-15 06:36:00 +04:00
Alexey Tourbin
5435ccd10b 4.0.4-alt94
- %_rpmlibdir/macros: enabled LZMA payload compression (w2.lzdio) by default
- parsePreamble.c, parseSpec.c: allow "BuildArch: noarch" subpackages
- psm.c: fixed chown attempts for src.rpm introduced in alt93
- psm.c: also, when installing src.rpm, drop suid/sgid bits
- rpmrc.c: recognize new Intel CPUs (Dmitry V. Levin)
- rpmrc.c: classify SSE2-capable Intel CPUs as "pentium4"
- find-package: corrected host-system lookup for commands
2008-06-15 01:02:21 +04:00
Alexey Tourbin
d0eac5c97f 4.0.4-alt93
- rpmio.c: implemented rsyncable gzdio compression
- rpmio.c: applied SUSE patches for LZMA payload compression
  and decompression (LZMA compression disabled by default)
- transaction.c: updated conflict algorithm for overlapping paths:
  exact st_mode and uid/gid match is required; md5 check is skipped
  for %%ghost files
- build/files.c, build/parseReqs.c: allow versioned path dependencies
- build/files.c: added /usr/share/gtk-doc/html to hardcoded docDirs list
- build/files.c (isDoc): fixed docDirs match algorithm (Panu Matilainen)
- scripts, macros: use `chmod -c' where appropriate (verbosity change)
- rpmpopt (--setugids): use `chown -c -h' (no dereference)
- rpmpopt (--changelog): remove extra newline after %%{CHANGELOGNAME} (jbj)
- brp-cleanup: remove .cvsignore files (dottedmag)
- doc/manual: spelling corrections (jbj)
2008-06-04 18:04:15 +04:00
Alexey Tourbin
4a557675fc Merge branch 'altlinux-4.0' 2008-05-30 22:25:55 +04:00
Alexey Tourbin
6f575ecded spec: _binary_payload w9.gzdio 2008-05-24 13:58:47 +04:00
Alexey Tourbin
9814453966 backported LZMA payload compression from SuSE 2008-05-24 13:47:41 +04:00
Alexey Tourbin
fdca55d311 spec: workaround config.rpath problem
(cherry picked from commit d78d0be4fd)
2008-05-24 12:28:57 +04:00
7870fe7dc5 4.0.4-alt92
- shebang.req: Do not read the whole script (Alexey Tourbin).
- rpmReadPackageManifest: Fixed comments handling.
2008-04-08 15:36:51 +00:00
Alexey Tourbin
b81a3b6b75 4.0.4-alt91
- build/files.c: check if the same files are packaged into a few subpackages
2008-03-31 06:30:33 +04:00
Alexey Tourbin
88cad0c2a0 4.0.4-alt90
- reverted the rest of dependency optimization
- stripped redundant librpm-devel dependencies
- build/files.c: fixed a few possibilities of invalid cpio entries, including
  `dir/.*' construct in %%files section (which globs `dir/.' and `dir/..',
  and thus should not be used in specfiles)
- lib/psm.c: in syslog messages, discriminate between no epoch and zero epoch
2008-03-30 05:57:16 +04:00
Alexey Tourbin
f44d07e126 spec: mention %_tmppath in 4.0.4-alt87 changelog entry 2008-03-30 05:53:28 +04:00
Alexey Tourbin
5ec676a259 spec: librpm-devel should require only libpopt-devel 2008-03-30 04:41:55 +04:00
Alexey Tourbin
a0e8d41006 Merge branch 'altlinux-4.0' 2008-03-30 03:00:44 +04:00
Alexey Tourbin
845a750521 spec: removed 'BuildConflicts: rpm-devel' (checked with buildreq) 2008-03-25 03:27:37 +03:00
Alexey Tourbin
c0e8d34d90 spec: buildreq 2008-03-25 03:27:14 +03:00
f4371cc2a2 4.0.4-alt89
- platform.in: Changed several macro definitions to avoid extra
  autodependencies when used in shell scripts.
2008-03-03 17:40:38 +00:00
04fdf89aa4 4.0.4-alt88
- verify-elf: According to information from Kirill Shutemov,
  PIE executables on ARM always contain TEXTREL, so do not check them.
- find-package: Removed bulk dependencies optimization
  introduced in previous release.
- scripts: Replaced redundant paths to basic programs
  with program names.
2008-02-29 12:30:30 +00:00
0ecfddcdcd Reduce macro abuse in %pre and %post scripts 2008-02-29 12:30:18 +00:00
Alexey Tourbin
cd04e08abc 4.0.4-alt87
- implemented automatic dependencies for %%pre, %%preun, %%post,
  and %%postun scriptlets (#7409)
- find-package: when possible, keep file-level dependencies as is,
  without mapping them to package names
- find-package: relax file-level dependencies on unpackaged directories
- find-package: optimize out bulk dependencies on sh, cat, rm, mv etc.
- build/parseScript.c: optimize out RPMSENSE_INTERP dependencies on /bin/sh
- lib.req: enabled ELF_INTERP dependencies except for standard /lib/ld-linux.so.2
- functions (ValidateBuildRoot): require RPM_BUILD_ROOT path be canonical
2008-02-24 18:55:54 +03:00
Alexey Tourbin
93b2b8bf15 spec: restored 4.0.4-alt84.1 changelog entry 2008-02-23 09:09:31 +03:00
Alexey Tourbin
3b998b2e3c Merge branch 'master' of git.alt:/people/ldv/packages/rpm 2008-02-23 08:23:37 +03:00
b740527bf1 4.0.4-alt86
- pam.req: Added substack support.
- Renamed rpm-python subpackage to python-module-rpm.
2008-02-22 22:38:13 +00:00
067f680afd Rename rpm-python subpackage to python-module-rpm 2008-02-22 22:38:12 +00:00
Alex V. Myltsev
4db6d078da 4.0.4-alt85
- rpm-python: fix segfaults with Python 2.5.
2008-02-22 23:02:53 +03:00