Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | improve rpm version detection | Per Øyvind Karlsen | 2008-03-19 | 1 | -26/+29 |
| | | | | | really fix callback size for rpm5.org versions | ||||
* | ouch, add back 'case RPMPROB_DISKNODES:' removed by mistake :/ | Per Øyvind Karlsen | 2008-03-06 | 1 | -0/+1 |
| | |||||
* | revert back to long long since they're of same size anyways and we avoid ↵ | Per Øyvind Karlsen | 2008-03-06 | 1 | -3/+3 |
| | | | | warnings that way :) | ||||
* | simplify as pixel suggested | Per Øyvind Karlsen | 2008-03-06 | 1 | -13/+3 |
| | | | | | use uint64_t in stead of unsigned long long (which is really the same, but nicer and more consistent with rpm5:) | ||||
* | minor cosmetics | Per Øyvind Karlsen | 2008-03-03 | 1 | -3/+1 |
| | |||||
* | move compatibility wrapper to rpm5.org upstream | Per Øyvind Karlsen | 2008-03-03 | 1 | -4/+3 |
| | |||||
* | do better "detection" of callback size without having to define it in ↵ | Per Øyvind Karlsen | 2008-03-01 | 1 | -7/+5 |
| | | | | Makefile (inspired by apt) | ||||
* | rpm 4.5 and newer uses unsigned long long ulong1 in stead of unsigned long ↵ | Per Øyvind Karlsen | 2008-02-29 | 1 | -1/+8 |
| | | | | ulong1 for rpmProblemGetLong, therefore use %lld in stead of %ld | ||||
* | fix assignment from incompatible pointer type in Urpm_list_rpm_tag for rpm5 | Per Øyvind Karlsen | 2008-02-29 | 1 | -0/+4 |
| | |||||
* | be sure to use same data type for check_flag | Per Øyvind Karlsen | 2008-02-29 | 1 | -3/+3 |
| | |||||
* | make sure to use same type (signess) in pack_rpm_header | Per Øyvind Karlsen | 2008-02-28 | 1 | -1/+1 |
| | |||||
* | - restore FILENAME_TAG in generated hdlist (to be compatible with older | Pascal Rigaux | 2008-02-28 | 1 | -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 Karlsen | 2008-02-28 | 1 | -1/+3 |
| | | | | rpmtag.h | ||||
* | add rpm5 wrapper functions, work in progress, URPM builds now at least :o) | Per Øyvind Karlsen | 2008-02-28 | 1 | -14/+3 |
| | |||||
* | do not mark as deprecated ->filename and URPM::Build::build_hdlist() | Pascal Rigaux | 2008-02-25 | 1 | -1/+0 |
| | |||||
* | adding filesize to synthesis on @info@ will break backward compatibility for | Pascal Rigaux | 2008-02-25 | 1 | -8/+12 |
| | | | | | no good reason, so switching to a new @filesize@ line | ||||
* | make ->filename work (again) on header | Pascal Rigaux | 2008-02-25 | 1 | -0/+6 |
| | |||||
* | - add filesize to synthesis, add ->filesize to get it, and add | Pascal Rigaux | 2008-02-25 | 1 | -3/+24 |
| | | | | | selected_size_filesize() to compute the sum | ||||
* | fix previous commit (XS comments are perl-style, not C-style) | Pascal Rigaux | 2008-02-25 | 1 | -2/+2 |
| | |||||
* | - do not add FILENAME_TAG and FILESIZE_TAG to hdlist anymore, | Pascal Rigaux | 2008-02-25 | 1 | -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 away | Per Øyvind Karlsen | 2008-01-17 | 1 | -0/+2 |
| | |||||
* | correct define for int_32 (rpm5) | Per Øyvind Karlsen | 2008-01-17 | 1 | -1/+1 |
| | |||||
* | more rpm5 work.. | Per Øyvind Karlsen | 2008-01-16 | 1 | -2/+13 |
| | |||||
* | start on work for rpm5 support | Per Øyvind Karlsen | 2008-01-16 | 1 | -0/+4 |
| | |||||
* | - fix regression in ->parse_rpm (introduced in 3.00) | Pascal Rigaux | 2008-01-08 | 1 | -0/+1 |
| | | | | | | | (was breaking genhdlist2 and mkcd) one got too many open files :-/ | ||||
* | - suggests: | Pascal Rigaux | 2007-12-14 | 1 | -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 Rigaux | 2007-12-14 | 1 | -1/+1 |
| | |||||
* | fix cast warnings on 64 bi6 | Per Øyvind Karlsen | 2007-12-12 | 1 | -2/+2 |
| | |||||
* | oops, typo | Per Øyvind Karlsen | 2007-12-12 | 1 | -1/+1 |
| | |||||
* | update against updated rpm 4.5 :) | Per Øyvind Karlsen | 2007-12-12 | 1 | -2/+2 |
| | |||||
* | - add URPM::DB::verify() | Pascal Rigaux | 2007-12-11 | 1 | -0/+13 |
| | |||||
* | fix support for rpm 4.5 | Per Øyvind Karlsen | 2007-12-11 | 1 | -0/+2 |
| | |||||
* | fix typo in previous commit :-/ | Pascal Rigaux | 2007-12-11 | 1 | -2/+2 |
| | |||||
* | adapt to rpm.org HEAD change from 7 Dec 2007 | Pascal Rigaux | 2007-12-11 | 1 | -3/+12 |
| | |||||
* | final commit for rpm.org HEAD compliance | Pascal Rigaux | 2007-12-11 | 1 | -1/+8 |
| | |||||
* | - use rpmpsNumProblems() | Pascal Rigaux | 2007-12-10 | 1 | -5/+2 |
| | | | | | - don't check ignoreProblem, it's always 0 afaik | ||||
* | - replace ->import_needed_pubkeys and ->import_pubkey in favor of | Pascal Rigaux | 2007-12-10 | 1 | -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 HEAD | Pascal Rigaux | 2007-12-10 | 1 | -0/+2 |
| | | | | | (nb: this code (rpmErrorWriteTo) is currently only used by Drakx) | ||||
* | simplify | Pascal Rigaux | 2007-12-10 | 1 | -2/+1 |
| | |||||
* | cleanup | Pascal Rigaux | 2007-12-10 | 1 | -1/+1 |
| | |||||
* | get rid of fdFileno() | Pascal Rigaux | 2007-12-10 | 1 | -1/+1 |
| | |||||
* | - replace fdClose() with Fclose() | Pascal Rigaux | 2007-12-10 | 1 | -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 Rigaux | 2007-12-10 | 1 | -10/+29 |
| | |||||
* | fix rpmCallbackFunction prototype | Pascal Rigaux | 2007-12-10 | 1 | -2/+2 |
| | |||||
* | simplify: use fdSize() | Pascal Rigaux | 2007-12-10 | 1 | -4/+1 |
| | |||||
* | use rpmlogSetCallback() instead of deprecated rpmErrorSetCallback() | Pascal Rigaux | 2007-12-10 | 1 | -1/+1 |
| | |||||
* | use rpmlogMessage() instead of obsolete rpmErrorString() | Pascal Rigaux | 2007-12-10 | 1 | -6/+10 |
| | |||||
* | - create and use write_nocheck() to avoid warn_unused_result | Pascal Rigaux | 2007-12-10 | 1 | -8/+20 |
| | | | | | - add some ifdef RPM_448 around platform thingie | ||||
* | add rpmlog.h for future use | Pascal Rigaux | 2007-12-10 | 1 | -0/+2 |
| | |||||
* | - drop $package->upgrade_files() (unused for a long time afaik) | Pascal Rigaux | 2007-12-05 | 1 | -13/+0 |
| |