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_stack_buffer_overflows.patch 2945 BLAKE2B d39c5e0a8b70092120fcb1a48154283d4e35b4af161a803769efa925bdc0ed4dacbfb0d5b229e4799de59c8d9ac3bb5b61fc75daad2639ce2e0aa6c61b94f290 SHA512 69145ee5ee5b2b7f9456c7968b3625e2dccd7c382003d62872d2a9c03f59a3d2eadc4c02ba932796a10c90b652feb259dae07261b9ae5a9ff58babfe0230068e | ||
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/rafaelmartins/diffball" | ||
SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN}/${P}.tar.bz2 | ||
https://github.com/rafaelmartins/diffball/pull/2.patch -> bug_543310_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_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) | ||
} |