platform/upstream/rpm.git
15 years agorpmsqAction() proto needs SA_SIGINFO conditionals too (ticket #4)
Panu Matilainen [Thu, 6 Nov 2008 08:03:10 +0000 (10:03 +0200)]
rpmsqAction() proto needs SA_SIGINFO conditionals too (ticket #4)

15 years agoNuke the ugly hardwired "known arch" list from label parsing
Panu Matilainen [Wed, 5 Nov 2008 18:37:48 +0000 (20:37 +0200)]
Nuke the ugly hardwired "known arch" list from label parsing
- we have list of known archs in rpmrc, might as well use it
- avoids having to patch & recompile rpm just to have rpmtsInitIterator()
  recognize new archs when it's runtime configurable otherwise
- checking against compatible arch would be saner except then people could
  get into even more trouble using --ignorearch...

15 years agoCalculate filename buffer len lazily in rpmfiFN() as needed
Panu Matilainen [Wed, 5 Nov 2008 13:44:35 +0000 (15:44 +0200)]
Calculate filename buffer len lazily in rpmfiFN() as needed
- avoids having to separately calculate in genCpioListAndHeader()
- avoids unnecessary fnlen field in rpmfi struct
- avoids having to calculate it at all if rpmfiFN() is never called

15 years agoRemove yet more unused fields from rpmfi struct
Panu Matilainen [Wed, 5 Nov 2008 13:24:08 +0000 (15:24 +0200)]
Remove yet more unused fields from rpmfi struct

15 years agoRemove fperms and dperms from rpmfi struct
Panu Matilainen [Wed, 5 Nov 2008 13:18:43 +0000 (15:18 +0200)]
Remove fperms and dperms from rpmfi struct
- only fsm internals need and just use straightforward defaults, move
  the defaults there...

15 years agoUse cpioMapFlags type consistently for map flags
Panu Matilainen [Wed, 5 Nov 2008 12:30:01 +0000 (14:30 +0200)]
Use cpioMapFlags type consistently for map flags

15 years agoStop messing with fi->fstates allocations in psm
Panu Matilainen [Wed, 5 Nov 2008 12:10:16 +0000 (14:10 +0200)]
Stop messing with fi->fstates allocations in psm
- it's alloced and freed by rpmfiNew()/Free() always anyway

15 years agoKill off per-file cpio map flags
Panu Matilainen [Wed, 5 Nov 2008 11:17:50 +0000 (13:17 +0200)]
Kill off per-file cpio map flags
- nothing uses/needs them, one less murky fi->foo allocation less
- apparently a leftover from initial multilib attempts long long ago

15 years agoRemove unused variable
Panu Matilainen [Wed, 5 Nov 2008 10:45:03 +0000 (12:45 +0200)]
Remove unused variable

15 years agoRemove useless rpmfi->gid and uid "defaults"
Panu Matilainen [Wed, 5 Nov 2008 10:38:16 +0000 (12:38 +0200)]
Remove useless rpmfi->gid and uid "defaults"
- they were only ever set on src.rpm installation yet overridden by
  package contents unless src.rpm didn't contain RPMTAG_FILEUSERNAME
  (and GROUP). Which would mean rpm 1.0 packages or thereabouts, or a
  malformed package. In that case we just fall back to root uid,
  it hardly matters

15 years agofi->actions is already initialized earlier in rpmfiNew()
Panu Matilainen [Wed, 5 Nov 2008 09:49:33 +0000 (11:49 +0200)]
fi->actions is already initialized earlier in rpmfiNew()

15 years agofi->actions cannot be non-NULL in rpmfiNew()
Panu Matilainen [Wed, 5 Nov 2008 09:47:29 +0000 (11:47 +0200)]
fi->actions cannot be non-NULL in rpmfiNew()

15 years agoDead code removal
Panu Matilainen [Wed, 5 Nov 2008 07:36:20 +0000 (09:36 +0200)]
Dead code removal

15 years agoStop messing around with rpmfi user+group names from psm
Panu Matilainen [Tue, 4 Nov 2008 12:53:11 +0000 (14:53 +0200)]
Stop messing around with rpmfi user+group names from psm
- these are loaded and freed by rpmfiNew/Free() as necessary

15 years agoFix segfault on relocation (rhbz#468319)
Panu Matilainen [Tue, 4 Nov 2008 11:33:27 +0000 (13:33 +0200)]
Fix segfault on relocation (rhbz#468319)
- a bogus free() / thinko

15 years agoAvoid leaking C99 options into stock %{__cc} macro
Panu Matilainen [Tue, 4 Nov 2008 09:36:01 +0000 (11:36 +0200)]
Avoid leaking C99 options into stock %{__cc} macro

15 years agoReturn proper exit code when exec*() functions fail
Jindrich Novy [Tue, 4 Nov 2008 09:09:31 +0000 (10:09 +0100)]
Return proper exit code when exec*() functions fail
- the correct exit code should be 127 accoring to bash(1),
  we want to keep the same exit code behaviour as bash for rpm

15 years agoFix building on systems where SA_SIGINFO isn't available (ticket #4)
Panu Matilainen [Tue, 4 Nov 2008 08:28:20 +0000 (10:28 +0200)]
Fix building on systems where SA_SIGINFO isn't available (ticket #4)
- patch from Adam Tkac

15 years agoUse more portable file access mode tests (ticket #5)
Panu Matilainen [Tue, 4 Nov 2008 07:52:19 +0000 (09:52 +0200)]
Use more portable file access mode tests (ticket #5)
- don't make assumptions about how O_RDWR and friends are defined, use the
  portable way of masking flags with O_ACCMODE and explicit comparison
  against the mode we're interested in

15 years agoEnsure PATH_MAX is defined (ticket #3) Adam Tkac
Panu Matilainen [Mon, 3 Nov 2008 12:13:45 +0000 (14:13 +0200)]
Ensure PATH_MAX is defined (ticket #3) Adam Tkac
- POSIX doesn't require PATH_MAX to be defined as constant, and Hurd
  doesn't define it...
- deal with it just once in system.h for now, the proper fix is to get
  rid of needing it at all (ie add a mallocing realpath() clone to librpmio)
- patch from Adam Tkac

15 years agoDrop unnecessary trailing slash in pkgconfig includedir
Panu Matilainen [Fri, 31 Oct 2008 15:45:43 +0000 (17:45 +0200)]
Drop unnecessary trailing slash in pkgconfig includedir

15 years agoAdjust for file output change (rhbz#468129)
Panu Matilainen [Fri, 31 Oct 2008 08:17:07 +0000 (10:17 +0200)]
Adjust for file output change (rhbz#468129)
- file util used reported file details along with mime type, newer ones don't

15 years agoKill of scareMem / keep header flag from rpmds
Panu Matilainen [Thu, 30 Oct 2008 12:12:18 +0000 (14:12 +0200)]
Kill of scareMem / keep header flag from rpmds
- unnecessary complication which doesn't benefit anything (anymore)

15 years agoChange all in-tree rpmdsNew() uses to non-scaremem
Panu Matilainen [Thu, 30 Oct 2008 12:07:29 +0000 (14:07 +0200)]
Change all in-tree rpmdsNew() uses to non-scaremem
- shouldn't affect anything at all

15 years agoRemove unnecessary scaremem flags, hardwired to no scaremem anyway
Panu Matilainen [Thu, 30 Oct 2008 12:03:34 +0000 (14:03 +0200)]
Remove unnecessary scaremem flags, hardwired to no scaremem anyway
- no functional changes

15 years agoSave bunch of memory by not loading file classes in ts elements
Panu Matilainen [Thu, 30 Oct 2008 11:46:26 +0000 (13:46 +0200)]
Save bunch of memory by not loading file classes in ts elements
- install/remove doesn't need or use file class information at all,
  don't bother loading it, saves a few megs of memory on large transactions

15 years agoAdd couple of new rpmfi flags for file classes and file depends
Panu Matilainen [Thu, 30 Oct 2008 11:43:44 +0000 (13:43 +0200)]
Add couple of new rpmfi flags for file classes and file depends

15 years agoMove rpmfi color union calculation out of rpmfiNew()
Panu Matilainen [Wed, 29 Oct 2008 13:23:49 +0000 (15:23 +0200)]
Move rpmfi color union calculation out of rpmfiNew()
- nothing at all uses the calculated value or rpmfiColor() call, take
  the unnecessary calculation out of common path into rpmfiColor()

15 years agoRemove unused package color calculations from 2003
Panu Matilainen [Wed, 29 Oct 2008 13:06:37 +0000 (15:06 +0200)]
Remove unused package color calculations from 2003

15 years agoDon't bother fetching and storing pre- and posttrans scripts in rpmfi
Panu Matilainen [Wed, 29 Oct 2008 12:34:36 +0000 (14:34 +0200)]
Don't bother fetching and storing pre- and posttrans scripts in rpmfi
- the psm script machinery requires the full header to do anything at
  all, so the script + scriptprog were only used to check if the package
  *has* such scripts, a single integer will do just fine there thank you

15 years agoConvert in-tree users of rpmfiNew() to use flag names
Panu Matilainen [Wed, 29 Oct 2008 12:09:27 +0000 (14:09 +0200)]
Convert in-tree users of rpmfiNew() to use flag names
- easier to grep for than scareMem, preparing for further flags

15 years agoTurn rpmfiNew() scareMem argument into bitfield of flags
Panu Matilainen [Wed, 29 Oct 2008 12:08:12 +0000 (14:08 +0200)]
Turn rpmfiNew() scareMem argument into bitfield of flags
- preserve behavior with 0/1
- more room for controlling what gets loaded into file info set, not
  everything is needed at all times

15 years agoSet timezone to UTC every time to avoid local timezone confusion
Jindrich Novy [Wed, 29 Oct 2008 12:38:16 +0000 (13:38 +0100)]
Set timezone to UTC every time to avoid local timezone confusion

15 years agoAdd --filecaps popt alias for looking at file capabilities
Panu Matilainen [Wed, 29 Oct 2008 10:09:27 +0000 (12:09 +0200)]
Add --filecaps popt alias for looking at file capabilities
- doesn't need much as the capabilities are stored in human readable format

15 years agoAdd proper file capability verification support
Panu Matilainen [Wed, 29 Oct 2008 09:53:31 +0000 (11:53 +0200)]
Add proper file capability verification support
- at least for now, no capabilities is treated like empty capability set
  which are not exactly the same thing but probably sufficient for our
  purposes

15 years agoAdd fsm and rpmfi machinery for file capabilities
Panu Matilainen [Wed, 29 Oct 2008 09:49:38 +0000 (11:49 +0200)]
Add fsm and rpmfi machinery for file capabilities
- new rpmfiFCaps() API to retrieve the info from rpmfi set
- fsm internals quite similar to selinux handling
- plenty of #ifdef's, another possibility would be adding cap_foo dummies to
  system.h like for selinux

15 years agoStart adding POSIX 1.e draft file capability support for real
Panu Matilainen [Wed, 29 Oct 2008 08:49:25 +0000 (10:49 +0200)]
Start adding POSIX 1.e draft file capability support for real
- Parse %caps() from spec filelists, making best-guess verification of
  capability string sanity by passing to cap_from_text()
- The posix draft specifies capability export presentation through
  cap_copy_ext() which would be fine, except that we don't have support for
  arrays of binary data. So we simply store the textual representation
  of the capabilities in a string array which we do have.
- Only add capability tag on packages which actually have capabilities to
  avoid unnecessary header bloat.
- Add a new rpmlib() dependency for file capabilities, packages relying
  on file capabilities wont work correctly unless the capabilities are set.
  To be fully correct, support for on-filesystem file capabilities should
  be checked at runtime, as this depends on kernel versions and such...

15 years agoDon't try to verify capabilities of directories and non-regular files
Panu Matilainen [Wed, 29 Oct 2008 08:39:00 +0000 (10:39 +0200)]
Don't try to verify capabilities of directories and non-regular files

15 years agofix compiler warning
Florian Festi [Mon, 27 Oct 2008 12:08:39 +0000 (13:08 +0100)]
fix compiler warning
by removing unnesseccary return address for the hash key

15 years agoBeginnings of acl (POSIX.1e draft 17) verification support
Panu Matilainen [Sun, 26 Oct 2008 12:18:17 +0000 (14:18 +0200)]
Beginnings of acl (POSIX.1e draft 17) verification support
- if built with --with-acl, check that files and directories don't have
  any extra acl's set
- for now, any acl beyond the regular unix permission set is reported as
  file mode difference as the acl's cannot have been set by rpm itself
- patch from Andreas Gruenbacher, modified to use libacl instead of raw
  xattrs for portability, BUT atm this uses non-portable acl_equiv_mode()
  Linux libacl extension, the posix draft doesn't seem to have much in
  the way of comparing entries :-/

15 years agoBeginnings of file capability (POSIX.1e draft 15) verification support
Panu Matilainen [Sun, 26 Oct 2008 12:17:16 +0000 (14:17 +0200)]
Beginnings of file capability (POSIX.1e draft 15) verification support
- add minimal bits and pieces to check for capabilities in files on verify
- for now, any capability set is a verification failure as the capability
  cannot have been set by rpm itself
- patch from Andreas Gruenbacher, modified to use libcap instead of raw
  xattrs for portability

15 years agoRemove timezone autoconf checks and system.h reference
Jindrich Novy [Fri, 24 Oct 2008 10:32:31 +0000 (12:32 +0200)]
Remove timezone autoconf checks and system.h reference
- timezone is no more used so it's no more needed

15 years agoFix "timewarp" bug while listing changelog via "rpm -q --changelog"
Jindrich Novy [Fri, 24 Oct 2008 10:31:02 +0000 (12:31 +0200)]
Fix "timewarp" bug while listing changelog via "rpm -q --changelog"
- date is no more one day in advance than written in changelog

15 years agoUse better cache sizes
Florian Festi [Thu, 16 Oct 2008 10:13:13 +0000 (12:13 +0200)]
Use better cache sizes

15 years agoImprove finger print hash function to avoid degeneration of hash tables
Florian Festi [Thu, 16 Oct 2008 10:07:44 +0000 (12:07 +0200)]
Improve finger print hash function to avoid degeneration of hash tables

15 years agoSwitch to a better hash functions for strings: Jenkins One-at-a-time hash
Florian Festi [Thu, 16 Oct 2008 07:59:54 +0000 (09:59 +0200)]
Switch to a better hash functions for strings: Jenkins One-at-a-time hash

15 years agoUse only one, global fingerPrintCache to save a lot of stat calls
Florian Festi [Thu, 28 Aug 2008 14:06:36 +0000 (16:06 +0200)]
Use only one, global fingerPrintCache to save a lot of stat calls

15 years agosymlinks
Florian Festi [Wed, 22 Oct 2008 13:17:49 +0000 (15:17 +0200)]
symlinks

15 years agoDetect to be installed symlinks for file fingerprinting (file conflicts)
Florian Festi [Wed, 22 Oct 2008 12:08:49 +0000 (14:08 +0200)]
Detect to be installed symlinks for file fingerprinting (file conflicts)

15 years agoFix path problem in doLookup
Florian Festi [Wed, 22 Oct 2008 12:03:52 +0000 (14:03 +0200)]
Fix path problem in doLookup

15 years agoDelete findFps foobar
Florian Festi [Tue, 12 Aug 2008 19:19:11 +0000 (21:19 +0200)]
Delete findFps foobar
including fpsCompare and the fpsdebug opt

15 years agoChange both hashes to a typed version
Florian Festi [Tue, 21 Oct 2008 13:45:09 +0000 (15:45 +0200)]
Change both hashes to a typed version

15 years agoMake rpmhash a generic datatype using macros and includes
Florian Festi [Fri, 17 Oct 2008 14:18:45 +0000 (16:18 +0200)]
Make rpmhash a generic datatype using macros and includes

15 years agoUpdated Serbian translations from Miloš Komarčević
Panu Matilainen [Fri, 24 Oct 2008 05:05:00 +0000 (08:05 +0300)]
Updated Serbian translations from Miloš Komarčević

15 years agoMake noarch subpackages actually work
Panu Matilainen [Thu, 23 Oct 2008 04:47:25 +0000 (07:47 +0300)]
Make noarch subpackages actually work
- noarch subpackages get their arch tag from parsePreamble() already,
  don't stomp over it later in parseSpec()

15 years agoIncrease IEEE-compliance of floating point code for SH platform
Jindrich Novy [Wed, 22 Oct 2008 07:28:38 +0000 (09:28 +0200)]
Increase IEEE-compliance of floating point code for SH platform
- thanks to CHIKAMA Masaki

15 years agoApply patch for sh arch from CHIKAMA Masaki
Jindrich Novy [Wed, 22 Oct 2008 07:22:05 +0000 (09:22 +0200)]
Apply patch for sh arch from CHIKAMA Masaki

15 years agoSkip adding identical NEVR to transaction on install too (rhbz#467822)
Panu Matilainen [Wed, 22 Oct 2008 06:58:10 +0000 (09:58 +0300)]
Skip adding identical NEVR to transaction on install too (rhbz#467822)
- Installing several different versions of the same package in single
  transactions is permitted for "pure" installs, whereas on upgrade only
  one version is allowed. Identical NEVR got correctly checked and filtered
  out on upgrade but on install identical NEVR was not catched. Check
  for equal and newer separately...

15 years agoFix memleak in rpmtsAddInstallElement()
Panu Matilainen [Wed, 22 Oct 2008 06:25:30 +0000 (09:25 +0300)]
Fix memleak in rpmtsAddInstallElement()
- previously any of the "skipping/replacing already added" checks matching
  would leak memory due to early jump to exit

15 years agosetenv() + unsetenv() are always available in rpm
Panu Matilainen [Mon, 20 Oct 2008 08:46:42 +0000 (11:46 +0300)]
setenv() + unsetenv() are always available in rpm

15 years agoAdd posix.mkstemp() to Lua posix lib
Panu Matilainen [Mon, 20 Oct 2008 08:32:43 +0000 (11:32 +0300)]
Add posix.mkstemp() to Lua posix lib
- lifted from apt-rpm

15 years agoTrash more unused junk from installplatform
Panu Matilainen [Sun, 19 Oct 2008 17:08:35 +0000 (20:08 +0300)]
Trash more unused junk from installplatform

15 years agoTrash unused MULTILIBNO hackery in installplatform
Panu Matilainen [Sun, 19 Oct 2008 16:59:57 +0000 (19:59 +0300)]
Trash unused MULTILIBNO hackery in installplatform

15 years agoPermit tab as whitespace between macro arguments (rhbz#467567)
Panu Matilainen [Sat, 18 Oct 2008 22:53:03 +0000 (01:53 +0300)]
Permit tab as whitespace between macro arguments (rhbz#467567)
- another dumb regression from macro handling cleanups

15 years agoClean up hg leftovers
Panu Matilainen [Sat, 18 Oct 2008 16:23:56 +0000 (19:23 +0300)]
Clean up hg leftovers

15 years agoTrash the horrible brp-sparc64-linux hack from the ancient past
Panu Matilainen [Fri, 17 Oct 2008 12:00:01 +0000 (15:00 +0300)]
Trash the horrible brp-sparc64-linux hack from the ancient past
- kludgery like this might've been necessary back in 2000 to get started
  with multilib setup but it certainly isn't needed now

15 years agoKick out the dumb defaultdocdir logic from installplatform
Panu Matilainen [Fri, 17 Oct 2008 05:11:10 +0000 (08:11 +0300)]
Kick out the dumb defaultdocdir logic from installplatform
- defaultdocdir is simply %{_datadir}/doc

15 years agoBump version
Panu Matilainen [Thu, 16 Oct 2008 14:09:28 +0000 (17:09 +0300)]
Bump version

15 years agoUpdated German translation from Fabian Affolter
Panu Matilainen [Thu, 16 Oct 2008 13:11:15 +0000 (16:11 +0300)]
Updated German translation from Fabian Affolter

15 years agoUpdated Polish translation from Piotr Drąg
Panu Matilainen [Thu, 16 Oct 2008 13:08:18 +0000 (16:08 +0300)]
Updated Polish translation from Piotr Drąg

15 years agoAdd configure detection for SuSE too
Panu Matilainen [Tue, 14 Oct 2008 13:32:58 +0000 (16:32 +0300)]
Add configure detection for SuSE too
- distro detection in configure is pretty futile but while we still have it...

15 years agoMove luaext include fiddling out of toplevel configure
Panu Matilainen [Tue, 14 Oct 2008 12:49:57 +0000 (15:49 +0300)]
Move luaext include fiddling out of toplevel configure

15 years agoAdd lua to pkgconfig private libs
Panu Matilainen [Tue, 14 Oct 2008 12:44:22 +0000 (15:44 +0300)]
Add lua to pkgconfig private libs

15 years agoReuse toplevel WITH_LUA_LIB setting instead of manual setting
Panu Matilainen [Tue, 14 Oct 2008 12:41:56 +0000 (15:41 +0300)]
Reuse toplevel WITH_LUA_LIB setting instead of manual setting

15 years agoSanitize libluaext linkage
Panu Matilainen [Tue, 14 Oct 2008 12:36:23 +0000 (15:36 +0300)]
Sanitize libluaext linkage

15 years agoFix build without Lua
Panu Matilainen [Tue, 14 Oct 2008 12:31:24 +0000 (15:31 +0300)]
Fix build without Lua

15 years agoTweak autogen a bit more
Panu Matilainen [Tue, 14 Oct 2008 11:46:33 +0000 (14:46 +0300)]
Tweak autogen a bit more
- lose hardcoded paths based on platform
- add --rpmconfigure that can be used if rpm is already present

15 years agoRip silly "usage" message from autogen
Panu Matilainen [Tue, 14 Oct 2008 11:24:30 +0000 (14:24 +0300)]
Rip silly "usage" message from autogen

15 years agoKick out ancient and unused LDFLAGS_STATIC configure.ac-hackery
Panu Matilainen [Tue, 14 Oct 2008 11:17:14 +0000 (14:17 +0300)]
Kick out ancient and unused LDFLAGS_STATIC configure.ac-hackery

15 years agoYank out ancient convertdb1
Panu Matilainen [Tue, 14 Oct 2008 10:34:14 +0000 (13:34 +0300)]
Yank out ancient convertdb1

15 years agoFix up some fuzz in finnish translation
Panu Matilainen [Tue, 14 Oct 2008 09:46:55 +0000 (12:46 +0300)]
Fix up some fuzz in finnish translation

15 years agoAdjust translations wrt the rpmps format changes
Panu Matilainen [Tue, 14 Oct 2008 09:39:25 +0000 (12:39 +0300)]
Adjust translations wrt the rpmps format changes

15 years agoUse PRIu64 for 64bit value formatting instead of casting
Panu Matilainen [Tue, 14 Oct 2008 09:25:01 +0000 (12:25 +0300)]
Use PRIu64 for 64bit value formatting instead of casting

15 years agoAvoid overflow on memcpy()
Panu Matilainen [Tue, 14 Oct 2008 09:17:01 +0000 (12:17 +0300)]
Avoid overflow on memcpy()

15 years agoNeed to mask the return type from rpmTagGetType() return value
Panu Matilainen [Tue, 14 Oct 2008 08:56:15 +0000 (11:56 +0300)]
Need to mask the return type from rpmTagGetType() return value

15 years agoError out on unknown data types in sqlite backend too
Panu Matilainen [Tue, 14 Oct 2008 08:55:05 +0000 (11:55 +0300)]
Error out on unknown data types in sqlite backend too

15 years agoUpdate translations for a change...
Panu Matilainen [Tue, 14 Oct 2008 06:44:58 +0000 (09:44 +0300)]
Update translations for a change...

15 years agoAdd a few missing files to POTFILES.in (rhbz#466834)
Panu Matilainen [Tue, 14 Oct 2008 06:44:32 +0000 (09:44 +0300)]
Add a few missing files to POTFILES.in (rhbz#466834)

15 years agoMake sure dbiTags are loaded on db rebuild & remove
Panu Matilainen [Mon, 13 Oct 2008 11:45:45 +0000 (14:45 +0300)]
Make sure dbiTags are loaded on db rebuild & remove
- rpmdbMoveDatabase() and rpmdbRemoveDatabase() don't operate on an open
  database so there's no guarantee that dbiTags are loaded when they are
  called unless explicitly requested

15 years agoHonor default nopromote setting everywhere in rpmds (rhbz#466503)
Panu Matilainen [Mon, 13 Oct 2008 10:25:17 +0000 (13:25 +0300)]
Honor default nopromote setting everywhere in rpmds (rhbz#466503)
- Of four different ways to create a dependency set, only rpmdsNew()
  explicitly set ds->nopromote to the expected value from global
  _rpmds_nopromote defaulting to on. All others fell back to legacy
  "epoch promotion" behavior inherited from xcalloc()...

15 years agoYank out legacy.h, make the conversion functions static
Panu Matilainen [Fri, 10 Oct 2008 12:59:38 +0000 (15:59 +0300)]
Yank out legacy.h, make the conversion functions static

15 years agoConvert in-tree users to headerConvert()
Panu Matilainen [Fri, 10 Oct 2008 12:54:53 +0000 (15:54 +0300)]
Convert in-tree users to headerConvert()

15 years agoAdd headerConvert() "proxy" for performing various conversions on header data
Panu Matilainen [Fri, 10 Oct 2008 12:53:12 +0000 (15:53 +0300)]
Add headerConvert() "proxy" for performing various conversions on header data

15 years agoAnd out goes rpmMkdirPath()
Panu Matilainen [Fri, 10 Oct 2008 11:43:39 +0000 (14:43 +0300)]
And out goes rpmMkdirPath()

15 years agoUse rpmMkdirs() to create the entire build tree in buildForTarget()
Panu Matilainen [Fri, 10 Oct 2008 11:42:34 +0000 (14:42 +0300)]
Use rpmMkdirs() to create the entire build tree in buildForTarget()
- also move the build tree generation earlier to have it automatically
  created for tarbuilds too

15 years agoUse rpmMkdirs() instead of rpmMkdirPath() in rpmInstallSourcePackage()
Panu Matilainen [Fri, 10 Oct 2008 11:37:57 +0000 (14:37 +0300)]
Use rpmMkdirs() instead of rpmMkdirPath() in rpmInstallSourcePackage()

15 years agoAdd rpmMkdirs() to librpmio
Panu Matilainen [Fri, 10 Oct 2008 11:28:41 +0000 (14:28 +0300)]
Add rpmMkdirs() to librpmio
- allows creating bunch of directories including parents at once

15 years agoGet db vectors out of exported ABI
Panu Matilainen [Thu, 9 Oct 2008 16:53:05 +0000 (19:53 +0300)]
Get db vectors out of exported ABI

15 years agorstrcasecmp() and rstrncasecmp() are "pure" functions
Panu Matilainen [Thu, 9 Oct 2008 13:17:53 +0000 (16:17 +0300)]
rstrcasecmp() and rstrncasecmp() are "pure" functions

15 years agoMark risalpha() and friends as "const functions"
Panu Matilainen [Thu, 9 Oct 2008 13:14:23 +0000 (16:14 +0300)]
Mark risalpha() and friends as "const functions"
- they only process integers that are fed to them and no outside data