diff options
author | David Seifert <soap@gentoo.org> | 2017-12-29 13:45:49 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-12-29 14:16:33 +0100 |
commit | 5eb9348bf05fc2aa8bb21426e1446223a10fe5e9 (patch) | |
tree | c5e14c65afb2c18107d1849ac5274100b7f34a9e /app-arch/rzip/rzip-2.1-r3.ebuild | |
parent | app-arch/rzip: Port to EAPI 6 (diff) | |
download | gentoo-5eb9348bf05fc2aa8bb21426e1446223a10fe5e9.tar.gz gentoo-5eb9348bf05fc2aa8bb21426e1446223a10fe5e9.tar.bz2 gentoo-5eb9348bf05fc2aa8bb21426e1446223a10fe5e9.zip |
app-arch/rzip: Revbump for CVE-2017-8364
Bug: https://bugs.gentoo.org/618020
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-arch/rzip/rzip-2.1-r3.ebuild')
-rw-r--r-- | app-arch/rzip/rzip-2.1-r3.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-arch/rzip/rzip-2.1-r3.ebuild b/app-arch/rzip/rzip-2.1-r3.ebuild new file mode 100644 index 000000000000..915c6deeef2b --- /dev/null +++ b/app-arch/rzip/rzip-2.1-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Compression program for large files" +HOMEPAGE="https://rzip.samba.org/" +SRC_URI="https://rzip.samba.org/ftp/rzip/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +RDEPEND="app-arch/bzip2:=" +DEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-2.1-darwin.patch + "${FILESDIR}"/${PN}-2.1-CVE-2017-8364.patch +) + +src_prepare() { + default + mv configure.{in,ac} || die + eautoreconf +} + +pkg_postinst() { + ewarn "Warning: Gentoo shipped a broken rzip for quite some time. During" + ewarn "compression of large files it didn't set the right file size, so" + ewarn "if you have any reason to believe that your archive was compressed " + ewarn "with an old Gentoo rzip, please refer to " + ewarn " https://bugs.gentoo.org/show_bug.cgi?id=217552 " + ewarn "for the rzip-handle-broken-archive.patch patch to rescue your" + ewarn "data." + ewarn + ewarn "We apologize for the inconvenience." +} |