aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
Commit message (Collapse)AuthorAgeFilesLines
* - 1.611.61Pascal Rigaux2007-04-271-0/+19
| | | | | | | | | - add $trans->NElements and $trans->Element_name to be able to display name of uninstalled package in callback_uninst - fix b--obsoletes-->a and c--conflicts-->a prompting for upgrading a (need a fix in urpmi which rely on the $state->{rejected} to upgrade (-U) b instead of installing (-i) it)
* - make read_config_files() the load error code1.59Olivier Thauvin2007-03-011-12/+43
| | | | | | - URPM::read_config_files return success true/false - load config file at module load - the config is tagged as load only in case of success, so reloading after error will retry anyway
* use SvTRUE() instead of SvIV() for boolean values 1.53Pascal Rigaux2007-01-081-7/+7
| | | | | (this gets rid of: Argument "" isn't numeric in subroutine entry at blib/lib/URPM/Build.pm line 68.)
* - much stricter synthesis parsing. fail on first errorPascal Rigaux2006-12-041-5/+14
| | | | | - add test using a buggy synthesis that occured on kenobi
* correctly set "\0"Pascal Rigaux2006-12-041-0/+1
|
* correctly handle gzread error codePascal Rigaux2006-12-041-1/+4
|
* rpmReadPackageFile() can return ok but no header :-/Pascal Rigaux2006-12-011-2/+2
|
* rpmReadPackageFile() can return ok but no header :-/1.51Pascal Rigaux2006-12-011-1/+1
|
* (Trans_add) factorize size to allocateThierry Vignaud2006-11-291-1/+1
|
* (Trans_add) adjust allocated memoryThierry Vignaud2006-11-291-1/+1
|
* (Trans_add) remove guard, proper fix is now enoughThierry Vignaud2006-11-291-1/+0
|
* (Trans_add) fix segfault on ia32 (when one replace "struct foobar" byThierry Vignaud2006-11-291-0/+4
| | | | | "foobar*", he should expect sizeof() to *slightly* differ in results)
* (Trans_add) fix segfault when using --excludepathThierry Vignaud2006-11-291-0/+1
|
* (Trans_add) fix the segfault when using --excludepath (introduced inThierry Vignaud2006-11-291-6/+5
| | | | | | r32435:32440). however, using --excludepath will still segfaults, but later, in rpmtsAddInstallElement() ...
* (Trans_add) fix segfaultThierry Vignaud2006-11-291-1/+1
|
* at least one good header is needed for non compressed hdlist and non empty filePascal Rigaux2006-11-171-0/+2
|
* - parse_hdlist on a simple header was broken because pid was left unset,Pascal Rigaux2006-11-171-1/+1
| | | | | - add some tests for this
* add a wrapper in perl around parse_hdlist and parse_synthesisPascal Rigaux2006-11-151-2/+2
|
* parse_synthesis, parse_hdlist: handle gzip error status instead of relying onPascal Rigaux2006-11-151-9/+20
| | | | | | | | | wether we did read at least one header. This allow "empty" hdlist/synthesis. But it means it is getting stricter, and the headers added to {depslist} would need to be removed if an error occured. Alas i don't know how to do it (a simple splice) in XS. If no better solution, i'll create a wrapper function in perl.
* - cleanup useless imported rpm dclOlivier Thauvin2006-08-071-154/+0
|
* - remove useless declarationOlivier Thauvin2006-08-071-6/+0
|
* Fix a FD leak (patch by Pascal Terjan, bug #24112)Rafael Garcia-Suarez2006-08-041-0/+1
|
* - add comment into code, need reviewOlivier Thauvin2006-07-251-0/+5
|
* That wasn't actually necessaryv1_44Rafael Garcia-Suarez2006-06-121-4/+0
|
* Fix passing of rpmRelocation structure with new layout in 4.4.6Rafael Garcia-Suarez2006-06-121-0/+4
|
* It's nice to be able to compile with rpm 4.4.6, but it's nice to be able toRafael Garcia-Suarez2006-06-011-3/+8
| | | | | compile with older rpms too.
* - rpm 4.4.6 fixesOlivier Thauvin2006-05-311-2/+5
|
* - fix urpmi .spec: aka ensure the rpm config is read with all macros before ↵Olivier Thauvin2006-05-231-0/+2
| | | | parsing a spec
* Patch by Pascal Terjan to fix a FD leak (bug #22632)Rafael Garcia-Suarez2006-05-221-0/+1
|
* Add function to traverse transactionsRafael Garcia-Suarez2006-04-071-0/+30
|
* RPMTAG_SOURCEPACKAGE is going to be obsolete. Replace it by RPMTAG_SOURCERPM.Rafael Garcia-Suarez2006-04-021-10/+10
|
* Fix for undocumented ABI changes in rpm 4.4.5 callback interfaceRafael Garcia-Suarez2006-03-131-2/+9
|
* Protection when no data is passed to transaction callbacksRafael Garcia-Suarez2006-03-131-0/+3
|
* Fix misplaced break in switch statementRafael Garcia-Suarez2006-03-131-43/+47
|
* "triggeredby" in traverse_tag never worked.Rafael Garcia-Suarez2006-03-101-2/+2
|
* Fix small memleak on db open errorRafael Garcia-Suarez2006-03-081-0/+1
|
* Protect rpmtsRun with a new link to the transaction objectRafael Garcia-Suarez2006-03-071-0/+2
|
* Also, increase refcounts.Rafael Garcia-Suarez2006-03-061-0/+1
|
* It wasn't a good idea to completely remove the refcount, because it's used toRafael Garcia-Suarez2006-03-061-3/+5
| | | | | | free the underlying C glue structure. Also, and rpmtsLink was misplaced.
* Don't use our own reference counter, but the rpmlib's, for transactions.Rafael Garcia-Suarez2006-03-061-14/+18
|
* Include key id in verify_signature()'s OK output. Also, avoid a header leak.Rafael Garcia-Suarez2006-03-031-1/+10
|
* New function verify_signatureRafael Garcia-Suarez2006-03-031-1/+45
|
* Don't display error messages from rpmVerifySignaturesRafael Garcia-Suarez2006-03-031-1/+4
|
* Reimplement verify_rpm, using the rpm cli interfaceRafael Garcia-Suarez2006-03-031-69/+16
|
* Remove support for the (broken) db option to verify_rpmRafael Garcia-Suarez2006-03-031-24/+7
|
* Use a smaller buffer for the return value of verify_rpm, and guard against ↵Rafael Garcia-Suarez2006-03-031-25/+21
| | | | overflows
* Honor verification flags in verif_rpm() even when reading from a file withoutRafael Garcia-Suarez2006-03-021-2/+2
| | | | | having open the rpmdb
* Nits in verify_rpm.Rafael Garcia-Suarez2006-03-021-5/+4
|
* Fix a couple of compilation warnings. URPM.xs is now warning-clean.Rafael Garcia-Suarez2006-03-011-2/+4
|
* Add ignorearch option to run transactionsRafael Garcia-Suarez2006-02-131-0/+2
|