aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
Commit message (Collapse)AuthorAgeFilesLines
* (verify_signature) make checking urpmi signatures works in chrooted environmentsThierry Vignaud2009-03-051-2/+3
| | | | | | (especially important for installer where there's no rpmdb in / (really /var/lib/rpm) and thus no keys to check against)
* - fix bad free() (thanks to glibc for detecting it)Pascal Rigaux2008-12-151-4/+4
|
* - fix scriptlet failing:Pascal Rigaux2008-12-121-2/+2
| | | | | adapt to librpm4.6, rpmtsSetRootDir(ts, "") is forbidden
* - adapt to rpm 4.6 changes:Pascal Rigaux2008-12-091-11/+16
| | | | | | | - headerNextIterator -> headerNext - headerAddEntry -> headerPut - headerModifyEntry -> headerMod
* - adapt to rpm 4.6 changes: headerGetEntry -> headerGetPascal Rigaux2008-12-091-104/+112
|
* - adapt to some easy rpm 4.6 changes:Pascal Rigaux2008-12-091-31/+29
| | | | | | | | - headerSprintf -> headerFormat - headerAddEntry -> headerPutString - headerRemoveEntry -> headerDel - rpmProblemGetLong -> rpmProblemGetDiskNeed
* free the iterator *after* usePascal Rigaux2008-12-091-2/+4
| | | | | (otherwise it segfaults with 4.6.0-rc1, and i wonder how it worked before...)
* do free the ts after user, this is especially needed since rpmVerifySignaturePascal Rigaux2008-12-091-0/+1
| | | | | | (wrongly) called in rpmReadPackageFile can open the rpmdb which won't get closed if ts is not closed
* - drop list_rpm_tag()Pascal Rigaux2008-12-091-30/+2
|
* adapt types to rpm-4.6.xPascal Rigaux2008-12-091-56/+58
|
* fix rpmRelocation usage with rpm 5.2Per Øyvind Karlsen2008-12-081-2/+13
|
* - $trans->run can now return both the translated errors, and some parsablePascal Rigaux2008-10-141-5/+8
| | | | | errors (useful for example to detect diskspace issues)
* use rpmuint64_t rather than long long, we know that it should stay compatible:)Per Øyvind Karlsen2008-10-141-1/+1
|
* fix build with rpm5.org HEADPer Øyvind Karlsen2008-10-101-5/+11
|
* - handle flag "replacefiles"Pascal Rigaux2008-10-071-0/+2
|
* add filelinktos() & dirnames() to URPM::PackagePer Øyvind Karlsen2008-07-181-0/+16
|
* ensure that initSourceHeader gets run for rpm5.org, otherwise querying of ↵Per Øyvind Karlsen2008-07-171-0/+2
| | | | spec files won't work
* fix build with rpm5.org HEADPer Øyvind Karlsen2008-07-141-0/+9
|
* - add traverse_tag_find()Pascal Rigaux2008-07-041-0/+43
|
* create rpmtag_from_string() out of Db_traverse_tagPascal Rigaux2008-07-011-15/+19
|
* - fix urpmi wrongly considering epochless conflicts to match any epoch in aPascal Rigaux2008-06-171-1/+2
| | | | | | | | | | | case when urpmi should upgrade a conflicting package to an actually non-conflicting version (cf epochless-conflict-with-promotion urpmi test) from Anssi. i tested various upgrades from some chroot with 2008.0, 2007.1, 2007.0, and it didn't change the result, so it should be quite safe :)
* un-revert rpm5.org cosmetics now that cooker has reopenedPer Øyvind Karlsen2008-04-141-25/+30
|
* update authors and copyright noticPascal Rigaux2008-04-101-1/+1
|
* revert unneeded commit for nowtopic/3.12Pascal Rigaux2008-03-251-28/+25
|
* fix a typo in a comment </pedanticlamer>Per Øyvind Karlsen2008-03-191-1/+1
|
* make URPM more portable by using standard %{_target_vendor} & %{_target_cpu} ↵Per Øyvind Karlsen2008-03-191-5/+5
| | | | macros in stead of Mandriva specific %{_real_vendor} & (now dead) %{_real_arch}
* change x,y check to y,x. More intuitive, for me at least, other order ↵Per Øyvind Karlsen2008-03-191-25/+25
| | | | frequently confuses me ;p
* improve rpm version detectionPer Øyvind Karlsen2008-03-191-26/+29
| | | | | really fix callback size for rpm5.org versions
* ouch, add back 'case RPMPROB_DISKNODES:' removed by mistake :/Per Øyvind Karlsen2008-03-061-0/+1
|
* revert back to long long since they're of same size anyways and we avoid ↵Per Øyvind Karlsen2008-03-061-3/+3
| | | | warnings that way :)
* simplify as pixel suggestedPer Øyvind Karlsen2008-03-061-13/+3
| | | | | use uint64_t in stead of unsigned long long (which is really the same, but nicer and more consistent with rpm5:)
* minor cosmeticsPer Øyvind Karlsen2008-03-031-3/+1
|
* move compatibility wrapper to rpm5.org upstreamPer Øyvind Karlsen2008-03-031-4/+3
|
* do better "detection" of callback size without having to define it in ↵Per Øyvind Karlsen2008-03-011-7/+5
| | | | Makefile (inspired by apt)
* rpm 4.5 and newer uses unsigned long long ulong1 in stead of unsigned long ↵Per Øyvind Karlsen2008-02-291-1/+8
| | | | ulong1 for rpmProblemGetLong, therefore use %lld in stead of %ld
* fix assignment from incompatible pointer type in Urpm_list_rpm_tag for rpm5Per Øyvind Karlsen2008-02-291-0/+4
|
* be sure to use same data type for check_flagPer Øyvind Karlsen2008-02-291-3/+3
|
* make sure to use same type (signess) in pack_rpm_headerPer Øyvind Karlsen2008-02-281-1/+1
|
* - restore FILENAME_TAG in generated hdlist (to be compatible with olderPascal Rigaux2008-02-281-0/+7
| | | | | distros where ->filename can rely on it) (thanks to Nanar)
* fix define of _RPMTAG_INTERNAL at right place and drop redundant include of ↵Per Øyvind Karlsen2008-02-281-1/+3
| | | | rpmtag.h
* add rpm5 wrapper functions, work in progress, URPM builds now at least :o)Per Øyvind Karlsen2008-02-281-14/+3
|
* do not mark as deprecated ->filename and URPM::Build::build_hdlist()Pascal Rigaux2008-02-251-1/+0
|
* adding filesize to synthesis on @info@ will break backward compatibility forPascal Rigaux2008-02-251-8/+12
| | | | | no good reason, so switching to a new @filesize@ line
* make ->filename work (again) on headerPascal Rigaux2008-02-251-0/+6
|
* - add filesize to synthesis, add ->filesize to get it, and addPascal Rigaux2008-02-251-3/+24
| | | | | selected_size_filesize() to compute the sum
* fix previous commit (XS comments are perl-style, not C-style)Pascal Rigaux2008-02-251-2/+2
|
* - do not add FILENAME_TAG and FILESIZE_TAG to hdlist anymore,Pascal Rigaux2008-02-251-42/+7
| | | | | | deprecate ->filename and ->header_filename, deprecate URPM::Build build_hdlist and parse_rpms_build_headers
* RPM_CHAR_TYPE isn't used for rpm5, #ifndef it awayPer Øyvind Karlsen2008-01-171-0/+2
|
* correct define for int_32 (rpm5)Per Øyvind Karlsen2008-01-171-1/+1
|
* more rpm5 work..Per Øyvind Karlsen2008-01-161-2/+13
|