From b6346d471e739bc4def7dc86a2e25e15de45e49a Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Fri, 30 Apr 2021 00:49:38 +0100 Subject: net-analyzer/hunt: Respect CFLAGS Closes: https://bugs.gentoo.org/724864 Signed-off-by: Jakov Smolic Signed-off-by: Sam James --- net-analyzer/hunt/files/hunt-1.5-gentoo.patch | 5 ++++- net-analyzer/hunt/hunt-1.5_p6_p1.ebuild | 17 +++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'net-analyzer/hunt') diff --git a/net-analyzer/hunt/files/hunt-1.5-gentoo.patch b/net-analyzer/hunt/files/hunt-1.5-gentoo.patch index e0bcccae0aae..b5b49944f016 100644 --- a/net-analyzer/hunt/files/hunt-1.5-gentoo.patch +++ b/net-analyzer/hunt/files/hunt-1.5-gentoo.patch @@ -8,7 +8,10 @@ --- a/tpserv/Makefile +++ b/tpserv/Makefile -@@ -3,7 +3,7 @@ +@@ -1,9 +1,8 @@ +-CFLAGS=-Wall -O2 -g +- ++CFLAGS += -Wall all: tpserv tpserv: tpserv.o diff --git a/net-analyzer/hunt/hunt-1.5_p6_p1.ebuild b/net-analyzer/hunt/hunt-1.5_p6_p1.ebuild index ec3c6e7a044a..3790bdef6529 100644 --- a/net-analyzer/hunt/hunt-1.5_p6_p1.ebuild +++ b/net-analyzer/hunt/hunt-1.5_p6_p1.ebuild @@ -1,31 +1,28 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 + inherit flag-o-matic toolchain-funcs -DESCRIPTION="tool for checking well known weaknesses in the TCP/IP protocol" +DESCRIPTION="Tool for checking well known weaknesses in the TCP/IP protocol" HOMEPAGE="http://lin.fsid.cvut.cz/~kra/index.html" SRC_URI=" mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}.orig.tar.gz - mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-$(ver_cut 4).$(ver_cut 6).diff.gz -" + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-$(ver_cut 4).$(ver_cut 6).diff.gz" +S="${WORKDIR}/${P/_p*}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc x86" + PATCHES=( + "${WORKDIR}"/${PN}_1.5-6.1.diff "${FILESDIR}"/${P/_p*}-exit.patch "${FILESDIR}"/${P/_p*}-gentoo.patch "${FILESDIR}"/${P/_p*}-log2.patch "${FILESDIR}"/${P/_p*}-tpserv-log.patch ) -S=${WORKDIR}/${P/_p*} - -src_prepare() { - eapply "${WORKDIR}"/${PN}_${PV/_p*}-$(ver_cut 4).$(ver_cut 6).diff - default -} src_configure() { append-cppflags -DSYNC_FAST -- cgit v1.2.3-65-gdbad