From 55bb4d2e365930956ed445dbf0405e36535336dd Mon Sep 17 00:00:00 2001 From: Volker Wegert Date: Sun, 20 Nov 2022 22:50:57 +0100 Subject: [PATCH] re-applied changes to dev-libs/libhmac --- dev-libs/libhmac/Manifest | 2 + dev-libs/libhmac/libhmac-20200104.ebuild | 48 ++++++++++++++++++++++++ dev-libs/libhmac/libhmac-20220425.ebuild | 48 ++++++++++++++++++++++++ dev-libs/libhmac/metadata.xml | 8 ++++ 4 files changed, 106 insertions(+) create mode 100644 dev-libs/libhmac/Manifest create mode 100644 dev-libs/libhmac/libhmac-20200104.ebuild create mode 100644 dev-libs/libhmac/libhmac-20220425.ebuild create mode 100644 dev-libs/libhmac/metadata.xml diff --git a/dev-libs/libhmac/Manifest b/dev-libs/libhmac/Manifest new file mode 100644 index 000000000..e6f3788e1 --- /dev/null +++ b/dev-libs/libhmac/Manifest @@ -0,0 +1,2 @@ +DIST libhmac-alpha-20200104.tar.gz 1146738 BLAKE2B cdb9f3be6ab20449f1f592ace96110d0f57976f96ef9ef11ad889fc66729dfc65ea863be0eec0499c5d45892287dd292ba55f8ed6e6adb4552db8df384247876 SHA512 cc14a6a11b118103615b90a7703c36fd31fdaa40798c025b0e31a65593b02a33caa73c3016131dff2ccd9759d8fde229e095b7b90cb32d5ee121819e71f2cebd +DIST libhmac-alpha-20220425.tar.gz 1254604 BLAKE2B 7be28b0a6a824a42fe6ebc49b2344804c5f872d9104c2a641032e1334518b993f94214fcf573a67c31f814bdc0bfc3eed8826ad450c1ed83c25b26f07bfba4b1 SHA512 6c92d781bb56ce04ea408a70c77477810c79132600ef33797ab176592ce1180efc08c96adef56d48293d13ccb6523ef469e598f4855c6425ef63d3e97f7f0003 diff --git a/dev-libs/libhmac/libhmac-20200104.ebuild b/dev-libs/libhmac/libhmac-20200104.ebuild new file mode 100644 index 000000000..15e9d6d97 --- /dev/null +++ b/dev-libs/libhmac/libhmac-20200104.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Library to support various Hash-based Message Authentication Codes (HMAC)" +HOMEPAGE="https://github.com/libyal/libhmac" +SRC_URI="https://github.com/libyal/libhmac/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls unicode +threads" + +DEPEND=" + nls? ( + virtual/libiconv + virtual/libintl + ) + dev-libs/libcerror[nls=] + dev-libs/libcfile[nls=,unicode=] + dev-libs/libclocale[nls=,unicode=] + dev-libs/libcnotify[nls=] + dev-libs/libcpath[nls=,unicode=] + dev-libs/libcsplit[nls=,unicode=] + dev-libs/libcthreads[nls=] + dev-libs/libuna[nls=,unicode=] +" +RDEPEND=" + ${DEPEND} +" + +src_prepare() { + eautoreconf + eapply_user +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) \ + $(use_enable unicode wide-character-type) \ + $(use_enable threads multi-threading-support) \ + +} diff --git a/dev-libs/libhmac/libhmac-20220425.ebuild b/dev-libs/libhmac/libhmac-20220425.ebuild new file mode 100644 index 000000000..15e9d6d97 --- /dev/null +++ b/dev-libs/libhmac/libhmac-20220425.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Library to support various Hash-based Message Authentication Codes (HMAC)" +HOMEPAGE="https://github.com/libyal/libhmac" +SRC_URI="https://github.com/libyal/libhmac/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls unicode +threads" + +DEPEND=" + nls? ( + virtual/libiconv + virtual/libintl + ) + dev-libs/libcerror[nls=] + dev-libs/libcfile[nls=,unicode=] + dev-libs/libclocale[nls=,unicode=] + dev-libs/libcnotify[nls=] + dev-libs/libcpath[nls=,unicode=] + dev-libs/libcsplit[nls=,unicode=] + dev-libs/libcthreads[nls=] + dev-libs/libuna[nls=,unicode=] +" +RDEPEND=" + ${DEPEND} +" + +src_prepare() { + eautoreconf + eapply_user +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) \ + $(use_enable unicode wide-character-type) \ + $(use_enable threads multi-threading-support) \ + +} diff --git a/dev-libs/libhmac/metadata.xml b/dev-libs/libhmac/metadata.xml new file mode 100644 index 000000000..ace7c2d3a --- /dev/null +++ b/dev-libs/libhmac/metadata.xml @@ -0,0 +1,8 @@ + + + + + unknown@pentoo.ch + Author Unknown + +