aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* start on work for rpm5 supportPer Øyvind Karlsen2008-01-161-0/+4
|
* - fix regression in ->parse_rpm (introduced in 3.00) Pascal Rigaux2008-01-081-0/+1
| | | | | | | (was breaking genhdlist2 and mkcd) one got too many open files :-/
* - 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
|