Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ocsigenserver 2.9 (OCaml 4.06 compatible) #11340

Merged
merged 1 commit into from
Feb 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Crap. I missed it, sorry. @Drup is this deprecated ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, yes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jpdeplaix, thanks and no worries. For info, ocsigen/ocsigenserver#124 replaces tyxml.parser with xml-light and gets rid of camlp4, among other old cruft. But I need to spend a few weeks on it before we finally do the migration.

]
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"