Panu Matilainen [Wed, 5 Sep 2007 10:42:25 +0000 (13:42 +0300)]
Internal helper function for converting binary blobs to hex strings.
(transplanted from
5b4c099c3fdb253d5ed440333cb99ad56af24d9f)
Panu Matilainen [Wed, 5 Sep 2007 10:41:13 +0000 (13:41 +0300)]
Fix false mire matches on nonexistent headers.
(transplanted from
e6ecf4e9585535cb2caf1b27844154de9abc0d32)
Panu Matilainen [Tue, 4 Sep 2007 07:23:54 +0000 (10:23 +0300)]
Fix error reporting on rpm --checksig (rhbz#155079)
(transplanted from
a35fdc78aa7ad2b049fb8fff30cd376bed1cf4d5)
Panu Matilainen [Thu, 30 Aug 2007 10:02:12 +0000 (13:02 +0300)]
Don't read *.rpmnew etc macro files
(transplanted from
ae24df9cdc383c7244543d1af23191929792c8c7)
Panu Matilainen [Tue, 4 Sep 2007 05:19:03 +0000 (08:19 +0300)]
Debugedit fixes.
This makes debugedit's -l file get files that already match the -d rewrite
directory, not just those that match the -b build directory and get rewritten.
Patch from Roland McGrath
(transplanted from
7093a54a1d9534b7be4a00cb9a51c4c14b03f958)
Panu Matilainen [Tue, 28 Aug 2007 09:48:14 +0000 (12:48 +0300)]
Added tag rpm-4.4.2.2-rc1 for changeset
408814d1fd92
Panu Matilainen [Tue, 28 Aug 2007 09:27:19 +0000 (12:27 +0300)]
Update change summary
Panu Matilainen [Tue, 28 Aug 2007 09:03:34 +0000 (12:03 +0300)]
Add expandMacro() to python bindings.
Patch by Jeremy Katz.
(transplanted from
5138a16777dfa38be2bfc8e0dbab11b9f064e4a7)
Panu Matilainen [Tue, 28 Aug 2007 08:22:40 +0000 (11:22 +0300)]
Update translations
Panu Matilainen [Tue, 28 Aug 2007 08:19:00 +0000 (11:19 +0300)]
Mark as 4.4.2.2-rc1 (and bump popt too..)
Panu Matilainen [Tue, 28 Aug 2007 08:15:18 +0000 (11:15 +0300)]
Dont link debugedit statically
Panu Matilainen [Tue, 28 Aug 2007 08:10:11 +0000 (11:10 +0300)]
Don't create unused/dangling symlink cruft in /usr/lib
Panu Matilainen [Tue, 28 Aug 2007 08:00:42 +0000 (11:00 +0300)]
Install packages with preferred color first (rhbz#214737)
Patch by Jeff Johnson.
(transplanted from
e8c1a2d43970f1746ff2ba8cf6fe7707534a116b)
Panu Matilainen [Tue, 28 Aug 2007 07:42:03 +0000 (10:42 +0300)]
Cosmetical cleanups.
- remove unused rpm.c
- fix permissions of rpmqv.c
Panu Matilainen [Tue, 28 Aug 2007 07:36:13 +0000 (10:36 +0300)]
Fix busted merge of changeset
26bc21a7912
Panu Matilainen [Tue, 28 Aug 2007 07:11:06 +0000 (10:11 +0300)]
Show pre- and posttrans scripts in rpm -q --scripts query (susebz#253620)
Patch from Michal Marek.
(transplanted from
b46afebc527d7f2d64a8eddcf533b73fef2244f8)
Panu Matilainen [Tue, 28 Aug 2007 06:10:11 +0000 (09:10 +0300)]
Create x86_64 compat macros for ia32e and amd64 (rhbz#211119, 223355)
(transplanted from
83857f39f6a982190f862a9db9bdb744f58e7b0b)
Panu Matilainen [Tue, 28 Aug 2007 06:04:09 +0000 (09:04 +0300)]
Avoid .rpmnew when the file hasn't changed in package (rhbz#194246)
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.
(transplanted from
5a57ec437cf4ec0605264ed311ff28e0e751302d)
Panu Matilainen [Tue, 28 Aug 2007 05:52:06 +0000 (08:52 +0300)]
Fix perl version provide for packages defined in multiple blocks (#rhbz214496)
Successive definitions of the same package shouldn't stomp on previously
found $VERSION, this is how perl itself behaves.
Patch from James Ralston.
(transplanted from
433bae323daf6f2541f41b00747582d6cc048666)
Panu Matilainen [Mon, 27 Aug 2007 07:19:43 +0000 (10:19 +0300)]
Don't check for termination signals in middle of transaction (!)
(transplanted from
16992a5152c04b105a7939a733383739d7013674)
Panu Matilainen [Mon, 27 Aug 2007 08:01:39 +0000 (11:01 +0300)]
Fix monday morning thinkos wrt macro buffer changes.
The expanded size is of course not known beforehand.. check for size
before copying instead.
(transplanted from
f3bc2e09705dd2e06db93746d6c82ba427c4132f)
Panu Matilainen [Mon, 27 Aug 2007 06:55:42 +0000 (09:55 +0300)]
Fix potential buffer overflow in macro primitive execution
Use dynamic buffer, we know the needed size here...
(transplanted from
4d9c1db07dc0e1dc1745af2f882b33a6f2af8115)
Panu Matilainen [Mon, 27 Aug 2007 06:51:52 +0000 (09:51 +0300)]
Fix potential buffer overflow in macro findEntry()
Avoid static buffer, we know the size...
(transplanted from
8f1561181ab7e3570e2bc05a8741ae13c74b18df)
Panu Matilainen [Mon, 27 Aug 2007 06:48:00 +0000 (09:48 +0300)]
Fix potential buffer overflow by using dynamic buffer size.
(transplanted from
2a61e108390e6b2e1d6d4c41cb08578adeaab3eb)
Panu Matilainen [Mon, 27 Aug 2007 06:45:53 +0000 (09:45 +0300)]
Fix buffer overflow in macro shell escaping (#253971)
We know the required buffer size here, no point in using static buffer.
(transplanted from
dbe4e0dd206bafc784896bc56b133b2d37293244)
Panu Matilainen [Tue, 28 Aug 2007 07:26:12 +0000 (10:26 +0300)]
Patch internal BDB to build with latest glibc open() changes.
Ralf Corsépius [Wed, 22 Aug 2007 13:17:23 +0000 (15:17 +0200)]
Use (xxx->open)() to work-around glibc's open() behaving having changed.
(transplanted from
fe08eb8712dce555a39c47a794a7ebf1ae20a2ac)
Ralf Corsépius [Mon, 20 Aug 2007 02:54:28 +0000 (04:54 +0200)]
Convert from ISO-8859-2 to utf-8.
(transplanted from
53faa8da0149ee0ae5c3e04d62741059e6e0e36b)
Ralf Corsépius [Mon, 20 Aug 2007 02:54:01 +0000 (04:54 +0200)]
Convert from ISO-8859-2 to utf-8.
(transplanted from
0e892c253e10202a636c70c8b7eae789ece6446a)
Ralf Corsépius [Mon, 20 Aug 2007 02:53:39 +0000 (04:53 +0200)]
Convert from ISO-8859-2 to utf-8.
(transplanted from
254e9ea2cb210e410eb3393d543ca7bfa8c9af40)
Ralf Corsépius [Mon, 20 Aug 2007 02:53:12 +0000 (04:53 +0200)]
Convert from ISO-8859-2 to utf-8.
(transplanted from
a49c264a5b2e2f590bdc2c892a8da826f3bea132)
Ralf Corsépius [Mon, 20 Aug 2007 02:52:50 +0000 (04:52 +0200)]
Convert from ISO-8859-2 to utf-8.
(transplanted from
22c7bcb7d590c4976edc7564735633fe4f702fed)
Ralf Corsépius [Mon, 20 Aug 2007 02:52:23 +0000 (04:52 +0200)]
Convert from ISO-8859-2 to utf-8.
(transplanted from
36da6a875d1b6056c716b59eb0003384fe12dbbf)
Ralf Corsépius [Mon, 20 Aug 2007 02:51:46 +0000 (04:51 +0200)]
Convert from ISO-8859-2 to utf-8.
(transplanted from
4e912c1f0fab649c187665d1e28081508b413dcf)
Ralf Corsépius [Mon, 20 Aug 2007 02:32:30 +0000 (04:32 +0200)]
Convert from ISO-8859-2 to utf-8.
(transplanted from
9c84f02944822b035a25354449b3059824113a55)
Panu Matilainen [Wed, 15 Aug 2007 09:07:31 +0000 (12:07 +0300)]
Make find-lang.sh --with-gnome pick up omf files (rhbz#251400)
Patch from Matthias Clasen.
(transplanted from
03206d67072c7b90f79a8e0bc47a847c3991f565)
Panu Matilainen [Tue, 14 Aug 2007 06:00:54 +0000 (09:00 +0300)]
Avoid python 2.5 requirement by using int instead of Py_ssize_t
(transplanted from
7e06ee4ecabcfcd79a79c063d77b404962836c74)
Panu Matilainen [Mon, 13 Aug 2007 12:48:39 +0000 (15:48 +0300)]
Fail build on find-provide / -require errors (#rhbz#226751)
Patch from Jeff Johnson
(transplanted from
fa7095010d43f36adf51c687d0aa9fd853659d89)
Panu Matilainen [Fri, 10 Aug 2007 11:32:25 +0000 (14:32 +0300)]
Update default per-arch compiler flags for modern gcc (rhbz#212583)
(transplanted from
03d7783f9fc8ea1b012a4c762f85b6dd39ab29b6)
Panu Matilainen [Fri, 10 Aug 2007 09:09:36 +0000 (12:09 +0300)]
Add comment about checking --help to manuals (rhbz#164281)
As users + admins can tweak popt aliases to their liking, it's impossible
to guarantee than man pages are in sync with what's available...
(transplanted from
8ab855137e07d0e0c33f1a876a46802e39b2c445)
Panu Matilainen [Fri, 10 Aug 2007 08:41:24 +0000 (11:41 +0300)]
Cut down on false perl requires (rhbz#198033...)
Patch from John Owens.
(transplanted from
9f0012fffce152ca27963e1789e18d3d6a7f5854)
Panu Matilainen [Thu, 9 Aug 2007 19:34:49 +0000 (22:34 +0300)]
Avoid truncating /var/log/rpmpkgs in case of errors (rhbz#232830)
(transplanted from
c05201a4ed4c98b8a02b90c2ff27a827a252e602)
Panu Matilainen [Thu, 9 Aug 2007 19:02:02 +0000 (22:02 +0300)]
Clarify --initdb usage in manual (rhbz#218057)
(transplanted from
b7a6d6369e752aac4cf899bcd9a391939ddb4825)
Panu Matilainen [Thu, 9 Aug 2007 18:50:56 +0000 (21:50 +0300)]
Skip stale and unaccessible (FUSE) mountpoints (rhbz#190496, 220991)
Ported from rpm5.org work of Jeff Johnson.
(transplanted from
a5f774e61a4715c5ad52cf4b5f982ec71096bde6)
Panu Matilainen [Mon, 13 Aug 2007 06:04:44 +0000 (09:04 +0300)]
Oops, 4.4.x doesn't know about TRIGGERPREIN
Panu Matilainen [Sun, 12 Aug 2007 12:27:46 +0000 (15:27 +0300)]
Fix debugedit buildid thinko.
Patch from Roland McGrath
(transplanted from
fb1ee4c438c929f0b2af376fd23e05e52947b977)
Panu Matilainen [Thu, 9 Aug 2007 12:15:24 +0000 (15:15 +0300)]
Avoid unnecessary .rpmnew and .rpmsave files (rhbz#128622)
Don't create .rpmnew and .rpmsave files when file/symlink on disk differs
just by timestamp. Patch by Tomas Mraz.
(transplanted from
0d4b8cfd8dc9e99d030b0d7d81611b5580468f2f)
Panu Matilainen [Thu, 9 Aug 2007 11:31:57 +0000 (14:31 +0300)]
Add Spanish and Italian translations..
Panu Matilainen [Thu, 9 Aug 2007 11:11:31 +0000 (14:11 +0300)]
Updated Italian translation from RHEL 4
(transplanted from
44d4fdf2ab0e1a5e23cead9e7a4f75254112a0f0)
Panu Matilainen [Thu, 9 Aug 2007 11:09:29 +0000 (14:09 +0300)]
Updated Spanish translation from RHEL 4.
(transplanted from
3b70bd42e02385dafc8b1436c0dfe0369f431e00)
Panu Matilainen [Mon, 6 Aug 2007 20:09:02 +0000 (23:09 +0300)]
Add a few missing files to POTFILES.in (rhbz#249608)
(transplanted from
d5efe38ad5603b7b050b4d4e12b8853b35112f3f)
Panu Matilainen [Mon, 6 Aug 2007 11:47:43 +0000 (14:47 +0300)]
Couple of ARM-related typo fixes from Lennert Buytenhek.
(transplanted from
ccfaf1c37a56181b9562963583900ff8e38a1b57)
Panu Matilainen [Mon, 6 Aug 2007 11:47:10 +0000 (14:47 +0300)]
Detect and use -gnueabi instead of -gnu on ARM as necessary.
Patch from Lennert Buytenhek.
(transplanted from
f0a6328331a5d017d89c96fe8cf5d8249dde09b5)
Panu Matilainen [Mon, 6 Aug 2007 09:58:45 +0000 (12:58 +0300)]
Fix --dump usage description in the manpage.
Patch from Yu Zhiguo.
(transplanted from
9f3741c4c201e25dfff9954e750f07a67cf37b85)
Panu Matilainen [Mon, 23 Jul 2007 10:12:14 +0000 (13:12 +0300)]
Always create ChangeLog from scratch on make dist.
(transplanted from
bd492d82f34ead6502832b2e813f56680899ea8b)
Panu Matilainen [Mon, 23 Jul 2007 07:43:47 +0000 (10:43 +0300)]
Update scriptlet names to match current reality (rhbz#248128)
(transplanted from
a14f0518986667354560535b5ef0cf15d54656d2)
Panu Matilainen [Mon, 23 Jul 2007 07:02:54 +0000 (10:02 +0300)]
Avoid static buffer and extra copy in docdir checking.
From rpm5.org / Ralf S. Engelschall.
(transplanted from
414d128db0aaea7abbd2040e041c2290802eee53)
Panu Matilainen [Mon, 9 Jul 2007 09:39:43 +0000 (12:39 +0300)]
Make docdir checking stricter (rhbz#246819)
(transplanted from
77bd87370b7950fdc14ecbaf0194c8d1d815f9fa)
Panu Matilainen [Sat, 21 Jul 2007 12:48:03 +0000 (15:48 +0300)]
Support fully qualified $Foo::Bar::VERSION expressions (rhbz#249135).
Patch from Ville Skyttä.
(transplanted from
0408b648de4633529655fc0984214ca7cf0fa50d)
Panu Matilainen [Sat, 21 Jul 2007 12:05:19 +0000 (15:05 +0300)]
Make rpmdbCheckTerminate() non-terminating.
This allows use in exit handler without affecting exit code, and permits
caller to do its own cleanup if necessary.
(transplanted from
fb37e4dccbf3a1bfea406f87ee76a94d38ee0dcc)
Panu Matilainen [Fri, 20 Jul 2007 08:23:11 +0000 (11:23 +0300)]
Force rpmdb clean termination on exit from python.
Python process tracebacking with active iterators can and will otherwise leave
stale locks around (as is presumably the reason for rhbz#235389 and various
other locking issues)
(transplanted from
e9ced408b17fb48b660b309f3a7b4c67586421cd)
Panu Matilainen [Fri, 20 Jul 2007 08:19:56 +0000 (11:19 +0300)]
Support explicitly asking from rpmdb cleanup + termination.
New rpmdbCheckTerminate() function which checks for termination signals
and allows requesting termination via parameter as well. Make
rpmdbCheckSignals() just a wrapper that calls it with terminate=0.
(transplanted from
6acd7701e4df5e9df29123c2e877f574551cd342)
Panu Matilainen [Fri, 20 Jul 2007 07:41:15 +0000 (10:41 +0300)]
Add python methods for checking pending signals from rpmsqCaught.
- a thin wrapper for rpmdbCheckSignals() from rpm5.org / Jeff Johnson
- a function taking a list of signals to check and returning list caught
signals (python doesn't know about signal sets so rpmsqCaught needs
wrapping)
(transplanted from
c0237c16e2e35d108db2bbb2bf3c18cd95db9ad7)
Panu Matilainen [Mon, 23 Jul 2007 09:38:18 +0000 (12:38 +0300)]
Added tag rpm-4.4.2.1-release for changeset
26d6de6e0c33
Panu Matilainen [Mon, 23 Jul 2007 09:38:05 +0000 (12:38 +0300)]
Preparing for 4.4.2.1
Panu Matilainen [Fri, 6 Jul 2007 12:16:09 +0000 (15:16 +0300)]
Include symlinks in find-lang search (rhbz#246729)
Panu Matilainen [Mon, 9 Jul 2007 10:02:12 +0000 (13:02 +0300)]
Added tag rpm-4.4.2.1-rc3 for changeset
0dfbaff7c7cd
Panu Matilainen [Mon, 9 Jul 2007 09:57:45 +0000 (12:57 +0300)]
Preparing for 4.4.2.1-rc3
Panu Matilainen [Mon, 9 Jul 2007 09:47:25 +0000 (12:47 +0300)]
Avoid closing scriptlet stdout by mistake.
(transplanted from
0cfabe7da156386f74a37aadb5420f4eca321d2a)
Panu Matilainen [Mon, 9 Jul 2007 09:40:38 +0000 (12:40 +0300)]
Update CHANGES
Panu Matilainen [Mon, 9 Jul 2007 09:31:32 +0000 (12:31 +0300)]
Remove outdated comment in check-rpaths-worker
(transplanted from
369f1a852e4d9faa9e99e31d65b9cd09f66968db)
Panu Matilainen [Mon, 9 Jul 2007 08:47:48 +0000 (11:47 +0300)]
Fix ordering with --nodeps.
This adds unneeded second rpmalMakeIndex() call to normal path, the index
creation needs some kind of tracking mechanism to avoid this...
(transplanted from
2ea62bbfd19e3177c7314e3271a8389bffafde80)
Panu Matilainen [Mon, 9 Jul 2007 08:23:58 +0000 (11:23 +0300)]
Permit packages with no payload format (rpm 3.x compat), ugh...
(transplanted from
dae209d9fe03296998fefdee3d7a296627629bad)
Panu Matilainen [Mon, 9 Jul 2007 08:01:33 +0000 (11:01 +0300)]
Fix include of misc.h, rpmpgp.h and rpmsq.h in C++.
(transplanted from
ce7255e73857cd4945934ccd43602d22985ee061)
Panu Matilainen [Thu, 5 Jul 2007 11:47:29 +0000 (14:47 +0300)]
Tags fixup.
- consistent tag naming
- remove false 4.4.2.1-rc2 tag
- use dots instead of underscores, hg has no silly limits wrt that...
Panu Matilainen [Wed, 4 Jul 2007 12:35:12 +0000 (15:35 +0300)]
Added tag 4.4.2.1-rc2 for changeset
da8803a1a1f0
Panu Matilainen [Wed, 4 Jul 2007 12:34:52 +0000 (15:34 +0300)]
Duh, really kill the broken tests.
Panu Matilainen [Wed, 4 Jul 2007 12:21:07 +0000 (15:21 +0300)]
Added tag 4.4.2.1-rc2 for changeset
2aa6758ed8fb
Panu Matilainen [Wed, 4 Jul 2007 12:18:43 +0000 (15:18 +0300)]
Preparing for 4.4.2.1-rc2
- update CHANGES and version
- update translations
Panu Matilainen [Wed, 4 Jul 2007 12:11:27 +0000 (15:11 +0300)]
New debugedit option to recompute build ID (rhbz#246404)
Patch from Roland McGrath.
Panu Matilainen [Wed, 4 Jul 2007 12:06:20 +0000 (15:06 +0300)]
Include additional buildroot sanity check scripts (rhbz#245639)
- check-buildroot for checing buildroot files for references to $RPM_BUILD_ROOT
- check-rpaths* for checking buildroot files for broken rpaths
Scripts by Enrico Scholz, Ville Skyttä.
Panu Matilainen [Tue, 3 Jul 2007 11:27:08 +0000 (14:27 +0300)]
Fix segfault on errors if neon transport is used (rhbz#220392)
Patch from rpm5.org / JBJ.
Panu Matilainen [Tue, 3 Jul 2007 11:13:13 +0000 (14:13 +0300)]
Pass --wildcards to tar on build (rhbz#206841)
Tar no longer accepts globbing by default as it's incompatible with
traditional implementations:
http://lists.gnu.org/archive/html/bug-tar/2006-06/msg00001.html
Rpm needs to work with upstream tar really, the --wildcards option has been
supported since 2001 so older versions shouldn't suffer either.
Panu Matilainen [Tue, 3 Jul 2007 08:51:51 +0000 (11:51 +0300)]
Minor update to Polish translation (rhbz#243569)
From Piotr Drąg.
Panu Matilainen [Mon, 2 Jul 2007 12:02:15 +0000 (15:02 +0300)]
Plug some memory leaks.
Patches from rpm5.org / JBJ.
Panu Matilainen [Fri, 29 Jun 2007 11:12:44 +0000 (14:12 +0300)]
TODO-update...
Panu Matilainen [Fri, 29 Jun 2007 11:11:10 +0000 (14:11 +0300)]
Add /usr/share/gtk-doc/html/ to docDirs.
Patch from Jeremy Katz
Panu Matilainen [Fri, 29 Jun 2007 09:33:03 +0000 (12:33 +0300)]
Disable totally broken tests, add fixing reminder to TODO.
Panu Matilainen [Thu, 28 Jun 2007 11:44:48 +0000 (14:44 +0300)]
Remember to free up match iterators (rhbz#246044)
Panu Matilainen [Wed, 27 Jun 2007 13:29:16 +0000 (16:29 +0300)]
Fix a warning from sparse in popt.h (rhbz#202005)
Patch from Kjartan Maraas.
Panu Matilainen [Wed, 27 Jun 2007 13:17:21 +0000 (16:17 +0300)]
Updated Russian man pages.
From Andrew Martynov, rhbz#185620.
Panu Matilainen [Tue, 26 Jun 2007 17:46:51 +0000 (20:46 +0300)]
Remove hardcoded libtermcap vs bash kludge.
Panu Matilainen [Tue, 26 Jun 2007 06:38:21 +0000 (09:38 +0300)]
Bump popt version to allow clean upgrades with the current bundled mess.
Panu Matilainen [Mon, 25 Jun 2007 14:14:39 +0000 (17:14 +0300)]
Added tag 4.4.2.1-rc1 for changeset
89fa17e70ff2
Panu Matilainen [Mon, 25 Jun 2007 10:29:09 +0000 (13:29 +0300)]
Mark as 4.4.2.1-rc1
Panu Matilainen [Mon, 25 Jun 2007 10:27:56 +0000 (13:27 +0300)]
Update TODO + CHANGES..
Panu Matilainen [Mon, 25 Jun 2007 10:27:21 +0000 (13:27 +0300)]
Pull full changelog from hg into dist tarball.
Panu Matilainen [Mon, 25 Jun 2007 10:12:13 +0000 (13:12 +0300)]
Use ustar format for dist tarball.
BDB has some very long paths that start getting stripped out when our
version string is longer than just x.y.z.
Panu Matilainen [Mon, 25 Jun 2007 09:47:33 +0000 (12:47 +0300)]
Remove ppc64 inline asm (rhbz#233145)
Patch in both Fedora and Suse...
Panu Matilainen [Mon, 25 Jun 2007 09:37:29 +0000 (12:37 +0300)]
Enable ts ordering for erasure mode.
Same patch in Suse & Fedora...