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

Update dune to 3.17 #251

Merged
merged 1 commit into from
Dec 24, 2024
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
4 changes: 4 additions & 0 deletions dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(env
(_
(flags
(:standard -w -69))))
35 changes: 34 additions & 1 deletion dune-project
Original file line number Diff line number Diff line change
@@ -1,2 +1,35 @@
(lang dune 2.7)
(lang dune 3.17)
(name ocsigenserver)
(version 6.0.0)

(generate_opam_files true)

(license "LGPL-2.1-only WITH OCaml-LGPL-linking-exception")
(authors "Ocsigen team <[email protected]>")
(maintainers "Ocsigen team <[email protected]>")
(source (github ocsigen/ocsigenserver))
(homepage "http://ocsigen.org/ocsigenserver")

(package
(name ocsigenserver)
(synopsis "A full-featured and extensible Web server")
(description
"Ocsigen Server is a Web Server that can be used either as a library for OCaml or as an executable (taking its configuration from a file). It 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.")
(depends
(ocaml (>= 4.08.1))
(camlzip (>= 1.04))
(cohttp-lwt-unix (and (>= 5.0) (< 6.0)))
(conduit-lwt-unix (and (>= 2.0) (< 7.0)))
cryptokit
(ipaddr (>= 2.1))
(lwt (>= 3.0))
lwt_log
lwt_react
lwt_ssl
ocamlfind
(re (>= 1.11))
react
(ssl (>= 0.5.8))
xml-light)
(conflicts
(pgocaml (< 2.2))))
58 changes: 29 additions & 29 deletions ocsigenserver.opam
Original file line number Diff line number Diff line change
@@ -1,13 +1,36 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
name: "ocsigenserver"
version: "6.0.0"
maintainer: "[email protected]"
synopsis: "A full-featured and extensible Web server"
description: "Ocsigen Server is a Web Server that can be used either as a library for OCaml or as an executable (taking its configuration from a file). It 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: "[email protected]"
homepage: "http://ocsigen.org/ocsigenserver/"
bug-reports: "https://github.com/ocsigen/ocsigenserver/issues/"
description:
"Ocsigen Server is a Web Server that can be used either as a library for OCaml or as an executable (taking its configuration from a file). It 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."
maintainer: ["Ocsigen team <dev@ocsigen.org>"]
authors: ["Ocsigen team <dev@ocsigen.org>"]
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "http://ocsigen.org/ocsigenserver"
bug-reports: "https://github.com/ocsigen/ocsigenserver/issues"
depends: [
"dune" {>= "3.17"}
"ocaml" {>= "4.08.1"}
"camlzip" {>= "1.04"}
"cohttp-lwt-unix" {>= "5.0" & < "6.0"}
"conduit-lwt-unix" {>= "2.0" & < "7.0"}
"cryptokit"
"ipaddr" {>= "2.1"}
"lwt" {>= "3.0"}
"lwt_log"
"lwt_react"
"lwt_ssl"
"ocamlfind"
"re" {>= "1.11"}
"react"
"ssl" {>= "0.5.8"}
"xml-light"
"odoc" {with-doc}
]
conflicts: [
"pgocaml" {< "2.2"}
]
dev-repo: "git+https://github.com/ocsigen/ocsigenserver.git"
build: [
[
Expand Down Expand Up @@ -42,26 +65,3 @@ build: [
["dune" "build" "-p" name "-j" jobs]
]
install:[make "install.files"]
depends: [
"ocaml" {>= "4.08.1"}
"dune" {>= "2.7"}
"ocamlfind"
"base-unix"
"base-threads"
"react"
"ssl" {>= "0.5.8"}
"lwt" {>= "3.0.0"}
"lwt_ssl"
"lwt_react"
"lwt_log"
"re" {>= "1.11.0"}
"cryptokit"
"ipaddr" {>= "2.1"}
"cohttp-lwt-unix" {>= "5.0.0" & < "6.0"}
"conduit-lwt-unix" {>= "2.0.0" & < "7.0"}
"xml-light"
"camlzip" {>= "1.04"}
]
conflicts: [
"pgocaml" {< "2.2"}
]
33 changes: 33 additions & 0 deletions ocsigenserver.opam.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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"
"--temproot"
""
"--sysconfdir"
"%{lib}%/ocsigenserver/etc/ocsigenserver"
]
[make "-C" "src" "confs"]
["dune" "build" "-p" name "-j" jobs]
]
install:[make "install.files"]
Loading