From 63c6f1baaf482062af325f1ccbae540bbb6a7ba9 Mon Sep 17 00:00:00 2001 From: Volker Wegert Date: Thu, 17 Nov 2022 20:22:21 +0100 Subject: [PATCH] consolidated update of dev-libs/libcaes --- dev-libs/libcaes/Manifest | 2 + dev-libs/libcaes/libcaes-20220424.ebuild | 62 ++++++++++++++++++++++++ dev-libs/libcaes/libcaes-20220529.ebuild | 62 ++++++++++++++++++++++++ dev-libs/libcaes/metadata.xml | 8 +++ 4 files changed, 134 insertions(+) create mode 100644 dev-libs/libcaes/Manifest create mode 100644 dev-libs/libcaes/libcaes-20220424.ebuild create mode 100644 dev-libs/libcaes/libcaes-20220529.ebuild create mode 100644 dev-libs/libcaes/metadata.xml diff --git a/dev-libs/libcaes/Manifest b/dev-libs/libcaes/Manifest new file mode 100644 index 000000000..3a2cb83ca --- /dev/null +++ b/dev-libs/libcaes/Manifest @@ -0,0 +1,2 @@ +DIST libcaes-alpha-20220424.tar.gz 924853 BLAKE2B f595e5d97f3253ec2d1f69da177e7babb07d3c57e904b23a174afba20968c74cebb42832ceed20c178204b3583452269c0164c50c9317caeae0b68ccc1726161 SHA512 216fc116b53cf6a012cffd8b1c1f3edc872499e12b03a19b3f5817fde5d5a9b8d92ac7adc5e0bd7cd0c82466013b3142dd338d2e9deaa151e3d79dfeeca50797 +DIST libcaes-alpha-20220529.tar.gz 932271 BLAKE2B ec216e552991becd636fcd95803a22e6b8ae8735690ac08345e2460762c42d4eaaf0b384737190d9bde80a6b902ebbb99b647993edc029a45038c9bc26ae30c3 SHA512 69c1605bc9163600c1280c8571a7198e224047a1e27263234519770a36c2fd910a1ac3aa11511fa69b739eb8411ef6c1155d8cd19c512f2b570d1ebeb0736f8a diff --git a/dev-libs/libcaes/libcaes-20220424.ebuild b/dev-libs/libcaes/libcaes-20220424.ebuild new file mode 100644 index 000000000..669a0a397 --- /dev/null +++ b/dev-libs/libcaes/libcaes-20220424.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit python-single-r1 autotools + +DESCRIPTION="Library to support cross-platform AES encryption" +HOMEPAGE="https://github.com/libyal/libcaes" +SRC_URI="https://github.com/libyal/libcaes/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND=" + dev-libs/openssl + dev-libs/libcerror + nls? ( + virtual/libiconv + virtual/libintl + ) + python? ( dev-lang/python:* ) +" +RDEPEND=" + ${DEPEND} + python? ( ${PYTHON_DEPS} ) +" + +src_prepare() { + #makefile was created with 1.16, let's regenerate it + eautoreconf + eapply_user +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) \ + $(use_enable python) \ + $(use_enable python python3) + +# --disable-shared-libs disable shared library support +# not supported in the ebuild at the moment - kind of defeats the entire process + +# --enable-winapi enable WINAPI support for cross-compilation +# [default=auto-detect] +# not supported in the ebuild at the moment - requires windows.h, does not make much sense for us + +# --enable-openssl-evp-cipher +# enable OpenSSL EVP CIPHER support, or no to disable +# [default=auto-detect] +# --enable-openssl-evp-md enable OpenSSL EVP MD support, or no to disable +# [default=auto-detect] +# left at default values for the time being +} diff --git a/dev-libs/libcaes/libcaes-20220529.ebuild b/dev-libs/libcaes/libcaes-20220529.ebuild new file mode 100644 index 000000000..669a0a397 --- /dev/null +++ b/dev-libs/libcaes/libcaes-20220529.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit python-single-r1 autotools + +DESCRIPTION="Library to support cross-platform AES encryption" +HOMEPAGE="https://github.com/libyal/libcaes" +SRC_URI="https://github.com/libyal/libcaes/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND=" + dev-libs/openssl + dev-libs/libcerror + nls? ( + virtual/libiconv + virtual/libintl + ) + python? ( dev-lang/python:* ) +" +RDEPEND=" + ${DEPEND} + python? ( ${PYTHON_DEPS} ) +" + +src_prepare() { + #makefile was created with 1.16, let's regenerate it + eautoreconf + eapply_user +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) \ + $(use_enable python) \ + $(use_enable python python3) + +# --disable-shared-libs disable shared library support +# not supported in the ebuild at the moment - kind of defeats the entire process + +# --enable-winapi enable WINAPI support for cross-compilation +# [default=auto-detect] +# not supported in the ebuild at the moment - requires windows.h, does not make much sense for us + +# --enable-openssl-evp-cipher +# enable OpenSSL EVP CIPHER support, or no to disable +# [default=auto-detect] +# --enable-openssl-evp-md enable OpenSSL EVP MD support, or no to disable +# [default=auto-detect] +# left at default values for the time being +} diff --git a/dev-libs/libcaes/metadata.xml b/dev-libs/libcaes/metadata.xml new file mode 100644 index 000000000..ace7c2d3a --- /dev/null +++ b/dev-libs/libcaes/metadata.xml @@ -0,0 +1,8 @@ + + + + + unknown@pentoo.ch + Author Unknown + +