From 89ab053ed57707d0ccde9efb6b92f3b2cc025eb9 Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Sun, 14 Mar 2021 22:51:08 +0800 Subject: [PATCH] libvshadow-20201222.ebuild and libs --- app-forensics/libbfio/Manifest | 2 +- app-forensics/libbfio/libbfio-20201229.ebuild | 43 +++++++++++ app-forensics/libvshadow/Manifest | 1 + .../libvshadow/libvshadow-20201222.ebuild | 72 +++++++++++++++++++ dev-libs/libcerror/Manifest | 1 + dev-libs/libcerror/libcerror-20201121.ebuild | 24 +++++++ dev-libs/libcfile/Manifest | 2 +- ...190314.ebuild => libcfile-20201229.ebuild} | 7 ++ dev-libs/libclocale/Manifest | 2 +- ...0721.ebuild => libclocale-20200913.ebuild} | 5 +- dev-libs/libcnotify/Manifest | 1 + .../libcnotify/libcnotify-20200913.ebuild | 26 +++++++ dev-libs/libuna/Manifest | 1 + dev-libs/libuna/libuna-20201204.ebuild | 31 ++++++++ 14 files changed, 213 insertions(+), 5 deletions(-) create mode 100644 app-forensics/libbfio/libbfio-20201229.ebuild create mode 100644 app-forensics/libvshadow/libvshadow-20201222.ebuild create mode 100644 dev-libs/libcerror/libcerror-20201121.ebuild rename dev-libs/libcfile/{libcfile-20190314.ebuild => libcfile-20201229.ebuild} (92%) rename dev-libs/libclocale/{libclocale-20180721.ebuild => libclocale-20200913.ebuild} (89%) create mode 100644 dev-libs/libcnotify/libcnotify-20200913.ebuild create mode 100644 dev-libs/libuna/libuna-20201204.ebuild diff --git a/app-forensics/libbfio/Manifest b/app-forensics/libbfio/Manifest index 9cb149520..75aff0d4e 100644 --- a/app-forensics/libbfio/Manifest +++ b/app-forensics/libbfio/Manifest @@ -1,2 +1,2 @@ -DIST libbfio-alpha-20190112.tar.gz 1990392 BLAKE2B cd26c1a97eb3d092c4466830af7bc3bda7d45503aefbc73592ae5b50df127dbd2d8071130470db24962ec6d24db6ebde216d9e06d4bfbbdd3ceb715a726cac52 SHA512 3bf8c4fec6a283c6e03cc25e33737b28fc747655b720b44e621b402f6f3181e9b1778555db45ca4d7d10f36996cb7f2e5d379d0cf958c5aae5579cbc0705e310 DIST libbfio-alpha-20191230.tar.gz 2004155 BLAKE2B 1e1330b4982b896912722c89b54d60e20994aaf5157451d9379b7345a2638236970a1c050fdb5977b84105e1791777c4692cb4a9c1eef405bbe11ff5fdb2cc7e SHA512 4054f853fb072bfff6eca58da1c47e1458ffdf4ca2734349b78fa145745c2cd12635cb244487d84aabc7768f2eb3f63dfcfe6d0afe7b45096674a61cda6f258f +DIST libbfio-alpha-20201229.tar.gz 2014489 BLAKE2B 87a17ac853eb486efe3a2f44f424a7e59e52d3e1ed2f7b4c728399f0ed3b0220827a844eeecda829f34cdbd7f94c8e4518b4000a029ddc481ea24d83be8b7963 SHA512 8e82e7ae22e094f438e1fa032d1675554b6f9f24caa64ddefa09e3b9e55c6b7981cce8ae01904128fd5ed2e5cf26298734b1fe8fad798f66a5b48cb04fc1ced1 diff --git a/app-forensics/libbfio/libbfio-20201229.ebuild b/app-forensics/libbfio/libbfio-20201229.ebuild new file mode 100644 index 000000000..6b1a25819 --- /dev/null +++ b/app-forensics/libbfio/libbfio-20201229.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Library for providing a basic file input/output abstraction layer" +HOMEPAGE="https://github.com/libyal/libbfio" +SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" +#upstream removed the release +#SRC_URI="https://pentoo.org/~zero/distfiles/${PN}-alpha-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="nls unicode" + +DEPEND="dev-libs/libcerror + dev-libs/libcthreads + dev-libs/libcdata + dev-libs/libclocale + dev-libs/libcnotify + dev-libs/libcsplit + dev-libs/libuna + dev-libs/libcfile + dev-libs/libcpath + " +RDEPEND="${DEPEND}" + +src_configure() { + econf $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) \ + $(use_enable unicode wide-character-type) +# --with-libcerror \ +# --with-libcthreads \ +# --with-libcdata \ +# --with-libclocale \ +# --with-libcnotify \ +# --with-libcsplit \ +# --with-libuna \ +# --with-libcfile \ +# --with-libcpath +} diff --git a/app-forensics/libvshadow/Manifest b/app-forensics/libvshadow/Manifest index 07a7584db..0af3f36d9 100644 --- a/app-forensics/libvshadow/Manifest +++ b/app-forensics/libvshadow/Manifest @@ -1 +1,2 @@ DIST libvshadow-alpha-20191221.tar.gz 1445958 BLAKE2B a5dec2e41edb893d5cc7510a021db34f267b725c90993b7f867e58a0a630dbf61566e2bd248b463ccd68a1c402b20a69e6ea1d2441d95f2534578e22f6b32ffb SHA512 745d8916bb5d935207f2dd77a5fbd73ea4527ab16f75a44a17d8a2014a0d942fdf6f9937d7de752d78c598a419d5a05580afba1701ef836691e565510d32b62e +DIST libvshadow-alpha-20201222.tar.gz 1502469 BLAKE2B 039ab2c22b82125749d26b3b09fc819ccf4718634d4559c67c61fa11dce60f62f7e7be5a97a5545e575baa1e0a6972fa0d9b6fd776449a5a54c151eb3fbabec0 SHA512 7f7f6282704f87277ddb4168cea4fe95ab856f53a0652d3c80fab1e3cc8c98846f5403c1d9a1b74529a15e71544ad3be538c766ddea8e42f30253032acaf3251 diff --git a/app-forensics/libvshadow/libvshadow-20201222.ebuild b/app-forensics/libvshadow/libvshadow-20201222.ebuild new file mode 100644 index 000000000..0bf88f9c4 --- /dev/null +++ b/app-forensics/libvshadow/libvshadow-20201222.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +inherit python-single-r1 eutils autotools + +DESCRIPTION="Library and tools to support the Volume Shadow Snapshot (VSS) format." +HOMEPAGE="https://github.com/libyal/libvshadow" +SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +#unicode: https://github.com/libyal/libvshadow/issues/17 +IUSE="debug python nls unicode" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND="nls? ( virtual/libintl + virtual/libiconv + ) + python? ( dev-lang/python:* ) + sys-fs/fuse:* + app-forensics/libbfio + + >=dev-libs/libcdata-20190112 + dev-libs/libcerror + dev-libs/libcfile + dev-libs/libclocale + dev-libs/libcnotify + dev-libs/libcpath + dev-libs/libcsplit + dev-libs/libcthreads + dev-libs/libfdatetime + dev-libs/libfguid + dev-libs/libuna +" + +RDEPEND="${DEPEND} + python? ( ${PYTHON_DEPS} ) + sys-fs/fuse" + +src_prepare() { + #upstream does not support its own shared libraries, let's fix that + eapply "${FILESDIR}/${PN}"_2019_autoconfig.patch + + #workaround, see https://github.com/libyal/libvshadow/issues/10 +# echo "#define HAVE_ERRNO_H 1" >> common/config.h.in + + #makefile was created with 1.16, let's regenerate it + eautoreconf + eapply_user +} + +src_configure() { + econf $(use_enable python) \ + $(use_enable python python3) \ + $(use_enable unicode wide-character-type) \ + $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) \ + $(use_enable debug debug-output) \ + $(use_enable debug verbose-output) +# \ +# --with-libcdata --with-libcerror --with-libcfile \ +# --with-libclocale --with-libcnotify --with-libcpath \ +# --with-libcsplit --with-libcthreads --with-libfdatetime \ +# --with-libfguid --with-libuna +} diff --git a/dev-libs/libcerror/Manifest b/dev-libs/libcerror/Manifest index 1d2548dc5..5c0657efa 100644 --- a/dev-libs/libcerror/Manifest +++ b/dev-libs/libcerror/Manifest @@ -1,3 +1,4 @@ DIST libcerror-beta-20181117.tar.gz 480313 BLAKE2B 62b1eb00b2bc4dcb5b35e01b09450e1fbb85f8a3e4d283089f647e2bfbb6d15efb5467beea15494961ce7ac7c47cb457d7aa9a5927c5e1df48b2004c257bb9bb SHA512 4856d7a659bb5594bca8fd42a91b6c4f0a76e857a397cc0c71087411d3b38982f88bb3343e2b3d832528ba802860b7d79f57c3f37652c47aeafb1b6104c4b0ef DIST libcerror-beta-20191112.tar.gz 492146 BLAKE2B 0c60aeba46ea329586c0d3417885fe934e29df0898902010ffad4c62d48ae9631cea9765298c286dd3b91087dff0d8562c3bff914b52d3e38b263d0bdcda0764 SHA512 dd9e704ba1eab5328b40871b585c05e4971ffd9022cec7395d8f6b2f8372cadcdc9041561186ffb06cabe2d9efcecdb88fff409f38ef1cd26d9e28075813b3ec DIST libcerror-beta-20200615.tar.gz 492585 BLAKE2B 7bbdb47d3902811b0192fda0b9daa5cdb56aff9eb73cdb3d5b630981cb4d1dc8bbe9878e41c2c2edee73f15b900e0b90e51980a24c0aa3f52ca4fb54f428cab2 SHA512 33d4d587b429c22e08665dee0941142c9a805398b925f1ddd8e068820c92a5e6d61577908da721db927bf6dd180fa45b092093d32260b83ba94f38244b661602 +DIST libcerror-beta-20201121.tar.gz 492646 BLAKE2B 32ddf28c63191c972f5a24dd3836d863e36ed8be371082b67c85e357f1753c4e0f6e935ab07678578ee1efc37f6bc0349076a17ecab6422953639999708f4731 SHA512 6b74834657f53b5c547917f82522f762fc374930c86d656c97d0e02034fb1f5e8ca54b2b92eb03efb2ffec991ecf9a1a4ea1452bf4bf069bbbcd334c1580d990 diff --git a/dev-libs/libcerror/libcerror-20201121.ebuild b/dev-libs/libcerror/libcerror-20201121.ebuild new file mode 100644 index 000000000..bc0ca190f --- /dev/null +++ b/dev-libs/libcerror/libcerror-20201121.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Library for cross-platform C error functions" +HOMEPAGE="https://github.com/libyal/${PN}" +SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-beta-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls" + +DEPEND="nls? ( virtual/libiconv + virtual/libintl )" +RDEPEND="${DEPEND}" + +# --disable-rpath do not hardcode runtime library paths +src_configure() { + econf $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) +} diff --git a/dev-libs/libcfile/Manifest b/dev-libs/libcfile/Manifest index 078630360..09d338ba3 100644 --- a/dev-libs/libcfile/Manifest +++ b/dev-libs/libcfile/Manifest @@ -1,2 +1,2 @@ -DIST libcfile-alpha-20190314.tar.gz 998266 BLAKE2B e2268b8685b814e356d4003809e68e5cd4cf3b75f82d380697080013869a8284b1133838e33195eb5870aa9e21d531887e6581b5ba48dcb52b38bc5137313778 SHA512 91e2770d5643f8520c519f8a0877561d590f7a3e23699d371b71821b031ddc919d96664121f7ccc13ed485c30d08e588cb315d94aa862ce93c0c5e868a2ca987 DIST libcfile-alpha-20200216.tar.gz 1011938 BLAKE2B eb7714485166073ccdcda18ab6e3a20a43499044c72e23c6918246815d56636b7294bc6409507626b99d90dbe08d289e0cffc960d4f028b4288519570f71818c SHA512 d082916a5fc6753a0e0a6e44d3c6735cefc031d57e4a6d8a03abfbe7e34b01225648a1fddc1f7dc2812c475d6eeb1bab77fd6734a9341304279bea52851ab928 +DIST libcfile-alpha-20201229.tar.gz 1018012 BLAKE2B 1382f4588ba98d0a50d96de5fc0904cabc770dc6433e1f0c03a8acfbcf2c0b9c34202eec7f4debc0cdc75b399b00a0cb4c4b56947b27bbe1534e9c5a84723559 SHA512 748971ee2da9b35c5beaa8cc1d741a8cc8abc841f84bc177eb9c2ea3064e70d6de909e033eca308ee6f59588ee968073fddffd98afe3786259f6bef14fc1f74b diff --git a/dev-libs/libcfile/libcfile-20190314.ebuild b/dev-libs/libcfile/libcfile-20201229.ebuild similarity index 92% rename from dev-libs/libcfile/libcfile-20190314.ebuild rename to dev-libs/libcfile/libcfile-20201229.ebuild index bbe24cf2a..501dbd088 100644 --- a/dev-libs/libcfile/libcfile-20190314.ebuild +++ b/dev-libs/libcfile/libcfile-20201229.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit autotools + DESCRIPTION="Library for cross-platform C file functions" HOMEPAGE="https://github.com/libyal/${PN}" SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" @@ -20,6 +22,11 @@ DEPEND="dev-libs/libcerror virtual/libintl )" RDEPEND="${DEPEND}" +src_prepare() { + default + eautoreconf +} + src_configure() { econf $(use_enable nls) \ $(use_with nls libiconv-prefix) \ diff --git a/dev-libs/libclocale/Manifest b/dev-libs/libclocale/Manifest index 6c8465d41..9fefd3862 100644 --- a/dev-libs/libclocale/Manifest +++ b/dev-libs/libclocale/Manifest @@ -1,2 +1,2 @@ -DIST libclocale-alpha-20180721.tar.gz 499885 BLAKE2B 66a827000aaaacceb5aa4b89612aef27b70f30bbc20a94bc41b8bcceea1a5e36bb790a720cdb355ca3ab0e425f5f589fcc7886d42bdc2703f60f1888470e8c0e SHA512 d80088708e4a9d66b1527cddc9543a5183a506c314bd82880cc76b6c8c9b0de652e5259927333a19a0c498fff888d4722a6cb38f578aee5e72d3b7741db93f1a DIST libclocale-alpha-20200428.tar.gz 512992 BLAKE2B 98109f1099c6b3c7e92477122b94252b41c3ad2086d7dddd38f5801afb0cd17ffb7d5588cb95ffbacbdb2fc22bd30241367b3e94452b3dceba45f8e455b8b24f SHA512 ed21856391ac8b2b2bd8b77b2d919dce2ea1014e1dfe9a3d835e395a482f64c706ea7b7d4ab615a384c696d5e8e52b54bc92d4eb51c83450f7bd739a41755350 +DIST libclocale-alpha-20200913.tar.gz 512711 BLAKE2B 196402ff876ae2f48c4bc470dd2f52e0972ebbdb500939d40795004f1018ef83dcae11832a5f47adbe3d9dbed25fcecf78f3d3626cb3f3bb5bfb3663a4695f15 SHA512 5476ca1b1ba19b10ba7078931f26562aaa6292e45a762f267c4da5f2e8b3f96031330fae6dedb0076d73dbee65b62f836744346255e530f5c542b56bd2d79613 diff --git a/dev-libs/libclocale/libclocale-20180721.ebuild b/dev-libs/libclocale/libclocale-20200913.ebuild similarity index 89% rename from dev-libs/libclocale/libclocale-20180721.ebuild rename to dev-libs/libclocale/libclocale-20200913.ebuild index b2a3774d7..dc10623e5 100644 --- a/dev-libs/libclocale/libclocale-20180721.ebuild +++ b/dev-libs/libclocale/libclocale-20200913.ebuild @@ -21,6 +21,7 @@ src_configure() { econf $(use_enable nls) \ $(use_with nls libiconv-prefix) \ $(use_with nls libintl-prefix) \ - $(use_enable unicode wide-character-type) \ - --with-libcerror + $(use_enable unicode wide-character-type) + # \ +# --with-libcerror } diff --git a/dev-libs/libcnotify/Manifest b/dev-libs/libcnotify/Manifest index 6af374937..3b9f1e372 100644 --- a/dev-libs/libcnotify/Manifest +++ b/dev-libs/libcnotify/Manifest @@ -1,2 +1,3 @@ DIST libcnotify-beta-20191109.tar.gz 495006 BLAKE2B a4c051ad598d792887fc851658bc97c5cfc00898d1ffaea7b5c79200871adb1db8887581b1def64ca0cebebadd1bc2c253776b14c7a42d3be79b95f4b70ea71d SHA512 2b3558cecbbb2d3d511e3a9024ed5a1aa6f291fbcc80be5992ee72a8e105cdd39f57e4448f807f0d4cbd7a00542cd34033e5bb26a2b14c1a843828ec4bf7dae4 DIST libcnotify-beta-20200627.tar.gz 507395 BLAKE2B 818d4566d92f14643aabd871bb5107a8e08e9cb0c5752d9035eb275469ccdbff8939bef9ea08b58d139799adaddb0629e678eae0b5298f9a0032d703f7f30c7d SHA512 dd833a779d755aa96c473286f9ce2fae3b34d43f51e87e9817f41a9e0272679a1d0943469cbe9c74f1680caa6cc1d8cd39db0e191528537026ab4f985e5a2c88 +DIST libcnotify-beta-20200913.tar.gz 507532 BLAKE2B c5254c484f787e1f0c3b56d80a25bbf1dcf275c24eb29a904fe04033e2bc4911293fd30f8474d0dfb5aab9fe8fcf1f01ebf2c0a5d19c45a52d2956439541ef9c SHA512 cbbd4ff9d905d654bf217650a91f41c6187bfdc554f8849f91eccd4189be898be917766603c788f2df93110f53acebf97691dc956782e224b6f799a5eadcc79e diff --git a/dev-libs/libcnotify/libcnotify-20200913.ebuild b/dev-libs/libcnotify/libcnotify-20200913.ebuild new file mode 100644 index 000000000..01e93c262 --- /dev/null +++ b/dev-libs/libcnotify/libcnotify-20200913.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Library for cross-platform C notification functions" +HOMEPAGE="https://github.com/libyal/${PN}" +SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-beta-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls" + +DEPEND="dev-libs/libcerror + nls? ( virtual/libiconv + virtual/libintl )" +RDEPEND="${DEPEND}" + +src_configure() { + econf $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) +# \ +# --with-libcerror +} diff --git a/dev-libs/libuna/Manifest b/dev-libs/libuna/Manifest index f340bd6bc..529f2b063 100644 --- a/dev-libs/libuna/Manifest +++ b/dev-libs/libuna/Manifest @@ -1,2 +1,3 @@ DIST libuna-alpha-20190102.tar.gz 1872888 BLAKE2B 6404a4aede127cafb603fb84c1d4ea2c79269a56eb32f383f32f859cede82f122dbb20279a147db1ca7539ccc29c2a4674a2058ec2dff54b2cc620a1d1899760 SHA512 a1b47193cefba7a7e572fe5358e59599b8afef3a0f56c3a22eeb77be6b2ebf8f2e7d69ddb068763518ef32decb94896aa624bff64888ba07387529c9fb702156 DIST libuna-alpha-20200711.tar.gz 1897799 BLAKE2B 4cd56a336ddc547db4730f48d553ad76714037ad92af83b0c22f785198abf2b250e66b895a6b92ea09266ff58c2a676cdcc14fcaed0bc32b5b4d92e4b4681a53 SHA512 a131490e0965b6675840e6180a204e084be817b3258845da12a0c2ea8c2b3af9fb771a4ff97d101785507bf73fdbfedc6a31ed924f606e5065d1ec255330a9cd +DIST libuna-alpha-20201204.tar.gz 1898257 BLAKE2B d412a2fe9247bf83ec4ed6f7092ce01988e21d10508c4bbde2552a747d81a513e86322f171cf3ed2cfa64f4e94f4599eb4ea35b2c21612da1f34fc7282aa58ca SHA512 1371921e1c5869a8416b20817c5a1ab09582f4570c195254728d9150a53e01735249187e901a659cfb7c585ef1380427bd91ebd9d43d43840bee202c3aac1bc1 diff --git a/dev-libs/libuna/libuna-20201204.ebuild b/dev-libs/libuna/libuna-20201204.ebuild new file mode 100644 index 000000000..07e689fb0 --- /dev/null +++ b/dev-libs/libuna/libuna-20201204.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Library to support Unicode and ASCII (byte string) conversions" +HOMEPAGE="https://github.com/libyal/libuna" +SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="nls unicode" + +#circle dependence on libcfile +#https://github.com/libyal/libuna/issues/7 +#dev-libs/libcfile +DEPEND="dev-libs/libcdatetime + dev-libs/libcerror + dev-libs/libclocale + dev-libs/libcnotify + nls? ( virtual/libiconv + virtual/libintl )" +RDEPEND="${DEPEND}" + +src_configure() { + econf $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) \ + $(use_enable unicode wide-character-type) +}