From 0025285e5e387d41f079f7cd1d9d2bd1111d533e Mon Sep 17 00:00:00 2001 From: Jan Rochel Date: Fri, 16 Aug 2019 15:22:06 +0200 Subject: [PATCH 1/2] Package ocsigenserver.2.15.0 --- .../ocsigenserver/ocsigenserver.2.15.0/opam | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 packages/ocsigenserver/ocsigenserver.2.15.0/opam diff --git a/packages/ocsigenserver/ocsigenserver.2.15.0/opam b/packages/ocsigenserver/ocsigenserver.2.15.0/opam new file mode 100644 index 00000000000..c90569e0cb8 --- /dev/null +++ b/packages/ocsigenserver/ocsigenserver.2.15.0/opam @@ -0,0 +1,70 @@ +opam-version: "2.0" +maintainer: "dev@ocsigen.org" +synopsis: "A full-featured and extensible Web server" +description: "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." +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: "git+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"] +depends: [ + "ocaml" {>= "4.06.1"} + "ocamlfind" + "base-unix" + "base-threads" + "react" + "ssl" {>= "0.5.8"} + "lwt" {>= "3.0.0"} + "lwt_ssl" + "lwt_react" + "lwt_log" + "ocamlnet" {>= "4.0.2"} + "pcre" + "cryptokit" + "tyxml" {>= "4.0.0"} + "dbm" | "sqlite3" | "pgocaml" + "ipaddr" {>= "2.1"} + "xml-light" +] +depopts: "camlzip" +conflicts: [ + "camlzip" {< "1.04"} + "pgocaml" {< "2.2"} +] +url { + src: "https://github.com/jrochel/ocsigenserver/archive/2.15.0.tar.gz" + checksum: [ + "md5=01227e2df5fad6774c9b549057fadf35" + "sha512=4ba56d41c27243732ce818cf14abe8cc0965fb97453d2fc2fa2eafe6cc6143079ea50294410bcf8a7d677d63c199b085795174a43571a3a6d7a214845b9da95f" + ] +} From 64e29b2610c754a83fcf3f48a89f554ffc401fc4 Mon Sep 17 00:00:00 2001 From: Jan Rochel Date: Fri, 16 Aug 2019 15:22:51 +0200 Subject: [PATCH 2/2] Update opam --- packages/ocsigenserver/ocsigenserver.2.15.0/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ocsigenserver/ocsigenserver.2.15.0/opam b/packages/ocsigenserver/ocsigenserver.2.15.0/opam index c90569e0cb8..da9480dc583 100644 --- a/packages/ocsigenserver/ocsigenserver.2.15.0/opam +++ b/packages/ocsigenserver/ocsigenserver.2.15.0/opam @@ -62,7 +62,7 @@ conflicts: [ "pgocaml" {< "2.2"} ] url { - src: "https://github.com/jrochel/ocsigenserver/archive/2.15.0.tar.gz" + src: "https://github.com/ocsigen/ocsigenserver/archive/2.15.0.tar.gz" checksum: [ "md5=01227e2df5fad6774c9b549057fadf35" "sha512=4ba56d41c27243732ce818cf14abe8cc0965fb97453d2fc2fa2eafe6cc6143079ea50294410bcf8a7d677d63c199b085795174a43571a3a6d7a214845b9da95f"