1428 Commits

Author SHA1 Message Date
Alexey Tourbin
7d1eb44be2 4.0.4-alt77.M40.13
- Removed prehistoric multilib support.
2009-03-10 14:32:59 +03:00
Alexey Tourbin
aebc9a42dd removed prehistoric multilib support 2009-03-10 14:27:38 +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
21528645b2 header-py.c: pre-merge change for mdfile 2009-03-09 20:57:35 +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
822062204d transaction.c: shorter local names in decideConfigFate 2009-03-09 20:13:10 +03:00
Alexey Tourbin
52e51f6ae6 Avoid unnecessary .rpmnew and .rpmsave files (rhbz#128622)
[Based on rpm.org ebfbc82b by Panu Matilainen.]

Don't create .rpmnew and .rpmsave files when file/symlink on disk differs
just by timestamp. Patch by Tomas Mraz.
2009-03-09 20:13:08 +03:00
Alexey Tourbin
329d84a5d8 transaction.c: simplified SAVE/ALTNAME/CREATE condition 2009-03-09 20:13:08 +03:00
Alexey Tourbin
7bb2ab740a transaction.c: use explicit conditions for newWhat 2009-03-09 20:13:07 +03:00
Alexey Tourbin
be808f57ca Avoid .rpmnew when the file hasn't changed in package (rhbz#194246)
[Based on rpm.org e64bf5b9 by Panu Matilainen.]

The current behavior of %config(noreplace) creates a .rpmnewfile iff the type
of the current file has been changed wrto what was originally installed.

The patch changes this behavior so when old and new (in db and in package) is
identical -> not changed, the function returns FA_SKIP -> it won't clobber
anything, it simply skips installation of the file from the package.
This patch handles also the opposite case when old and new packages contain
%config symlink and we have regular file on disk.

Patch from Tomas Mraz.
2009-03-09 20:13:05 +03:00
Alexey Tourbin
ebf4093293 transaction.c: further decideConfigFate() tweaks 2009-03-09 20:13:02 +03:00
Alexey Tourbin
0ee67602ee transaction.c: revamped decideFileFate() akin to filecmp() 2009-03-09 20:11:22 +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
4f10304c9a Merge branch 'altlinux-4.0' into altlinux-4.1 (no changes) 2009-03-09 18:59:14 +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 067f680afd18f464fad7be66ee05efb25be9d807)
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
Alexey Tourbin
71de4d65d8 rpmpopt.in: remove extra newline after %{CHANGELOGNAME} (jbj)
(cherry picked from commit 0b7a62724e581505b66fb485be34a5f83d6dd99d)
2009-03-08 20:16:43 +03:00
Alexey Tourbin
f9c067a1ad psm.[ch]: skip fuser and fgroup test/set for src.rpm
Previous change in loadFi() triggers the code which depends
on fi->fuser and fi->fgroup being NULL for source rpms.
Now I add explicit check for source rpms.

Update: also turn off suid/sgid bits for src.rpm.
(cherry picked from commit 070b65040eab0f221c5f79796358986e698cd2ef)
2009-03-08 20:12:41 +03:00
Alexey Tourbin
75978600ab s/relocateable/relocatable/ (jbj) 2009-03-08 20:12:18 +03:00
Alexey Tourbin
9d970cf8e2 lib/transaction.c (handleInstInstalledFiles): fixed RPMFILE_CONFIG bug
(cherry picked from commit c5e957a3b30abcdc368082be3a99e3f8c95a238f)
2009-03-08 20:07:14 +03:00
Alexey Tourbin
32c0658171 lib/transaction.c (filecmp): require st_mode and uid/gid match for overlapping files; do not require md5 match for %ghost files
(cherry picked from commit 1f439402e04acfea1bb3393b13771c6486601c91)
2009-03-08 20:06:45 +03:00
Alexey Tourbin
75e60a90bb lib/psm.c: in syslog messages, discriminate between no epoch and zero epoch
(cherry picked from commit e60ab8fa21243bd7741e198c9942924849e90d59)
2009-03-08 20:06:17 +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
840e9d57e2 0common-files.req.list: Remove /etc/tex-fonts.d
Prepare /etc/tex-fonts.d migration from tetex-core to tex-common.
2009-02-19 23:02:13 +00:00
6fc32e776a platform.in: Import %makeinstall_std macro from rpm-build-perl 2009-02-19 22:59:20 +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
Alexey Tourbin
3a68afbf34 rpm-build.buildreq: added /usr/lib/rpm/macros.d/* 2008-12-16 03:34:01 +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
4097b8f499 Merge branch 'altlinux-4.1' into maint 2008-12-09 16:24:17 +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
e29e7de594 GROUPS: Add "Graphical desktop/Sugar" (ALT#17950) 2008-12-09 15:14:18 +00:00
e1164fb5a4 Merge branch 'altlinux-4.0' into altlinux-4.1 2008-12-09 15:13:26 +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
62d33b6587 psm.c (psmTriggerPosttrans): Handle unset "transaction file info" pointer properly (ALT#18079)
rpmRunTransactions() may call psmTriggerPosttrans() without transaction file info.
We have to handle this case gracefully.

Reported by Artem Zolochevskiy.
2008-12-02 22:28:38 +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 3a9f15946021e175d8b8ba7a7696f939465c598f.
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
Alexey Gladkov
4eecafff33 platform.in: Remove obsolete %php_version and %php_release
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
2008-11-22 21:16:30 +00:00
3d53b58d08 platform.in: Add %_rpmmacrosdir macro 2008-11-22 01:58:56 +00:00
05f42630d0 GROUPS: Add "Graphical desktop/Sugar" (ALT#17950) 2008-11-22 01:54:58 +00:00
d975fc66c1 Introduce /usr/lib/rpm/macros.d/ (ALT#17948) 2008-11-21 00:25:45 +00:00
d2f32045b0 platform.in: Mark scrollkeeper database synchronization macros as obsolete 2008-11-20 16:15:32 +00:00
a949a78dfb platform.in: Mark window managers registration macros as obsolete 2008-11-20 16:13:19 +00:00
c9231cb270 platform.in: Mark update menu macros as obsolete 2008-11-20 16:08:08 +00:00
da3de4082f platform.in: Mark all ldconfig macros as obsolete 2008-11-20 16:07:51 +00:00