Panu Matilainen [Tue, 10 Jul 2007 10:36:47 +0000 (13:36 +0300)]
Cast dbenv error call method set to void* to fix compiler warnings.
Panu Matilainen [Tue, 10 Jul 2007 10:35:50 +0000 (13:35 +0300)]
Cast glob_t *dir methods to void* to fix compiler warnings.
Panu Matilainen [Tue, 10 Jul 2007 10:34:17 +0000 (13:34 +0300)]
Cast signal handler pointers to void* to avoid compiler warnings.
Panu Matilainen [Tue, 10 Jul 2007 10:32:45 +0000 (13:32 +0300)]
Cast tid to time_t for ctime() to avoid compiler warning.
Panu Matilainen [Tue, 10 Jul 2007 10:23:56 +0000 (13:23 +0300)]
Fix a couple of compiler warnings
Panu Matilainen [Tue, 10 Jul 2007 09:15:43 +0000 (12:15 +0300)]
Remove const type-qualifiers from function return types everywhere.
They're meaningless in C and cause tonne of build warnings.
Panu Matilainen [Tue, 10 Jul 2007 08:39:40 +0000 (11:39 +0300)]
Cast to strlen expected type to avoid warning.
Panu Matilainen [Tue, 10 Jul 2007 08:39:11 +0000 (11:39 +0300)]
Msg buffer signedness change to avoid several compiler warnings.
Panu Matilainen [Tue, 10 Jul 2007 08:19:12 +0000 (11:19 +0300)]
Use correct size type for getpeername()
Panu Matilainen [Tue, 10 Jul 2007 08:00:04 +0000 (11:00 +0300)]
Remove / #ifdef out unused variables as appropriate.
Panu Matilainen [Tue, 10 Jul 2007 07:47:35 +0000 (10:47 +0300)]
#ifdef out unused pgpSecret* definitions to shut up compiler warnings.
Panu Matilainen [Tue, 10 Jul 2007 07:27:55 +0000 (10:27 +0300)]
Fix bunch of string formatting warnings.
Panu Matilainen [Mon, 9 Jul 2007 09:47:25 +0000 (12:47 +0300)]
Avoid closing scriptlet stdout by mistake.
Panu Matilainen [Mon, 9 Jul 2007 09:39:43 +0000 (12:39 +0300)]
Make docdir checking stricter (rhbz#246819)
Panu Matilainen [Mon, 9 Jul 2007 09:31:32 +0000 (12:31 +0300)]
Remove outdated comment in check-rpaths-worker
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...
Panu Matilainen [Mon, 9 Jul 2007 08:23:58 +0000 (11:23 +0300)]
Permit packages with no payload format (rpm 3.x compat), ugh...
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++.
Panu Matilainen [Fri, 6 Jul 2007 12:16:09 +0000 (15:16 +0300)]
Include symlinks in find-lang search (rhbz#246729)
Panu Matilainen [Thu, 5 Jul 2007 13:59:34 +0000 (16:59 +0300)]
Rip out popt.
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...
Panu Matilainen [Mon, 25 Jun 2007 09:28:25 +0000 (12:28 +0300)]
Transaction ordering fixes (rhbz#196590, 202540, 202542, 202543, 202544)
Patch from Fedora / Paul Nasrat.
Panu Matilainen [Mon, 25 Jun 2007 07:40:14 +0000 (10:40 +0300)]
IPv4/6 and EPSV support by Arkadiusz Miskiewicz
Panu Matilainen [Mon, 25 Jun 2007 07:37:37 +0000 (10:37 +0300)]
Nuke ugly /var/log/lastlog kludgery.
Panu Matilainen [Mon, 25 Jun 2007 07:31:37 +0000 (10:31 +0300)]
Don't mmap large files (rhbz#139539, 177616)
Patch from Thomas Woerner
Panu Matilainen [Mon, 25 Jun 2007 07:28:05 +0000 (10:28 +0300)]
Detect and provide a requirement for DT_GNU_HASH.
Patch from Fedora.
Panu Matilainen [Thu, 21 Jun 2007 12:13:04 +0000 (15:13 +0300)]
ARM arch update.
Adds more ARM sub-archs, and adds some bits to deal properly with the new
ARM ABI (EABI). Patch from Lennert Buytenhek.
Paul Nasrat [Thu, 21 Jun 2007 11:28:13 +0000 (12:28 +0100)]
Initialise replaced
Paul Nasrat [Thu, 21 Jun 2007 08:57:19 +0000 (09:57 +0100)]
Paul Nasrat [Thu, 21 Jun 2007 07:57:01 +0000 (08:57 +0100)]
Initialise replaced on rpmfiNew
Paul Nasrat [Thu, 21 Jun 2007 07:09:24 +0000 (08:09 +0100)]
Fix thinko
Panu Matilainen [Wed, 20 Jun 2007 10:25:27 +0000 (13:25 +0300)]
Initial CHANGES update for 4.4.2.1
Panu Matilainen [Wed, 20 Jun 2007 09:09:51 +0000 (12:09 +0300)]
TODO-update
Panu Matilainen [Wed, 20 Jun 2007 09:06:36 +0000 (12:06 +0300)]
Auto*foo to check if gcc supports -fno-strict-aliasing.
Panu Matilainen [Wed, 20 Jun 2007 08:07:53 +0000 (11:07 +0300)]
Duh, remember to initialize opt_F
Panu Matilainen [Wed, 20 Jun 2007 07:58:10 +0000 (10:58 +0300)]
Add reminder about enabling mmap() use after 4.4.2.1.
The code's been unused for years so too risky to enable right now but should
offer good performance improvement. Fix the HAVE_MMAP checks.
Panu Matilainen [Wed, 20 Jun 2007 07:26:14 +0000 (10:26 +0300)]
Move SELinux specifics to the section of configure.ac where SELinux is already
handled instead of mixing it into the 'static linking' section.
Patch from rpm5.org.
Panu Matilainen [Wed, 20 Jun 2007 07:23:38 +0000 (10:23 +0300)]
More configure.ac cleanups.
From rpm5.org
Panu Matilainen [Wed, 20 Jun 2007 07:20:15 +0000 (10:20 +0300)]
Throw out unused stuff from configure.ac
Patch from rpm5.org
Panu Matilainen [Tue, 19 Jun 2007 13:12:04 +0000 (16:12 +0300)]
Rename headerCheckPayload() -> headerCheckPayloadFormat()
to remove any potential confusion as to what it really does.
Panu Matilainen [Tue, 19 Jun 2007 12:16:13 +0000 (15:16 +0300)]
Update mailinglist address in error message, ugh..
Panu Matilainen [Tue, 19 Jun 2007 12:10:25 +0000 (15:10 +0300)]
Add support for specifying fuzz factor to %patch (rhbz#243720)
Based on rpm5.org patch, additionally support both -F1 and -F 1 formats.
Use stpcpy() instead of strcat() for doPatch() args processing.
Panu Matilainen [Tue, 19 Jun 2007 11:35:40 +0000 (14:35 +0300)]
Update translations
Panu Matilainen [Tue, 19 Jun 2007 11:29:10 +0000 (14:29 +0300)]
Fix variable double definition.
Panu Matilainen [Tue, 19 Jun 2007 11:21:01 +0000 (14:21 +0300)]
Fix CVE-2007-2799 integer overflow in internal libmagic. Patch from RHEL4.
Panu Matilainen [Tue, 19 Jun 2007 11:19:36 +0000 (14:19 +0300)]
Fix CVE-2007-1536 in internal libmagic, patch from RHEL4.
Panu Matilainen [Tue, 19 Jun 2007 10:45:42 +0000 (13:45 +0300)]
Don't treat provides as implicit obsoletes (rhbz#111071 etc).
This isn't really desired behavior by anybody.
Patch from OpenSuSE / Michael Schroeder
Panu Matilainen [Tue, 19 Jun 2007 10:33:50 +0000 (13:33 +0300)]
Open non-temporary db's before chroot (rhbz#103952, 173285)
Panu Matilainen [Tue, 19 Jun 2007 10:22:41 +0000 (13:22 +0300)]
Don't open temporary databases at rpmdbOpenAll():
Add a helper function for filtering out temp databases and use it in all
the various places.
Panu Matilainen [Tue, 19 Jun 2007 10:00:13 +0000 (13:00 +0300)]
Remove rpm and popt specs, spec files are vendor specific anyway.
Panu Matilainen [Tue, 19 Jun 2007 09:49:07 +0000 (12:49 +0300)]
Nuke antique "reference" baddeps list.
Panu Matilainen [Tue, 19 Jun 2007 09:47:21 +0000 (12:47 +0300)]
Nuke all dependency whiteouts, very much vendor-specific...
Panu Matilainen [Tue, 19 Jun 2007 09:28:12 +0000 (12:28 +0300)]
Nuke default skipDirs list (rhbz#140055 & others).
The skipDir() mechanism left in place for now for vendors to tweak if
they see necessary.
Panu Matilainen [Tue, 19 Jun 2007 04:30:01 +0000 (07:30 +0300)]
Make %_signature default to gpg.
Paul Nasrat [Mon, 18 Jun 2007 13:31:13 +0000 (14:31 +0100)]
Ensure the status of the file which be replaced by another rpm package is
updated
Panu Matilainen [Mon, 18 Jun 2007 09:48:07 +0000 (12:48 +0300)]
Don't segfault on a header without RPMTAG_NAME (rhbz#239557).
Patch from JBJ.
Panu Matilainen [Mon, 18 Jun 2007 05:50:52 +0000 (08:50 +0300)]
Check all header strings to resize buffer CVE-2006-5466 (#212833).
Patch backported from rpm5.org / JBJ.
Panu Matilainen [Mon, 18 Jun 2007 05:29:01 +0000 (08:29 +0300)]
Flush query format buffer before listing files (rhbz#212833).
Patch from JBJ.
Panu Matilainen [Fri, 15 Jun 2007 07:33:36 +0000 (10:33 +0300)]
Don't try to open nonexistent file twice.
Patch from JBJ.
Panu Matilainen [Tue, 12 Jun 2007 08:22:49 +0000 (11:22 +0300)]
Skip packages/headers with non-verifiable signatures and treat
them as errors (rhbz#239557)
Panu Matilainen [Tue, 12 Jun 2007 06:38:35 +0000 (09:38 +0300)]
Updated Polish popt translation (Piotr Drąg)
Panu Matilainen [Mon, 11 Jun 2007 18:08:28 +0000 (21:08 +0300)]
Updated Polish translation from Piotr Drąg.
Panu Matilainen [Mon, 11 Jun 2007 10:22:25 +0000 (13:22 +0300)]
Fix query output when querying for non-installed <name>.<arch> (rhbz#124016)
Panu Matilainen [Mon, 11 Jun 2007 08:59:09 +0000 (11:59 +0300)]
Permit multiple versions of a package to be installed (-i)
within a single transaction (rhbz#213399)
Panu Matilainen [Mon, 11 Jun 2007 07:37:40 +0000 (10:37 +0300)]
Treat null epoch equal to zero epoch in python labelCompare (rhbz#227860).
Patch from JBJ.
Panu Matilainen [Mon, 11 Jun 2007 07:30:29 +0000 (10:30 +0300)]
Treat null epoch equal to zero epoch in freshen (rhbz#143301). Patch from JBJ.
Panu Matilainen [Fri, 8 Jun 2007 13:07:05 +0000 (16:07 +0300)]
Allow characters >127 that don't fit the current locale in the
specfile (e.g. latin1 in utf-8 locale).
Patch from OpenSuSE.
Panu Matilainen [Fri, 8 Jun 2007 11:22:30 +0000 (14:22 +0300)]
Fix a few format string errors in German translation.
Panu Matilainen [Fri, 8 Jun 2007 11:18:53 +0000 (14:18 +0300)]
Run msgfmt in check-mode to detect format string etc errors.
Panu Matilainen [Fri, 8 Jun 2007 10:57:08 +0000 (13:57 +0300)]
Updated Finnish translation.
Fix (by correcting or removing) tonne of dangerously incorrect fuzzy
translations.
Panu Matilainen [Thu, 7 Jun 2007 18:51:59 +0000 (21:51 +0300)]
Ts/db reference counting for match-iterators in python (rhbz#241751)
Adds additional refcounting to the python level ts/db object to avoid
anonymous ts/db from getting deleted while still iterating over it.
Panu Matilainen [Thu, 7 Jun 2007 11:59:45 +0000 (14:59 +0300)]
Ooops, rpmdbFindFpList() not finding anything is not an error...
Panu Matilainen [Thu, 7 Jun 2007 11:56:48 +0000 (14:56 +0300)]
Return error codes from rpmdbFindFpList() on "can't happen" situations.
rpmtsRun() already checks it, and those things can happen in some exotic
cases like rhbz#106057 as non-root, unless the non-temporary db's are opened
before chroot...
Paul Nasrat [Thu, 7 Jun 2007 10:49:48 +0000 (11:49 +0100)]
Detect python2.5
Panu Matilainen [Thu, 7 Jun 2007 10:19:43 +0000 (13:19 +0300)]
Add new srcdefattr macro (Michael Schroeder / OpenSuSE)
Helps avoiding useless warnings when installing src.rpm's etc.
(susebz#48870, rhbz#125515)