Panu Matilainen
dae44a0f38
Export FD statistics enums + fdOp() method
2007-11-23 12:00:22 +02:00
Panu Matilainen
7b2a9b3c24
Move rpmGlob() from macros to rpmfileutil.h
...
- macros is all just macros now
- internal copy of popt stuff needs to go...
2007-11-23 10:27:29 +02:00
Panu Matilainen
2c6905dd9f
Move rpmGetPath and rpmGenPath to rpmfileutil.h
2007-11-23 10:20:19 +02:00
Panu Matilainen
178e32a0ba
Move rpmCleanPath from macros to rpmfileutil.h
2007-11-23 10:10:19 +02:00
Panu Matilainen
d10acc7c2a
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
2007-11-22 16:28:30 +02:00
Panu Matilainen
e063854e11
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
2007-11-22 16:06:11 +02:00
Panu Matilainen
b32cca3480
Move pgpDig typedefs to a more obvious place..
2007-11-22 14:48:07 +02:00
Panu Matilainen
4ad615daf5
Move the xstr*() string variants from rpmio.h to rpmstring.h
2007-11-23 08:32:08 +02:00
Panu Matilainen
115d698252
Move string helpers from lib/misc.h to rpmio/rpmstring.h
...
- splitString, freeSplitString, stripTrailingChar
2007-11-23 08:21:23 +02:00
Panu Matilainen
d6990c3ab1
Move stringbuf into librpmio, rename header
...
- rename header to more generic rpmstring.h for collecting misc string
helper functions
2007-11-23 08:11:42 +02:00
Ralf Corsépius
abeea80a38
Use #include <x.h> syntax to include public headers.
2007-11-23 06:46:19 +01:00
Ralf Corsépius
94d2343931
Add -I$(top_builddir)/include/rpm to AM_CPPFLAGS.
2007-11-22 16:17:20 +01:00
Panu Matilainen
17ef8a3082
Lose rpmerr.h for good
2007-11-19 16:32:15 +02:00
Panu Matilainen
43c5de66fb
Replace all RPMERR_* etc uses with corresponding RPMLOG_* levels
2007-11-19 16:25:24 +02:00
Panu Matilainen
db4e34966e
Split digest-stuff out of rpmio_internal to separate header
2007-11-16 17:37:54 +02:00
Panu Matilainen
3587db8c4e
Eliminate copy-paste fd digest stealing, stuff into rpmio_internal
2007-11-16 17:18:55 +02:00
Panu Matilainen
589b54af90
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
2007-11-15 11:08:53 +02:00
Panu Matilainen
ec8761f231
Align rpm -V output
...
Patch from Pascal Rigaux
2007-11-13 13:00:52 +02:00
Panu Matilainen
7d032c3505
Minimal protection for rpmsqElem internals
2007-11-08 15:59:45 +02:00
Panu Matilainen
262f2d63b1
Remove unnecessary psm.h include
2007-11-08 15:56:11 +02:00
Panu Matilainen
af0fe8255c
Kludge around mktemp() uses to shut up build warnings
2007-11-08 12:54:05 +02:00
Panu Matilainen
77d3ce0549
Kill off deprecated and unused rpmGetMachine() entirely
2007-11-08 12:26:46 +02:00
Panu Matilainen
de7a247133
Remove rpmSetMachine() from API
2007-11-08 12:22:14 +02:00
Panu Matilainen
e6f7c3c848
Remove useless "var" parameter from setup helpers
...
Additionally rename setVarDefault to addMacroDefault which it really is
2007-11-08 10:33:47 +02:00
Panu Matilainen
cc465dd623
Kill off unused rpmSetVar() and freeRpmVar()
2007-11-08 10:32:10 +02:00
Panu Matilainen
f7604b1a0e
Remove rpmGetVar, rpmSetVar from API
2007-11-08 10:24:58 +02:00
Panu Matilainen
2967cb5ffa
Eliminate dead code
2007-11-07 13:47:42 +02:00
Panu Matilainen
1688cc62bf
Eliminate rpmlead use from legacy retrofitting.
2007-11-07 13:21:06 +02:00
Panu Matilainen
b497a4f05f
Only do legacy retrofitting on packages that need it.
...
Packages not having RPMTAG_DIRNAMES (ie compressed filenames) is
used for checking, packages not having it are either built with rpm <= 3.x
or with --nodirtokens, retrofitting in the latter case doesn't really
hurt that much for the obscure case...
2007-11-07 13:12:20 +02:00
Panu Matilainen
8f97ae9d26
Document rpmio_internal.h uses outside rpmio/
2007-11-07 11:57:12 +02:00
Panu Matilainen
4471d9c371
Move tufdio under rpmio/ where it belongs..
2007-11-07 11:41:06 +02:00
Panu Matilainen
c5588096d3
Silence bogus gcc warning
2007-11-07 11:02:41 +02:00
Panu Matilainen
85a1226e8c
Remove unused variable
2007-11-07 11:01:40 +02:00
Panu Matilainen
d8741ebc13
Silence bunch of compiler warnings from test programs
2007-11-07 11:00:51 +02:00
Panu Matilainen
8239d0b74b
Remove bunch of unnecessary misc.h includes, document others
2007-11-07 10:17:10 +02:00
Panu Matilainen
d8babb5a86
Remove .splintrc's in the tree
2007-11-07 09:01:38 +02:00
Panu Matilainen
8afe81c214
Use NSS instead of beecrypt for encryption (Tomas Mraz)
2007-11-02 10:02:40 +02:00
Panu Matilainen
02fb3b030d
Remove two unnecessary legacy.h includes
2007-11-01 12:25:41 +02:00
Panu Matilainen
e1cc5871a0
Document RPMFI_INTERNAL uses
2007-10-31 12:48:43 +02:00
Panu Matilainen
bb976c2f57
Document _RPMTE_INTERNAL needs
2007-10-31 12:39:23 +02:00
Panu Matilainen
05fcdb49f1
Split out rpmts_internal.h from rpmts.h
2007-10-31 12:08:01 +02:00
Panu Matilainen
c13ab34016
Add rpmtsPrintSuggests() method for now, use instead of ts internals mucking
...
- temporary measure to get rid of silly RPMTS_INTERNAL uses, the whole
solve/suggestion thingie needs love or ripping...
- clean up the suggestions in rpmtsClean() instead of while printing
2007-10-31 10:37:18 +02:00
Panu Matilainen
68dcdd5dad
Kill ts->goal, instead set NOSUGGEST flag on erase
...
- it aint quite the same thing but will suffice for now...
2007-10-31 10:15:05 +02:00
Panu Matilainen
3f5d1e332e
Add rpmtsCleanProblems() method for rpmgi needs
2007-10-30 16:48:38 +02:00
Panu Matilainen
41cd82aa7c
Split transaction score stuff to separate private header
2007-10-30 15:50:35 +02:00
Panu Matilainen
6abf077d70
No callback, no repackaging info - tough...
2007-10-30 15:15:19 +02:00
Panu Matilainen
51c91957ae
Use rpmtsRootDir() instead of ts->rootDir + url guess-games in psm
2007-10-30 14:31:42 +02:00
Ralf Corsépius
c36d94ded4
merge.
2007-10-30 12:17:16 +01:00
Ralf Corsépius
fa1b02934a
Add -I$(top_builddir)/rpmdb to AM_CPPFLAGS.
2007-10-30 12:14:23 +01:00
Panu Matilainen
591cd9852b
rpmds is now fully opaque, eliminate _RPMDS_INTERNAL games
2007-10-30 13:11:13 +02:00