Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpflow/, profiles/, net-analyzer/tcpflow/files/
Date: Mon, 26 Oct 2020 07:39:49
Message-Id: 1603697944.07151b2923151018c1ce068b0793fd120f3d8e4d.mgorny@gentoo
1 commit: 07151b2923151018c1ce068b0793fd120f3d8e4d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 26 07:35:39 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 26 07:39:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07151b29
7
8 net-analyzer/tcpflow: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/735392
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 net-analyzer/tcpflow/Manifest | 3 --
14 .../files/tcpflow-1.5.0_alpha-libcapng.patch | 13 -----
15 .../tcpflow/files/tcpflow-1.5.2-gentoo.patch | 61 ----------------------
16 net-analyzer/tcpflow/metadata.xml | 11 ----
17 net-analyzer/tcpflow/tcpflow-1.5.2-r1.ebuild | 60 ---------------------
18 profiles/package.mask | 1 -
19 6 files changed, 149 deletions(-)
20
21 diff --git a/net-analyzer/tcpflow/Manifest b/net-analyzer/tcpflow/Manifest
22 deleted file mode 100644
23 index fb353514e5a..00000000000
24 --- a/net-analyzer/tcpflow/Manifest
25 +++ /dev/null
26 @@ -1,3 +0,0 @@
27 -DIST be13_api-20170924.tar.gz 75724 BLAKE2B a5257346b9c0740d9758543fe7772c960e1941735abefe4d24d347631b35d1511fde8eb5a58dbb2824c54e78ee0d686a2549ceea2c1dc91e05ef92899c8b3c2d SHA512 5bf0d28f23df9436304245ccbdbf4af5b0f65e62b92e3039cfb9a70fe2056aa90dcce906db02f3df83fcf2a415c8a46f0f75468d48e13b15673d11c447a4c9c4
28 -DIST dfxml-20170921.tar.gz 163616 BLAKE2B 17214d15596a136efb2afc7246ee0f5696620b5aac7c2d78e37764f51487ff816de5a7c0f59e7484d358a8cd8eab34841716970cd859f0ce868ac29c8532754c SHA512 0885947aaf8efe639c13324413ef0cca49750027b48b434f226fb9fbfba494e84e245da879dc0d77b46bddc27798f7f5df12590fce47b096683034bbc61280e1
29 -DIST tcpflow-1.5.2.tar.gz 788545 BLAKE2B b3995cf0f4bedce207dcac19de3d57920231cab75df030da1cf93fb815999de602fd1e3f0955c82effff88f9a3945a891c3b3f0e08449cf366de4bb8269a6452 SHA512 e060779c78f79ba6efdf5f9d8ff490823ff06051a7089247b8155c03f487776fa1896e487e8dca1d5842b617fc5d9056e043f01ac3276edeec1d394ed24bc7e9
30
31 diff --git a/net-analyzer/tcpflow/files/tcpflow-1.5.0_alpha-libcapng.patch b/net-analyzer/tcpflow/files/tcpflow-1.5.0_alpha-libcapng.patch
32 deleted file mode 100644
33 index b56144324c0..00000000000
34 --- a/net-analyzer/tcpflow/files/tcpflow-1.5.0_alpha-libcapng.patch
35 +++ /dev/null
36 @@ -1,13 +0,0 @@
37 ---- a/src/tcpflow.cpp
38 -+++ b/src/tcpflow.cpp
39 -@@ -30,6 +30,10 @@
40 - #include <grp.h>
41 - #endif
42 -
43 -+#ifdef HAVE_CAP_NG_H
44 -+#include <cap-ng.h>
45 -+#endif
46 -+
47 - /* bring in inet_ntop if it is not present */
48 - #define ETH_ALEN 6
49 - #ifndef HAVE_INET_NTOP
50
51 diff --git a/net-analyzer/tcpflow/files/tcpflow-1.5.2-gentoo.patch b/net-analyzer/tcpflow/files/tcpflow-1.5.2-gentoo.patch
52 deleted file mode 100644
53 index de0864004a0..00000000000
54 --- a/net-analyzer/tcpflow/files/tcpflow-1.5.2-gentoo.patch
55 +++ /dev/null
56 @@ -1,61 +0,0 @@
57 ---- a/configure.ac
58 -+++ b/configure.ac
59 -@@ -30,7 +30,6 @@
60 - AC_PROG_INSTALL
61 -
62 - m4_include([m4/slg_searchdirs.m4])
63 --m4_include([m4/slg_gcc_all_warnings.m4])
64 -
65 -
66 - # use C++11 mode if available; HAVE_CXX11 is defined in config.h if so. Don't
67 -@@ -402,7 +402,12 @@
68 - AC_CHECK_HEADERS(cap-ng.h)
69 - fi
70 -
71 --
72 -+################################################################
73 -+# http-parser
74 -+
75 -+AC_CHECK_LIB(http_parser,http_parser_init,,
76 -+ AC_MSG_ERROR([http-parser library not installed]))
77 -+AC_CHECK_HEADERS(http_parser.h)
78 -
79 - ################################################################
80 - # Specify our other headers
81 ---- a/src/Makefile.am
82 -+++ b/src/Makefile.am
83 -@@ -90,20 +90,12 @@
84 - scan_netviz.cpp \
85 - pcap_writer.h \
86 - iptree.h \
87 -- http-parser/http_parser.c \
88 -- http-parser/http_parser.h \
89 - mime_map.cpp \
90 - mime_map.h
91 -
92 - EXTRA_DIST =\
93 - inet_ntop.c \
94 - inet_ntop.h \
95 -- http-parser/AUTHORS \
96 -- http-parser/CONTRIBUTIONS \
97 -- http-parser/LICENSE-MIT \
98 -- http-parser/Makefile \
99 -- http-parser/README.md \
100 -- http-parser/http_parser.gyp \
101 - wifipcap/README.txt \
102 - wifipcap/TimeVal.cpp \
103 - wifipcap/TimeVal.h \
104 ---- a/src/scan_http.cpp
105 -+++ b/src/scan_http.cpp
106 -@@ -11,7 +11,11 @@
107 - #include "tcpip.h"
108 - #include "tcpdemux.h"
109 -
110 -+#ifdef HAVE_HTTP_PARSER_H
111 -+#include "http_parser.h"
112 -+#else
113 - #include "http-parser/http_parser.h"
114 -+#endif
115 -
116 - #include "mime_map.h"
117 -
118
119 diff --git a/net-analyzer/tcpflow/metadata.xml b/net-analyzer/tcpflow/metadata.xml
120 deleted file mode 100644
121 index d0b78340e0f..00000000000
122 --- a/net-analyzer/tcpflow/metadata.xml
123 +++ /dev/null
124 @@ -1,11 +0,0 @@
125 -<?xml version="1.0" encoding="UTF-8"?>
126 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
127 -<pkgmetadata>
128 - <maintainer type="project">
129 - <email>netmon@g.o</email>
130 - <name>Gentoo network monitoring and analysis project</name>
131 - </maintainer>
132 - <upstream>
133 - <remote-id type="github">simsong/tcpflow</remote-id>
134 - </upstream>
135 -</pkgmetadata>
136
137 diff --git a/net-analyzer/tcpflow/tcpflow-1.5.2-r1.ebuild b/net-analyzer/tcpflow/tcpflow-1.5.2-r1.ebuild
138 deleted file mode 100644
139 index 1b29c9fe64b..00000000000
140 --- a/net-analyzer/tcpflow/tcpflow-1.5.2-r1.ebuild
141 +++ /dev/null
142 @@ -1,60 +0,0 @@
143 -# Copyright 1999-2019 Gentoo Authors
144 -# Distributed under the terms of the GNU General Public License v2
145 -
146 -EAPI=7
147 -PYTHON_COMPAT=( python2_7 )
148 -inherit autotools flag-o-matic python-single-r1
149 -
150 -DESCRIPTION="A tool for monitoring, capturing and storing TCP connections flows"
151 -HOMEPAGE="https://github.com/simsong/tcpflow"
152 -SRC_URI="
153 - https://api.github.com/repos/simsong/be13_api/tarball/c81521d768bb78499c069fcd7c47adc8eee0350c -> be13_api-20170924.tar.gz
154 - https://api.github.com/repos/simsong/dfxml/tarball/7d11eaa7da8d31f588ce8aecb4b4f5e7e8169ba6 -> dfxml-20170921.tar.gz
155 - https://dev.gentoo.org/~jer/be13_api-20170924.tar.gz
156 - https://dev.gentoo.org/~jer/dfxml-20170921.tar.gz
157 - https://github.com/simsong/${PN}/archive/${P/_/}.tar.gz
158 -"
159 -
160 -LICENSE="GPL-3"
161 -KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
162 -SLOT="0"
163 -IUSE="cairo test"
164 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
165 -RESTRICT="!test? ( test )"
166 -
167 -RDEPEND="
168 - ${PYTHON_DEPS}
169 - dev-db/sqlite
170 - dev-libs/boost:=
171 - dev-libs/openssl:=
172 - net-libs/http-parser:=
173 - net-libs/libpcap
174 - sys-libs/libcap-ng
175 - sys-libs/zlib:=
176 - cairo? (
177 - x11-libs/cairo
178 - )
179 -"
180 -DEPEND="
181 - ${RDEPEND}
182 - test? ( sys-apps/coreutils )
183 -"
184 -S=${WORKDIR}/${PN}-${P/_/}
185 -PATCHES=(
186 - "${FILESDIR}"/${PN}-1.5.0_alpha-libcapng.patch
187 - "${FILESDIR}"/${PN}-1.5.2-gentoo.patch
188 -)
189 -
190 -src_prepare() {
191 - mv "${WORKDIR}"/simsong-dfxml-7d11eaa/* src/dfxml/ || die
192 - mv "${WORKDIR}"/simsong-be13_api-c81521d/* src/be13_api/ || die
193 -
194 - default
195 -
196 - eautoreconf
197 -}
198 -
199 -src_configure() {
200 - append-cxxflags -fpermissive
201 - econf $(usex cairo --enable-cairo=true --enable-cairo=false)
202 -}
203
204 diff --git a/profiles/package.mask b/profiles/package.mask
205 index c590f0876d1..3a68e7f4dc2 100644
206 --- a/profiles/package.mask
207 +++ b/profiles/package.mask
208 @@ -241,7 +241,6 @@ net-voip/telepathy-haze
209 games-arcade/diameter
210 games-board/gnome-hearts
211 net-analyzer/sguil-server
212 -net-analyzer/tcpflow
213
214 # Michał Górny <mgorny@g.o> (2020-09-25)
215 # PyPy3.7 alpha. Known to break a few packages. Masked until it