The unpac monorepo manager self-hosting as a monorepo using unpac

Delete the old MirageOS 3 trick

Such trick is to compile digestif with ocaml-solo5 and distribute
it for MirageOS 3 then. We need to patch the generated META file
from `dune` to finally install something good for MirageOS 3.

It seems clear that at this date, we don't really need to continue
the support of MirageOS. It seems that such trick bothers dune
cache and installation on some platform. Let's just remove that.

-66
-1
vendor/opam/digestif/digestif.opam
··· 29 29 30 30 build: [ 31 31 [ "dune" "build" "-p" name "-j" jobs ] 32 - [ "ocaml" "./install/install.ml" ] 33 32 [ "dune" "runtest" "-p" name "-j" jobs ] {with-test} 34 33 ] 35 34 install: [
-25
vendor/opam/digestif/freestanding/Makefile
··· 1 - ifneq (, $(shell command -v opam)) 2 - PKG_CONFIG_PATH := $(shell opam config var prefix)/lib/pkgconfig 3 - endif 4 - 5 - EXISTS := $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --exists ocaml-freestanding; echo $$?) 6 - 7 - .PHONY: all clean 8 - all: libdigestif_freestanding_stubs.a 9 - 10 - ifeq ($(EXISTS), 1) 11 - libdigestif_freestanding_stubs.a: 12 - touch $@ 13 - else 14 - CC ?= cc 15 - FREESTANDING_CFLAGS := $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --cflags ocaml-freestanding) 16 - CFLAGS := -I../src-c/native -O3 $(FREESTANDING_CFLAGS) 17 - 18 - OBJS= blake2b.o blake2s.o md5.o ripemd160.o sha1.o sha256.o sha512.o sha3.o whirlpool.o misc.o stubs.o 19 - 20 - libdigestif_freestanding_stubs.a: $(OBJS) 21 - $(AR) r $@ $^ 22 - endif 23 - 24 - clean: 25 - $(RM) $(OBJS) libdigestif_freestanding_stubs.a
-15
vendor/opam/digestif/freestanding/dune
··· 1 - (copy_files# ../src-c/native/*.c) 2 - 3 - (rule 4 - (deps blake2b.c blake2s.c md5.c ripemd160.c sha1.c sha256.c sha512.c sha3.c 5 - whirlpool.c misc.c stubs.c Makefile) 6 - (targets libdigestif_freestanding_stubs.a) 7 - (action 8 - (no-infer 9 - (progn 10 - (run %{make}))))) 11 - 12 - (install 13 - (package digestif) 14 - (section lib) 15 - (files libdigestif_freestanding_stubs.a))
-25
vendor/opam/digestif/install/install.ml
··· 1 - #load "unix.cma" 2 - 3 - let freestanding = 4 - "freestanding_linkopts = \"-l:libdigestif_freestanding_stubs.a\"" 5 - 6 - let meta = 7 - match Sys.getenv "DUNE_BUILD_DIR" with 8 - | _build -> _build ^ "/default/META.digestif" 9 - | exception Not_found -> "_build/default/META.digestif" 10 - 11 - let new_line = '\n' 12 - 13 - let output_line oc line = 14 - output_string oc line ; 15 - output_char oc new_line 16 - 17 - let () = 18 - try 19 - Unix.chmod meta 0o644 ; 20 - let oc = open_out_gen [ Open_append ] 0o644 meta in 21 - output_line oc freestanding ; 22 - close_out oc 23 - with Unix.Unix_error (Unix.ENOENT, _, _) -> 24 - Format.eprintf 25 - "The MirageOS 3.* support is not available in your build environment.\n%!"