From 895ff0a4d41ed3004a73b7869773a26f463c5ded Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Mar 2024 05:41:23 +0000 Subject: gentoo auto-resync : 01:03:2024 - 05:41:23 --- dev-ml/Manifest.gz | Bin 38318 -> 38316 bytes dev-ml/cryptokit/Manifest | 2 +- dev-ml/cryptokit/cryptokit-1.16.1-r1.ebuild | 63 ---------------------------- dev-ml/cryptokit/cryptokit-1.16.1-r2.ebuild | 63 ++++++++++++++++++++++++++++ dev-ml/zarith/Manifest | 2 +- dev-ml/zarith/zarith-1.13.ebuild | 10 ++--- 6 files changed, 69 insertions(+), 71 deletions(-) delete mode 100644 dev-ml/cryptokit/cryptokit-1.16.1-r1.ebuild create mode 100644 dev-ml/cryptokit/cryptokit-1.16.1-r2.ebuild (limited to 'dev-ml') diff --git a/dev-ml/Manifest.gz b/dev-ml/Manifest.gz index 649ce1add10c..50bb4191c48a 100644 Binary files a/dev-ml/Manifest.gz and b/dev-ml/Manifest.gz differ diff --git a/dev-ml/cryptokit/Manifest b/dev-ml/cryptokit/Manifest index a80b206a0b2c..6b2354e00089 100644 --- a/dev-ml/cryptokit/Manifest +++ b/dev-ml/cryptokit/Manifest @@ -1,3 +1,3 @@ DIST cryptokit-1.16.1.tar.gz 120607 BLAKE2B fbb89c4dabef8f09614003acc2b8173fdfdacb36793fd20f4415ebec04f3759537739eccd7b9d143df0163816b9db65c221c2b83408c9ac3aa7f9bf7b63876c6 SHA512 28913a7c35ae951a4c464287acc511ee1bdc9d03b5928e2243c5ae5cbb8b10afe8e84d7a73ba6478ed62657d01fdb6f02472739255c33de3671c4130b659da52 -EBUILD cryptokit-1.16.1-r1.ebuild 1740 BLAKE2B 9cb98e52fd2f26d6b355b6cff2cbda711920c8277cd0dff663466671dfd119a1ff5a209ec3bba6ded1b899c1a70ee0b8445d3776a9f6b1ef860a03bd4268a6ac SHA512 eebf9cde63a97d2b821cf3b2d4aa48a972ba1fd194a6bc0be3d60db23be61863b45666692b6ae3759e29caca4464f0d407cca3f5396ee75bd640a2620c15beea +EBUILD cryptokit-1.16.1-r2.ebuild 1743 BLAKE2B 556d3df74f2f7a94f31e354eedf5e9c3e8123670796c5c28d710dfde9a57a0e9de1d33236911b1c8302af335f4e7f3f762b62d8fbbac5bca3880a6a22bb8ced5 SHA512 f83aa827401e6386fcde04cea91af1d3e65b923a0bff56c5573d561b9b1c46a6e8ddba1eb64e9e45f52967b96128775e73dc19a03ea19b65d1f78d58c3a2ff0f MISC metadata.xml 254 BLAKE2B d697f22c77238bd34657f0f8e039188d063d53a2615c88e860ef332c849806d397e508b2e3ff0d99cffd75803cad42cf68ae44684f8c4ba1f74beec8962de28e SHA512 d8e051508c6316615ecae50fd477cb71c9911dd85aad33ec7008d04cc1bda4a2b5b211074c8c666e454c76649c64ac506e579b93a04d3ef5197b2fefc67af7d3 diff --git a/dev-ml/cryptokit/cryptokit-1.16.1-r1.ebuild b/dev-ml/cryptokit/cryptokit-1.16.1-r1.ebuild deleted file mode 100644 index b2c57abf4cca..000000000000 --- a/dev-ml/cryptokit/cryptokit-1.16.1-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit dune - -MY_PV="$(ver_rs 1- '')" -DESCRIPTION="Cryptographic primitives library for Objective Caml" -HOMEPAGE="https://github.com/xavierleroy/cryptokit" -SRC_URI="https://github.com/xavierleroy/cryptokit/archive/release${MY_PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-release${MY_PV}" - -LICENSE="LGPL-2" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~ppc x86" -IUSE="cpu_flags_x86_aes +ocamlopt test zlib" -REQUIRED_USE="test? ( ocamlopt )" -RESTRICT="!test? ( test )" - -# We can't use mpir on zarith -# (until it gains mpz_powm_sec?) -# bug #750740 -DEPEND=" - dev-ml/dune-configurator - dev-ml/zarith:=[-mpir] - zlib? ( >=sys-libs/zlib-1.1 ) -" -RDEPEND="${DEPEND}" - -DOCS=( "Changes" "README.txt" "AUTHORS.txt" ) - -src_configure() { - # Don't build in src_configure - sed -i -e 's:exit (Sys.command "dune build @configure --release")::' configure || die - - # It's not autotools (or even close), it's a Dune wrapper. - ./configure \ - $(use_enable cpu_flags_x86_aes hardwaresupport) \ - $(use_enable zlib) \ - || die -} - -pkg_postinst() { - elog "" - elog "This library uses the /dev/random device to generate " - elog "random data and RSA keys. The device should either be" - elog "built into the kernel or provided as a module. An" - elog "alternative is to use the Entropy Gathering Daemon" - elog "(http://egd.sourceforge.net). Please note that the" - elog "remainder of the library will still work even in the" - elog "absence of a one of these sources of randomness." - elog "" -} - -src_test() { - echo "" - einfo "You must have either /dev/random or the Entropy Gathering" - einfo "Daemon (EGD) for this test to succeed!" - echo "" - - dune_src_test -} diff --git a/dev-ml/cryptokit/cryptokit-1.16.1-r2.ebuild b/dev-ml/cryptokit/cryptokit-1.16.1-r2.ebuild new file mode 100644 index 000000000000..98b63a2cad4c --- /dev/null +++ b/dev-ml/cryptokit/cryptokit-1.16.1-r2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit dune + +MY_PV="$(ver_rs 1- '')" +DESCRIPTION="Cryptographic primitives library for Objective Caml" +HOMEPAGE="https://github.com/xavierleroy/cryptokit" +SRC_URI="https://github.com/xavierleroy/cryptokit/archive/release${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-release${MY_PV}" + +LICENSE="LGPL-2" +SLOT="0/${PV}" +KEYWORDS="amd64 ~arm ~arm64 ~ppc x86" +IUSE="cpu_flags_x86_aes +ocamlopt test zlib" +REQUIRED_USE="test? ( ocamlopt )" +RESTRICT="!test? ( test )" + +# We can't use mpir on zarith +# (until it gains mpz_powm_sec?) +# bug #750740 +DEPEND=" + dev-ml/dune-configurator + dev-ml/zarith:=[-mpir(-)] + zlib? ( >=sys-libs/zlib-1.1 ) +" +RDEPEND="${DEPEND}" + +DOCS=( "Changes" "README.txt" "AUTHORS.txt" ) + +src_configure() { + # Don't build in src_configure + sed -i -e 's:exit (Sys.command "dune build @configure --release")::' configure || die + + # It's not autotools (or even close), it's a Dune wrapper. + ./configure \ + $(use_enable cpu_flags_x86_aes hardwaresupport) \ + $(use_enable zlib) \ + || die +} + +pkg_postinst() { + elog "" + elog "This library uses the /dev/random device to generate " + elog "random data and RSA keys. The device should either be" + elog "built into the kernel or provided as a module. An" + elog "alternative is to use the Entropy Gathering Daemon" + elog "(http://egd.sourceforge.net). Please note that the" + elog "remainder of the library will still work even in the" + elog "absence of a one of these sources of randomness." + elog "" +} + +src_test() { + echo "" + einfo "You must have either /dev/random or the Entropy Gathering" + einfo "Daemon (EGD) for this test to succeed!" + echo "" + + dune_src_test +} diff --git a/dev-ml/zarith/Manifest b/dev-ml/zarith/Manifest index c8ff1df4a49a..8801385ed37f 100644 --- a/dev-ml/zarith/Manifest +++ b/dev-ml/zarith/Manifest @@ -2,5 +2,5 @@ AUX zarith-1.12-shuffle.patch 308 BLAKE2B 7c725c7ef19483a153f7404c3c91f268faf24b DIST zarith-1.12.tar.gz 93695 BLAKE2B b9622e2f397887d08fb8a8520419cf459e99906c05a897af91258b17d92d3fbbd2314a0a4be8a56a07074dcb0a0d04c896b3b5e69526a6c81a8a07b657d1bfec SHA512 8075573ae65579a2606b37dd1b213032a07d220d28c733f9288ae80d36f8a2cc4d91632806df2503c130ea9658dc207ee3a64347c21aa53969050a208f5b2bb4 DIST zarith-1.13.tar.gz 85994 BLAKE2B a5860319e17f4e660f248f3e724076b578d27dc3a06e8b54d68bcd6ed021a0354ad714dfcb06329bb9c4a3eadc3d08fd84fd76ef5d1a8902a06a7506d77addde SHA512 a562fa8bf4f5ef44f2af6b9a8f028182fd184c89f8c41455acdc02851cc0fc3124d3776c0de930e8d09cd5d6d88cc689f80f4b597068a0611131f45d057b101f EBUILD zarith-1.12.ebuild 1429 BLAKE2B 015c4587939d5d7511d1b3e0437377b712da40c677db7069fde9f9f563475f3fc0deb16b1e3e4c4fbe74c97c1e9dc21b21de58a190be03c851d3cb55db97b43a SHA512 b3f000982657bab9e22e86b922e1ac2ac63281efa01f94ad46fdb6d68cede9c6d6ee7c51e0f2d09ddee834c776f5a01ba6a15a80ba3c97b53a0fc7b3fe179e4a -EBUILD zarith-1.13.ebuild 1385 BLAKE2B d46fc5d163575421b90b2905e7a0756368fc1539ae2581d314d77c2320010c0071c0ba66c71e160b9136dc077e4f2767627497968eeb7a22f8cc440525f54423 SHA512 fec9154c63e67680dcdbddd15932e082813f5bc119fe413c5fb9d030048286a65b7ca0c8052c9ec581ae723b03114800cc8ae91ed398986ecc9a5d611d747111 +EBUILD zarith-1.13.ebuild 1314 BLAKE2B ebeb8243c2f9a480cc32738008755fb96e7539994d6c6044f20b0e31bed709468c3d8e33a50db981d51294264172fa3796ebb6a24cae2fb15826fdfd41db2ece SHA512 c932c98f3e82ac10856eefb6e26fabea1af59a3119171bef64218cc09e63e85988b555133e8d6fe0365090b3b517ebdd8c3fde487a9547b2f2f3f3c833f15ef3 MISC metadata.xml 385 BLAKE2B b88400ffa45f84bd5bcfab6a7299ae7f961453f12a55f14dd329831a2273ded4ef2b21dcb25b2611d8590dac2850f84a0221a561d40fa65ce9d62a6ef9a75e57 SHA512 cab52bdbd8b49498a14001cef333073aab9e9496c4caef217cc37738e607a35b23d8e25c41394e976be98f822aca806a8da30773f142a70c69d2de7c8d87531c diff --git a/dev-ml/zarith/zarith-1.13.ebuild b/dev-ml/zarith/zarith-1.13.ebuild index ffe8f2bf2cdc..4312ddbd84a7 100644 --- a/dev-ml/zarith/zarith-1.13.ebuild +++ b/dev-ml/zarith/zarith-1.13.ebuild @@ -11,14 +11,13 @@ SRC_URI="https://github.com/ocaml/Zarith/archive/release-${PV}.tar.gz -> ${P}.ta LICENSE="LGPL-2.1-with-linking-exception" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc x86" -IUSE="doc mpir +ocamlopt" +KEYWORDS="amd64 ~arm ~arm64 ~ppc x86" +IUSE="doc +ocamlopt" RESTRICT="!ocamlopt? ( test )" RDEPEND=" >=dev-lang/ocaml-4.05:=[ocamlopt=] - !mpir? ( dev-libs/gmp:0= ) - mpir? ( sci-libs/mpir:= ) + dev-libs/gmp:0= " DEPEND="${RDEPEND} dev-lang/perl" @@ -29,8 +28,7 @@ S="${WORKDIR}/Zarith-release-${PV}" src_configure() { tc-export CC AR ./configure \ - -ocamllibdir /usr/$(get_libdir)/ocaml \ - $(usex mpir "-mpir" "-gmp") || die + -ocamllibdir /usr/$(get_libdir)/ocaml -gmp || die sed -i \ -e 's|$(INSTALLDIR)|$(DESTDIR)$(INSTALLDIR)|g' \ project.mak || die -- cgit v1.2.3