line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# $Id$ |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# system::kali::package Brik |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
package Metabrik::System::Kali::Package; |
7
|
1
|
|
|
1
|
|
810
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
27
|
|
8
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
26
|
|
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
5
|
use base qw(Metabrik::System::Ubuntu::Package); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
198
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub brik_properties { |
13
|
|
|
|
|
|
|
return { |
14
|
0
|
|
|
0
|
1
|
|
revision => '$Revision$', |
15
|
|
|
|
|
|
|
tags => [ qw(unstable) ], |
16
|
|
|
|
|
|
|
author => 'GomoR ', |
17
|
|
|
|
|
|
|
license => 'http://opensource.org/licenses/BSD-3-Clause', |
18
|
|
|
|
|
|
|
attributes_default => { |
19
|
|
|
|
|
|
|
ignore_error => 0, |
20
|
|
|
|
|
|
|
}, |
21
|
|
|
|
|
|
|
commands => { |
22
|
|
|
|
|
|
|
search => [ qw(string) ], |
23
|
|
|
|
|
|
|
install => [ qw(package|$package_list) ], |
24
|
|
|
|
|
|
|
remove => [ qw(package|$package_list) ], |
25
|
|
|
|
|
|
|
update => [ ], |
26
|
|
|
|
|
|
|
upgrade => [ ], |
27
|
|
|
|
|
|
|
list => [ ], |
28
|
|
|
|
|
|
|
is_installed => [ qw(package|$package_list) ], |
29
|
|
|
|
|
|
|
which => [ qw(file) ], |
30
|
|
|
|
|
|
|
system_update => [ ], |
31
|
|
|
|
|
|
|
system_upgrade => [ ], |
32
|
|
|
|
|
|
|
}, |
33
|
|
|
|
|
|
|
optional_binaries => { |
34
|
|
|
|
|
|
|
aptitude => [ ], |
35
|
|
|
|
|
|
|
}, |
36
|
|
|
|
|
|
|
require_binaries => { |
37
|
|
|
|
|
|
|
'apt-get' => [ ], |
38
|
|
|
|
|
|
|
dpkg => [ ], |
39
|
|
|
|
|
|
|
}, |
40
|
|
|
|
|
|
|
need_packages => { |
41
|
|
|
|
|
|
|
kali => [ qw(aptitude) ], |
42
|
|
|
|
|
|
|
}, |
43
|
|
|
|
|
|
|
}; |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
__END__ |