Skip to content

Commit

Permalink
Merge pull request #11340 from vasilisp/ocsigenserver.2.9
Browse files Browse the repository at this point in the history
Add Ocsigenserver 2.9 (OCaml 4.06 compatible)
  • Loading branch information
kit-ty-kate authored Feb 1, 2018
2 parents 801232a + ff97dd2 commit 71b70ed
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/ocsigenserver/ocsigenserver.2.9/descr
Original file line number Diff line number Diff line change
@@ -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.
66 changes: 66 additions & 0 deletions packages/ocsigenserver/ocsigenserver.2.9/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
opam-version: "1.2"
name: "ocsigenserver"
maintainer: "[email protected]"
authors: "[email protected]"
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"]
2 changes: 2 additions & 0 deletions packages/ocsigenserver/ocsigenserver.2.9/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
http: "https://github.com/ocsigen/ocsigenserver/archive/2.9.tar.gz"
checksum: "1b7866f28cda7b922a54d41c9507021f"

0 comments on commit 71b70ed

Please sign in to comment.