summaryrefslogtreecommitdiffstats
path: root/fake_packages/URPM.pm
blob: d4553fd23a8e713ee998be53cd10b118408c87ab (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

package URPM;
our @ISA = qw();
sub add_macro_noexpand { my ($_macro) = @_ }
sub archscore { my ($_arch) = @_ }
sub bind_rpm_textdomain_codeset() {}
sub del_macro { my ($_name) = @_ }
sub expand { my ($_name) = @_ }
sub get_gpg_fingerprint { my ($_filename) = @_ }
sub import_pubkey { my (@_more_paras) = @_ }
sub import_pubkey_file { my ($_db, $_filename) = @_ }
sub list_rpm_tag { my ($_o_urpm) = @_ }
sub loadmacrosfile { my ($_filename) = @_ }
sub osscore { my ($_os) = @_ }
sub parse_hdlist { my ($_urpm, $_filename, @_more_paras) = @_ }
sub parse_rpm { my ($_urpm, $_filename, @_more_paras) = @_ }
sub parse_synthesis { my ($_urpm, $_filename, @_more_paras) = @_ }
sub platformscore { my ($_platform) = @_ }
sub ranges_overlap { my ($_a, $_b, $_o_b_nopromote) = @_ }
sub read_config_files() {}
sub resetmacros() {}
sub rpmErrorString() {}
sub rpmErrorWriteTo { my ($_fd) = @_ }
sub rpmvercmp { my ($_one, $_two) = @_ }
sub setVerbosity { my ($_level) = @_ }
sub spec2srcheader { my ($_specfile) = @_ }
sub stream2header { my ($_fp) = @_ }
sub verify_rpm { my ($_filename, @_more_paras) = @_ }
sub verify_signature { my ($_filename, $_o_prefix) = @_ }

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 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 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_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_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) = @_ }