From ff97dd282784d73ef0f1a9837ffd13a5579e0e3d Mon Sep 17 00:00:00 2001 From: Vasilis Papavasileiou Date: Thu, 1 Feb 2018 14:54:39 +0100 Subject: [PATCH] Add Ocsigenserver 2.9 (OCaml 4.06 compatible) --- .../ocsigenserver/ocsigenserver.2.9/descr | 7 ++ packages/ocsigenserver/ocsigenserver.2.9/opam | 66 +++++++++++++++++++ packages/ocsigenserver/ocsigenserver.2.9/url | 2 + 3 files changed, 75 insertions(+) create mode 100644 packages/ocsigenserver/ocsigenserver.2.9/descr create mode 100644 packages/ocsigenserver/ocsigenserver.2.9/opam create mode 100644 packages/ocsigenserver/ocsigenserver.2.9/url diff --git a/packages/ocsigenserver/ocsigenserver.2.9/descr b/packages/ocsigenserver/ocsigenserver.2.9/descr new file mode 100644 index 00000000000..5398db82a77 --- /dev/null +++ b/packages/ocsigenserver/ocsigenserver.2.9/descr @@ -0,0 +1,7 @@ +A full-featured and extensible Web server + +Ocsigen Server implements most features of the HTTP protocol, and has +a very powerful extension mechanism that makes it very easy to plug +your own OCaml modules for generating pages. Many extensions are +already implemented, like a reverse proxy, content compression, access +control, authentication, etc. diff --git a/packages/ocsigenserver/ocsigenserver.2.9/opam b/packages/ocsigenserver/ocsigenserver.2.9/opam new file mode 100644 index 00000000000..36aff0ddd17 --- /dev/null +++ b/packages/ocsigenserver/ocsigenserver.2.9/opam @@ -0,0 +1,66 @@ +opam-version: "1.2" +name: "ocsigenserver" +maintainer: "dev@ocsigen.org" +authors: "dev@ocsigen.org" +homepage: "http://ocsigen.org/ocsigenserver/" +bug-reports: "https://github.com/ocsigen/ocsigenserver/issues/" +license: "LGPL-2.1 with OCaml linking exception" +dev-repo: "https://github.com/ocsigen/ocsigenserver.git" +build: [ + [ + "sh" + "configure" + "--prefix" + "%{prefix}%" + "--ocsigen-user" + "%{user}%" + "--ocsigen-group" + "%{group}%" + "--commandpipe" + "%{lib}%/ocsigenserver/var/run/ocsigenserver_command" + "--logdir" + "%{lib}%/ocsigenserver/var/log/ocsigenserver" + "--mandir" + "%{man}%/man1" + "--docdir" + "%{lib}%/ocsigenserver/share/doc/ocsigenserver" + "--commandpipe" + "%{lib}%/ocsigenserver/var/run/ocsigenserver_command" + "--staticpagesdir" + "%{lib}%/ocsigenserver/var/www" + "--datadir" + "%{lib}%/ocsigenserver/var/lib/ocsigenserver" + "--sysconfdir" + "%{lib}%/ocsigenserver/etc/ocsigenserver" + ] + [make] +] +install: [make "install"] +remove: [ + ["rm" "-rf" "%{lib}%/ocsigenserver"] + ["rm" "-rf" "%{doc}%/ocsigenserver"] + ["rm" "-f" "%{man}%/man1/ocsigenserver.1"] +] +depends: [ + "ocamlfind" + "base-unix" + "base-threads" + "react" + "ssl" + "lwt" {>= "3.0.0"} + "lwt_ssl" + "lwt_react" + "ocamlnet" {>= "4.0.2"} + "pcre" + "cryptokit" + "tyxml" {>= "4.0.0"} + ("dbm" | "sqlite3" | "pgocaml") + "ipaddr" {>= "2.1"} + "camlp4" # to force building tyxml.parser +] +depopts: "camlzip" +conflicts: [ + "camlzip" {< "1.04"} + "pgocaml" {< "2.2"} +] +available: [ocaml-version >= "4.03.0"] diff --git a/packages/ocsigenserver/ocsigenserver.2.9/url b/packages/ocsigenserver/ocsigenserver.2.9/url new file mode 100644 index 00000000000..5cd8c9c12ec --- /dev/null +++ b/packages/ocsigenserver/ocsigenserver.2.9/url @@ -0,0 +1,2 @@ +http: "https://github.com/ocsigen/ocsigenserver/archive/2.9.tar.gz" +checksum: "1b7866f28cda7b922a54d41c9507021f"