summaryrefslogtreecommitdiff
path: root/sys-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-15 12:27:33 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-15 12:27:33 +0100
commit868fd5dc8aab84930cfaa5252b8be06b35552765 (patch)
tree0c0cebf818c30c6f871f00ce1e7599775a7e561c /sys-libs
parentf7adcd4ee556b2c3a420239c13fb74113d791f6a (diff)
gentoo auto-resync : 15:07:2024 - 12:27:33
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/Manifest.gzbin14392 -> 14402 bytes
-rw-r--r--sys-libs/binutils-libs/Manifest2
-rw-r--r--sys-libs/binutils-libs/binutils-libs-2.42-r1.ebuild2
-rw-r--r--sys-libs/minizip-ng/Manifest6
-rw-r--r--sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild6
-rw-r--r--sys-libs/minizip-ng/minizip-ng-4.0.7.ebuild (renamed from sys-libs/minizip-ng/minizip-ng-4.0.4.ebuild)14
-rw-r--r--sys-libs/zlib-ng/Manifest2
-rw-r--r--sys-libs/zlib-ng/zlib-ng-2.1.7.ebuild91
8 files changed, 104 insertions, 19 deletions
diff --git a/sys-libs/Manifest.gz b/sys-libs/Manifest.gz
index 9baac8dc2ac6..1991f13f0491 100644
--- a/sys-libs/Manifest.gz
+++ b/sys-libs/Manifest.gz
Binary files differ
diff --git a/sys-libs/binutils-libs/Manifest b/sys-libs/binutils-libs/Manifest
index 9248aa8735d5..4890294b8dcd 100644
--- a/sys-libs/binutils-libs/Manifest
+++ b/sys-libs/binutils-libs/Manifest
@@ -26,6 +26,6 @@ EBUILD binutils-libs-2.38-r2.ebuild 4784 BLAKE2B 468b3cfd01e4ec3b9543cbe001f98b3
EBUILD binutils-libs-2.39-r5.ebuild 4792 BLAKE2B afbecc0ee2e52b99eff9a25194d36d1a3e51c984723b154d39297231fb5c099d85d75aecfd4c271ae4c0c4d891a9393e8402f90b1a61dc81c433d72bc39c4512 SHA512 e31e70d39ed2e09b87ef3149f4e1f4bf00f3ef2b66fc08cffd635a342db31229b44bf9cd011a0a2b802686a4ba43bbaf738120eea4b17380520f08950c05db9e
EBUILD binutils-libs-2.40-r7.ebuild 5030 BLAKE2B 3d4d3e70abf61164fe100d7e6d51febbefbf65d3d998075c598da8ab2b613ad9f3bfb9f6de57f014b95798f9fc54316e2084c740dabc68d1bb7d09286b89f903 SHA512 38350894368bf21bd544a69dab70f5dd2792d63dc065418716a3eb96c080700c6462fd300eda6fb83d450fd8c811df55e1b8452736e9e8c5750e139211eb4254
EBUILD binutils-libs-2.41-r5.ebuild 5212 BLAKE2B a32307783cf1db07a2f70b8400f968c5122f6bda2bf9dd14ef2ed2af17bae1ea895ea3c55733cdaf3c6a1c3bc087e369556df39de28234ae2210e2d142e1621f SHA512 76992ea90e534b80d502638227b315af07af32e2150413a89690b8936477452d8622993de7a1fb87fc971fefd9708b55969a1d207a6931981123d66f518cb924
-EBUILD binutils-libs-2.42-r1.ebuild 5363 BLAKE2B bfbb1cafa370501eb3a1f43f7213f02db36960010dc792ce26d4cd77b63142da4651ce4b7cc9543e5e41fb59da9b506d177ac115112724b21deb5d47a185a6e4 SHA512 87cd941145a38bafa6b2749708a87523a55565bc6394a1f78dc097c32f15e90f1025bea5be87758bdf52cc4db85945a18b6b076e472233785c06c44ae55ddde4
+EBUILD binutils-libs-2.42-r1.ebuild 5361 BLAKE2B a147b5fbeafcfa375e45b3c1054b8aafb3d36775491b1781fa613cd8bf54dcea82365a026cefc8f0a68fc4b7ef3ea12e0d8f6fbb3483529e631f8341c3e921fa SHA512 9398f13b87a291cd442f2bcad2774f1d1e4a6cbfda17bb87e93dd39a6b53b61d4ab6bab3b54b4d30536b2653c1762bd3c5d42d23c4d270455a4da40a7c67cb92
EBUILD binutils-libs-2.42-r2.ebuild 5369 BLAKE2B 0af7396a8481f12342721b85eff1078805b3fdcb145d7fcbddf9dd5071790ce5638c72a09de71831f17819ad80e2b6039c93dc539dca4bef5913d72721385f0b SHA512 45c6c26e342b3493f22088c3ab1d2f2790d8a7b90edb65a4a647038c3882fd02ffe1fd076d4075428c0cd2cba58aaf0b13fece322de46104a566213bdc64bf82
MISC metadata.xml 612 BLAKE2B ceaafd9fd1421e9f3993e003d0029c92a78054c7a2b90bd78afc05370ad19c931c6a7c150545cfb7d57165168e0fdaf3a00dde1905b328826a91cbc70d9548a8 SHA512 c8d33bb8d1c62c7e95758624ed0febbc9d40e9f141bfd280837b3207bcd771412158d71c0cb5548d60be0b236f6fe103621daf7efa8875191982859b566ffa8d
diff --git a/sys-libs/binutils-libs/binutils-libs-2.42-r1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.42-r1.ebuild
index fcdeb9f8509b..f65d2425ff94 100644
--- a/sys-libs/binutils-libs/binutils-libs-2.42-r1.ebuild
+++ b/sys-libs/binutils-libs/binutils-libs-2.42-r1.ebuild
@@ -24,7 +24,7 @@ LICENSE="|| ( GPL-3 LGPL-3 )"
SLOT="0/${PV%_p?}.0"
IUSE="64-bit-bfd cet multitarget nls static-libs test"
-KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
RESTRICT="!test? ( test )"
BDEPEND="
diff --git a/sys-libs/minizip-ng/Manifest b/sys-libs/minizip-ng/Manifest
index bce79d5679cf..cc91ed97fe75 100644
--- a/sys-libs/minizip-ng/Manifest
+++ b/sys-libs/minizip-ng/Manifest
@@ -1,6 +1,6 @@
AUX minizip-ng-4.0.4-libbsd-overlay.patch 699 BLAKE2B b176f2fa2186a7d1b9bc276f56e4fd92c6a3548f298931049f6edc6635ea1d8639054d80915f33b4e86213c344e9613bf0d0a34cafa37dbdd3f1e9f12d01f051 SHA512 26b89d4c434d162a42d66e70ab8eb455c18eb6c45fffd36a6fb898a3f47f495c32d066d68a9837a143e84453a476700eaf59b65622cb50ca2006cf72f2ef1486
-DIST minizip-ng-4.0.4.tar.gz 770202 BLAKE2B 5b9f4a66325de4298db0f7cdb8830050fe55c46c3914f51d7e7c4fe4cd9e080ab9658739dc936da602d67199333b6eca71218ad155244b9c04f50944486a02b1 SHA512 2662ddf90666babe73474f6fc48f5a64f276d555b7a0f04f790b9edef570cb958356e900632c3795fb2053f4813c449240ff101d32b063eca4ad869bef0546fd
DIST minizip-ng-4.0.5.tar.gz 770078 BLAKE2B e9e416a8fae3c4e33c1fe644bbf4f3edf2becc8e8e0dfba079481c8c8fbd871c1591537c58e7aaa9b08ecee430c2acb8c1a5ee085fa8c819714fbe906876241e SHA512 760c540ccedd04c21d72ec7b41bc31a16e4291776580a6febb9400198440b3a64f39d4ba26be2608abf47b9dcc1ed266dad8bc0a8cacb607e4885c9dd05be0d6
-EBUILD minizip-ng-4.0.4.ebuild 2769 BLAKE2B 3e3085874620d53e73e92a173302dfd6a008085ab61ac58d31c701236ed2e87c8f6fc55a3a69ec8aec14030f62cc2e1fecea2d1f153b0d232f737a57297703a8 SHA512 b49025536e202810067801a0ea95fcbbc1862c3e49c0441a1e0c26099c59dfea2b96994596c77082643993540296274ad996a4a131ccfdd37251fa3908357145
-EBUILD minizip-ng-4.0.5.ebuild 2768 BLAKE2B b2ce049a70c86d3a0950f33300f4b4dbabe2575e47efb42c927eee157de381dbd622b327c368bd723e0a61aabec76b9568c182e2c6cfdc3b77de147e68b8804b SHA512 71df27edec31d51f23504e74d6e6462aa468cbce1c797c88411519c007978100d5aaad868799d9ea047067ac26f740461cad9cc7aa24c4507c93539aabf8a22d
+DIST minizip-ng-4.0.7.tar.gz 770098 BLAKE2B 2626a8ff7fe70db5a2ec93829a03d7d274a161aa787de86ab021d1d0590890f84570118f7e372dd13d947c85606886e0d8591bc7d8145b7f9474cb59e6ec6c49 SHA512 af9c8743d34bbc8f371a018debfab5f857aadb9a1129b048dbce9085122bef209ade34837784f91424c9eba92406d2e222476d9f8038839908679f7b7dc9e3eb
+EBUILD minizip-ng-4.0.5.ebuild 2793 BLAKE2B 9c58ad19635bc1d27d4a5ffcaaee799a72a1dc44aa381f5082d4274a8b76e96f1d64df0393ce220fc9fac536935bc59814c82c3efd3abe5b6bf6c705b6ad71db SHA512 a1e6d090a260d35395dc67d3764835037e3d4f1ecda62bae432dbf91612e353ee85606c73d7c50a2211858516518ebfc2e943a13195755873f783e89f92a57ef
+EBUILD minizip-ng-4.0.7.ebuild 2615 BLAKE2B 8b0a89b2ac6f0756e419bf52b65dc54d784dd1868a9c6ff5cd15d6064f9800aaa3b72e11d70fc45f50216ae1fc71dd345db885253907c921218531943c7a0f1b SHA512 febe99f6df0e614653e7d0e44cf49eff81b2868903db4dc9ed4d610fe057f70213d2843055746fb5fe9fb1682d443f1397492e2478766dc16a518c3f4d857fb8
MISC metadata.xml 548 BLAKE2B 1373f3096881bc3c5bf4f1864528f399f84c17dab1c9f9ea88db5ad2da1d82cd48f89b9aaa4837f808a45f6783ac833415f1633a9eeaee70748f753fc392be7f SHA512 cf600135681af26f27b611663d426f9a9e83848289f3e184cd4ed6eaec4404226e8737945453a3a12d4bcdc6ef3a623336e514f9bb0c566eb5e8110ade4a1e63
diff --git a/sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild b/sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild
index 117488f128e9..776436dd47e5 100644
--- a/sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild
+++ b/sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild
@@ -15,18 +15,18 @@ SRC_URI="https://github.com/zlib-ng/minizip-ng/archive/refs/tags/${PV}.tar.gz ->
LICENSE="ZLIB"
SLOT="0/4"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="compat openssl test zstd"
+IUSE="compat lzma openssl test zstd"
RESTRICT="!test? ( test )"
# Automagically prefers sys-libs/zlib-ng if installed, so let's
# just depend on it as presumably it's better tested anyway.
RDEPEND="
app-arch/bzip2[${MULTILIB_USEDEP}]
- app-arch/xz-utils
dev-libs/libbsd[${MULTILIB_USEDEP}]
sys-libs/zlib-ng[${MULTILIB_USEDEP}]
virtual/libiconv
compat? ( !sys-libs/zlib[minizip] )
+ lzma? ( app-arch/xz-utils )
openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )
zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )
"
@@ -52,7 +52,7 @@ multilib_src_configure() {
# Compression library options
-DMZ_ZLIB=ON
-DMZ_BZIP2=ON
- -DMZ_LZMA=ON
+ -DMZ_LZMA=$(usex lzma)
-DMZ_ZSTD=$(usex zstd)
-DMZ_LIBCOMP=OFF
diff --git a/sys-libs/minizip-ng/minizip-ng-4.0.4.ebuild b/sys-libs/minizip-ng/minizip-ng-4.0.7.ebuild
index d23ad9d63cb9..9c6d126e623e 100644
--- a/sys-libs/minizip-ng/minizip-ng-4.0.4.ebuild
+++ b/sys-libs/minizip-ng/minizip-ng-4.0.7.ebuild
@@ -15,18 +15,18 @@ SRC_URI="https://github.com/zlib-ng/minizip-ng/archive/refs/tags/${PV}.tar.gz ->
LICENSE="ZLIB"
SLOT="0/4"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="compat openssl test zstd"
+IUSE="compat lzma openssl test zstd"
RESTRICT="!test? ( test )"
# Automagically prefers sys-libs/zlib-ng if installed, so let's
# just depend on it as presumably it's better tested anyway.
RDEPEND="
app-arch/bzip2[${MULTILIB_USEDEP}]
- app-arch/xz-utils
dev-libs/libbsd[${MULTILIB_USEDEP}]
sys-libs/zlib-ng[${MULTILIB_USEDEP}]
virtual/libiconv
compat? ( !sys-libs/zlib[minizip] )
+ lzma? ( app-arch/xz-utils )
openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )
zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )
"
@@ -52,7 +52,7 @@ multilib_src_configure() {
# Compression library options
-DMZ_ZLIB=ON
-DMZ_BZIP2=ON
- -DMZ_LZMA=ON
+ -DMZ_LZMA=$(usex lzma)
-DMZ_ZSTD=$(usex zstd)
-DMZ_LIBCOMP=OFF
@@ -81,14 +81,6 @@ multilib_src_test() {
cmake_src_test -j1
}
-multilib_src_install_all() {
- if ! use compat && use test ; then
- # Test binaries, bug #874591
- rm "${ED}"/usr/bin/minigzip || die
- rm "${ED}"/usr/bin/minizip-ng || die
- fi
-}
-
pkg_postinst() {
if use compat ; then
ewarn "minizip-ng is experimental and replacing the system zlib[minizip] is dangerous"
diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index f1b5063181ab..6c39fadd2740 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1,3 +1,5 @@
DIST zlib-ng-2.1.6.tar.gz 2412106 BLAKE2B 9ca16c19c2c799e68e099d44721b27dc33ad9e859a3d6572bebe3a75c618bffd78e19f0d4c0607802d1c8fa6a8f328d62f9993648a99c1d2e0e5fdcaf87a2667 SHA512 59ef586c09b9a63788475abfd6dd59ed602316b38f543f801bea802ff8bec8b55a89bee90375b8bbffa3bdebc7d92a00903f4b7c94cdc1a53a36e2e1fd71d13a
+DIST zlib-ng-2.1.7.tar.gz 2406554 BLAKE2B c92a2ad481e4a10b8ec164f3974a09242118e2c16dbe51553b7f6e5c33886997dc390e73ce26f99bdb5ce0ecae3eb19322059576a83da1c3958435554773878c SHA512 03e6d22ecb39c9425fa2977e5db608f765387a06b9ef93b162e403bb155aa3b59bbaedb41e827e7e159d6635325d804dcd4314a25adcb35b83e6e0cf1153aabe
EBUILD zlib-ng-2.1.6-r1.ebuild 2500 BLAKE2B 0d42ee88d8c6429ba129db582a3106d7a3527b9f54122229f42ba65859f7cc8671e7db5f2bdc2d878cb965e8b14cc83eb01ef7699c8b9443316e466ea47c22ca SHA512 1f1c8d9d33c15a2c4eb7fe6e6a497e4f22e6635ec577ef1f6d341af8769831b3b7854dc13ba5f1efbbd45a30a267252985614015e71ff2fcd53021bf5464919a
+EBUILD zlib-ng-2.1.7.ebuild 2501 BLAKE2B 7d0e385f45d38d0d8e935245e63f202e949596292736cdade65cbe022bcb4f4acf76b50942a29b5bb4cf8db6ae0522bb3f80e5119f80186cceb214973815b5ac SHA512 b38a117f984408c72a3b436578006546f1ba506bb7d9b85aa23bac72b18454b10b33973d39c9ceaafa2f52002ea72e666ddd77680ddd1f0ea5428b068350ad91
MISC metadata.xml 431 BLAKE2B 49465a63458ac9b7d807d699d45046fd7dc849796f039956effee297fd4da30109bc6f0644cc46aec680f6a94fb6b839d857b17a2699907fd43317794a12cf78 SHA512 16c8b051776ba1ba37b01eac4127d3a84811b3f4cc9f733480ddd12992bb7119cf3c8a22dc18e4086cf71fe7a16266c21684bc7040070eaf1a8dde1783c8d59e
diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.7.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.7.ebuild
new file mode 100644
index 000000000000..d9bf5f443d25
--- /dev/null
+++ b/sys-libs/zlib-ng/zlib-ng-2.1.7.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Worth keeping an eye on 'develop' branch upstream for possible backports,
+# as they copied this practice from sys-libs/zlib upstream.
+
+inherit cmake-multilib
+
+DESCRIPTION="Fork of the zlib data compression library"
+HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86"
+
+CPU_USE=(
+ x86_{avx2,avx512f,avx512_vnni,sse2,ssse3,sse4_2,pclmul,vpclmulqdq}
+ arm_{crc32,neon}
+ ppc_{altivec,vsx2,vsx3}
+)
+IUSE="compat ${CPU_USE[@]/#/cpu_flags_} test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ test? ( dev-cpp/gtest )
+"
+RDEPEND="
+ compat? ( !sys-libs/zlib )
+"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DZLIB_COMPAT=$(usex compat)
+ -DZLIB_ENABLE_TESTS=$(usex test)
+ -DWITH_GTEST=$(usex test)
+
+ # Unaligned access is controversial and undefined behaviour
+ # Let's keep it off for now
+ # https://github.com/gentoo/gentoo/pull/17167
+ -DWITH_UNALIGNED=OFF
+ )
+
+ # The intrinsics options are all defined conditionally, so we need
+ # to enable them on/off per-arch here for now.
+ # TODO: There's no s390x USE_EXPAND yet
+ if use amd64 || use x86 ; then
+ mycmakeargs+=(
+ -DWITH_AVX2=$(usex cpu_flags_x86_avx2)
+ -DWITH_AVX512=$(usex cpu_flags_x86_avx512f)
+ -DWITH_AVX512VNNI=$(usex cpu_flags_x86_avx512_vnni)
+ -DWITH_SSE2=$(usex cpu_flags_x86_sse2)
+ -DWITH_SSSE3=$(usex cpu_flags_x86_ssse3)
+ -DWITH_SSE42=$(usex cpu_flags_x86_sse4_2)
+ -DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul)
+ -DWITH_VPCLMULQDQ=$(usex cpu_flags_x86_vpclmulqdq)
+ )
+ fi
+
+ if use arm || use arm64 ; then
+ mycmakeargs+=(
+ -DWITH_ACLE=$(usex cpu_flags_arm_crc32)
+ -DWITH_NEON=$(usex cpu_flags_arm_neon)
+ )
+ fi
+
+ if use ppc || use ppc64 ; then
+ # The POWER8 support is VSX which was introduced
+ # VSX2 was introduced with POWER8, so use that as a proxy for it
+ mycmakeargs+=(
+ -DWITH_ALTIVEC=$(usex cpu_flags_ppc_altivec)
+ -DWITH_POWER8=$(usex cpu_flags_ppc_vsx2)
+ -DWITH_POWER9=$(usex cpu_flags_ppc_vsx3)
+ )
+ fi
+
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ if use compat ; then
+ ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
+ ewarn "Please be careful!"
+ ewarn
+ ewarn "The following link explains the guarantees (and what is NOT guaranteed):"
+ ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md"
+ fi
+}