1 |
commit: b6346d471e739bc4def7dc86a2e25e15de45e49a |
2 |
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 |
AuthorDate: Thu Apr 29 23:49:38 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 4 22:17:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6346d47 |
7 |
|
8 |
net-analyzer/hunt: Respect CFLAGS |
9 |
|
10 |
Closes: https://bugs.gentoo.org/724864 |
11 |
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/hunt/files/hunt-1.5-gentoo.patch | 5 ++++- |
15 |
net-analyzer/hunt/hunt-1.5_p6_p1.ebuild | 17 +++++++---------- |
16 |
2 files changed, 11 insertions(+), 11 deletions(-) |
17 |
|
18 |
diff --git a/net-analyzer/hunt/files/hunt-1.5-gentoo.patch b/net-analyzer/hunt/files/hunt-1.5-gentoo.patch |
19 |
index e0bcccae0aa..b5b49944f01 100644 |
20 |
--- a/net-analyzer/hunt/files/hunt-1.5-gentoo.patch |
21 |
+++ b/net-analyzer/hunt/files/hunt-1.5-gentoo.patch |
22 |
@@ -8,7 +8,10 @@ |
23 |
|
24 |
--- a/tpserv/Makefile |
25 |
+++ b/tpserv/Makefile |
26 |
-@@ -3,7 +3,7 @@ |
27 |
+@@ -1,9 +1,8 @@ |
28 |
+-CFLAGS=-Wall -O2 -g |
29 |
+- |
30 |
++CFLAGS += -Wall |
31 |
all: tpserv |
32 |
|
33 |
tpserv: tpserv.o |
34 |
|
35 |
diff --git a/net-analyzer/hunt/hunt-1.5_p6_p1.ebuild b/net-analyzer/hunt/hunt-1.5_p6_p1.ebuild |
36 |
index ec3c6e7a044..3790bdef652 100644 |
37 |
--- a/net-analyzer/hunt/hunt-1.5_p6_p1.ebuild |
38 |
+++ b/net-analyzer/hunt/hunt-1.5_p6_p1.ebuild |
39 |
@@ -1,31 +1,28 @@ |
40 |
-# Copyright 1999-2020 Gentoo Authors |
41 |
+# Copyright 1999-2021 Gentoo Authors |
42 |
# Distributed under the terms of the GNU General Public License v2 |
43 |
|
44 |
EAPI=7 |
45 |
+ |
46 |
inherit flag-o-matic toolchain-funcs |
47 |
|
48 |
-DESCRIPTION="tool for checking well known weaknesses in the TCP/IP protocol" |
49 |
+DESCRIPTION="Tool for checking well known weaknesses in the TCP/IP protocol" |
50 |
HOMEPAGE="http://lin.fsid.cvut.cz/~kra/index.html" |
51 |
SRC_URI=" |
52 |
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}.orig.tar.gz |
53 |
- mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-$(ver_cut 4).$(ver_cut 6).diff.gz |
54 |
-" |
55 |
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-$(ver_cut 4).$(ver_cut 6).diff.gz" |
56 |
+S="${WORKDIR}/${P/_p*}" |
57 |
|
58 |
LICENSE="GPL-2" |
59 |
SLOT="0" |
60 |
KEYWORDS="~amd64 ~ppc x86" |
61 |
+ |
62 |
PATCHES=( |
63 |
+ "${WORKDIR}"/${PN}_1.5-6.1.diff |
64 |
"${FILESDIR}"/${P/_p*}-exit.patch |
65 |
"${FILESDIR}"/${P/_p*}-gentoo.patch |
66 |
"${FILESDIR}"/${P/_p*}-log2.patch |
67 |
"${FILESDIR}"/${P/_p*}-tpserv-log.patch |
68 |
) |
69 |
-S=${WORKDIR}/${P/_p*} |
70 |
- |
71 |
-src_prepare() { |
72 |
- eapply "${WORKDIR}"/${PN}_${PV/_p*}-$(ver_cut 4).$(ver_cut 6).diff |
73 |
- default |
74 |
-} |
75 |
|
76 |
src_configure() { |
77 |
append-cppflags -DSYNC_FAST |