tools/librpm-tizen.git
17 years agoMore char ptr signedness fixes.
Panu Matilainen [Wed, 11 Jul 2007 09:54:35 +0000 (12:54 +0300)]
More char ptr signedness fixes.

17 years agoCast assignment to destination type to fix warnings.
Panu Matilainen [Wed, 11 Jul 2007 09:44:45 +0000 (12:44 +0300)]
Cast assignment to destination type to fix warnings.

17 years agoIfdef out currently unused rpm logging facility stuff.
Panu Matilainen [Wed, 11 Jul 2007 09:34:46 +0000 (12:34 +0300)]
Ifdef out currently unused rpm logging facility stuff.

17 years agoShut up fdUpdateDigest() differing signedness compiler warnings.
Panu Matilainen [Wed, 11 Jul 2007 09:32:17 +0000 (12:32 +0300)]
Shut up fdUpdateDigest() differing signedness compiler warnings.
Derived from rpm5.org.

17 years agoMore python method pointer type fixes.
Panu Matilainen [Tue, 10 Jul 2007 12:25:32 +0000 (15:25 +0300)]
More python method pointer type fixes.

17 years agoCast to PyObject to avoid compiler whining
Panu Matilainen [Tue, 10 Jul 2007 12:20:34 +0000 (15:20 +0300)]
Cast to PyObject to avoid compiler whining

17 years agoFix bunch of compiler warnings from python bindings (method pointer types)
Panu Matilainen [Tue, 10 Jul 2007 12:19:04 +0000 (15:19 +0300)]
Fix bunch of compiler warnings from python bindings (method pointer types)

17 years agoAdd missing include to rpmcache
Panu Matilainen [Tue, 10 Jul 2007 11:02:29 +0000 (14:02 +0300)]
Add missing include to rpmcache

17 years agoRemove meaningles statement to avoid compiler warning.
Panu Matilainen [Tue, 10 Jul 2007 10:52:49 +0000 (13:52 +0300)]
Remove meaningles statement to avoid compiler warning.

17 years agoRemove two useless rpmtsSELinuxEnabled() calls.
Panu Matilainen [Tue, 10 Jul 2007 10:46:32 +0000 (13:46 +0300)]
Remove two useless rpmtsSELinuxEnabled() calls.

17 years agoBunch of variable initializations to avoid compiler warnings.
Panu Matilainen [Tue, 10 Jul 2007 10:43:46 +0000 (13:43 +0300)]
Bunch of variable initializations to avoid compiler warnings.

17 years agoCast dbenv error call method set to void* to fix compiler warnings.
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.

17 years agoCast glob_t *dir methods 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.

17 years agoCast signal handler pointers to void* to avoid 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.

17 years agoCast tid to time_t for ctime() to avoid compiler warning.
Panu Matilainen [Tue, 10 Jul 2007 10:32:45 +0000 (13:32 +0300)]
Cast tid to time_t for ctime() to avoid compiler warning.

17 years agoFix a couple of compiler warnings
Panu Matilainen [Tue, 10 Jul 2007 10:23:56 +0000 (13:23 +0300)]
Fix a couple of compiler warnings

17 years agoRemove const type-qualifiers from function return types everywhere.
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.

17 years agoCast to strlen expected type to avoid warning.
Panu Matilainen [Tue, 10 Jul 2007 08:39:40 +0000 (11:39 +0300)]
Cast to strlen expected type to avoid warning.

17 years agoMsg buffer signedness change to avoid several compiler warnings.
Panu Matilainen [Tue, 10 Jul 2007 08:39:11 +0000 (11:39 +0300)]
Msg buffer signedness change to avoid several compiler warnings.

17 years agoUse correct size type for getpeername()
Panu Matilainen [Tue, 10 Jul 2007 08:19:12 +0000 (11:19 +0300)]
Use correct size type for getpeername()

17 years agoRemove / #ifdef out unused variables as appropriate.
Panu Matilainen [Tue, 10 Jul 2007 08:00:04 +0000 (11:00 +0300)]
Remove / #ifdef out unused variables as appropriate.

17 years ago#ifdef out unused pgpSecret* definitions to shut up compiler warnings.
Panu Matilainen [Tue, 10 Jul 2007 07:47:35 +0000 (10:47 +0300)]
#ifdef out unused pgpSecret* definitions to shut up compiler warnings.

17 years agoFix bunch of string formatting warnings.
Panu Matilainen [Tue, 10 Jul 2007 07:27:55 +0000 (10:27 +0300)]
Fix bunch of string formatting warnings.

17 years agoAvoid closing scriptlet stdout by mistake.
Panu Matilainen [Mon, 9 Jul 2007 09:47:25 +0000 (12:47 +0300)]
Avoid closing scriptlet stdout by mistake.

17 years agoMake docdir checking stricter (rhbz#246819)
Panu Matilainen [Mon, 9 Jul 2007 09:39:43 +0000 (12:39 +0300)]
Make docdir checking stricter (rhbz#246819)

17 years agoRemove outdated comment in check-rpaths-worker
Panu Matilainen [Mon, 9 Jul 2007 09:31:32 +0000 (12:31 +0300)]
Remove outdated comment in check-rpaths-worker

17 years agoFix ordering with --nodeps.
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...

17 years agoPermit packages with no payload format (rpm 3.x compat), ugh...
Panu Matilainen [Mon, 9 Jul 2007 08:23:58 +0000 (11:23 +0300)]
Permit packages with no payload format (rpm 3.x compat), ugh...

17 years agoFix include of misc.h, rpmpgp.h and rpmsq.h in C++.
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++.

17 years agoInclude symlinks in find-lang search (rhbz#246729)
Panu Matilainen [Fri, 6 Jul 2007 12:16:09 +0000 (15:16 +0300)]
Include symlinks in find-lang search (rhbz#246729)

17 years agoRip out popt.
Panu Matilainen [Thu, 5 Jul 2007 13:59:34 +0000 (16:59 +0300)]
Rip out popt.

17 years agoTags fixup.
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...

17 years agoAdded tag 4.4.2.1-rc2 for changeset da8803a1a1f0
Panu Matilainen [Wed, 4 Jul 2007 12:35:12 +0000 (15:35 +0300)]
Added tag 4.4.2.1-rc2 for changeset da8803a1a1f0

17 years agoDuh, really kill the broken tests.
Panu Matilainen [Wed, 4 Jul 2007 12:34:52 +0000 (15:34 +0300)]
Duh, really kill the broken tests.

17 years agoAdded tag 4.4.2.1-rc2 for changeset 2aa6758ed8fb
Panu Matilainen [Wed, 4 Jul 2007 12:21:07 +0000 (15:21 +0300)]
Added tag 4.4.2.1-rc2 for changeset 2aa6758ed8fb

17 years agoPreparing for 4.4.2.1-rc2
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

17 years agoNew debugedit option to recompute build ID (rhbz#246404)
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.

17 years agoInclude additional buildroot sanity check scripts (rhbz#245639)
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ä.

17 years agoFix segfault on errors if neon transport is used (rhbz#220392)
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.

17 years agoPass --wildcards to tar on build (rhbz#206841)
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.

17 years agoMinor update to Polish translation (rhbz#243569)
Panu Matilainen [Tue, 3 Jul 2007 08:51:51 +0000 (11:51 +0300)]
Minor update to Polish translation (rhbz#243569)
From Piotr Drąg.

17 years agoPlug some memory leaks.
Panu Matilainen [Mon, 2 Jul 2007 12:02:15 +0000 (15:02 +0300)]
Plug some memory leaks.
Patches from rpm5.org / JBJ.

17 years agoTODO-update...
Panu Matilainen [Fri, 29 Jun 2007 11:12:44 +0000 (14:12 +0300)]
TODO-update...

17 years agoAdd /usr/share/gtk-doc/html/ to docDirs.
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

17 years agoDisable totally broken tests, add fixing reminder to TODO.
Panu Matilainen [Fri, 29 Jun 2007 09:33:03 +0000 (12:33 +0300)]
Disable totally broken tests, add fixing reminder to TODO.

17 years agoRemember to free up match iterators (rhbz#246044)
Panu Matilainen [Thu, 28 Jun 2007 11:44:48 +0000 (14:44 +0300)]
Remember to free up match iterators (rhbz#246044)

17 years agoFix a warning from sparse in popt.h (rhbz#202005)
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.

17 years agoUpdated Russian man pages.
Panu Matilainen [Wed, 27 Jun 2007 13:17:21 +0000 (16:17 +0300)]
Updated Russian man pages.
From Andrew Martynov, rhbz#185620.

17 years agoRemove hardcoded libtermcap vs bash kludge.
Panu Matilainen [Tue, 26 Jun 2007 17:46:51 +0000 (20:46 +0300)]
Remove hardcoded libtermcap vs bash kludge.

17 years agoBump popt version to allow clean upgrades with the current bundled mess.
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.

17 years agoAdded tag 4.4.2.1-rc1 for changeset 89fa17e70ff2
Panu Matilainen [Mon, 25 Jun 2007 14:14:39 +0000 (17:14 +0300)]
Added tag 4.4.2.1-rc1 for changeset 89fa17e70ff2

17 years agoMark as 4.4.2.1-rc1
Panu Matilainen [Mon, 25 Jun 2007 10:29:09 +0000 (13:29 +0300)]
Mark as 4.4.2.1-rc1

17 years agoUpdate TODO + CHANGES..
Panu Matilainen [Mon, 25 Jun 2007 10:27:56 +0000 (13:27 +0300)]
Update TODO + CHANGES..

17 years agoPull full changelog from hg into dist tarball.
Panu Matilainen [Mon, 25 Jun 2007 10:27:21 +0000 (13:27 +0300)]
Pull full changelog from hg into dist tarball.

17 years agoUse ustar format for 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.

17 years agoRemove ppc64 inline asm (rhbz#233145)
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...

17 years agoEnable ts ordering for erasure mode.
Panu Matilainen [Mon, 25 Jun 2007 09:37:29 +0000 (12:37 +0300)]
Enable ts ordering for erasure mode.
Same patch in Suse & Fedora...

17 years agoTransaction ordering fixes (rhbz#196590, 202540, 202542, 202543, 202544)
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.

17 years agoIPv4/6 and EPSV support by Arkadiusz Miskiewicz
Panu Matilainen [Mon, 25 Jun 2007 07:40:14 +0000 (10:40 +0300)]
IPv4/6 and EPSV support by Arkadiusz Miskiewicz

17 years agoNuke ugly /var/log/lastlog kludgery.
Panu Matilainen [Mon, 25 Jun 2007 07:37:37 +0000 (10:37 +0300)]
Nuke ugly /var/log/lastlog kludgery.

17 years agoDon't mmap large files (rhbz#139539, 177616)
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

17 years agoDetect and provide a requirement for DT_GNU_HASH.
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.

17 years agoARM arch update.
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.

17 years agoInitialise replaced
Paul Nasrat [Thu, 21 Jun 2007 11:28:13 +0000 (12:28 +0100)]
Initialise replaced

17 years agoBacked out changeset 99c5bd19ffc4bfbfa5601767cbc1338b5fa570e9
Paul Nasrat [Thu, 21 Jun 2007 08:57:19 +0000 (09:57 +0100)]
Backed out changeset 99c5bd19ffc4bfbfa5601767cbc1338b5fa570e9

17 years agoInitialise replaced on rpmfiNew
Paul Nasrat [Thu, 21 Jun 2007 07:57:01 +0000 (08:57 +0100)]
Initialise replaced on rpmfiNew

17 years agoFix thinko
Paul Nasrat [Thu, 21 Jun 2007 07:09:24 +0000 (08:09 +0100)]
Fix thinko

17 years agoInitial CHANGES update for 4.4.2.1
Panu Matilainen [Wed, 20 Jun 2007 10:25:27 +0000 (13:25 +0300)]
Initial CHANGES update for 4.4.2.1

17 years agoTODO-update
Panu Matilainen [Wed, 20 Jun 2007 09:09:51 +0000 (12:09 +0300)]
TODO-update

17 years agoAuto*foo to check if gcc supports -fno-strict-aliasing.
Panu Matilainen [Wed, 20 Jun 2007 09:06:36 +0000 (12:06 +0300)]
Auto*foo to check if gcc supports -fno-strict-aliasing.

17 years agoDuh, remember to initialize opt_F
Panu Matilainen [Wed, 20 Jun 2007 08:07:53 +0000 (11:07 +0300)]
Duh, remember to initialize opt_F

17 years agoAdd reminder about enabling mmap() use after 4.4.2.1.
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.

17 years agoMove SELinux specifics to the section of configure.ac where SELinux is already
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.

17 years agoMore configure.ac cleanups.
Panu Matilainen [Wed, 20 Jun 2007 07:23:38 +0000 (10:23 +0300)]
More configure.ac cleanups.
From rpm5.org

17 years agoThrow out unused stuff from configure.ac
Panu Matilainen [Wed, 20 Jun 2007 07:20:15 +0000 (10:20 +0300)]
Throw out unused stuff from configure.ac
Patch from rpm5.org

17 years agoRename headerCheckPayload() -> headerCheckPayloadFormat()
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.

17 years agoUpdate mailinglist address in error message, ugh..
Panu Matilainen [Tue, 19 Jun 2007 12:16:13 +0000 (15:16 +0300)]
Update mailinglist address in error message, ugh..

17 years agoAdd support for specifying fuzz factor to %patch (rhbz#243720)
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.

17 years agoUpdate translations
Panu Matilainen [Tue, 19 Jun 2007 11:35:40 +0000 (14:35 +0300)]
Update translations

17 years agoFix variable double definition.
Panu Matilainen [Tue, 19 Jun 2007 11:29:10 +0000 (14:29 +0300)]
Fix variable double definition.

17 years agoFix CVE-2007-2799 integer overflow in internal libmagic. Patch from RHEL4.
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.

17 years agoFix CVE-2007-1536 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.

17 years agoDon't treat provides as implicit obsoletes (rhbz#111071 etc).
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

17 years agoOpen non-temporary db's before chroot (rhbz#103952, 173285)
Panu Matilainen [Tue, 19 Jun 2007 10:33:50 +0000 (13:33 +0300)]
Open non-temporary db's before chroot (rhbz#103952, 173285)

17 years agoDon't open temporary databases at rpmdbOpenAll():
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.

17 years agoRemove rpm and popt specs, spec files are vendor specific anyway.
Panu Matilainen [Tue, 19 Jun 2007 10:00:13 +0000 (13:00 +0300)]
Remove rpm and popt specs, spec files are vendor specific anyway.

17 years agoNuke antique "reference" baddeps list.
Panu Matilainen [Tue, 19 Jun 2007 09:49:07 +0000 (12:49 +0300)]
Nuke antique "reference" baddeps list.

17 years agoNuke all dependency whiteouts, very much vendor-specific...
Panu Matilainen [Tue, 19 Jun 2007 09:47:21 +0000 (12:47 +0300)]
Nuke all dependency whiteouts, very much vendor-specific...

17 years agoNuke default skipDirs list (rhbz#140055 & others).
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.

17 years agoMake %_signature default to gpg.
Panu Matilainen [Tue, 19 Jun 2007 04:30:01 +0000 (07:30 +0300)]
Make %_signature default to gpg.

17 years agoEnsure the status of the file which be replaced by another rpm package is
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

17 years agoDon't segfault on a header without RPMTAG_NAME (rhbz#239557).
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.

17 years agoCheck all header strings to resize buffer CVE-2006-5466 (#212833).
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.

17 years agoFlush query format buffer before listing files (rhbz#212833).
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.

17 years agoDon't try to open nonexistent file twice.
Panu Matilainen [Fri, 15 Jun 2007 07:33:36 +0000 (10:33 +0300)]
Don't try to open nonexistent file twice.
Patch from JBJ.

17 years agoSkip packages/headers with non-verifiable signatures and treat
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)

17 years agoUpdated Polish popt translation (Piotr Drąg)
Panu Matilainen [Tue, 12 Jun 2007 06:38:35 +0000 (09:38 +0300)]
Updated Polish popt translation (Piotr Drąg)

17 years agoUpdated Polish translation from Piotr Drąg.
Panu Matilainen [Mon, 11 Jun 2007 18:08:28 +0000 (21:08 +0300)]
Updated Polish translation from Piotr Drąg.

17 years agoFix query output when querying for non-installed <name>.<arch> (rhbz#124016)
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)

17 years agoPermit multiple versions of a package to be installed (-i)
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)