.gear/ocaml-ipaddr.spec | 63 ++++++++++++++++++++++ .gear/rules | 3 ++ .../tags/ef747cfde9b443000f5a382793d6c5844d207907 | 14 +++++ .gear/tags/list | 1 + ipaddr.opam | 1 - lib/dune | 2 +- 6 files changed, 82 insertions(+), 2 deletions(-) diff --git a/.gear/ocaml-ipaddr.spec b/.gear/ocaml-ipaddr.spec new file mode 100644 index 0000000..1393f4b --- /dev/null +++ b/.gear/ocaml-ipaddr.spec @@ -0,0 +1,63 @@ +%define modulename ipaddr +Name: ocaml-%modulename +Version: 5.3.0 +Release: alt1 +Summary: An OCaml library for manipulation of IP (and MAC) address representations +License: ISC +Group: Development/ML +URL: https://github.com/mirage/ocaml-ipaddr +Source: %name-%version.tar +Patch0: %name-%version-%release.patch +BuildRequires: dune +BuildRequires: ocaml-domain-name-devel +BuildRequires: ocaml-ounit-devel +BuildRequires: ocaml-ppx_sexp_conv-devel +BuildRequires: ocaml-cstruct-devel +BuildPreReq: rpm-build-ocaml >= 1.4 + +%description +%summary + +%package devel +Summary: Development files for %name +Group: Development/ML +Requires: %name = %EVR + +%description devel +The %name-devel package contains libraries and signature files for +developing applications that use %name. + +%prep +%setup +%patch0 -p1 + +%build +sed -si 's,oUnit,ounit2,' lib_test/dune +%dune_build --release @install + +%install +%dune_install + +%check +%dune_check + +%files -f ocaml-files.runtime +%doc README.md + +%files devel -f ocaml-files.devel + +%changelog +* Mon Mar 28 2022 Anton Farygin 5.3.0-alt1 +- 5.3.0 + +* Wed Sep 15 2021 Anton Farygin 5.2.0-alt1 +- 5.2.0 + +* Wed Aug 18 2021 Anton Farygin 5.1.0-alt1 +- 5.1.0 (Fixes: CVE-2021-29921) + +* Wed Sep 30 2020 Anton Farygin 5.0.1-alt1 +- 5.0.1 + +* Thu Sep 10 2020 Anton Farygin 5.0.0-alt1 +- first build for ALT diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..c3c9326 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,3 @@ +tar: v@version@:. +diff: v@version@:. . +spec: .gear/ocaml-ipaddr.spec diff --git a/.gear/tags/ef747cfde9b443000f5a382793d6c5844d207907 b/.gear/tags/ef747cfde9b443000f5a382793d6c5844d207907 new file mode 100644 index 0000000..8804d96 --- /dev/null +++ b/.gear/tags/ef747cfde9b443000f5a382793d6c5844d207907 @@ -0,0 +1,14 @@ +object 842b88da1b699f8c087e15696f76f6e0f47055c8 +type commit +tag v5.3.0 +tagger Romain Calascibetta 1646406556 +0100 + +Release 5.3.0 + +CHANGES: + +* Add `with_port_of_string` function (@dinosaure, @hannesm, #108) +* **breaking-change** Be restrictive on `Ipaddr.of_string` (@dinosaure, @hannesm, #109) + Before this release, `Ipaddr.of_string` accepts remaining bytes and returns + a valid value such as `"127.0.0.1aaaa"` is valid. Now, `ipaddr` does not + accept a string with remaining bytes. diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..e79b0c2 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +ef747cfde9b443000f5a382793d6c5844d207907 v5.3.0 diff --git a/ipaddr.opam b/ipaddr.opam index 240d9c8..a4d02d2 100644 --- a/ipaddr.opam +++ b/ipaddr.opam @@ -30,7 +30,6 @@ depends: [ "ocaml" {>= "4.04.0"} "dune" {>= "1.9.0"} "macaddr" {= version} - "stdlib-shims" "domain-name" {>= "0.3.0"} "ounit" {with-test} "ppx_sexp_conv" {with-test & >= "v0.9.0"} diff --git a/lib/dune b/lib/dune index a3dcf58..2d628d8 100644 --- a/lib/dune +++ b/lib/dune @@ -2,7 +2,7 @@ (name ipaddr) (public_name ipaddr) (modules ipaddr) - (libraries macaddr domain-name stdlib-shims)) + (libraries macaddr domain-name)) (library (name macaddr)