Skip to content
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: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.23 AS build
FROM alpine:3.24 AS build
RUN apk update && \
apk add curl git musl-dev linux-headers make dune gcc
WORKDIR /home/sandworm
Expand All @@ -10,7 +10,7 @@ RUN sed -i /dependency_hash/d dune.lock/lock.dune
RUN apk add $(dune show depexts 2>&1)
RUN dune build --release

FROM alpine:3.23 AS run
FROM alpine:3.24 AS run
RUN apk update && apk add --update libev gmp git
WORKDIR /app
COPY --from=build /home/sandworm/static static
Expand Down
3 changes: 2 additions & 1 deletion dune.lock/angstrom.0.16.1.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
(source
(fetch
(url https://github.com/inhabitedtype/angstrom/archive/0.16.1.tar.gz)
(checksum md5=a9e096b4b2b8e4e3bb17d472bbccaad0)))
(checksum
sha256=143536fb4d049574c539b9990840615e078ed3dd94e1d24888293f68349a100b)))
2 changes: 1 addition & 1 deletion dune.lock/asn1-combinators.0.3.2.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
(url
https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v0.3.2/asn1-combinators-0.3.2.tbz)
(checksum
sha256=2b26985f6e2722073dcd9f84355bd6757e12643b5a48e30b3c07ff7cfb0d8a7f)))
sha512=8ca5a9dfa080cd2e6c3ef05a232e90916df921b09e8445728c6b46438d39056ccb8cd61325f3858490f032a17620a0de17f9d910fd8f0cabe961b02bc76a2eca)))
2 changes: 1 addition & 1 deletion dune.lock/base64.3.5.2.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
(url
https://github.com/mirage/ocaml-base64/releases/download/v3.5.2/base64-3.5.2.tbz)
(checksum
sha256=b3f5ce301aa72c7032ef90be2332d72ff3962922c00ee2aec6bcade187a2f59b)))
sha512=82148a1fefec9493aaeac032c8d46b9548369d7fd90a57865e009a32c8a0eef950f0f8dbb52b74bb46880a590a0b49f2daa7ab4857233734aee8e383f5a164ec)))
2 changes: 1 addition & 1 deletion dune.lock/bigarray-compat.1.1.0.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
(url
https://github.com/mirage/bigarray-compat/releases/download/v1.1.0/bigarray-compat-1.1.0.tbz)
(checksum
sha256=434469a48d5c84e80d621b13d95eb067f8138c1650a1fd5ae6009a19b93718d5)))
sha512=7be283fd957ee168ce1e62835d22114da405e4b7da9619b4f2030a832d45ca210a0c8f1d1c57c92e224f3512308a8a0f0923b94f44b6f582acbe0e7728d179d4)))
3 changes: 2 additions & 1 deletion dune.lock/bigstringaf.0.10.0.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
(source
(fetch
(url https://github.com/inhabitedtype/bigstringaf/archive/0.10.0.tar.gz)
(checksum md5=be0a44416840852777651150757a0a3b)))
(checksum
sha512=b51c756925d7016ffd7eac49e69393a1897391ca2685a8c30c7b6e3917b4d66c9400b49e8986d0f03329197b95ad52e096ff83dea5e03571cb5bc3d9a5170602)))
2 changes: 1 addition & 1 deletion dune.lock/bstr.0.0.4.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
(url
https://github.com/robur-coop/bstr/releases/download/v0.0.4/bstr-0.0.4.tbz)
(checksum
sha256=640836f15b2d555bdf2366f6d7783926e11598ad7e94557b167c785b255f4856)))
sha512=1954727f1a386c9909996cdabc1a3b150c23361a96e5632280b0f6e6faf8f0ab6a7ca974352378e757c5136375eb5a53235f95caa69e982f48d3a49907948ddd)))
3 changes: 2 additions & 1 deletion dune.lock/camlp-streams.5.0.1.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
(source
(fetch
(url https://github.com/ocaml/camlp-streams/archive/v5.0.1.tar.gz)
(checksum md5=afc874b25f7a1f13e8f5cfc1182b51a7)))
(checksum
sha512=2efa8dd4a636217c8d49bac1e4e7e5558fc2f45cfea66514140a59fd99dd08d61fb9f1e17804997ff648b71b13820a5d4a1eb70fed9d848aa2abd6e41f853c86)))
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(version 2.2.4)
(version 2.3.2)

(build
(all_platforms ((action (run dune build -p %{pkg-self:name} -j %{jobs})))))
Expand All @@ -10,6 +10,6 @@
(source
(fetch
(url
https://github.com/paurkedal/ocaml-caqti/releases/download/v2.2.4/caqti-v2.2.4.tbz)
https://github.com/paurkedal/ocaml-caqti/releases/download/v2.3.2/caqti-v2.3.2.tbz)
(checksum
sha256=b8ea432820154ec095132c4f7b244b06cd8553e0b2035185b844d9c4f30af8bb)))
sha512=75b968ab37ae94cadcaabbcce0f91b1ffa4334ed69e441bdeb823077eb7675264282efb0fab3baaaad446582cfb427769e19f22c8c194a316ac2248c3fba5cf8)))
7 changes: 3 additions & 4 deletions dune.lock/caqti.2.2.4.pkg → dune.lock/caqti.2.3.2.pkg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(version 2.2.4)
(version 2.3.2)

(build
(all_platforms
Expand Down Expand Up @@ -27,13 +27,12 @@
mtime
ocaml
ptime
tls
uri
x509)))

(source
(fetch
(url
https://github.com/paurkedal/ocaml-caqti/releases/download/v2.2.4/caqti-v2.2.4.tbz)
https://github.com/paurkedal/ocaml-caqti/releases/download/v2.3.2/caqti-v2.3.2.tbz)
(checksum
sha256=b8ea432820154ec095132c4f7b244b06cd8553e0b2035185b844d9c4f30af8bb)))
sha512=75b968ab37ae94cadcaabbcce0f91b1ffa4334ed69e441bdeb823077eb7675264282efb0fab3baaaad446582cfb427769e19f22c8c194a316ac2248c3fba5cf8)))
15 changes: 0 additions & 15 deletions dune.lock/checkseum.0.5.2.pkg

This file was deleted.

15 changes: 15 additions & 0 deletions dune.lock/checkseum.0.5.3.pkg
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
(version 0.5.3)

(build
(all_platforms ((action (run dune build -p %{pkg-self:name} -j %{jobs})))))

(depends
(all_platforms
(ocaml dune dune-configurator optint)))

(source
(fetch
(url
https://github.com/mirage/checkseum/releases/download/v0.5.3/checkseum-0.5.3.tbz)
(checksum
sha512=e4a35bdb7956b8d30a317923e86c750c174a7804b115b823bf67f66cf6dde5e40f687693a2fa9fee78e0a5a426ee0d1deeea22a723114905d57a41fd473e8b0e)))
6 changes: 3 additions & 3 deletions dune.lock/cmdliner.2.1.0.pkg → dune.lock/cmdliner.2.1.1.pkg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(version 2.1.0)
(version 2.1.1)

(install
(all_platforms
Expand Down Expand Up @@ -27,6 +27,6 @@

(source
(fetch
(url https://erratique.ch/software/cmdliner/releases/cmdliner-2.1.0.tbz)
(url https://erratique.ch/software/cmdliner/releases/cmdliner-2.1.1.tbz)
(checksum
sha512=2ca8c9a2b392e031f88aa0e76f2ab50c8e9e28d77852d04ca2d5b62326630ca41567ce0832e9a9334d9b130b48deede66c7880a9d0aee75a1afe7541097e249f)))
sha512=cdc338ae2e56a72b7c75dae9564c57cca4e1fbfac454aabbf8303fcb612346284aede5984dfde7e8a7a496cc870bbd57ddf28cab3a38667279b31657f85c15dd)))
1 change: 1 addition & 0 deletions dune.lock/compiler-cloning.enabled.pkg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(version enabled)
4 changes: 1 addition & 3 deletions dune.lock/conf-gmp.5.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
((gmp-devel gmp)
(= %{os_distribution} centos))
((gmp-devel gmp)
(or_absorb_undefined_var
(= %{os_family} fedora)
(= %{os_family} fedora)))
(= %{os_family} fedora))
((gmp-devel gmp)
(= %{os_distribution} ol))
((gmp)
Expand Down
6 changes: 2 additions & 4 deletions dune.lock/conf-libssl.4.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
((= HOMEBREW_NO_AUTO_UPDATE 1))
(progn
(when
(and_absorb_undefined_var true (<> %{os_distribution} homebrew))
(<> %{os_distribution} homebrew)
(run pkg-config --print-errors --exists openssl))
(when (= %{os_distribution} homebrew) (run sh -ex ./homebrew.sh check))))))))

Expand All @@ -32,9 +32,7 @@
((openssl-devel)
(= %{os_distribution} ol))
((openssl-devel)
(or_absorb_undefined_var
(= %{os_family} fedora)
(= %{os_family} fedora)))
(= %{os_family} fedora))
((libopenssl-devel)
(or_absorb_undefined_var
(= %{os_family} suse)
Expand Down
63 changes: 49 additions & 14 deletions dune.lock/conf-pkg-config.4.pkg → dune.lock/conf-pkg-config.5.pkg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(version 4)
(version 5)

(build
(choice
Expand All @@ -7,28 +7,49 @@
((arch arm64)
(os linux)))
((action
(run pkg-config --help))))
(progn
(run pkg-config --help)
(run
sh
./write-config.sh
%{pkg-self:name}
-v
command:list
EOL
pkg-config
EOL)))))
((((arch x86_64)
(os macos))
((arch arm64)
(os macos)))
((action
(progn
(when
(and_absorb_undefined_var
true
(not
(and_absorb_undefined_var
true
(= %{os_distribution} homebrew))))
(not
(= %{os_distribution} homebrew))
(run pkg-config --help))
(when
(or_absorb_undefined_var
false
(and_absorb_undefined_var
true
(= %{os_distribution} homebrew)))
(run pkgconf --version))))))))
(= %{os_distribution} homebrew)
(run pkgconf --version))
(run
sh
./write-config.sh
%{pkg-self:name}
-v
command:list
EOL
(when
(catch_undefined_var
(not
(= %{os_distribution} homebrew))
false)
pkg-config)
(when
(catch_undefined_var
(= %{os_distribution} homebrew)
false)
pkgconf)
EOL)))))))

(depexts
((pkg-config)
Expand Down Expand Up @@ -85,3 +106,17 @@
(= %{os_distribution} cygwinports)))
((pkgconf)
(= %{os_distribution} cygwin)))

(extra_sources
(install-shim.sh
(fetch
(url
https://raw.githubusercontent.com/dra27/mingw-w64-shims/refs/tags/1.0.1/install-shim.sh)
(checksum
sha512=0b76a529454b00027b5768fa6ead1b8dda6bc3adab55f4288a702f4cc5d7b280be938cced6841b1556e8cf98f56ecc95b7b22006859d7a91f0ef852aea74e88c)))
(write-config.sh
(fetch
(url
https://raw.githubusercontent.com/dra27/mingw-w64-shims/refs/tags/1.0.1/write-config.sh)
(checksum
sha512=00c4e7c605e46c8fb4d24c40da0a9317e31e3ec723a7aac59546b1cfb180024cc76dbd27c2aca8d223047ad4b0a4bcd047443fc64a6e218a21931aaa672c3e71))))
3 changes: 2 additions & 1 deletion dune.lock/cppo.1.8.0.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
(source
(fetch
(url https://github.com/ocaml-community/cppo/archive/v1.8.0.tar.gz)
(checksum md5=a197cb393b84f6b30e0ff55080ac429b)))
(checksum
sha512=3840725b767a0300bdc48f11d26d798bdcae0a764ed6798df3a08dfc8cc76fe124b14a19d47c9b5ea8e229d68b0311510afce77c0e4d9131fbda5116dc2689a2)))
2 changes: 1 addition & 1 deletion dune.lock/csexp.1.5.2.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
(url
https://github.com/ocaml-dune/csexp/releases/download/1.5.2/csexp-1.5.2.tbz)
(checksum
sha256=1a14dd04bb4379a41990248550628c77913a9c07f3c35c1370b6960e697787ff)))
sha512=be281018bcfc20d4db14894ef51c4b836d6338d2fdfe22e63d46f405f8dea7349e16f1c0ecd65f73d4c85a2a80e618cdbb8c9dafcbb9f229f04f1adca5b1973c)))
2 changes: 1 addition & 1 deletion dune.lock/cstruct.6.2.0.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
(url
https://github.com/mirage/ocaml-cstruct/releases/download/v6.2.0/cstruct-6.2.0.tbz)
(checksum
sha256=9a78073392580e8349148fa3ab4b1b2e989dc9d30d07401b04c96b7c60f03e62)))
sha512=8d33fe6b3707a3994d0225cd33cadde0bb2ca834ef01096e3df33a08e4a8c6d02ebccddf558a73988b8a5595b65fdc10de61efbf872c6c9e55c719c7e19c463d)))
2 changes: 1 addition & 1 deletion dune.lock/decompress.1.5.3.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
(url
https://github.com/mirage/decompress/releases/download/v1.5.3/decompress-1.5.3.tbz)
(checksum
sha256=f91e6978beff3fcb61440d32f7c99c99f1e8654b4fb18408741d36035373ac60)))
sha512=c3f402404f76075e6f692ea36e701134a5d833824d5d1166365c6c81fb18b309270bf288ce4c118ac44fd0366d9b6eea0a6309255678d8e1bd2bbfa7ba843461)))
2 changes: 1 addition & 1 deletion dune.lock/digestif.1.3.0.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
(url
https://github.com/mirage/digestif/releases/download/v1.3.0/digestif-1.3.0.tbz)
(checksum
sha256=9a6cdcb332539c87f4723fc3bd73626b2675a7b1161fdf0fed309186ce18f427)))
sha512=986d98eeb79f75ff69842a7ed4b93b4ff3795df7c09d455ca0c41408d67415a6743253a96c7e0de653dc62db95cb1fd29b1c654472fa11259cddde65dd5dd352)))
2 changes: 1 addition & 1 deletion dune.lock/domain-name.0.5.0.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
(url
https://github.com/hannesm/domain-name/releases/download/v0.5.0/domain-name-0.5.0.tbz)
(checksum
sha256=9ec7ae2c22772c150b84cfa3f21d9bf25fae14a796f31e20df52d86f46499d89)))
sha512=923acab434ebb197f44075711030fd1b7f61783e20cc6f74387ce0acf1bc5f48eb8a8a5e29d3440e7c249ab00673e250ddfdc7e53d71c5a1613f1dbb557c0ae1)))
2 changes: 1 addition & 1 deletion dune.lock/dream-encoding.0.3.0.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
(url
https://github.com/tmattio/dream-encoding/releases/download/0.3.0/dream-encoding-0.3.0.tbz)
(checksum
sha256=5778442d5d1e2cede3657151242fd2aac12176546fb76fc4d0a5181bd32605ef)))
sha512=085dfc2cd97ecb1cf94b84431639de3e394b315f728bac20590d22e4ce42be9536957dae641ad758d8637582f9853e4d5bfa1857620af596372bf172b6fe842a)))
2 changes: 1 addition & 1 deletion dune.lock/dune-configurator.3.20.2.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
(url
https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz)
(checksum
sha256=b1a86b2d60bdb4a8b9bb6861bdf2f9f28a6e7cb5d833ce81afecceb9ef9ca549)))
sha512=ed14df9163e487d4ae7d0a2427eaab7823ef1f0ef2d93f0b783e6f163bbd5b44ba73f055d60b84e76f476fe11d38e794013628a1da776d9ec13cca9666e7b7ff)))
2 changes: 1 addition & 1 deletion dune.lock/dune-private-libs.3.20.2.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
(url
https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz)
(checksum
sha256=b1a86b2d60bdb4a8b9bb6861bdf2f9f28a6e7cb5d833ce81afecceb9ef9ca549)))
sha512=ed14df9163e487d4ae7d0a2427eaab7823ef1f0ef2d93f0b783e6f163bbd5b44ba73f055d60b84e76f476fe11d38e794013628a1da776d9ec13cca9666e7b7ff)))
2 changes: 1 addition & 1 deletion dune.lock/dune-site.3.20.2.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
(url
https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz)
(checksum
sha256=b1a86b2d60bdb4a8b9bb6861bdf2f9f28a6e7cb5d833ce81afecceb9ef9ca549)))
sha512=ed14df9163e487d4ae7d0a2427eaab7823ef1f0ef2d93f0b783e6f163bbd5b44ba73f055d60b84e76f476fe11d38e794013628a1da776d9ec13cca9666e7b7ff)))
19 changes: 0 additions & 19 deletions dune.lock/duration.0.2.1.pkg

This file was deleted.

19 changes: 19 additions & 0 deletions dune.lock/duration.0.3.1.pkg
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
(version 0.3.1)

(build
(all_platforms
((action
(progn
(when %{pkg-self:dev} (run dune subst))
(run dune build -p %{pkg-self:name} -j %{jobs}))))))

(depends
(all_platforms
(ocaml dune)))

(source
(fetch
(url
https://github.com/hannesm/duration/releases/download/v0.3.1/duration-0.3.1.tbz)
(checksum
sha512=248fec8ba9ebf6ac7cc91055307496658974e402bb9de6d37027fbe51b6708247530392cc60f954cf8d7ed8a03ce0d2da440fbd9f8720e398a446e0a43f590ad)))
2 changes: 1 addition & 1 deletion dune.lock/dyn.3.20.2.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
(url
https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz)
(checksum
sha256=b1a86b2d60bdb4a8b9bb6861bdf2f9f28a6e7cb5d833ce81afecceb9ef9ca549)))
sha512=ed14df9163e487d4ae7d0a2427eaab7823ef1f0ef2d93f0b783e6f163bbd5b44ba73f055d60b84e76f476fe11d38e794013628a1da776d9ec13cca9666e7b7ff)))
2 changes: 1 addition & 1 deletion dune.lock/eqaf.0.10.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
(fetch
(url https://github.com/mirage/eqaf/releases/download/v0.10/eqaf-0.10.tbz)
(checksum
sha256=67d1369c57c4d2d14a10d02632d45e355224abeb98aec08979c0bae5843092ee)))
sha512=7f75b5d5667e3605f8d95e2d6fda40953129033e6a342ee2c98ee4135c2428e1db87547971868605ab989374757c47c21c5397d4c3da578952d716826a156979)))
2 changes: 1 addition & 1 deletion dune.lock/gluten-lwt-unix.0.5.2.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
(url
https://github.com/anmonteiro/gluten/releases/download/0.5.2/gluten-0.5.2.tbz)
(checksum
sha256=b1eed89f9f6080bb4bd289cc8d252c6bcf01f03d395726e66fa6067207e7015f)))
sha512=105e549d5ff83c43be6ab5e71ec1c19b27140a279002f04e02792e778f9e75deaecf4251324e6273e43039e38572b45ea236626b3afa7ef5c3c72baa3002c129)))
2 changes: 1 addition & 1 deletion dune.lock/gluten-lwt.0.5.2.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
(url
https://github.com/anmonteiro/gluten/releases/download/0.5.2/gluten-0.5.2.tbz)
(checksum
sha256=b1eed89f9f6080bb4bd289cc8d252c6bcf01f03d395726e66fa6067207e7015f)))
sha512=105e549d5ff83c43be6ab5e71ec1c19b27140a279002f04e02792e778f9e75deaecf4251324e6273e43039e38572b45ea236626b3afa7ef5c3c72baa3002c129)))
2 changes: 1 addition & 1 deletion dune.lock/gluten.0.5.2.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
(url
https://github.com/anmonteiro/gluten/releases/download/0.5.2/gluten-0.5.2.tbz)
(checksum
sha256=b1eed89f9f6080bb4bd289cc8d252c6bcf01f03d395726e66fa6067207e7015f)))
sha512=105e549d5ff83c43be6ab5e71ec1c19b27140a279002f04e02792e778f9e75deaecf4251324e6273e43039e38572b45ea236626b3afa7ef5c3c72baa3002c129)))
Loading