summaryrefslogtreecommitdiffstats
path: root/fake_packages/URPM.pm
blob: 4a88fbdb31b00bcb60887711ae4761b65c48f462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267

package URPM;
our @ISA = qw();
sub _add_group { my ($_groups, $_o_group) = @_ }
sub _add_rejected_backtrack { my ($_state, $_pkg, $_o_backtrack) = @_ }
sub _choose_best_pkg { my ($_urpm, $_pkg_installed, $_o_pkgs) = @_ }
sub _choose_best_pkg_ { my ($_urpm, $_pkg_installed, $_o_pkgs) = @_ }
sub _choose_bests_obsolete { my ($_urpm, $_db, $_pkg_installed, $_o_pkgs) = @_ }
sub _choose_required { my ($_urpm, $_db, $_state, $_dep, $_properties, $_choices, $_diff_provides, $_o_options) = @_ }
sub _compute_diff_provides_of_removed_pkg { my ($_urpm, $_state, $_diff_provides_h, $_o_p) = @_ }
sub _dep_to_name { my ($_urpm, $_o_dep) = @_ }
sub _find_packages_obsoleting { my ($_urpm, $_state, $_o_p) = @_ }
sub _find_required_package__kernel_source { my ($_urpm, $_db, $_o_choices) = @_ }
sub _find_required_package__kmod { my ($_urpm, $_db, $_o_choices) = @_ }
sub _find_required_package__sort { my ($_urpm, $_db, $_packages, $_o_provided_version) = @_ }
sub _get_tmp_dir() {}
sub _handle_conflict { my ($_urpm, $_state, $_pkg, $_p, $_property, $_reason, $_properties, $_diff_provides_h, $_o_keep) = @_ }
sub _handle_conflicts { my ($_urpm, $_db, $_state, $_pkg, $_properties, $_diff_provides_h, $_o_keep) = @_ }
sub _handle_conflicts_with_selected { my ($_urpm, $_db, $_state, $_pkg, $_dep, $_properties, $_diff_provides, $_o_options) = @_ }
sub _handle_diff_provides { my ($_urpm, $_db, $_state, $_properties, $_diff_provides, $_n, $_pkg, $_o_options) = @_ }
sub _id_to_name { my ($_urpm, $_o_id_prop) = @_ }
sub _ids_to_fullnames() {}
sub _ids_to_names() {}
sub _is_selected_or_installed { my ($_urpm, $_db, $_o_name) = @_ }
sub _merge_2_groups { my ($_groups, $_l1, $_o_l2) = @_ }
sub _no_more_recent_installed_and_providing { my ($_urpm, $_db, $_state, $_pkg, $_o_required) = @_ }
sub _parse_hdlist_or_synthesis { my ($_parse_func, $_urpm, $_file, $_o_options) = @_ }
sub _remove_all_rejected_from { my ($_state, $_o_from_fullname) = @_ }
sub _remove_rejected_from { my ($_state, $_fullname, $_o_from_fullname) = @_ }
sub _score_for_locales { my ($_urpm, $_db, $_o_pkg) = @_ }
sub _selected_size_filesize { my ($_urpm, $_state, $_o_compute_filesize) = @_ }
sub _set_flag_installed_and_upgrade_if_no_newer { my ($_db, $_o_pkg) = @_ }
sub _set_rejected_from { my ($_state, $_pkg, $_o_from_pkg) = @_ }
sub _set_rejected_old_package { my ($_state, $_pkg, $_o_new_pkg) = @_ }
sub _sort_by_dependencies__add_obsolete_edges { my ($_urpm, $_state, $_l, $_o_requires) = @_ }
sub _sort_by_dependencies_get_graph { my ($_urpm, $_state, $_o_l) = @_ }
sub _unselect_package_deprecated_by { my ($_urpm, $_db, $_state, $_diff_provides_h, $_o_pkg) = @_ }
sub _unselect_package_deprecated_by_property { my ($_urpm, $_db, $_state, $_pkg, $_diff_provides_h, $_n, $_o, $_o_v) = @_ }
sub add_macro { my ($_o_s) = @_ }
sub add_macro_noexpand { my ($_macro) = @_ }
sub archscore { my ($_arch) = @_ }
sub backtrack_selected { my ($_urpm, $_db, $_state, $_dep, $_diff_provides, $_o_options) = @_ }
sub backtrack_selected_psel_keep { my ($_urpm, $_db, $_state, $_psel, $_o_keep) = @_ }
sub bind_rpm_textdomain_codeset() {}
sub build_base_files { my ($_urpm, $_o_options) = @_ }
sub build_hdlist { my ($_urpm, $_o_options) = @_ }
sub build_listid { my ($_urpm, $_start, $_end, $_o_listid) = @_ }
sub build_synthesis { my ($_urpm, $_o_options) = @_ }
sub build_transaction_set { my ($_urpm, $_db, $_state, $_o_options) = @_ }
sub check_graph_is_sorted { my ($_sorted, $_nodes, $_o_edges) = @_ }
sub compute_deps { my ($_urpm, $_o_options) = @_ }
sub compute_flag { my ($_urpm, $_pkg, $_o_options) = @_ }
sub compute_flags { my ($_urpm, $_val, $_o_options) = @_ }
sub compute_installed_flags { my ($_urpm, $_o_db) = @_ }
sub del_macro { my ($_name) = @_ }
sub disable_selected { my ($_urpm, $_db, $_state, $_o_pkgs_todo) = @_ }
sub disable_selected_and_unrequested_dependencies { my ($_urpm, $_db, $_state, $_o_pkgs_todo) = @_ }
sub expand { my ($_name) = @_ }
sub find(&@) {}
sub find_candidate_packages { my ($_urpm, $_id_prop, $_o_o_rejected) = @_ }
sub find_candidate_packages_ { my ($_urpm, $_id_prop, $_o_o_rejected) = @_ }
sub find_chosen_packages() {}
sub find_required_package { my ($_urpm, $_db, $_state, $_o_id_prop) = @_ }
sub get_gpg_fingerprint { my ($_filename) = @_ }
sub get_installed_arch { my ($_db, $_o_n) = @_ }
sub import_needed_pubkeys() {}
sub import_needed_pubkeys_from_file { my ($_db, $_pubkey_file, $_o_o_callback) = @_ }
sub import_pubkey { my (@_more_paras) = @_ }
sub import_pubkey_file { my ($_db, $_filename) = @_ }
sub is_package_installed { my ($_db, $_o_pkg) = @_ }
sub list_rpm_tag { my ($_o_urpm) = @_ }
sub listlength { my ($_o_l) = @_ }
sub loadmacrosfile { my ($_filename) = @_ }
sub make_delta_rpm() {}
sub min() {}
sub new { my ($_class, $_o_options) = @_ }
sub osscore { my ($_os) = @_ }
sub packages_by_name { my ($_urpm, $_o_name) = @_ }
sub packages_obsoleting { my ($_urpm, $_o_name) = @_ }
sub packages_providing { my ($_urpm, $_o_name) = @_ }
sub packages_to_remove { my ($_o_state) = @_ }
sub parse_hdlist { my ($_urpm, $_filename, @_more_paras) = @_ }
sub parse_hdlist__XS { my ($_urpm, $_filename, @_more_paras) = @_ }
sub parse_headers { my ($_urpm, $_o_options) = @_ }
sub parse_pubkeys { my ($_urpm, $_o_options) = @_ }
sub parse_pubkeys_ { my ($_o_db) = @_ }
sub parse_rpm { my ($_urpm, $_filename, @_more_paras) = @_ }
sub parse_rpms_build_headers { my ($_urpm, $_o_options) = @_ }
sub parse_synthesis { my ($_urpm, $_filename, @_more_paras) = @_ }
sub parse_synthesis__XS { my ($_urpm, $_filename, @_more_paras) = @_ }
sub pkg2media { my ($_mediums, $_o_p) = @_ }
sub platformscore { my ($_platform) = @_ }
sub property2name { my ($_o_property) = @_ }
sub property2name_op_version { my ($_o_property) = @_ }
sub property2name_range { my ($_o_property) = @_ }
sub provided_version_that_overlaps { my ($_pkg, $_o_provide_name) = @_ }
sub query_pkg { my ($_undef, $_pkg, $_o_query) = @_ }
sub ranges_overlap { my ($_a, $_b, $_o_b_nopromote) = @_ }
sub read_config_files() {}
sub removed_or_obsoleted_packages { my ($_o_state) = @_ }
sub request_packages_to_upgrade { my ($_urpm, $_db, $_state, $_requested, $_o_options) = @_ }
sub resetmacros() {}
sub resolve_rejected { my ($_urpm, $_db, $_state, $_pkg, $_o_rdep) = @_ }
sub resolve_rejected_ { my ($_urpm, $_db, $_state, $_properties, $_o_rdep) = @_ }
sub resolve_requested { my ($_urpm, $_db, $_state, $_requested, $_o_options) = @_ }
sub resolve_requested__no_suggests { my ($_urpm, $_db, $_state, $_requested, $_o_options) = @_ }
sub resolve_requested__no_suggests_ { my ($_urpm, $_db, $_state, $_requested, $_o_options) = @_ }
sub reverse_multi_hash { my ($_o_h) = @_ }
sub rpmErrorString() {}
sub rpmErrorWriteTo { my ($_fd) = @_ }
sub rpmvercmp { my ($_one, $_two) = @_ }
sub search { my ($_urpm, $_name, $_o_options) = @_ }
sub selected_size { my ($_urpm, $_o_state) = @_ }
sub selected_size_filesize { my ($_urpm, $_o_state) = @_ }
sub setVerbosity { my ($_level) = @_ }
sub set_nofatal { my ($_urpm, $_o_bool) = @_ }
sub set_rejected { my ($_urpm, $_state, $_o_rdep) = @_ }
sub set_rejected_and_compute_diff_provides { my ($_urpm, $_state, $_diff_provides_h, $_o_rdep) = @_ }
sub sort_by_dependencies { my ($_urpm, $_state, $_o_list_unsorted) = @_ }
sub sort_graph { my ($_nodes, $_o_edges) = @_ }
sub sorted_rpms_to_string { my ($_urpm, $_o_sorted) = @_ }
sub spec2srcheader { my ($_specfile) = @_ }
sub stream2header { my ($_fp) = @_ }
sub strict_arch { my ($_o_urpm) = @_ }
sub strict_arch_check { my ($_installed_pkg, $_o_pkg) = @_ }
sub strict_arch_check_installed { my ($_db, $_o_pkg) = @_ }
sub tag2id { my ($_o_l) = @_ }
sub traverse { my ($_urpm, $_o_callback) = @_ }
sub traverse_tag { my ($_urpm, $_tag, $_names, $_o_callback) = @_ }
sub traverse_tag_find { my ($_urpm, $_tag, $_name, $_o_callback) = @_ }
sub uniq { my ($_o_l) = @_ }
sub unresolved_provides_clean { my ($_o_urpm) = @_ }
sub unsatisfied_requires { my ($_urpm, $_db, $_state, $_pkg, $_o_options) = @_ }
sub verify_rpm { my ($_filename, @_more_paras) = @_ }
sub verify_signature { my ($_filename, $_o_prefix) = @_ }
sub whatrequires { my ($_urpm, $_state, $_o_property_name) = @_ }
sub whatrequires_id { my ($_state, $_o_property_name) = @_ }
sub with_any_unsatisfied_requires { my ($_urpm, $_db, $_state, $_name, $_o_do) = @_ }
sub with_db_unsatisfied_requires { my ($_urpm, $_db, $_state, $_name, $_o_do) = @_ }
sub with_state_unsatisfied_requires { my ($_urpm, $_db, $_state, $_name, $_o_do) = @_ }

package URPM::DB;
our @ISA = qw();
sub DESTROY { my ($_db) = @_ }
sub create_transaction { my ($_db, $_o_prefix) = @_ }
sub open { my ($_o_prefix, $_o_write_perm) = @_ }
sub rebuild { my ($_o_prefix) = @_ }
sub traverse { my ($_db, $_callback) = @_ }
sub traverse_tag { my ($_db, $_tag, $_names, $_callback) = @_ }
sub traverse_tag_find { my ($_db, $_tag, $_name, $_callback) = @_ }
sub verify { my ($_o_prefix) = @_ }

package URPM::Package;
our @ISA = qw();
sub DESTROY { my ($_pkg) = @_ }
sub arch { my ($_pkg) = @_ }
sub build_header { my ($_pkg, $_fileno) = @_ }
sub build_info { my ($_pkg, $_fileno, $_o_provides_files) = @_ }
sub buildarchs { my ($_pkg) = @_ }
sub buildhost { my ($_pkg) = @_ }
sub buildtime { my ($_pkg) = @_ }
sub changelog_name { my ($_pkg) = @_ }
sub changelog_text { my ($_pkg) = @_ }
sub changelog_time { my ($_pkg) = @_ }
sub changelogs { my ($_o_pkg) = @_ }
sub compare { my ($_pkg, $_evr) = @_ }
sub compare_pkg { my ($_lpkg, $_rpkg) = @_ }
sub conf_files { my ($_pkg) = @_ }
sub conflicts { my ($_pkg) = @_ }
sub conflicts_nosense { my ($_pkg) = @_ }
sub description { my ($_pkg) = @_ }
sub dirnames { my ($_pkg) = @_ }
sub distepoch { my ($_pkg) = @_ }
sub distribution { my ($_pkg) = @_ }
sub disttag { my ($_pkg) = @_ }
sub dump_flags { my ($_o_pkg) = @_ }
sub epoch { my ($_pkg) = @_ }
sub excludearchs { my ($_pkg) = @_ }
sub exclusivearchs { my ($_pkg) = @_ }
sub filelinktos { my ($_pkg) = @_ }
sub filename { my ($_pkg) = @_ }
sub files { my ($_pkg) = @_ }
sub files_flags { my ($_pkg) = @_ }
sub files_gid { my ($_pkg) = @_ }
sub files_group { my ($_pkg) = @_ }
sub files_md5sum { my ($_pkg) = @_ }
sub files_mode { my ($_pkg) = @_ }
sub files_mtime { my ($_pkg) = @_ }
sub files_owner { my ($_pkg) = @_ }
sub files_size { my ($_pkg) = @_ }
sub files_uid { my ($_pkg) = @_ }
sub filesize { my ($_pkg) = @_ }
sub flag { my ($_pkg, $_name) = @_ }
sub flag_available { my ($_pkg) = @_ }
sub flag_base { my ($_pkg) = @_ }
sub flag_disable_obsolete { my ($_pkg) = @_ }
sub flag_installed { my ($_pkg) = @_ }
sub flag_requested { my ($_pkg) = @_ }
sub flag_required { my ($_pkg) = @_ }
sub flag_selected { my ($_pkg) = @_ }
sub flag_skip { my ($_pkg) = @_ }
sub flag_upgrade { my ($_pkg) = @_ }
sub free_header { my ($_pkg) = @_ }
sub fullname { my ($_pkg) = @_ }
sub get_tag { my ($_pkg, $_tagname) = @_ }
sub get_tag_modifiers { my ($_pkg, $_tagname) = @_ }
sub group { my ($_pkg) = @_ }
sub header_filename { my ($_pkg) = @_ }
sub id { my ($_pkg) = @_ }
sub installtid { my ($_pkg) = @_ }
sub is_arch_compat { my ($_pkg) = @_ }
sub is_arch_compat__XS { my ($_pkg) = @_ }
sub is_platform_compat { my ($_pkg) = @_ }
sub license { my ($_pkg) = @_ }
sub name { my ($_pkg) = @_ }
sub obsoletes { my ($_pkg) = @_ }
sub obsoletes_nosense { my ($_pkg) = @_ }
sub obsoletes_overlap { my ($_pkg, $_s, $_o_b_nopromote, $_o_direction) = @_ }
sub os { my ($_pkg) = @_ }
sub pack_header { my ($_pkg) = @_ }
sub packager { my ($_pkg) = @_ }
sub payload_format { my ($_pkg) = @_ }
sub provides { my ($_pkg) = @_ }
sub provides_nosense { my ($_pkg) = @_ }
sub provides_overlap { my ($_pkg, $_s, $_o_b_nopromote, $_o_direction) = @_ }
sub queryformat { my ($_pkg, $_fmt) = @_ }
sub rate { my ($_pkg) = @_ }
sub release { my ($_pkg) = @_ }
sub requires { my ($_pkg) = @_ }
sub requires_nosense { my ($_pkg) = @_ }
sub rflags { my ($_pkg) = @_ }
sub set_filesize { my ($_pkg, $_filesize) = @_ }
sub set_flag { my ($_pkg, $_name, $_o_value) = @_ }
sub set_flag_base { my ($_pkg, $_o_value) = @_ }
sub set_flag_disable_obsolete { my ($_pkg, $_o_value) = @_ }
sub set_flag_installed { my ($_pkg, $_o_value) = @_ }
sub set_flag_requested { my ($_pkg, $_o_value) = @_ }
sub set_flag_required { my ($_pkg, $_o_value) = @_ }
sub set_flag_skip { my ($_pkg, $_o_value) = @_ }
sub set_flag_upgrade { my ($_pkg, $_o_value) = @_ }
sub set_id { my ($_pkg, $_o_id) = @_ }
sub set_rate { my ($_pkg, $_rate) = @_ }
sub set_rflags { my ($_pkg, @_more_paras) = @_ }
sub size { my ($_pkg) = @_ }
sub sourcerpm { my ($_pkg) = @_ }
sub suggests { my ($_pkg) = @_ }
sub summary { my ($_pkg) = @_ }
sub update_header { my ($_pkg, $_filename, @_more_paras) = @_ }
sub url { my ($_pkg) = @_ }
sub vendor { my ($_pkg) = @_ }
sub version { my ($_pkg) = @_ }

package URPM::Transaction;
our @ISA = qw();
sub DESTROY { my ($_trans) = @_ }
sub Element_fullname { my ($_trans, $_index) = @_ }
sub Element_name { my ($_trans, $_index) = @_ }
sub Element_release { my ($_trans, $_index) = @_ }
sub Element_version { my ($_trans, $_index) = @_ }
sub NElements { my ($_trans) = @_ }
sub add { my ($_trans, $_pkg, @_more_paras) = @_ }
sub check { my ($_trans, @_more_paras) = @_ }
sub order { my ($_trans) = @_ }
sub remove { my ($_trans, $_name) = @_ }
sub run { my ($_trans, $_data, @_more_paras) = @_ }
sub set_script_fd { my ($_trans, $_fdno) = @_ }
sub traverse { my ($_trans, $_callback) = @_ }