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/cryptokit/Manifest | 2 +- dev-ml/cryptokit/cryptokit-1.16.1-r1.ebuild | 63 ----------------------------- dev-ml/cryptokit/cryptokit-1.16.1-r2.ebuild | 63 +++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+), 64 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/cryptokit') 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 +} -- cgit v1.2.3