-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
55 lines (41 loc) · 1.41 KB
/
README
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
dpkg-ruby - Ruby interface modules for dpkg
/usr/bin/dpkg.rb - dpkg like program (under development)
/usr/bin/dpkg-ruby - dpkg-awk clone
/usr/bin/dpkg-checkdeps.rb - check deb dependency problem
See also /usr/share/doc/libdpkg-ruby1.8/examples/
This program provides the following modules/class.
(old, to be rewritten)
Debian::Dpkg module
Dpkg.compare_versions(a,rel,b)
Dpkg.architecture
Dpkg.gnu_build_architecture
Dpkg.installation_architecture
Debian::DpkgDeb module
DpkgDeb.deb?(file)
DpkgDeb.control(file)
DpkgDeb.data(file)
DpkgDeb.load(file)
Debian::Deb class - for *.deb
.package -> aString
.source -> aString
.version -> aString
.provides -> array of aString
[field] -> aString
.unmet(aDebian::Packages) -> array of Debian::Dep::Unmet
Debian::Dsc class - for *.dsc
.package -> aString
.version -> aString
.binary -> array of aString
[field] -> aString
Debian::Archives class - parser of Packages,Sources
+ (aDebianArchives) -> aDebian::Archives
.each {|pkgname, d| block }
.each_key {|pkgname| block }
Debian::Sources < Debian::Archives - parser of Sources
Debian::Packages < Debian::Archives - parser of Packages
[pkgname] -> aDebianDeb
.provides(pkgname) -> array of aDebian::Deb
Debian::Status < Debian::Archives - parser of dpkg status
THANKS
akira yamada <[email protected]> - ruby coding style suggestions
$Id: README,v 1.7 2001/04/27 21:42:12 ukai Exp $