diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-12-09 03:33:35 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-12-09 03:34:26 +1100 |
commit | d42fd8bd497a84cba30a42681ca9ec21ef9539b0 (patch) | |
tree | a96a692b427bd6d3ef103c45481ef00ce093dbad /app-arch | |
parent | dev-python/six: Drop pkg_pretend check for six directory (diff) | |
download | gentoo-d42fd8bd497a84cba30a42681ca9ec21ef9539b0.tar.gz gentoo-d42fd8bd497a84cba30a42681ca9ec21ef9539b0.tar.bz2 gentoo-d42fd8bd497a84cba30a42681ca9ec21ef9539b0.zip |
app-arch/arj: revision bump to solve CVE-2015-0556, CVE-2015-0557, and CVE-2015-2782
Gentoo-bug: 535708
Gentoo-bug: 541500
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/arj/Manifest | 1 | ||||
-rw-r--r-- | app-arch/arj/arj-3.10.22-r5.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/app-arch/arj/Manifest b/app-arch/arj/Manifest index dfe3e7534a37..483b907ea088 100644 --- a/app-arch/arj/Manifest +++ b/app-arch/arj/Manifest @@ -1,3 +1,4 @@ DIST arj_3.10.22-10.debian.tar.gz 12200 SHA256 0636c97817cf7328f43f541edfbb5ed59435daddee6febb4ffb8f7149543a983 SHA512 f4666a9dcaad3b5f49dbecfcac658d3ba3640fd885d2a378339c4c1c365019a5aa3a78935d9478d94a3ed80a9fda5d2b5ff02e5edfcad48597bee07662be560b WHIRLPOOL 617ca21734a325f0636dbe81d3cb7e78c8dcc4db20ce8848f6c46742bfed1c30563d979e3323d23fbfd9477c3c9821bd4ef5f9c9d0a6b1b1517fcc5aa9397627 +DIST arj_3.10.22-13.debian.tar.xz 15904 SHA256 d74588f13a2de780d762d3405b0216a02cf4e55bda4ac4703cab94310ac3ea46 SHA512 670f9fb69f1f4363a4d277151bc99286de024764a99ca5276e9f46d560718a906657ec6e2898290f57fbf1007c9190959d38de14ecd1d3205fb26323eff6795d WHIRLPOOL b1111dc6dce1d3810819d6773a27b5d9642ea421e571fe1fa7eac0f4dfb16625769d57a4378613ca7f1b58531593f55044ef6efcb41a56fc4afd2a65c290c53f DIST arj_3.10.22-9.debian.tar.gz 11160 SHA256 3ca3437f48f6a17b6fe3fe9526d2029dc30a1f22d7a5c5df5bb6140b5fe9255a SHA512 d0b41584b8771ab757b7a90a697b4cc8099bc0657a0bfb3187db74f7626f5ffe249e9362d2acbe6bf86ddaf7fa5e97c936019112828608b489621bdc4eaf36e5 WHIRLPOOL f8a28d14dea45ed38cf30b79b88805b3981344ac30bd8e48aff468e7d5d63812da4eaf34090f2a2064b383fe4cc39d1547c01c3a8da081f8827442bcb59be93f DIST arj_3.10.22.orig.tar.gz 431467 SHA256 589e4c9bccc8669e7b6d8d6fcd64e01f6a2c21fe10aad56a83304ecc3b96a7db SHA512 4730dfdbab4f8095396c337578ed69bdaae52955ad468db50b52af8ad2846ecd6cfc05eb3ac0d03838c1c32ea60126f14a22b93e8181c06b9546456f3937ff76 WHIRLPOOL 86223959a938898126c544a75cbc0c4885777fe2eda3ccad2bbae47f8e3a31a409e2dca0dbbde8333e8c2ac77a1f350c7d95bbcba002f88ee94420f31d957319 diff --git a/app-arch/arj/arj-3.10.22-r5.ebuild b/app-arch/arj/arj-3.10.22-r5.ebuild new file mode 100644 index 000000000000..decc02d471aa --- /dev/null +++ b/app-arch/arj/arj-3.10.22-r5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils multilib toolchain-funcs + +PATCH_LEVEL=13 + +DESCRIPTION="Utility for opening arj archives" +HOMEPAGE="http://arj.sourceforge.net" +SRC_URI="mirror://debian/pool/main/a/arj/${P/-/_}.orig.tar.gz + mirror://debian/pool/main/a/arj/${P/-/_}-${PATCH_LEVEL}.debian.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +IUSE="" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-implicit-declarations.patch \ + "${FILESDIR}/${P}-glibc2.10.patch" + + EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \ + epatch "${WORKDIR}"/debian/patches + + epatch "${FILESDIR}"/${P}-darwin.patch + epatch "${FILESDIR}"/${P}-interix.patch + + cd gnu + eautoconf +} + +src_configure() { + cd gnu || die + CFLAGS="${CFLAGS} -Wall" econf +} + +src_compile() { + sed -i -e '/stripgcc/d' GNUmakefile || die "sed failed." + + ARJLIBDIR="${EPREFIX}/usr/$(get_libdir)" + + emake CC=$(tc-getCC) libdir="${ARJLIBDIR}" \ + ADD_LDFLAGS="${LDFLAGS}" \ + pkglibdir="${ARJLIBDIR}" all +} + +src_install() { + emake pkglibdir="${ARJLIBDIR}" DESTDIR="${D}" install + + dodoc doc/rev_hist.txt +} |