-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
27 lines (22 loc) · 891 Bytes
/
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
This script contains functions to parse Debian APT-repository files
(Packages.gz, Sources.gz) and generate an XHTML summary of them.
Usage:
include_once("parse-apt-files.inc");
parse_and_list( "Packages.gz", "Sources.gz" );
... or if the repository consist of multiple Packages files:
include_once("parse-apt-files.inc");
parse_and_list(
Array("i386/Packages.gz",
"powerpc/Packages.gz"),
"Sources.gz" );
... or especially for debarchiver:
include_once("parse-apt-files.inc");
parse_and_list(
Array("dists/sid/main/binary-i386/Packages.gz",
"dists/sid/contrib/binary-i386/Packages.gz",
"dists/sid/non-free/binary-i386/Packages.gz"),
Array("dists/sid/main/source/Sources.gz",
"dists/sid/contrib/source/Sources.gz",
"dists/sid/non-free/source/Sources.gz"),
"dists/sid/installed",
"build_logs");