aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
Commit message (Collapse)AuthorAgeFilesLines
* - suggests: Pascal Rigaux2007-12-141-15/+19
| | | | | | handle both RPMTAG_SUGGESTSNAME (as done in SuSE and in Mandriva > 2008.0) and RPMTAG_REQUIRENAME + RPMSENSE_MISSINGOK (as done in Mandriva 2008.0)
* don't crash when header is not available (fixes synthesis.t with rpm 4.4.2.2)Pascal Rigaux2007-12-141-1/+1
|
* fix cast warnings on 64 bi6Per Øyvind Karlsen2007-12-121-2/+2
|
* oops, typoPer Øyvind Karlsen2007-12-121-1/+1
|
* update against updated rpm 4.5 :)Per Øyvind Karlsen2007-12-121-2/+2
|
* - add URPM::DB::verify()Pascal Rigaux2007-12-111-0/+13
|
* fix support for rpm 4.5Per Øyvind Karlsen2007-12-111-0/+2
|
* fix typo in previous commit :-/Pascal Rigaux2007-12-111-2/+2
|
* adapt to rpm.org HEAD change from 7 Dec 2007Pascal Rigaux2007-12-111-3/+12
|
* final commit for rpm.org HEAD compliancePascal Rigaux2007-12-111-1/+8
|
* - use rpmpsNumProblems()Pascal Rigaux2007-12-101-5/+2
| | | | | - don't check ignoreProblem, it's always 0 afaik
* - replace ->import_needed_pubkeys and ->import_pubkey in favor ofPascal Rigaux2007-12-101-189/+30
| | | | | | | | | | | | | import_needed_pubkeys_from_file() and ->import_pubkey_file (! this breaks API !) - import_pubkey is dropped because it messes to much with rpmlib internals, whereas import_pubkey_file is plain simple - in Signature.pm, dropping compare_pubkeys() options (since they are not used anymore) - import_needed_pubkeys_from_file() may not do a clean job if the pubkey file contains more than one pubkey.
* RPMERR_* doesn't exist anymore in rpm.org HEADPascal Rigaux2007-12-101-0/+2
| | | | | (nb: this code (rpmErrorWriteTo) is currently only used by Drakx)
* simplifyPascal Rigaux2007-12-101-2/+1
|
* cleanupPascal Rigaux2007-12-101-1/+1
|
* get rid of fdFileno()Pascal Rigaux2007-12-101-1/+1
|
* - replace fdClose() with Fclose()Pascal Rigaux2007-12-101-10/+10
| | | | | | | - replace fdOpen() with Fopen() (it seems to be mostly the same, but rpm.org has removed fdOpen and fdClose)
* introduce some compatibility code with rpm.org Pascal Rigaux2007-12-101-10/+29
|
* fix rpmCallbackFunction prototypePascal Rigaux2007-12-101-2/+2
|
* simplify: use fdSize()Pascal Rigaux2007-12-101-4/+1
|
* use rpmlogSetCallback() instead of deprecated rpmErrorSetCallback()Pascal Rigaux2007-12-101-1/+1
|
* use rpmlogMessage() instead of obsolete rpmErrorString()Pascal Rigaux2007-12-101-6/+10
|
* - create and use write_nocheck() to avoid warn_unused_resultPascal Rigaux2007-12-101-8/+20
| | | | | - add some ifdef RPM_448 around platform thingie
* add rpmlog.h for future usePascal Rigaux2007-12-101-0/+2
|
* - drop $package->upgrade_files() (unused for a long time afaik)Pascal Rigaux2007-12-051-13/+0
|
* - rpm 4.5 support (thanks to peroyvind) (#35323)Pascal Rigaux2007-11-091-1/+9
|
* - use a simple function to return simple string list from header Pascal Rigaux2007-11-081-8/+27
| | | | | | (fixes getting >4096 long rpm changelogs) (!! static buffer size limitation in callback_list_str_xpush() should be fixed !!)
* fix build on rpm 4.4.2Pascal Rigaux2007-10-161-0/+2
|
* - handle promotion via obsolete, not only providesPascal Rigaux2007-09-271-3/+42
|
* fix typo in previous commitPascal Rigaux2007-09-271-1/+1
| | | | | (i don't understand why it compiled though...)
* revert previous commit (not useful) and create update_hash_entry() doing whatPascal Rigaux2007-09-271-13/+8
| | | | | update_provides_entry() do (for next commit)
* create update_hash_entry() out of update_provide_entry() for next commitsPascal Rigaux2007-09-271-4/+14
|
* - fix regression in 2.00: we can't cache the platform, cache the result ofPascal Rigaux2007-09-181-7/+7
| | | | | | | | | | is_arch_compat instead ie: - revert commits on URPM.xs which introduced the cache on platform - rename is_arch_compat to is_arch_compat__XS in URPM.xs - create URPM::Package::is_arch_compat in URPM.pm
* fix typo in previous typo fixPascal Rigaux2007-09-111-1/+1
|
* fix typo in previous commit :-/Pascal Rigaux2007-09-111-1/+1
|
* - speedup is_arch_compat (x7) by keeping the platform in a cachePascal Rigaux2007-09-111-6/+6
|
* add missing free()Pascal Rigaux2007-09-111-0/+1
|
* add a commentPascal Rigaux2007-08-311-1/+1
|
* - disable "dropping tags from rpm header" until we can safely use itPascal Rigaux2007-08-291-1/+1
|
* - spec2srcheader: workaround parseSpec returning a header where ->arch is setPascal Rigaux2007-08-281-0/+4
| | | | | | to %{_target_cpu} whereas we really want a header similar to .src.rpm (see #32824)
* - allow running transaction with justdb optionPascal Rigaux2007-08-231-0/+2
|
* - fix dropping tags from rpm header.Pascal Rigaux2007-08-121-27/+62
| | | | | | it hasn't work since MDK8.1 and rpm 4.0. it may break urpmi!! but potentially allows a much smaller hdlist.cz :)
* - allow running transaction with replagekgs optionPascal Rigaux2007-08-111-0/+2
|
* add documentationPascal Rigaux2007-08-101-0/+3
|
* there is no use retrying after a headerRead failure since headerRead may havePascal Rigaux2007-08-101-14/+0
| | | | | | | | consumed part of the input, and so next headerRead will read in the middle of a header, and so always fail. The only real solution is to ensure rpmlib don't timeout too quickly (and fd->rd_timeoutsecs is rpmlib internal only, so we can't hint it from here. in any case 1sec timeout is really too low)
* - compilation fixes on rpm < 4.4.8Pascal Rigaux2007-08-091-1/+1
|
* compilation fixes on rpm < 4.4.8Pascal Rigaux2007-08-091-2/+10
|
* - "suggests" are no more handled as "requires"Pascal Rigaux2007-08-091-9/+71
| | | | | | | | | - resolve_requested support "suggests": a newly suggested package is installed as if required (can be disabled with option no_suggests) nb: URPM.xs change is quite complex since suggests are mostly seen as requires inside rpmlib.
* - add $trans->Element_version and $trans->Element_releasePascal Rigaux2007-08-031-0/+20
|
* - Urpm_read_config_files properly return the value to perlOlivier Thauvin2007-07-041-2/+3
| | | | - kill useless var dcl