-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11340 from vasilisp/ocsigenserver.2.9
Add Ocsigenserver 2.9 (OCaml 4.06 compatible)
- Loading branch information
Showing
3 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |