From e84f4bbe40a89a2d4a1facf674cf36b0df175a98 Mon Sep 17 00:00:00 2001 From: Sylvain Le Gall Date: Mon, 4 Aug 2025 13:14:59 +0200 Subject: [PATCH 1/4] [new release] archive (2 packages) (3.7.2+6) CHANGES: ### Fixed - Drop dependencies to `bytes`(see ocaml/dune#650). --- packages/archive-lwt/archive-lwt.3.7.2+6/opam | 52 ++++++++++++++ packages/archive/archive.3.7.2+6/opam | 67 +++++++++++++++++++ 2 files changed, 119 insertions(+) create mode 100644 packages/archive-lwt/archive-lwt.3.7.2+6/opam create mode 100644 packages/archive/archive.3.7.2+6/opam diff --git a/packages/archive-lwt/archive-lwt.3.7.2+6/opam b/packages/archive-lwt/archive-lwt.3.7.2+6/opam new file mode 100644 index 00000000000..110a11f2603 --- /dev/null +++ b/packages/archive-lwt/archive-lwt.3.7.2+6/opam @@ -0,0 +1,52 @@ +opam-version: "2.0" +synopsis: "Binding to libarchive for LWT" +description: """ + libarchive is a C library for reading and writing tar, cpio, zip, ISO, and + other archive formats. This library is its OCaml bindings. + + * Reads a variety of formats, including tar, pax, cpio, zip, xar, lha, ar, + cab, mtree, and ISO images. + * Writes tar, pax, cpio, zip, xar, ar, ISO, mtree, and shar archives. + * Full automatic format detection when reading archives, including + compressed archives. + + [libarchive website](http://code.google.com/p/libarchive/) +""" +maintainer: ["Sylvain Le Gall "] +authors: ["Sylvain Le Gall"] +license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" +homepage: "https://github.com/gildor478/ocaml-archive" +bug-reports: "https://github.com/gildor478/ocaml-archive/issues" +depends: [ + "dune" {>= "3.17"} + "ocaml" {>= "4.14.1"} + "archive" {= version} + "lwt" {>= "2.3.2"} + "extlib" {>= "1.8.0" & with-test} + "ounit2" {>= "2.2.7" & with-test} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/gildor478/ocaml-archive.git" +url { + src: + "https://github.com/gildor478/ocaml-archive/releases/download/v3.7.2%2B6/archive-3.7.2.6.tbz" + checksum: [ + "sha256=69ba1f304f986ff05b51699990983f9b0dcf519b3269a49b6adac1c7b68f00f3" + "sha512=690b6ed809c43c7b9573f5719350b3ba9f1583ac0db41a4a376ac7e623fab0edff1e2e8070471fd078d6b2b51f8b049abc74e26ae8a1b24a40b5903c7ba03e81" + ] +} +x-commit-hash: "a4794ab1fadcf4133c57bc41a9684370f91e81f1" diff --git a/packages/archive/archive.3.7.2+6/opam b/packages/archive/archive.3.7.2+6/opam new file mode 100644 index 00000000000..89eb0dfeee9 --- /dev/null +++ b/packages/archive/archive.3.7.2+6/opam @@ -0,0 +1,67 @@ +opam-version: "2.0" +synopsis: "Binding to libarchive" +description: """ + libarchive is a C library for reading and writing tar, cpio, zip, ISO, and + other archive formats. This library is its OCaml bindings. + + * Reads a variety of formats, including tar, pax, cpio, zip, xar, lha, ar, + cab, mtree, and ISO images. + * Writes tar, pax, cpio, zip, xar, ar, ISO, mtree, and shar archives. + * Full automatic format detection when reading archives, including + compressed archives. + + [libarchive website](http://code.google.com/p/libarchive/) +""" +maintainer: ["Sylvain Le Gall "] +authors: ["Sylvain Le Gall"] +license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" +homepage: "https://github.com/gildor478/ocaml-archive" +bug-reports: "https://github.com/gildor478/ocaml-archive/issues" +depends: [ + "dune" {>= "3.17"} + "ocaml" {>= "4.14.1"} + "fileutils" {>= "0.6.6"} + "conf-pkg-config" {build} + "extlib" {>= "1.8.0" & with-test} + "ounit2" {>= "2.2.7" & with-test} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/gildor478/ocaml-archive.git" +depexts: [ + ["libarchive"] {os = "macos" & os-distribution = "homebrew"} + ["libarchive"] {os = "macos" & os-distribution = "macports"} + ["libarchive-devel"] {os = "win32" & os-distribution = "cygwin"} + ["libarchive-dev" "openssl-dev"] {os-distribution = "alpine"} + ["libarchive-dev"] {os-family = "debian"} + ["libarchive-dev"] {os-family = "ubuntu"} + ["libarchive-devel"] {os-family = "fedora"} + ["libarchive-devel"] {os-family = "rhel"} + ["libarchive"] {os-family = "gentoo"} + ["libarchive"] {os-family = "bsd"} + ["libarchive-devel"] {os-family = "suse"} + ["libarchive-devel"] {os-family = "opensuse"} +] +url { + src: + "https://github.com/gildor478/ocaml-archive/releases/download/v3.7.2%2B6/archive-3.7.2.6.tbz" + checksum: [ + "sha256=69ba1f304f986ff05b51699990983f9b0dcf519b3269a49b6adac1c7b68f00f3" + "sha512=690b6ed809c43c7b9573f5719350b3ba9f1583ac0db41a4a376ac7e623fab0edff1e2e8070471fd078d6b2b51f8b049abc74e26ae8a1b24a40b5903c7ba03e81" + ] +} +x-commit-hash: "a4794ab1fadcf4133c57bc41a9684370f91e81f1" + From 933fc604d62736051c6ec94e10fa1c0d59fd0227 Mon Sep 17 00:00:00 2001 From: Marcello Seri Date: Mon, 4 Aug 2025 14:14:16 +0200 Subject: [PATCH 2/4] Update packages/archive-lwt/archive-lwt.3.7.2+6/opam --- packages/archive-lwt/archive-lwt.3.7.2+6/opam | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/archive-lwt/archive-lwt.3.7.2+6/opam b/packages/archive-lwt/archive-lwt.3.7.2+6/opam index 110a11f2603..ec332ab2704 100644 --- a/packages/archive-lwt/archive-lwt.3.7.2+6/opam +++ b/packages/archive-lwt/archive-lwt.3.7.2+6/opam @@ -19,6 +19,7 @@ homepage: "https://github.com/gildor478/ocaml-archive" bug-reports: "https://github.com/gildor478/ocaml-archive/issues" depends: [ "dune" {>= "3.17"} + "dune-configurator" "ocaml" {>= "4.14.1"} "archive" {= version} "lwt" {>= "2.3.2"} From e4090087f50ed051f89a9ad6a01cda1f7c4ddb99 Mon Sep 17 00:00:00 2001 From: Marcello Seri Date: Mon, 4 Aug 2025 14:15:24 +0200 Subject: [PATCH 3/4] archive: add dune-configurator and update ocaml bound --- packages/archive-lwt/archive-lwt.3.7.2+6/opam | 3 +-- packages/archive/archive.3.7.2+6/opam | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/archive-lwt/archive-lwt.3.7.2+6/opam b/packages/archive-lwt/archive-lwt.3.7.2+6/opam index ec332ab2704..516d4111f3a 100644 --- a/packages/archive-lwt/archive-lwt.3.7.2+6/opam +++ b/packages/archive-lwt/archive-lwt.3.7.2+6/opam @@ -19,8 +19,7 @@ homepage: "https://github.com/gildor478/ocaml-archive" bug-reports: "https://github.com/gildor478/ocaml-archive/issues" depends: [ "dune" {>= "3.17"} - "dune-configurator" - "ocaml" {>= "4.14.1"} + "ocaml" {>= "4.14"} "archive" {= version} "lwt" {>= "2.3.2"} "extlib" {>= "1.8.0" & with-test} diff --git a/packages/archive/archive.3.7.2+6/opam b/packages/archive/archive.3.7.2+6/opam index 89eb0dfeee9..886fc54eb9f 100644 --- a/packages/archive/archive.3.7.2+6/opam +++ b/packages/archive/archive.3.7.2+6/opam @@ -19,7 +19,8 @@ homepage: "https://github.com/gildor478/ocaml-archive" bug-reports: "https://github.com/gildor478/ocaml-archive/issues" depends: [ "dune" {>= "3.17"} - "ocaml" {>= "4.14.1"} + "dune-configurator" + "ocaml" {>= "4.14"} "fileutils" {>= "0.6.6"} "conf-pkg-config" {build} "extlib" {>= "1.8.0" & with-test} From 3e46e7fdc64d91bd792acd6d282116b1fe84d312 Mon Sep 17 00:00:00 2001 From: Marcello Seri Date: Tue, 5 Aug 2025 12:41:26 +0200 Subject: [PATCH 4/4] Update packages/archive/archive.3.7.2+6/opam --- packages/archive/archive.3.7.2+6/opam | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/archive/archive.3.7.2+6/opam b/packages/archive/archive.3.7.2+6/opam index 886fc54eb9f..da7a6f6d75d 100644 --- a/packages/archive/archive.3.7.2+6/opam +++ b/packages/archive/archive.3.7.2+6/opam @@ -25,6 +25,7 @@ depends: [ "conf-pkg-config" {build} "extlib" {>= "1.8.0" & with-test} "ounit2" {>= "2.2.7" & with-test} + "archive-lwt" {with-test & post} "odoc" {with-doc} ] build: [