package debian-formats

  1. Overview
  2. Docs

Module DebianFormats.ControlSource

Sourcetype source_section = {
  1. source : name;
  2. section : name;
  3. priority : name;
  4. maintainer : string;
  5. uploaders : string list;
  6. standards_version : version;
  7. build_depends : (vpkg * (bool * architecture) list) list list;
  8. build_depends_indep : (vpkg * (bool * architecture) list) list list;
  9. build_conflicts : (vpkg * (bool * architecture) list) list;
  10. build_conflicts_indep : (vpkg * (bool * architecture) list) list;
}

debian source section format

Sourcetype binary_section = {
  1. package : name;
  2. essential : bool;
  3. depends : vpkg list list;
  4. pre_depends : vpkg list list;
  5. recommends : vpkg list list;
  6. suggests : vpkg list;
  7. enhances : vpkg list;
  8. conflicts : vpkg list;
  9. breaks : vpkg list;
  10. replaces : vpkg list;
  11. provides : veqpkg list;
  12. extras : (string * string) list;
}

debian binary sections format

Sourceval parse_name : string -> string
Sourceval parse_vpkg : string -> string * (string * string) option
Sourceval parse_veqpkg : string -> string * (string * string) option
Sourceval parse_conj : string -> (string * (string * string) option) list
Sourceval parse_essential : string -> bool
Sourceval parse_source_fields : (string * name list) list -> source_section option
Sourceval parse_binary_fields : string list -> (string * name list) list -> binary_section option
Sourceval filename : string
Sourceval default : unit -> source_section * binary_section list
OCaml

Innovation. Community. Security.