diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
| commit | f716a9fe6455d39eef01e718aae68dae61c19704 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /sys-libs/minizip-ng | |
| parent | 3f9cf298e89cd5037b982abba06091224ee76daf (diff) | |
| download | baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip | |
Adding metadata
Diffstat (limited to 'sys-libs/minizip-ng')
| -rw-r--r-- | sys-libs/minizip-ng/Manifest | 1 | ||||
| -rw-r--r-- | sys-libs/minizip-ng/files/minizip-ng-4.0.4-libbsd-overlay.patch | 16 | ||||
| -rw-r--r-- | sys-libs/minizip-ng/metadata.xml | 18 | ||||
| -rw-r--r-- | sys-libs/minizip-ng/minizip-ng-4.0.10-r1.ebuild | 107 | ||||
| -rw-r--r-- | sys-libs/minizip-ng/minizip-ng-4.0.10.ebuild | 89 |
5 files changed, 0 insertions, 231 deletions
diff --git a/sys-libs/minizip-ng/Manifest b/sys-libs/minizip-ng/Manifest deleted file mode 100644 index 4e7f5d29f6ba..000000000000 --- a/sys-libs/minizip-ng/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST minizip-ng-4.0.10.tar.gz 773269 BLAKE2B fee6121e1db66edc951bdd15215190047d6294b894a8edcfe400938b7cf175beb723e0546e165a0fcef04123cb2f807c9a8270fdf9ec05a273fda11a7795372d SHA512 a74386e2cf89f63d7fc9bf53527c8203ac78c46f2511e4883d17d949ec4e7d1b6c3707bcb13c3fc7cc4db8255b5f50ddb61bedba10e683acb18d112470676f62 diff --git a/sys-libs/minizip-ng/files/minizip-ng-4.0.4-libbsd-overlay.patch b/sys-libs/minizip-ng/files/minizip-ng-4.0.4-libbsd-overlay.patch deleted file mode 100644 index 2a62f96f1413..000000000000 --- a/sys-libs/minizip-ng/files/minizip-ng-4.0.4-libbsd-overlay.patch +++ /dev/null @@ -1,16 +0,0 @@ -https://bugs.gentoo.org/889266 -https://gitlab.freedesktop.org/libbsd/libbsd/-/issues/15 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -538,10 +538,10 @@ else() - - if(HAVE_LIBBSD_ARC4RANDOM_BUF) - list(APPEND MINIZIP_DEF -DHAVE_LIBBSD -DHAVE_ARC4RANDOM_BUF) -- list(APPEND MINIZIP_INC ${LIBBSD_INCLUDE_DIRS}) - list(APPEND MINIZIP_LIB ${LIBBSD_LIBRARIES}) - list(APPEND MINIZIP_LBD ${LIBBSD_LIBRARY_DIRS}) - -+ add_compile_options(${LIBBSD_CFLAGS}) - link_directories(${LIBBSD_LIBRARY_DIRS}) - endif() - else() diff --git a/sys-libs/minizip-ng/metadata.xml b/sys-libs/minizip-ng/metadata.xml deleted file mode 100644 index 249187482a6d..000000000000 --- a/sys-libs/minizip-ng/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>base-system@gentoo.org</email> - <name>Gentoo Base System</name> - </maintainer> - <use> - <flag name="compat"> - Enable compatibility with <pkg>sys-libs/zlib</pkg>'s USE=minizip, allowing minizip-ng - to replace it. Only enable if you want to replace reference minizip with minizip-ng. - </flag> - <flag name="openssl">Use <pkg>dev-libs/openssl</pkg> for further encryption capabilities</flag> - </use> - <upstream> - <remote-id type="github">zlib-ng/minizip-ng</remote-id> - </upstream> -</pkgmetadata> diff --git a/sys-libs/minizip-ng/minizip-ng-4.0.10-r1.ebuild b/sys-libs/minizip-ng/minizip-ng-4.0.10-r1.ebuild deleted file mode 100644 index 91ee45b47977..000000000000 --- a/sys-libs/minizip-ng/minizip-ng-4.0.10-r1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2025 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 multibuild - -DESCRIPTION="Fork of the popular zip manipulation library found in the zlib distribution" -HOMEPAGE="https://github.com/zlib-ng/minizip-ng" -SRC_URI="https://github.com/zlib-ng/minizip-ng/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="ZLIB" -SLOT="0/4" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc64 ~riscv x86" -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}] - 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}] ) -" -DEPEND=" - ${RDEPEND} - test? ( dev-cpp/gtest ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.0.4-libbsd-overlay.patch -) - -run_both() { - local MULTIBUILD_VARIANTS=( base ) - use compat && MULTIBUILD_VARIANTS+=( compat ) - - multibuild_foreach_variant "${@}" -} - -my_src_configure() { - local compat=OFF - [[ ${MULTIBUILD_VARIANT} == compat ]] && compat=ON - local mycmakeargs=( - "${mycmakeargs[@]}" - -DMZ_COMPAT="${compat}" - ) - - cmake_src_configure -} - -multilib_src_configure() { - local mycmakeargs=( - # Controls installing "minizip" and "minigzip" tools. Install - # them unconditionally to avoid divergence with USE=test. - -DMZ_BUILD_TESTS=ON - -DMZ_BUILD_UNIT_TESTS=$(usex test) - - -DMZ_FETCH_LIBS=OFF - -DMZ_FORCE_FETCH_LIBS=OFF - - # Compression library options - -DMZ_ZLIB=ON - -DMZ_BZIP2=ON - -DMZ_LZMA=$(usex lzma) - -DMZ_ZSTD=$(usex zstd) - -DMZ_LIBCOMP=OFF - - # Encryption support options - -DMZ_PKCRYPT=ON - -DMZ_WZAES=ON - -DMZ_OPENSSL=$(usex openssl) - -DMZ_LIBBSD=ON - - # Character conversion options - -DMZ_ICONV=ON - ) - - run_both my_src_configure -} - -multilib_src_compile() { run_both cmake_src_compile; } - -multilib_src_test() { - # TODO: A bunch of tests end up looping and writing over each other's files - # It gets better with a patch applied (see https://github.com/zlib-ng/minizip-ng/issues/623#issuecomment-1264518994) - # but still hangs. - local CTEST_JOBS=1 - run_both cmake_src_test -} - -multilib_src_install() { run_both cmake_src_install; } - -pkg_postinst() { - if use compat ; then - ewarn "minizip-ng is experimental and replacing the system zlib[minizip] is dangerous" - ewarn "Please be careful!" - fi -} diff --git a/sys-libs/minizip-ng/minizip-ng-4.0.10.ebuild b/sys-libs/minizip-ng/minizip-ng-4.0.10.ebuild deleted file mode 100644 index 535e953e5c1b..000000000000 --- a/sys-libs/minizip-ng/minizip-ng-4.0.10.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2025 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 popular zip manipulation library found in the zlib distribution" -HOMEPAGE="https://github.com/zlib-ng/minizip-ng" -SRC_URI="https://github.com/zlib-ng/minizip-ng/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="ZLIB" -SLOT="0/4" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc64 ~riscv x86" -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}] - 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}] ) -" -DEPEND=" - ${RDEPEND} - test? ( dev-cpp/gtest ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.0.4-libbsd-overlay.patch -) - -multilib_src_configure() { - local mycmakeargs=( - -DMZ_COMPAT=$(usex compat) - - -DMZ_BUILD_TESTS=$(usex test) - -DMZ_BUILD_UNIT_TESTS=$(usex test) - - -DMZ_FETCH_LIBS=OFF - -DMZ_FORCE_FETCH_LIBS=OFF - - # Compression library options - -DMZ_ZLIB=ON - -DMZ_BZIP2=ON - -DMZ_LZMA=$(usex lzma) - -DMZ_ZSTD=$(usex zstd) - -DMZ_LIBCOMP=OFF - - # Encryption support options - -DMZ_PKCRYPT=ON - -DMZ_WZAES=ON - -DMZ_OPENSSL=$(usex openssl) - -DMZ_LIBBSD=ON - - # Character conversion options - -DMZ_ICONV=ON - ) - - cmake_src_configure -} - -multilib_src_test() { - local myctestargs=( - # TODO: investigate - -E "(raw-unzip-pkcrypt|raw-append-unzip-pkcrypt|raw-erase-unzip-pkcrypt|deflate-unzip-pkcrypt|deflate-append-unzip-pkcrypt|deflate-erase-unzip-pkcrypt|bzip2-unzip-pkcrypt|bzip2-append-unzip-pkcrypt|bzip2-erase-unzip-pkcrypt|lzma-unzip-pkcrypt|lzma-append-unzip-pkcrypt|lzma-erase-unzip-pkcrypt|xz-unzip-pkcrypt|xz-append-unzip-pkcrypt|xz-erase-unzip-pkcrypt|zstd-unzip-pkcrypt|zstd-append-unzip-pkcrypt|zstd-erase-unzip-pkcrypt)" - ) - - # TODO: A bunch of tests end up looping and writing over each other's files - # It gets better with a patch applied (see https://github.com/zlib-ng/minizip-ng/issues/623#issuecomment-1264518994) - # but still hangs. - cmake_src_test -j1 -} - -pkg_postinst() { - if use compat ; then - ewarn "minizip-ng is experimental and replacing the system zlib[minizip] is dangerous" - ewarn "Please be careful!" - fi -} |
