platform/upstream/rpm.git
16 years agoDrop extra include paths from python too
Panu Matilainen [Tue, 27 Nov 2007 09:56:05 +0000 (11:56 +0200)]
Drop extra include paths from python too

16 years agoMove rpmfiBuildFNames() to rpmfi now that it's possible
Panu Matilainen [Tue, 27 Nov 2007 09:52:55 +0000 (11:52 +0200)]
Move rpmfiBuildFNames() to rpmfi now that it's possible

16 years agoMove legacy%#¤%#¤ to librpm now that it can move..
Panu Matilainen [Tue, 27 Nov 2007 09:34:23 +0000 (11:34 +0200)]
Move legacy%#¤%#¤ to librpm now that it can move..

16 years agoDrop support for old style file tags in rpmdb
Panu Matilainen [Tue, 27 Nov 2007 09:24:45 +0000 (11:24 +0200)]
Drop support for old style file tags in rpmdb

16 years agoRemove long since dead fields from python header objects
Panu Matilainen [Tue, 27 Nov 2007 08:13:16 +0000 (10:13 +0200)]
Remove long since dead fields from python header objects

16 years agoRemove debug junk
Panu Matilainen [Tue, 27 Nov 2007 07:55:40 +0000 (09:55 +0200)]
Remove debug junk

16 years agoTeach dbiFindByLabel() to grok epochs
Panu Matilainen [Tue, 27 Nov 2007 07:52:44 +0000 (09:52 +0200)]
Teach dbiFindByLabel() to grok epochs

16 years agoAdjust comment.
Ralf Corsépius [Mon, 26 Nov 2007 14:41:24 +0000 (15:41 +0100)]
Adjust comment.

16 years agos/build_os/host_os/
Ralf Corsépius [Mon, 26 Nov 2007 14:38:20 +0000 (15:38 +0100)]
s/build_os/host_os/

16 years agoRemove #include "lib/signature.h" (unused)
Ralf Corsépius [Mon, 26 Nov 2007 14:37:30 +0000 (15:37 +0100)]
Remove #include "lib/signature.h" (unused)

16 years agoRegenerate.
Ralf Corsépius [Mon, 26 Nov 2007 14:18:02 +0000 (15:18 +0100)]
Regenerate.

16 years agoFix quoting bug in preinstall.am generation.
Ralf Corsépius [Mon, 26 Nov 2007 14:17:52 +0000 (15:17 +0100)]
Fix quoting bug in preinstall.am generation.

16 years agoOne more pgpKeyID_t use
Panu Matilainen [Mon, 26 Nov 2007 12:48:29 +0000 (14:48 +0200)]
One more pgpKeyID_t use

16 years agoDefine and use pgpTime_t for pgp creation time(s)
Panu Matilainen [Mon, 26 Nov 2007 12:42:14 +0000 (14:42 +0200)]
Define and use pgpTime_t for pgp creation time(s)

16 years agoDefine and use pgpKeyID_t for pgp key id's
Panu Matilainen [Mon, 26 Nov 2007 12:19:38 +0000 (14:19 +0200)]
Define and use pgpKeyID_t for pgp key id's

16 years agoFix "byte" usage in test programs too
Panu Matilainen [Mon, 26 Nov 2007 11:51:44 +0000 (13:51 +0200)]
Fix "byte" usage in test programs too

16 years agoType pedantery.
Ralf Corsépius [Mon, 26 Nov 2007 09:53:47 +0000 (10:53 +0100)]
Type pedantery.

16 years agoEliminate type "byte"
Ralf Corsépius [Mon, 26 Nov 2007 09:42:39 +0000 (10:42 +0100)]
Eliminate type "byte"

16 years agoRemove unnecessary deps on NSS.
Ralf Corsépius [Sun, 25 Nov 2007 04:43:52 +0000 (05:43 +0100)]
Remove unnecessary deps on NSS.

16 years agoAdd a bunch of missing groupings to rpmlib.h items
Panu Matilainen [Fri, 23 Nov 2007 13:58:17 +0000 (15:58 +0200)]
Add a bunch of missing groupings to rpmlib.h items

16 years agoAdd a few missing rpmcli doxygen groupings
Panu Matilainen [Fri, 23 Nov 2007 13:57:51 +0000 (15:57 +0200)]
Add a few missing rpmcli doxygen groupings

16 years agoDoxygen cosmetics..
Panu Matilainen [Fri, 23 Nov 2007 13:47:34 +0000 (15:47 +0200)]
Doxygen cosmetics..

16 years agoAdd rpmtag + tag api doxygen group to librpm + hacking docs
Panu Matilainen [Fri, 23 Nov 2007 13:44:32 +0000 (15:44 +0200)]
Add rpmtag + tag api doxygen group to librpm + hacking docs

16 years agoRemove non-public stuff from librpm doxygen groups
Panu Matilainen [Fri, 23 Nov 2007 13:26:58 +0000 (15:26 +0200)]
Remove non-public stuff from librpm doxygen groups

16 years agoAdd doxygen group for rpmstring, include in librpm + hacking docs
Panu Matilainen [Fri, 23 Nov 2007 13:20:46 +0000 (15:20 +0200)]
Add doxygen group for rpmstring, include in librpm + hacking docs

16 years agoAdd doxygen group for rpmfileutil, include in librpm + hacking docs
Panu Matilainen [Fri, 23 Nov 2007 13:11:21 +0000 (15:11 +0200)]
Add doxygen group for rpmfileutil, include in librpm + hacking docs

16 years agoAdd doxygen group for rpmfc, include in librpm + hacking docs
Panu Matilainen [Fri, 23 Nov 2007 12:57:18 +0000 (14:57 +0200)]
Add doxygen group for rpmfc, include in librpm + hacking docs

16 years agodoxygen groupings for rpmsw, add to librpm + hacking dox
Panu Matilainen [Fri, 23 Nov 2007 12:51:30 +0000 (14:51 +0200)]
doxygen groupings for rpmsw, add to librpm + hacking dox

16 years agoBunch of rpmio doxygen groupings
Panu Matilainen [Fri, 23 Nov 2007 12:48:13 +0000 (14:48 +0200)]
Bunch of rpmio doxygen groupings

16 years agoAdd doxygen group for rpmsq, include in librpm + hacking docs
Panu Matilainen [Fri, 23 Nov 2007 12:45:16 +0000 (14:45 +0200)]
Add doxygen group for rpmsq, include in librpm + hacking docs

16 years agoAdd doxygen group for rpmlog, include in librpm + hacking docs
Panu Matilainen [Fri, 23 Nov 2007 12:43:01 +0000 (14:43 +0200)]
Add doxygen group for rpmlog, include in librpm + hacking docs

16 years agoAdd doxygen group for macros, include in librpm + hacking docs
Panu Matilainen [Fri, 23 Nov 2007 12:39:51 +0000 (14:39 +0200)]
Add doxygen group for macros, include in librpm + hacking docs

16 years agoAdd rpmps to doxygen modules page
Panu Matilainen [Fri, 23 Nov 2007 12:33:34 +0000 (14:33 +0200)]
Add rpmps to doxygen modules page

16 years agoAdd doxygen grouping to rpmps methods
Panu Matilainen [Fri, 23 Nov 2007 12:32:45 +0000 (14:32 +0200)]
Add doxygen grouping to rpmps methods

16 years agoAdd doxygen grouping to rpmgi methods
Panu Matilainen [Fri, 23 Nov 2007 12:19:15 +0000 (14:19 +0200)]
Add doxygen grouping to rpmgi methods

16 years agoAdd doxygen grouping to rpmfi methods
Panu Matilainen [Fri, 23 Nov 2007 12:17:33 +0000 (14:17 +0200)]
Add doxygen grouping to rpmfi methods

16 years agoAdd doxygen grouping to rpmds methods
Panu Matilainen [Fri, 23 Nov 2007 12:15:20 +0000 (14:15 +0200)]
Add doxygen grouping to rpmds methods

16 years agoAdd doxygen grouping to rpmte methods
Panu Matilainen [Fri, 23 Nov 2007 12:12:43 +0000 (14:12 +0200)]
Add doxygen grouping to rpmte methods

16 years agoExpand private include file names to be relative to $(top_srcdir)
Ralf Corsépius [Fri, 23 Nov 2007 10:48:18 +0000 (11:48 +0100)]
Expand private include file names to be relative to $(top_srcdir)

16 years agoExpand private include file names to be relative to $(top_srcdir)
Ralf Corsépius [Fri, 23 Nov 2007 10:47:48 +0000 (11:47 +0100)]
Expand private include file names to be relative to $(top_srcdir)

16 years agoReflect changes to include files.
Ralf Corsépius [Fri, 23 Nov 2007 10:44:04 +0000 (11:44 +0100)]
Reflect changes to include files.

16 years agoExpand private include file names to be relative to $(top_srcdir)
Ralf Corsépius [Fri, 23 Nov 2007 10:43:51 +0000 (11:43 +0100)]
Expand private include file names to be relative to $(top_srcdir)

16 years agoReflect changes to include files.
Ralf Corsépius [Fri, 23 Nov 2007 10:41:38 +0000 (11:41 +0100)]
Reflect changes to include files.

16 years agoExpand private include file names to be relative to $(top_srcdir)
Ralf Corsépius [Fri, 23 Nov 2007 10:41:29 +0000 (11:41 +0100)]
Expand private include file names to be relative to $(top_srcdir)

16 years agoReflect changes to include files.
Ralf Corsépius [Fri, 23 Nov 2007 10:39:40 +0000 (11:39 +0100)]
Reflect changes to include files.

16 years agoExpand private include file names to be relative to $(top_srcdir)
Ralf Corsépius [Fri, 23 Nov 2007 10:39:29 +0000 (11:39 +0100)]
Expand private include file names to be relative to $(top_srcdir)

16 years agoReflect changes to include files.
Ralf Corsépius [Fri, 23 Nov 2007 10:38:17 +0000 (11:38 +0100)]
Reflect changes to include files.

16 years agoExpand private include file names to be relative to $(top_srcdir)
Ralf Corsépius [Fri, 23 Nov 2007 10:37:54 +0000 (11:37 +0100)]
Expand private include file names to be relative to $(top_srcdir)

16 years agoExport FD statistics enums + fdOp() method
Panu Matilainen [Fri, 23 Nov 2007 10:00:22 +0000 (12:00 +0200)]
Export FD statistics enums + fdOp() method

16 years agolibrpmio needs elf include+lib now, librpmdb doesn't
Panu Matilainen [Fri, 23 Nov 2007 08:32:10 +0000 (10:32 +0200)]
librpmio needs elf include+lib now, librpmdb doesn't

16 years agoMove rpmGlob() from macros to rpmfileutil.h
Panu Matilainen [Fri, 23 Nov 2007 08:27:29 +0000 (10:27 +0200)]
Move rpmGlob() from macros to rpmfileutil.h
- macros is all just macros now
- internal copy of popt stuff needs to go...

16 years agoMove rpmGetPath and rpmGenPath to rpmfileutil.h
Panu Matilainen [Fri, 23 Nov 2007 08:20:19 +0000 (10:20 +0200)]
Move rpmGetPath and rpmGenPath to rpmfileutil.h

16 years agoMove rpmCleanPath from macros to rpmfileutil.h
Panu Matilainen [Fri, 23 Nov 2007 08:10:19 +0000 (10:10 +0200)]
Move rpmCleanPath from macros to rpmfileutil.h

16 years agoMove file compression stuff from rpmmacro.h to rpmfileutil.h
Panu Matilainen [Fri, 23 Nov 2007 08:05:49 +0000 (10:05 +0200)]
Move file compression stuff from rpmmacro.h to rpmfileutil.h

16 years agoMove rpmioMkpath from rpmio.h to rpmfileutil.h
Panu Matilainen [Fri, 23 Nov 2007 07:58:02 +0000 (09:58 +0200)]
Move rpmioMkpath from rpmio.h to rpmfileutil.h

16 years agoRemove unnecessary paths from python includepath
Panu Matilainen [Fri, 23 Nov 2007 07:13:18 +0000 (09:13 +0200)]
Remove unnecessary paths from python includepath
- no private includes from lib and build are needed
- document rpmdb and rpmio private needs

16 years agoRegenerate preinstall.am
Panu Matilainen [Fri, 23 Nov 2007 07:06:45 +0000 (09:06 +0200)]
Regenerate preinstall.am

16 years agoMove makeTempFile() from misc.h to rpmfileutil.h
Panu Matilainen [Thu, 22 Nov 2007 14:28:30 +0000 (16:28 +0200)]
Move makeTempFile() from misc.h to rpmfileutil.h
- probably not very useful outside rpm but used all over the tree,
- rename to rpmMkTempFile() for namespacing since we're exporting it now

16 years agolibrpmdb doesn't need rpmio private headers anymore
Panu Matilainen [Fri, 23 Nov 2007 06:45:59 +0000 (08:45 +0200)]
librpmdb doesn't need rpmio private headers anymore

16 years agoCalculating file checksums aint legacy activity
Panu Matilainen [Thu, 22 Nov 2007 14:06:11 +0000 (16:06 +0200)]
Calculating file checksums aint legacy activity
- move the checksumming into librpmio
- rename domd5() to rpmDoDigest() with future expansion for specifying
  digest algorithm type (ignored for now)
- rearrange parameters to leave return types last
- one less rpmio_internal outside rpmio/, whee...
- used all over the rpm tree, and it knows about handling prelinked files
  so potentially useful for outside users, might as well export it
- new public header rpmfilutil.h for collecting this sort of stuff

16 years agoMove pgpDig typedefs to a more obvious place..
Panu Matilainen [Thu, 22 Nov 2007 12:48:07 +0000 (14:48 +0200)]
Move pgpDig typedefs to a more obvious place..

16 years agoMove the xstr*() string variants from rpmio.h to rpmstring.h
Panu Matilainen [Fri, 23 Nov 2007 06:32:08 +0000 (08:32 +0200)]
Move the xstr*() string variants from rpmio.h to rpmstring.h

16 years agoMove string helpers from lib/misc.h to rpmio/rpmstring.h
Panu Matilainen [Fri, 23 Nov 2007 06:21:23 +0000 (08:21 +0200)]
Move string helpers from lib/misc.h to rpmio/rpmstring.h
- splitString, freeSplitString, stripTrailingChar

16 years agoMove stringbuf into librpmio, rename header
Panu Matilainen [Fri, 23 Nov 2007 06:11:42 +0000 (08:11 +0200)]
Move stringbuf into librpmio, rename header
- rename header to more generic rpmstring.h for collecting misc string
  helper functions

16 years agoUse #include <x.h> syntax to include public headers.
Ralf Corsépius [Fri, 23 Nov 2007 05:46:19 +0000 (06:46 +0100)]
Use #include <x.h> syntax to include public headers.

16 years agoFix typo in preinstall.am generation.
Ralf Corsépius [Fri, 23 Nov 2007 05:28:09 +0000 (06:28 +0100)]
Fix typo in preinstall.am generation.

16 years agoRemove AM_CPPFLAGS += -I$(top_srcdir)/build.
Ralf Corsépius [Thu, 22 Nov 2007 17:13:53 +0000 (18:13 +0100)]
Remove AM_CPPFLAGS += -I$(top_srcdir)/build.
Remove AM_CPPFLAGS += -I$(top_srcdir)/lib.
Let librpmdb only depend on librpmio.

16 years agoRegenerate.
Ralf Corsépius [Thu, 22 Nov 2007 16:22:22 +0000 (17:22 +0100)]
Regenerate.

16 years agoFix preinstall.am handling for VPATH builds.
Ralf Corsépius [Thu, 22 Nov 2007 16:19:38 +0000 (17:19 +0100)]
Fix preinstall.am handling for VPATH builds.

16 years agoAdd -I$(top_builddir)/include/rpm to AM_CPPFLAGS.
Ralf Corsépius [Thu, 22 Nov 2007 15:45:25 +0000 (16:45 +0100)]
Add -I$(top_builddir)/include/rpm to AM_CPPFLAGS.

16 years agoAdd -I$(top_builddir)/include/rpm to AM_CPPFLAGS.
Ralf Corsépius [Thu, 22 Nov 2007 15:17:20 +0000 (16:17 +0100)]
Add -I$(top_builddir)/include/rpm to AM_CPPFLAGS.

16 years agoAdd header preinstallation.
Ralf Corsépius [Thu, 22 Nov 2007 14:54:42 +0000 (15:54 +0100)]
Add header preinstallation.

16 years agoInclude system.h
Ralf Corsépius [Thu, 22 Nov 2007 12:41:06 +0000 (13:41 +0100)]
Include system.h

16 years agoEliminate egrep (Abandoned by POSIX many years ago).
Ralf Corsépius [Thu, 22 Nov 2007 08:43:40 +0000 (09:43 +0100)]
Eliminate egrep (Abandoned by POSIX many years ago).

16 years agoAdd AC_USE_SYSTEM_EXTENSIONS.
Ralf Corsépius [Wed, 21 Nov 2007 15:51:57 +0000 (16:51 +0100)]
Add AC_USE_SYSTEM_EXTENSIONS.
Remove AC_AIX, AC_MINIX.
Do not add -D_GNU_SOURCE to CFLAGS.

16 years agos/build_cpu/host_cpu/
Ralf Corsépius [Wed, 21 Nov 2007 10:34:30 +0000 (11:34 +0100)]
s/build_cpu/host_cpu/

17 years agoLose rpmerr.h for good
Panu Matilainen [Mon, 19 Nov 2007 14:32:15 +0000 (16:32 +0200)]
Lose rpmerr.h for good

17 years agoReplace all RPMERR_* etc uses with corresponding RPMLOG_* levels
Panu Matilainen [Mon, 19 Nov 2007 14:25:24 +0000 (16:25 +0200)]
Replace all RPMERR_* etc uses with corresponding RPMLOG_* levels

17 years agoSplit digest-stuff out of rpmio_internal to separate header
Panu Matilainen [Fri, 16 Nov 2007 15:37:54 +0000 (17:37 +0200)]
Split digest-stuff out of rpmio_internal to separate header

17 years agoEliminate copy-paste fd digest stealing, stuff into rpmio_internal
Panu Matilainen [Fri, 16 Nov 2007 15:18:55 +0000 (17:18 +0200)]
Eliminate copy-paste fd digest stealing, stuff into rpmio_internal

17 years agoEliminate need for rpmio_internal.h in rpmdb.c
Panu Matilainen [Fri, 16 Nov 2007 12:16:56 +0000 (14:16 +0200)]
Eliminate need for rpmio_internal.h in rpmdb.c
- adds new pgpExtractPubkeyFingerprint() API function

Ported from rpm5.org work of Jeff Johnson

17 years agoDebugedit needs crypto initialization too..
Panu Matilainen [Thu, 15 Nov 2007 13:16:10 +0000 (15:16 +0200)]
Debugedit needs crypto initialization too..

17 years agoRemember to initialize crypto in various test programs..
Panu Matilainen [Thu, 15 Nov 2007 12:03:19 +0000 (14:03 +0200)]
Remember to initialize crypto in various test programs..

17 years agoInitialize NSS early (rhbz#382091)
Panu Matilainen [Thu, 15 Nov 2007 09:08:53 +0000 (11:08 +0200)]
Initialize NSS early (rhbz#382091)
- add new rpmInitCrypto() API for directly initializing any crypto
- call it from rpmReadConfig() to ensure it's always initialized early on

17 years agoFix base64 decoder related crash (rhbz#380911)
Panu Matilainen [Wed, 14 Nov 2007 19:52:42 +0000 (21:52 +0200)]
Fix base64 decoder related crash (rhbz#380911)

The base64 decoder code incorrectly assumed that char is a signed type.
Patch from Tomas Mraz

17 years agoFix rpm -K segfaulting on corrupted header
Panu Matilainen [Tue, 13 Nov 2007 11:11:54 +0000 (13:11 +0200)]
Fix rpm -K segfaulting on corrupted header
(http://qa.mandriva.com/show_bug.cgi?id=#33735)

Patch from Pascal Rigaux

17 years agoMake "rpmbuild -bb --quiet" quiet as should be
Panu Matilainen [Tue, 13 Nov 2007 11:09:01 +0000 (13:09 +0200)]
Make "rpmbuild -bb --quiet" quiet as should be
(without this patch, the option is simply ignored in rpmcliAllPoptTable)

Also rhbz#124300

Patch from Pascal Rigaux

17 years agoFix build without O2
Panu Matilainen [Tue, 13 Nov 2007 11:03:38 +0000 (13:03 +0200)]
Fix build without O2

HAVE_LOCALE_H is used by system.h, ensure it is defined properly
(the issue only occurs when compiling without __OPTIMIZE__ (ie -O2)
 otherwise libintl.h do include locale.h)

Patch from Pascal Rigaux

17 years agoAlign rpm -V output
Panu Matilainen [Tue, 13 Nov 2007 11:00:52 +0000 (13:00 +0200)]
Align rpm -V output
Patch from Pascal Rigaux

17 years agoUse dgettext() instead of just gettext()
Panu Matilainen [Tue, 13 Nov 2007 10:57:49 +0000 (12:57 +0200)]
Use dgettext() instead of just gettext()
Patch from Pascal Rigaux

17 years agoFix free on invalid pointer after displaying "Unable to open temp file"
Panu Matilainen [Tue, 13 Nov 2007 10:47:22 +0000 (12:47 +0200)]
Fix free on invalid pointer after displaying "Unable to open temp file"
Patch from Pascal Rigaux

17 years agoMinimal protection for rpmsqElem internals
Panu Matilainen [Thu, 8 Nov 2007 13:59:45 +0000 (15:59 +0200)]
Minimal protection for rpmsqElem internals

17 years agoRemove unnecessary psm.h include
Panu Matilainen [Thu, 8 Nov 2007 13:56:11 +0000 (15:56 +0200)]
Remove unnecessary psm.h include

17 years agoDead code removal
Panu Matilainen [Thu, 8 Nov 2007 12:17:17 +0000 (14:17 +0200)]
Dead code removal

17 years agoUse _target_* macros for build restriction checking
Panu Matilainen [Thu, 8 Nov 2007 12:09:31 +0000 (14:09 +0200)]
Use _target_* macros for build restriction checking
- avoid using deprecated rpmrc rpmGet*Info()
- plug a small memory leak (remember to free the values too)
- potential linux vs Linux as the os name implications but as isMemberInEntry()
  ignores case anyway, shouldn't matter

17 years agoDisable -Wstrict-prototypes for now due to noise from NSPR headers
Panu Matilainen [Thu, 8 Nov 2007 10:57:02 +0000 (12:57 +0200)]
Disable -Wstrict-prototypes for now due to noise from NSPR headers

17 years agoKludge around mktemp() uses to shut up build warnings
Panu Matilainen [Thu, 8 Nov 2007 10:54:05 +0000 (12:54 +0200)]
Kludge around mktemp() uses to shut up build warnings

17 years agoRemove dead & unused RPMTAG_ARCHIVESIZE addition code
Panu Matilainen [Thu, 8 Nov 2007 10:34:53 +0000 (12:34 +0200)]
Remove dead & unused RPMTAG_ARCHIVESIZE addition code
- rpm >= 4.1 uses RPMTAG_PAYLOADSIZE and translates RPMTAG_ARCHIVESIZE to
  it automatically

17 years agoKill off deprecated and unused rpmGetMachine() entirely
Panu Matilainen [Thu, 8 Nov 2007 10:26:46 +0000 (12:26 +0200)]
Kill off deprecated and unused rpmGetMachine() entirely

17 years agoRemove rpmSetMachine() from API
Panu Matilainen [Thu, 8 Nov 2007 10:22:14 +0000 (12:22 +0200)]
Remove rpmSetMachine() from API