tools/librpm-tizen.git
16 years agoAdd fdClose, fdOpen, fdRead, fdWrite functions.
Ralf Corsépius [Fri, 21 Sep 2007 14:50:59 +0000 (16:50 +0200)]
Add fdClose, fdOpen, fdRead, fdWrite functions.

16 years agoEliminate fdClose/__fdClose preprocessor games.
Ralf Corsépius [Fri, 21 Sep 2007 14:22:23 +0000 (16:22 +0200)]
Eliminate fdClose/__fdClose preprocessor games.

16 years agoEliminate fdWrite/__fdWrite preprocessor games.
Ralf Corsépius [Fri, 21 Sep 2007 14:20:52 +0000 (16:20 +0200)]
Eliminate fdWrite/__fdWrite preprocessor games.

16 years agoEliminate fdRead/__fdRead preprocessor games.
Ralf Corsépius [Fri, 21 Sep 2007 14:10:32 +0000 (16:10 +0200)]
Eliminate fdRead/__fdRead preprocessor games.

16 years agoEliminate fdOpen/__fdOpen preprocessor games.
Ralf Corsépius [Fri, 21 Sep 2007 14:08:39 +0000 (16:08 +0200)]
Eliminate fdOpen/__fdOpen preprocessor games.

16 years agoHide rpmtag index details from the api
Panu Matilainen [Fri, 21 Sep 2007 13:11:48 +0000 (16:11 +0300)]
Hide rpmtag index details from the api
- move rpmTagGet*() out of line from rpmlib.h to tagnames.c
- move headerTagIndices_s from header.h into tagnames.c

16 years agoFixup after Spec -> rpmSpec
Panu Matilainen [Fri, 21 Sep 2007 12:58:50 +0000 (15:58 +0300)]
Fixup after Spec -> rpmSpec

16 years agoRename Spec -> rpmSpec for namespacing
Panu Matilainen [Fri, 21 Sep 2007 12:23:02 +0000 (15:23 +0300)]
Rename Spec -> rpmSpec for namespacing

16 years agoOops, remove, not ifdef out..
Panu Matilainen [Fri, 21 Sep 2007 12:19:47 +0000 (15:19 +0300)]
Oops, remove, not ifdef out..

16 years agoRename alKey & alNum to rpmal* for namespacing
Panu Matilainen [Fri, 21 Sep 2007 12:17:08 +0000 (15:17 +0300)]
Rename alKey & alNum to rpmal* for namespacing
Also move it out of rpmlib.h, nothing needs it there...

16 years agoSilence compiler whining from bad popt argv definition
Panu Matilainen [Fri, 21 Sep 2007 10:09:18 +0000 (13:09 +0300)]
Silence compiler whining from bad popt argv definition

16 years agoUnexport FSM(I) typedefs, only usable within rpm
Panu Matilainen [Fri, 21 Sep 2007 10:02:55 +0000 (13:02 +0300)]
Unexport FSM(I) typedefs, only usable within rpm

16 years agoUnexport rpmpms typedef, nothing outside rpm can use it anyway
Panu Matilainen [Fri, 21 Sep 2007 09:47:45 +0000 (12:47 +0300)]
Unexport rpmpms typedef, nothing outside rpm can use it anyway

16 years agoRemove unused proof-of-concept arch-filtering of dependencies
Panu Matilainen [Fri, 21 Sep 2007 06:58:46 +0000 (09:58 +0300)]
Remove unused proof-of-concept arch-filtering of dependencies

16 years agoAdd another HAVE_ZLIB_H conditional.
Ralf Corsépius [Fri, 21 Sep 2007 03:59:26 +0000 (05:59 +0200)]
Add another HAVE_ZLIB_H conditional.

16 years agoRip out unused anaconda-related hacks
Panu Matilainen [Thu, 20 Sep 2007 14:37:39 +0000 (17:37 +0300)]
Rip out unused anaconda-related hacks

16 years agoRename public fileAction* type to rpmFileAction for namespacing
Panu Matilainen [Thu, 20 Sep 2007 13:19:25 +0000 (16:19 +0300)]
Rename public fileAction* type to rpmFileAction for namespacing

16 years agoTODO reminder about compat headers
Panu Matilainen [Thu, 20 Sep 2007 13:12:46 +0000 (16:12 +0300)]
TODO reminder about compat headers

16 years agoAutomated merge with ssh://pmatilai@login.linux.duke.edu//home/groups/rpm/hg/rpm/
Panu Matilainen [Thu, 20 Sep 2007 13:10:51 +0000 (16:10 +0300)]
Automated merge with ssh://pmatilai@login.linux.duke.edu//home/groups/rpm/hg/rpm/

16 years agoRemove checks for synch.h, semaphore.h, aio.h (unused).
Ralf Corsépius [Thu, 20 Sep 2007 12:57:04 +0000 (14:57 +0200)]
Remove checks for synch.h, semaphore.h, aio.h (unused).

16 years agoRename MacroContext and -Entry to rpmMacro* for namespacing
Panu Matilainen [Thu, 20 Sep 2007 12:52:03 +0000 (15:52 +0300)]
Rename MacroContext and -Entry to rpmMacro* for namespacing

16 years agoMake zlib conditional.
Ralf Corsépius [Thu, 20 Sep 2007 12:45:40 +0000 (14:45 +0200)]
Make zlib conditional.

16 years agoMove _free() into system.h for now
Panu Matilainen [Thu, 20 Sep 2007 12:37:48 +0000 (15:37 +0300)]
Move _free() into system.h for now
- get rid of dozen _free() definitions
- get _free() out of public headers

16 years agoRename fileTypes(_e) to rpmFileTypes for namespacing
Panu Matilainen [Thu, 20 Sep 2007 12:27:07 +0000 (15:27 +0300)]
Rename fileTypes(_e) to rpmFileTypes for namespacing

16 years agoRename freeFilesystems() to rpmFreeFilesystems() for namespacing
Panu Matilainen [Thu, 20 Sep 2007 12:22:59 +0000 (15:22 +0300)]
Rename freeFilesystems() to rpmFreeFilesystems() for namespacing

16 years agoRename tagName/Value/Type() to rpmTagGet*()
Panu Matilainen [Thu, 20 Sep 2007 12:09:52 +0000 (15:09 +0300)]
Rename tagName/Value/Type() to rpmTagGet*()
- namespacing
- avoid collisions with tagtype definitions

16 years agoMatch hardcoded _query_all_fmt default with current macro default
Panu Matilainen [Thu, 20 Sep 2007 11:39:24 +0000 (14:39 +0300)]
Match hardcoded _query_all_fmt default with current macro default

16 years agoMove rpmInstall/EraseInterfaceFlags to rpmcli.h
Panu Matilainen [Thu, 20 Sep 2007 11:33:35 +0000 (14:33 +0300)]
Move rpmInstall/EraseInterfaceFlags to rpmcli.h

16 years agoRemove the "dressed" rpmHeaderGetEntry() from API
Panu Matilainen [Thu, 20 Sep 2007 10:23:58 +0000 (13:23 +0300)]
Remove the "dressed" rpmHeaderGetEntry() from API
- only used by the python bindings, move it there...

16 years agoConditionalize rpmlib(PayloadIsBzip2) provide on HAVE_BZLIB_H
Panu Matilainen [Thu, 20 Sep 2007 09:19:34 +0000 (12:19 +0300)]
Conditionalize rpmlib(PayloadIsBzip2) provide on HAVE_BZLIB_H

16 years agoRemove unnecessary include
Panu Matilainen [Thu, 20 Sep 2007 09:18:22 +0000 (12:18 +0300)]
Remove unnecessary include

16 years agoConditionalize zlib conditional pieces of code on HAVE_ZLIB_H.
Ralf Corsépius [Thu, 20 Sep 2007 08:37:48 +0000 (10:37 +0200)]
Conditionalize zlib conditional pieces of code on HAVE_ZLIB_H.

16 years agoRemove splint remnants.
Ralf Corsépius [Thu, 20 Sep 2007 05:36:41 +0000 (07:36 +0200)]
Remove splint remnants.

16 years agoAdd dependency on libbz2.
Ralf Corsépius [Thu, 20 Sep 2007 04:53:59 +0000 (06:53 +0200)]
Add dependency on libbz2.

16 years agoTighten check for libbz2.
Ralf Corsépius [Thu, 20 Sep 2007 04:53:19 +0000 (06:53 +0200)]
Tighten check for libbz2.

16 years agoDead code removal
Panu Matilainen [Wed, 19 Sep 2007 14:38:33 +0000 (17:38 +0300)]
Dead code removal
All packages have provide their own name = ver-rel, checking deps against
provides is sufficient, name doesn't need separate handling.

16 years agoRemove long since dead rpmrc provides code
Panu Matilainen [Wed, 19 Sep 2007 14:32:29 +0000 (17:32 +0300)]
Remove long since dead rpmrc provides code

16 years agoRemove ancient RH-comment
Panu Matilainen [Wed, 19 Sep 2007 13:51:32 +0000 (16:51 +0300)]
Remove ancient RH-comment

16 years agoRemove --redhatprovides / --redhatrequires popt aliases
Panu Matilainen [Wed, 19 Sep 2007 13:49:41 +0000 (16:49 +0300)]
Remove --redhatprovides / --redhatrequires popt aliases
- highly vendor specific
- not even RH uses them anymore..

16 years agoAdjust pktlen to pgpReadPkt's expectations.
Ralf Corsépius [Wed, 19 Sep 2007 13:03:39 +0000 (15:03 +0200)]
Adjust pktlen to pgpReadPkt's expectations.

16 years agoCosmetics.
Ralf Corsépius [Wed, 19 Sep 2007 13:02:40 +0000 (15:02 +0200)]
Cosmetics.

16 years agoRemove db-internals from rpmts
Panu Matilainen [Wed, 19 Sep 2007 10:59:05 +0000 (13:59 +0300)]
Remove db-internals from rpmts
- api for getting db ops out of rpmdb
- api for setting chrootdone of rpmdb
- replace db internal accesses with api uses

16 years agoRename --with-internal-db into --with-external-db.
Ralf Corsépius [Wed, 19 Sep 2007 03:32:03 +0000 (05:32 +0200)]
Rename --with-internal-db into --with-external-db.
Add AC_ARG_WITH(external_db).

16 years agoRemove NPTL games.
Ralf Corsépius [Wed, 19 Sep 2007 03:15:57 +0000 (05:15 +0200)]
Remove NPTL games.

16 years agoMove EXTRA_DIST out of PYTHON block.
Ralf Corsépius [Wed, 19 Sep 2007 03:13:13 +0000 (05:13 +0200)]
Move EXTRA_DIST out of PYTHON block.
Move system.h into *_SOURCES.

16 years agoAdd check for db_threadid_t in db.h.
Ralf Corsépius [Tue, 18 Sep 2007 17:18:09 +0000 (19:18 +0200)]
Add check for db_threadid_t in db.h.

16 years agoBuild db3isalive only if it is being used.
Ralf Corsépius [Tue, 18 Sep 2007 17:04:34 +0000 (19:04 +0200)]
Build db3isalive only if it is being used.

16 years agoRename BZIP2BIN->__BZIP2.
Ralf Corsépius [Tue, 18 Sep 2007 12:59:22 +0000 (14:59 +0200)]
Rename BZIP2BIN->__BZIP2.
Rename GZIPBIN->__GZIP.
Rename UNZIPBIN->__UNZIP.

16 years agoRename BZIP2BIN->__BZIP2.
Ralf Corsépius [Tue, 18 Sep 2007 12:55:58 +0000 (14:55 +0200)]
Rename BZIP2BIN->__BZIP2.
Rename GZIPBIN->__GZIP.
Rename UNZIPBIN->__UNZIP.

16 years agoRemove WITH_POPT (Unused).
Ralf Corsépius [Tue, 18 Sep 2007 10:44:29 +0000 (12:44 +0200)]
Remove WITH_POPT (Unused).

16 years agos/libary/library/
Ralf Corsépius [Tue, 18 Sep 2007 10:41:47 +0000 (12:41 +0200)]
s/libary/library/

16 years agoFix ancient typo.
Ralf Corsépius [Tue, 18 Sep 2007 08:49:20 +0000 (10:49 +0200)]
Fix ancient typo.

16 years agoUse rpmquery instead of rpm for --querytags check to avoid popt aliasing issues
Panu Matilainen [Tue, 18 Sep 2007 08:36:17 +0000 (11:36 +0300)]
Use rpmquery instead of rpm for --querytags check to avoid popt aliasing issues

16 years agoInvert logic to setup WITH_INTERNAL_DB.
Ralf Corsépius [Tue, 18 Sep 2007 06:09:43 +0000 (08:09 +0200)]
Invert logic to setup WITH_INTERNAL_DB.

16 years agoFix typo in previous patch.
Ralf Corsépius [Tue, 18 Sep 2007 05:38:50 +0000 (07:38 +0200)]
Fix typo in previous patch.

16 years agoAppend @WITH_DB_LIB@ to Libs.private.
Ralf Corsépius [Tue, 18 Sep 2007 04:40:16 +0000 (06:40 +0200)]
Append @WITH_DB_LIB@ to Libs.private.

16 years agoReorganize *_DATA creation.
Ralf Corsépius [Tue, 18 Sep 2007 04:39:31 +0000 (06:39 +0200)]
Reorganize *_DATA creation.

16 years agoInclude fts.h.
Ralf Corsépius [Tue, 18 Sep 2007 04:19:57 +0000 (06:19 +0200)]
Include fts.h.

16 years agoRemove.
Ralf Corsépius [Tue, 18 Sep 2007 04:04:07 +0000 (06:04 +0200)]
Remove.

16 years agoRemove.
Ralf Corsépius [Tue, 18 Sep 2007 04:03:33 +0000 (06:03 +0200)]
Remove.

16 years agoChange main() to using char *argv[].
Ralf Corsépius [Tue, 18 Sep 2007 03:53:37 +0000 (05:53 +0200)]
Change main() to using char *argv[].

16 years agoAdd preliminary --with/without-internal-db processing.
Ralf Corsépius [Tue, 18 Sep 2007 03:01:45 +0000 (05:01 +0200)]
Add preliminary --with/without-internal-db processing.

16 years agoConditionally build db3.
Ralf Corsépius [Tue, 18 Sep 2007 02:23:21 +0000 (04:23 +0200)]
Conditionally build db3.
Add DIST_SUBDIRS.

16 years agoRegenerate.
Ralf Corsépius [Tue, 18 Sep 2007 01:22:16 +0000 (03:22 +0200)]
Regenerate.

16 years agoEliminate WITH_DB_SUBDIR.
Ralf Corsépius [Mon, 17 Sep 2007 15:58:29 +0000 (17:58 +0200)]
Eliminate WITH_DB_SUBDIR.

16 years agoAdd db.h to nodist_librpmdb_la_SOURCES.
Ralf Corsépius [Mon, 17 Sep 2007 15:53:47 +0000 (17:53 +0200)]
Add db.h to nodist_librpmdb_la_SOURCES.
Eliminate WITH_DB_SUBDIR.

16 years agoDon't install db.h.
Ralf Corsépius [Mon, 17 Sep 2007 14:56:13 +0000 (16:56 +0200)]
Don't install db.h.
Move db.h to librpmdb_la_SOURCES.

16 years agoInclude rpmts.h, not depends.c (!)
Panu Matilainen [Mon, 17 Sep 2007 14:54:51 +0000 (17:54 +0300)]
Include rpmts.h, not depends.c (!)

16 years agoDon't install db.h.
Ralf Corsépius [Mon, 17 Sep 2007 14:54:48 +0000 (16:54 +0200)]
Don't install db.h.
Move db.h to librpmdb_la_SOURCES.

16 years agoDon't install db.h.
Ralf Corsépius [Mon, 17 Sep 2007 14:52:34 +0000 (16:52 +0200)]
Don't install db.h.
Move db.h to librpmdb_la_SOURCES.

16 years agoMake fts.h a private header
Panu Matilainen [Mon, 17 Sep 2007 14:20:11 +0000 (17:20 +0300)]
Make fts.h a private header

16 years agoRemove db_emu.h.
Ralf Corsépius [Mon, 17 Sep 2007 13:02:07 +0000 (15:02 +0200)]
Remove db_emu.h.
> Remove stray EXTRA_DIST.

16 years agoRemove (Unused).
Ralf Corsépius [Mon, 17 Sep 2007 13:01:27 +0000 (15:01 +0200)]
Remove (Unused).

16 years agoAdd support for extern BDB.
Ralf Corsépius [Mon, 17 Sep 2007 12:27:43 +0000 (14:27 +0200)]
Add support for extern BDB.

16 years agoAutomated merge with ssh://pmatilai@login.linux.duke.edu//home/groups/rpm/hg/rpm/
Panu Matilainen [Mon, 17 Sep 2007 12:15:18 +0000 (15:15 +0300)]
Automated merge with ssh://pmatilai@login.linux.duke.edu//home/groups/rpm/hg/rpm/

16 years agomisc.h is a private header
Panu Matilainen [Mon, 17 Sep 2007 12:15:03 +0000 (15:15 +0300)]
misc.h is a private header
- include it from build/*.c where needed
- dont install

16 years agoReorganize.
Ralf Corsépius [Mon, 17 Sep 2007 12:14:05 +0000 (14:14 +0200)]
Reorganize.

16 years agougid.h is private header really
Panu Matilainen [Mon, 17 Sep 2007 11:50:25 +0000 (14:50 +0300)]
ugid.h is private header really

16 years agoMore typos, doh...
Panu Matilainen [Mon, 17 Sep 2007 11:43:32 +0000 (14:43 +0300)]
More typos, doh...

16 years agoTypo..
Panu Matilainen [Mon, 17 Sep 2007 11:42:18 +0000 (14:42 +0300)]
Typo..

16 years agoUse rpmtsGetRdb() instead of poking ts internals
Panu Matilainen [Mon, 17 Sep 2007 11:41:22 +0000 (14:41 +0300)]
Use rpmtsGetRdb() instead of poking ts internals

16 years agorpmhash is an internal header really
Panu Matilainen [Mon, 17 Sep 2007 10:45:39 +0000 (13:45 +0300)]
rpmhash is an internal header really

16 years agoMergesort is internal details..
Panu Matilainen [Mon, 17 Sep 2007 10:31:11 +0000 (13:31 +0300)]
Mergesort is internal details..

16 years agoMake sqlite backend build again.
Panu Matilainen [Mon, 17 Sep 2007 10:26:22 +0000 (13:26 +0300)]
Make sqlite backend build again.

16 years agoHide db index handling and rpmdb details from the API to internal header
Panu Matilainen [Mon, 17 Sep 2007 10:17:07 +0000 (13:17 +0300)]
Hide db index handling and rpmdb details from the API to internal header

16 years agoAdd with_internal_db.
Ralf Corsépius [Mon, 17 Sep 2007 09:33:18 +0000 (11:33 +0200)]
Add with_internal_db.

16 years agoApply poptReadDefaultConfig iff RPM_USES_POPTREADDEFAULTCONFIG is set.
Ralf Corsépius [Mon, 17 Sep 2007 09:29:52 +0000 (11:29 +0200)]
Apply poptReadDefaultConfig iff RPM_USES_POPTREADDEFAULTCONFIG is set.

16 years agoApply poptReadDefaultConfig iff RPM_USES_POPTREADDEFAULTCONFIG is set.
Ralf Corsépius [Mon, 17 Sep 2007 09:28:27 +0000 (11:28 +0200)]
Apply poptReadDefaultConfig iff RPM_USES_POPTREADDEFAULTCONFIG is set.

16 years agoOops, unbreak file opens..
Panu Matilainen [Mon, 17 Sep 2007 08:59:45 +0000 (11:59 +0300)]
Oops, unbreak file opens..

16 years agoRemove unneeded socket/inet includes
Panu Matilainen [Mon, 17 Sep 2007 07:45:42 +0000 (10:45 +0300)]
Remove unneeded socket/inet includes

16 years agoRemove url caching, don't need it...
Panu Matilainen [Mon, 17 Sep 2007 07:31:18 +0000 (10:31 +0300)]
Remove url caching, don't need it...

16 years agoRemove url/transport items from rpmio file handle structs and uses
Panu Matilainen [Mon, 17 Sep 2007 06:48:08 +0000 (09:48 +0300)]
Remove url/transport items from rpmio file handle structs and uses

16 years agoRemove transport-related items from urlinfo and uses
Panu Matilainen [Mon, 17 Sep 2007 06:32:25 +0000 (09:32 +0300)]
Remove transport-related items from urlinfo and uses

16 years agoRemove (Dead, unused).
Ralf Corsépius [Mon, 17 Sep 2007 03:52:29 +0000 (05:52 +0200)]
Remove (Dead, unused).

16 years agoRemove (Dead, unused).
Ralf Corsépius [Mon, 17 Sep 2007 03:51:34 +0000 (05:51 +0200)]
Remove (Dead, unused).

16 years agoRename options into optionsTable for source-code consistency.
Ralf Corsépius [Mon, 17 Sep 2007 02:32:23 +0000 (04:32 +0200)]
Rename options into optionsTable for source-code consistency.

16 years agoReformat call to poptGetContext for better source-code readability.
Ralf Corsépius [Mon, 17 Sep 2007 02:31:28 +0000 (04:31 +0200)]
Reformat call to poptGetContext for better source-code readability.

16 years agoAdd if defined(ENABLE_NLS) guards around i18n-initialization.
Ralf Corsépius [Mon, 17 Sep 2007 02:11:59 +0000 (04:11 +0200)]
Add if defined(ENABLE_NLS) guards around i18n-initialization.

16 years agoAdd if defined(ENABLE_NLS) guards around i18n-initialization.
Ralf Corsépius [Mon, 17 Sep 2007 02:11:39 +0000 (04:11 +0200)]
Add if defined(ENABLE_NLS) guards around i18n-initialization.

16 years agoRemove unused var "selected"
Ralf Corsépius [Sat, 15 Sep 2007 06:07:15 +0000 (08:07 +0200)]
Remove unused var "selected"