tools/librpm-tizen.git
17 years agoUse tagType() for determining header data types (array or not etc)
Panu Matilainen [Mon, 16 Jul 2007 10:21:41 +0000 (13:21 +0300)]
Use tagType() for determining header data types (array or not etc)

17 years agoDuh, forgot to bring in RPM_MASK_TYPE definition
Panu Matilainen [Mon, 16 Jul 2007 10:17:05 +0000 (13:17 +0300)]
Duh, forgot to bring in RPM_MASK_TYPE definition

17 years agoUse simple and stoopid linear tagType lookup for now.
Panu Matilainen [Mon, 16 Jul 2007 10:13:46 +0000 (13:13 +0300)]
Use simple and stoopid linear tagType lookup for now.

17 years agoAutomatic return types for header tags.
Panu Matilainen [Mon, 16 Jul 2007 08:11:41 +0000 (11:11 +0300)]
Automatic return types for header tags.
Derived from rpm5.org work of Jeff Johnsson

17 years agoUse tagValue() for name->tag lookups instead of manually walking tagtable.
Panu Matilainen [Fri, 13 Jul 2007 11:23:21 +0000 (14:23 +0300)]
Use tagValue() for name->tag lookups instead of manually walking tagtable.

17 years agoUpdate tagtype definitions wrt rpm5.org
Panu Matilainen [Fri, 13 Jul 2007 11:18:00 +0000 (14:18 +0300)]
Update tagtype definitions wrt rpm5.org

17 years agoKill RH-specific _vsflags_up2date, use generic __vsflags in bindings instead
Panu Matilainen [Fri, 13 Jul 2007 09:59:22 +0000 (12:59 +0300)]
Kill RH-specific _vsflags_up2date, use generic __vsflags in bindings instead

17 years agoClean up python ts object creation.
Panu Matilainen [Fri, 13 Jul 2007 09:46:48 +0000 (12:46 +0300)]
Clean up python ts object creation.
- Remove code duplication by making rpmts_Create() just a wrapper that calls
  rpmtsObject to create the instance
- Move the initialization from rpmts_init() to rpmts_new(), calling
  ts.__init__() multiple times isn't something we want to allow (setting
  vsflags multiple times is ok but there's a method to do that already)

17 years agoKill of RPMTAG_RHNPLATFORM: don't add to header, mark deprecated.
Panu Matilainen [Thu, 12 Jul 2007 13:10:46 +0000 (16:10 +0300)]
Kill of RPMTAG_RHNPLATFORM: don't add to header, mark deprecated.

17 years agoRip out rhnLoad() and rhnUnload() from python bindings.
Panu Matilainen [Thu, 12 Jul 2007 12:46:31 +0000 (15:46 +0300)]
Rip out rhnLoad() and rhnUnload() from python bindings.
Prehistoric, unused and vendor specific stuff... time to go.

17 years agoRemove references to internal zlib from internal libmagic
Panu Matilainen [Thu, 12 Jul 2007 12:36:15 +0000 (15:36 +0300)]
Remove references to internal zlib from internal libmagic

17 years agoAnd one last debugedit fix...
Panu Matilainen [Thu, 12 Jul 2007 11:36:49 +0000 (14:36 +0300)]
And one last debugedit fix...
Modern gcc doesn't like arithmetics on void pointers, cast where needed.

17 years agoSilence the rest of ptr signedness issues in debugedit
Panu Matilainen [Thu, 12 Jul 2007 10:53:23 +0000 (13:53 +0300)]
Silence the rest of ptr signedness issues in debugedit

17 years agocomp_dir doesn't need to be unsigned
Panu Matilainen [Thu, 12 Jul 2007 10:47:51 +0000 (13:47 +0300)]
comp_dir doesn't need to be unsigned

17 years agoRemove unused variable (debugedit)
Panu Matilainen [Thu, 12 Jul 2007 10:43:40 +0000 (13:43 +0300)]
Remove unused variable (debugedit)

17 years agoDebugedit cleanup continued.
Panu Matilainen [Thu, 12 Jul 2007 10:43:01 +0000 (13:43 +0300)]
Debugedit cleanup continued.
Cast to expected type on all uses of strchr()

17 years agoDebugedit cleanup continued.
Panu Matilainen [Thu, 12 Jul 2007 10:41:18 +0000 (13:41 +0300)]
Debugedit cleanup continued.
Cast to expected types on all uses of has_prefix() canonicalize_path()

17 years agodebugedit signedness fixes wrt strlen()
Panu Matilainen [Thu, 12 Jul 2007 10:37:32 +0000 (13:37 +0300)]
debugedit signedness fixes wrt strlen()

17 years agoOne last fix for const qualifier discarding complaint in python.
Panu Matilainen [Thu, 12 Jul 2007 10:27:07 +0000 (13:27 +0300)]
One last fix for const qualifier discarding complaint in python.
OTOH we need to call PyCObject_FromVoidPtr() with non-const cast..

17 years agoint vs ptr sizes differ on some platforms, make alNum intptr_t to fix
Panu Matilainen [Thu, 12 Jul 2007 10:23:33 +0000 (13:23 +0300)]
int vs ptr sizes differ on some platforms, make alNum intptr_t to fix

17 years agoPull in rpmfi int_32 -> uint_32 changes from rpm5.org.
Panu Matilainen [Thu, 12 Jul 2007 10:03:19 +0000 (13:03 +0300)]
Pull in rpmfi int_32 -> uint_32 changes from rpm5.org.
TODO reminder to audit all uses of those, plenty of places where signed
doesn't make much sense, inconsistent use etc.

17 years agoUse uint_32 for dirindexes everywhere
Panu Matilainen [Thu, 12 Jul 2007 09:30:26 +0000 (12:30 +0300)]
Use uint_32 for dirindexes everywhere

17 years agorpmioSlurp() related cleanups.
Panu Matilainen [Thu, 12 Jul 2007 08:55:45 +0000 (11:55 +0300)]
rpmioSlurp() related cleanups.
Derived from rpm5.org / Ralf S. Engelschall

17 years agoFread() and Fwrite() can return negative values, change type to reflect that
Panu Matilainen [Thu, 12 Jul 2007 08:06:16 +0000 (11:06 +0300)]
Fread() and Fwrite() can return negative values, change type to reflect that

17 years agoCast argv to rpm_execcon expected type
Panu Matilainen [Thu, 12 Jul 2007 07:10:25 +0000 (10:10 +0300)]
Cast argv to rpm_execcon expected type

17 years agoSilence yet another char ptr signedness warning
Panu Matilainen [Thu, 12 Jul 2007 07:00:43 +0000 (10:00 +0300)]
Silence yet another char ptr signedness warning

17 years agoparseSpec() cookie should be const, make it so...
Panu Matilainen [Thu, 12 Jul 2007 06:22:38 +0000 (09:22 +0300)]
parseSpec() cookie should be const, make it so...

17 years agoSome obvious "missing const" cases...
Panu Matilainen [Thu, 12 Jul 2007 06:20:09 +0000 (09:20 +0300)]
Some obvious "missing const" cases...

17 years agoAvoid discarding const
Panu Matilainen [Thu, 12 Jul 2007 06:18:00 +0000 (09:18 +0300)]
Avoid discarding const

17 years agoFix yet-another-compiler-warning.
Panu Matilainen [Thu, 12 Jul 2007 06:16:23 +0000 (09:16 +0300)]
Fix yet-another-compiler-warning.
tmpSpecFile gets passed to mkstemp() which expects to modify the template
thus discarding const

17 years agoCast to expected type.
Panu Matilainen [Wed, 11 Jul 2007 13:12:56 +0000 (16:12 +0300)]
Cast to expected type.

17 years agoCast to fix size difference.
Panu Matilainen [Wed, 11 Jul 2007 13:12:29 +0000 (16:12 +0300)]
Cast to fix size difference.
Patch derived from rpm5.org / Jeff Johnsson

17 years agoCast to void** to silence hge() warning
Panu Matilainen [Wed, 11 Jul 2007 13:00:51 +0000 (16:00 +0300)]
Cast to void** to silence hge() warning

17 years agob64decode() len paramenter is unsigned size type, use it...
Panu Matilainen [Wed, 11 Jul 2007 12:56:12 +0000 (15:56 +0300)]
b64decode() len paramenter is unsigned size type, use it...

17 years agoTurn rpmioSlurp() length argument to unsigned size_t, fix up uses.
Panu Matilainen [Wed, 11 Jul 2007 12:39:51 +0000 (15:39 +0300)]
Turn rpmioSlurp() length argument to unsigned size_t, fix up uses.
Derived from rpm5.org / Ralf S. Engelschall, I do agree length can't really
be negative...

17 years agoUse unsigned size type for pgpReadPkts().
Panu Matilainen [Wed, 11 Jul 2007 12:33:50 +0000 (15:33 +0300)]
Use unsigned size type for pgpReadPkts().
Derived from rpm5.org / Ralf S. Engelschall, I was too blind to see
ssize_t vs size_t, duh :)

17 years agoCast timedRead() buffers to expected type.
Panu Matilainen [Wed, 11 Jul 2007 12:29:30 +0000 (15:29 +0300)]
Cast timedRead() buffers to expected type.
Patch from rpm5.org / Jeff Johnsson

17 years agoUse correct formatting for scoreboard pointers
Panu Matilainen [Wed, 11 Jul 2007 12:13:47 +0000 (15:13 +0300)]
Use correct formatting for scoreboard pointers

17 years agoCast to int to avoid gcc complaint from python enum registration.
Panu Matilainen [Wed, 11 Jul 2007 11:48:38 +0000 (14:48 +0300)]
Cast to int to avoid gcc complaint from python enum registration.

17 years agoAdd missing include for mergesort
Panu Matilainen [Wed, 11 Jul 2007 11:45:34 +0000 (14:45 +0300)]
Add missing include for mergesort

17 years agoChar ptr signedness fixes to python bindings.
Panu Matilainen [Wed, 11 Jul 2007 11:31:54 +0000 (14:31 +0300)]
Char ptr signedness fixes to python bindings.

17 years agoCorrect type for python rpmrc lenght function
Panu Matilainen [Wed, 11 Jul 2007 11:27:48 +0000 (14:27 +0300)]
Correct type for python rpmrc lenght function

17 years agogetRepackageHeaderFromTE() expects const char * as 4th argument
Panu Matilainen [Wed, 11 Jul 2007 11:23:07 +0000 (14:23 +0300)]
getRepackageHeaderFromTE() expects const char * as 4th argument

17 years agoIfdef unused http timeout setting to future..
Panu Matilainen [Wed, 11 Jul 2007 11:02:12 +0000 (14:02 +0300)]
Ifdef unused http timeout setting to future..

17 years agoOne more domd5() buffer signedness fix.
Panu Matilainen [Wed, 11 Jul 2007 10:52:22 +0000 (13:52 +0300)]
One more domd5() buffer signedness fix.

17 years agoMissing include for domd5
Panu Matilainen [Wed, 11 Jul 2007 10:50:54 +0000 (13:50 +0300)]
Missing include for domd5

17 years agodomd5() buffer signedness fixes.
Panu Matilainen [Wed, 11 Jul 2007 10:48:43 +0000 (13:48 +0300)]
domd5() buffer signedness fixes.

17 years agorpmteIsSource() doesn't return pointers
Panu Matilainen [Wed, 11 Jul 2007 10:42:04 +0000 (13:42 +0300)]
rpmteIsSource() doesn't return pointers

17 years agoQuiesce false gcc unused variable warning.
Panu Matilainen [Wed, 11 Jul 2007 10:36:03 +0000 (13:36 +0300)]
Quiesce false gcc unused variable warning.

17 years agoAdd missing includes to local lua sources.
Panu Matilainen [Wed, 11 Jul 2007 10:33:32 +0000 (13:33 +0300)]
Add missing includes to local lua sources.

17 years agoMore ptr target signedness fixes...
Panu Matilainen [Wed, 11 Jul 2007 10:20:45 +0000 (13:20 +0300)]
More ptr target signedness fixes...

17 years agoMake offsets match what rpmdbAppendIterator() expects
Panu Matilainen [Wed, 11 Jul 2007 10:13:35 +0000 (13:13 +0300)]
Make offsets match what rpmdbAppendIterator() expects

17 years ago...and more pointer signedness fixes...
Panu Matilainen [Wed, 11 Jul 2007 10:10:47 +0000 (13:10 +0300)]
...and more pointer signedness fixes...

17 years agoMore char ptr signedness fixes..
Panu Matilainen [Wed, 11 Jul 2007 10:00:45 +0000 (13:00 +0300)]
More char ptr signedness fixes..

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)