# net/ocamlnet - The NetBSD Packages Collection

Library focusing on application-level network protocols (OCaml)

    The Ocamlnet project provides a collection of modules for the
    Objective Caml language which focus on application-level Internet
    protocols and conventions.

    The current distribution contains:

    - a mature implementation of the CGI protocol
    - an implementation of the JSERV protocol (AJP-1.2), can be used with
      mod_jserv (Apache JServ) and mod_jk (Jakarta connector) to connect
      application servers written in O'Caml with web servers
    - a FastCGI implementation
    - a POP3 client
    - an SMTP client
    - a library of string processing functions related to Internet
      protocols (formerly known as "netstring" and distributed separately):
      MIME encoding/decoding, Date/time parsing, Character encoding
      conversion, HTML parsing and printing, URL parsing and printing,
      OO-representation of channels, and a lot more.
    - an experimental web server component

- Source version: `ocamlnet-4.1.9nb23`
- Maintainer: pkgsrc-users AT NetBSD.org
- Website: http://projects.camlcity.org/projects/ocamlnet.html
- License: zlib
- Package history: cvs, hg, git

## Build dependencies

pkgtools/mktools devel/gmake pkgtools/cwrappers

## Runtime dependencies

security/gnutls lang/ocaml devel/ocaml-findlib archivers/ocaml-zip devel/pcre-ocaml security/gnutls devel/ocaml-findlib archivers/ocaml-zip devel/pcre-ocaml

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | ocamlnet-4.1.9nb22.tgz
NetBSD 10.0 | aarch64 | ocamlnet-4.1.9nb21.tgz
NetBSD 10.0 | powerpc | ocamlnet-4.1.9nb19.tgz
NetBSD 10.0 | powerpc | ocamlnet-4.1.9nb21.tgz
NetBSD 10.0 | powerpc | ocamlnet-4.1.9nb22.tgz
NetBSD 10.0 | x86_64 | ocamlnet-4.1.9nb22.tgz
NetBSD 10.0 | x86_64 | ocamlnet-4.1.9nb21.tgz
NetBSD 11.0 | aarch64 | ocamlnet-4.1.9nb22.tgz
NetBSD 11.0 | x86_64 | ocamlnet-4.1.9nb22.tgz
NetBSD 9.0 | aarch64 | ocamlnet-4.1.9nb22.tgz
NetBSD 9.0 | aarch64 | ocamlnet-4.1.9nb21.tgz
NetBSD 9.0 | powerpc | ocamlnet-4.1.9nb21.tgz
NetBSD 9.0 | x86_64 | ocamlnet-4.1.9nb22.tgz
NetBSD 9.0 | x86_64 | ocamlnet-4.1.9nb21.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

gnutls
  Enable GNU TLS support.
gtk2
  Enable support for GTK2.

## Known vulnerabilities

(no vulnerabilities known)

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.