forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-util/diffball: revbump to 1.0.1-r1 for bug 543310
Fix stack buffer overflows reported in bug 543310. Bug: https://bugs.gentoo.org/543310 See: rafaelmartins/diffball#2 Reported-by: Aidan Thornton <makosoft@googlemail.com> Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Zac Medico <zmedico@gentoo.org>
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST bug_543310_diffball_stack_buffer_overflows.patch 2945 BLAKE2B 17aa01d64464edccc490e7714dc9db8767d19b0c8b6d14223359d266d38e47aae822454aa14446c038b2b3477a4d8a8db228be7e28666528883ebf02ac2cb65b SHA512 be9a44cd9abfb41f32683d0363375902477f739f9c0dd23b30cfcd9fc6fced61111a2b101cb46db2d6320b4d70ed04627a1c178d44f23530f248bcb87e6efd32 | ||
DIST diffball-1.0.1.tar.bz2 387787 BLAKE2B e46dbf32b2ec9bece106ca90a6ae46bdfde8b83a5fd41e67f15c4bd25d7015327b4738ce3bfba71c92fd2baa94a5d3bc507dd0fad2b3451447a39a7fe058002e SHA512 1e01fff8bf7d993c828f195d974b7df1cd4fb056e9a51f9533bc8e01666a55e0d9467c799a005f58d7b4369bbf88fc9b716d0fb68ead6171d349e3c874bddb8c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Copyright 1999-2019 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit flag-o-matic | ||
|
||
DESCRIPTION="Delta compression suite for using/generating binary patches" | ||
HOMEPAGE="https://github.com/zmedico/diffball" | ||
SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN}/${P}.tar.bz2 | ||
https://github.com/zmedico/diffball/pull/1.patch -> bug_543310_diffball_stack_buffer_overflows.patch" | ||
|
||
LICENSE="BSD" | ||
SLOT="0" | ||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" | ||
IUSE="debug" | ||
|
||
RDEPEND=">=sys-libs/zlib-1.1.4 | ||
>=app-arch/bzip2-1.0.2 | ||
app-arch/xz-utils" | ||
DEPEND="${RDEPEND} | ||
virtual/pkgconfig" | ||
|
||
# Invalid RESTRICT for source package. Investigate. | ||
RESTRICT="strip" | ||
|
||
PATCHES=("${DISTDIR}/bug_543310_diffball_stack_buffer_overflows.patch") | ||
|
||
src_prepare() { | ||
# fix bug 548316 by restoring pre-GCC5 inline semantics | ||
append-cflags -std=gnu89 | ||
default | ||
} | ||
|
||
src_configure() { | ||
econf $(use_enable debug asserts) | ||
} |