From 0bb8253b38dc8638a46b66ba909c1bfd1054e1ef Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 4 Nov 2022 09:13:50 +0000 Subject: gentoo auto-resync : 04:11:2022 - 09:13:50 --- app-arch/zip/Manifest | 2 +- app-arch/zip/zip-3.0-r5.ebuild | 71 ---------------------------------------- app-arch/zip/zip-3.0-r6.ebuild | 73 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+), 72 deletions(-) delete mode 100644 app-arch/zip/zip-3.0-r5.ebuild create mode 100644 app-arch/zip/zip-3.0-r6.ebuild (limited to 'app-arch/zip') diff --git a/app-arch/zip/Manifest b/app-arch/zip/Manifest index 592d2a9f1f73..062589fe7dbe 100644 --- a/app-arch/zip/Manifest +++ b/app-arch/zip/Manifest @@ -8,5 +8,5 @@ AUX zip-3.0-pic.patch 502 BLAKE2B 6ac03408e40986fbbc7219fa1f96f8e2fdc448071dcc13 AUX zip-3.0-zipnote-freeze.patch 1926 BLAKE2B 5976c4ad62d25f4ace8e17a85b77c99fb5ea75151d6ddd8fe27ee22cb7669d98281e26952c623b6e367fa880fce693d393a79fc619e13d8ba530b2aa38b8b70f SHA512 edd90964bc4f1bd3cc45f719905f3688ebd779aea5f10439b2331d668774ed55e645e025d9f408cedb8313848d4e26ba39726d019543e3533f79f1ef83620932 DIST zip30.zip 1287223 BLAKE2B d29a3e3ddbaa3ce50c80b2dd058b39c35791bf2079879b61dab0be4f011ccd3331d1768ebda5a69aa150c651713eb7a99b02833bb727eee75a3e0bbdc8504cbc SHA512 642ea6768d79adc1499251a3fb7bfc7ddc8d708699cbf9e0cfe849deda94165cb93e21dc2606bea1166ae5d8531e1e2cb056a7246bf2ab86ea7587bd4712d8d8 EBUILD zip-3.0-r4.ebuild 1706 BLAKE2B 53c14e019adc5917f3e5931aa0cbec5c13b61f01571171c398ab506ee2814940cf3600218f4426b8cc61b2e4c192a21278df84764a5d74575750fb97bbed6065 SHA512 7c0acaa20be859eb00940b4cf784b58dce26c66f35fe275267004f4191fdb3b5cff718633673f6af796f7a4f38b3ef0432d19a64bcf65cb607419c98ac31ae6a -EBUILD zip-3.0-r5.ebuild 1891 BLAKE2B 4f4dde8c73ac905532a7abd011ebd8c0ef6477290b7fed3881ea8cd699e41309b247fd58d921b8b7da71279781f44b8cb58ebe03dc5106acc757859055a398ef SHA512 8d409e4275671e2677a5e2ac2ae1224d79e03510595036ff0a8dcccd5855e2106c151f094984c963b39c322894c86eb6eb310e677556baffa27d31ad88c7456b +EBUILD zip-3.0-r6.ebuild 1917 BLAKE2B 1b9c094ecc08cd9c24b9be40e29b8a500f8b02591a81ed7792b30a9d3d6e0410b9dfdb57f9ad1d0eb458376e05a2ba405071349a776fc584340c932236608f0a SHA512 2c389c185b8a06973f4df0e5b84c267b6996c30428717185aeca92fbceb2645c03d247da0c18db9d2e21f39b18c39bd9e0709ab4a6ff37fefc376c206d60d6bb MISC metadata.xml 477 BLAKE2B 48b8860bc3795c891ee9591fcb5b10980240b4d6f166fa5d59292643ced0a07946a398c9fab04f15b347039f8f510a2918a0e47deb9e4552b1508fca3009ea5b SHA512 3a1e527d6be6d1afddeb57623406d31f7f26029ca4878a873b5aa6b319dc20c7a1ef772aec406debc095be66eee7245c46c384a7f2f2ad019ae473c1ea6e097d diff --git a/app-arch/zip/zip-3.0-r5.ebuild b/app-arch/zip/zip-3.0-r5.ebuild deleted file mode 100644 index 09244c8b2bb6..000000000000 --- a/app-arch/zip/zip-3.0-r5.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo toolchain-funcs flag-o-matic - -MY_P="${PN}${PV//.}" -DESCRIPTION="Info ZIP (encryption support)" -HOMEPAGE="http://www.info-zip.org/" -SRC_URI="mirror://sourceforge/infozip/${MY_P}.zip" -S="${WORKDIR}"/${MY_P} - -LICENSE="Info-ZIP" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux" -IUSE="bzip2 crypt natspec unicode" - -DEPEND="${RDEPEND}" -RDEPEND="bzip2? ( app-arch/bzip2 ) - natspec? ( dev-libs/libnatspec )" -BDEPEND="app-arch/unzip" - -PATCHES=( - "${FILESDIR}"/${P}-no-crypt.patch # bug #238398 - "${FILESDIR}"/${P}-pic.patch - "${FILESDIR}"/${P}-exec-stack.patch # bug #122849 - "${FILESDIR}"/${P}-build.patch # bug #200995 - "${FILESDIR}"/${P}-zipnote-freeze.patch # bug #322047 - "${FILESDIR}"/${P}-format-security.patch # bug #512414 - "${FILESDIR}"/${P}-clang-15-configure-tests.patch -) - -src_prepare() { - # bug #275244 - use natspec && PATCHES+=( "${FILESDIR}"/${PN}-3.0-natspec.patch ) - default -} - -src_configure() { - append-cppflags \ - -DLARGE_FILE_SUPPORT \ - -DUIDGID_NOT_16BIT \ - -D$(usev !bzip2 'NO')BZIP2_SUPPORT \ - -D$(usev !crypt 'NO')CRYPT \ - -D$(usev !unicode 'NO')UNICODE_SUPPORT - - # - We use 'sh' because: 1. lacks +x bit, easier; 2. it tries to load bashdb - # - Third arg disables bzip2 logic as we handle it ourselves above. - edo sh ./unix/configure "$(tc-getCC)" "-I. -DUNIX ${CFLAGS} ${CPPFLAGS}" "${T}" - - if use bzip2 ; then - sed -i -e "s:LFLAGS2=:&'-lbz2 ':" flags || die - fi -} - -src_compile() { - emake \ - CPP="$(tc-getCPP)" \ - -f unix/Makefile generic -} - -src_install() { - dobin zip zipnote zipsplit - doman man/zip{,note,split}.1 - if use crypt ; then - dobin zipcloak - doman man/zipcloak.1 - fi - dodoc BUGS CHANGES README* TODO WHATSNEW WHERE proginfo/*.txt -} diff --git a/app-arch/zip/zip-3.0-r6.ebuild b/app-arch/zip/zip-3.0-r6.ebuild new file mode 100644 index 000000000000..ebb7fe06e4b4 --- /dev/null +++ b/app-arch/zip/zip-3.0-r6.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo toolchain-funcs flag-o-matic + +MY_P="${PN}${PV//.}" +DESCRIPTION="Info ZIP (encryption support)" +HOMEPAGE="http://www.info-zip.org/" +SRC_URI="mirror://sourceforge/infozip/${MY_P}.zip" +S="${WORKDIR}"/${MY_P} + +LICENSE="Info-ZIP" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux" +IUSE="bzip2 crypt natspec unicode" + +DEPEND="${RDEPEND}" +RDEPEND="bzip2? ( app-arch/bzip2 ) + natspec? ( dev-libs/libnatspec )" +BDEPEND="app-arch/unzip" + +PATCHES=( + "${FILESDIR}"/${P}-no-crypt.patch # bug #238398 + "${FILESDIR}"/${P}-pic.patch + "${FILESDIR}"/${P}-exec-stack.patch # bug #122849 + "${FILESDIR}"/${P}-build.patch # bug #200995 + "${FILESDIR}"/${P}-zipnote-freeze.patch # bug #322047 + "${FILESDIR}"/${P}-format-security.patch # bug #512414 + "${FILESDIR}"/${P}-clang-15-configure-tests.patch +) + +src_prepare() { + # bug #275244 + use natspec && PATCHES+=( "${FILESDIR}"/${PN}-3.0-natspec.patch ) + default +} + +src_configure() { + append-flags -std=gnu89 + + append-cppflags \ + -DLARGE_FILE_SUPPORT \ + -DUIDGID_NOT_16BIT \ + -D$(usev !bzip2 'NO')BZIP2_SUPPORT \ + -D$(usev !crypt 'NO')CRYPT \ + -D$(usev !unicode 'NO')UNICODE_SUPPORT + + # - We use 'sh' because: 1. lacks +x bit, easier; 2. it tries to load bashdb + # - Third arg disables bzip2 logic as we handle it ourselves above. + edo sh ./unix/configure "$(tc-getCC)" "-I. -DUNIX ${CFLAGS} ${CPPFLAGS}" "${T}" + + if use bzip2 ; then + sed -i -e "s:LFLAGS2=:&'-lbz2 ':" flags || die + fi +} + +src_compile() { + emake \ + CPP="$(tc-getCPP)" \ + -f unix/Makefile generic +} + +src_install() { + dobin zip zipnote zipsplit + doman man/zip{,note,split}.1 + if use crypt ; then + dobin zipcloak + doman man/zipcloak.1 + fi + dodoc BUGS CHANGES README* TODO WHATSNEW WHERE proginfo/*.txt +} -- cgit v1.2.3