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: profiles/, net-analyzer/bro/files/, net-analyzer/bro/
Date: Sat, 20 Apr 2019 23:22:31
Message-Id: 1555747775.624774c4ad445e5d38c2da7a6f3e3d240525c3bc.mgorny@gentoo
1 commit: 624774c4ad445e5d38c2da7a6f3e3d240525c3bc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 20 08:09:35 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 20 08:09:35 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=624774c4
7
8 net-analyzer/bro: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/675014
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 net-analyzer/bro/Manifest | 1 -
14 net-analyzer/bro/bro-2.4.1-r2.ebuild | 90 ----------------------
15 .../files/bro-2.4.1-fix-python-install-dir.patch | 37 ---------
16 .../bro-2.4.1-remove-unnecessary-remove.patch | 20 -----
17 net-analyzer/bro/metadata.xml | 18 -----
18 profiles/package.mask | 2 -
19 6 files changed, 168 deletions(-)
20
21 diff --git a/net-analyzer/bro/Manifest b/net-analyzer/bro/Manifest
22 deleted file mode 100644
23 index 15f6c45213b..00000000000
24 --- a/net-analyzer/bro/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST bro-2.4.1.tar.gz 15010455 BLAKE2B 34e087253a62ad3d6948e1175fa05c34ceac7298103aef40a0ce791e1e83c8495d6f65c9489d0e7214ff1b743db766dfbf7b44544f7796b7b1f70ee7a1bedc67 SHA512 4f7bf6c037fe7b16214830d2dba9f7abffd853f66030aa710fb9f174a475f8cd27d8de6bacf965f142f942a42093ceb78dcd8cbcedac6fbcfdd65ac07b3dd410
28
29 diff --git a/net-analyzer/bro/bro-2.4.1-r2.ebuild b/net-analyzer/bro/bro-2.4.1-r2.ebuild
30 deleted file mode 100644
31 index 68ee260dc77..00000000000
32 --- a/net-analyzer/bro/bro-2.4.1-r2.ebuild
33 +++ /dev/null
34 @@ -1,90 +0,0 @@
35 -# Copyright 1999-2018 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -
40 -PYTHON_REQ_USE="sqlite"
41 -PYTHON_COMPAT=( python2_7 )
42 -inherit cmake-utils python-single-r1
43 -
44 -DESCRIPTION="The Bro Network Security Monitor"
45 -HOMEPAGE="https://www.bro.org"
46 -SRC_URI="https://www.bro.org/downloads/release/${P}.tar.gz"
47 -LICENSE="BSD"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~x86"
50 -IUSE="+broccoli +broctl -broker curl debug geoip ipv6 jemalloc +python -ruby tcmalloc static-libs +tools"
51 -
52 -RDEPEND="
53 - app-shells/bash:0
54 - dev-libs/openssl:0=
55 - net-analyzer/ipsumdump
56 - net-dns/bind-tools
57 - net-libs/libpcap
58 - sys-libs/zlib
59 - broker? ( dev-libs/actor-framework:0/13.2 )
60 - broctl? ( virtual/mta )
61 - curl? ( net-misc/curl )
62 - geoip? ( dev-libs/geoip )
63 - ipv6? ( net-analyzer/ipsumdump[ipv6] )
64 - jemalloc? ( dev-libs/jemalloc )
65 - python? ( ${PYTHON_DEPS} )
66 - ruby? ( >=dev-lang/ruby-1.8:= )
67 - tcmalloc? ( dev-util/google-perftools )
68 -"
69 -DEPEND="${RDEPEND}
70 - >=dev-lang/swig-3.0.3
71 - dev-lang/perl
72 -"
73 -
74 -REQUIRED_USE="
75 - broker? ( python )
76 - broctl? ( python )
77 - python? ( ${PYTHON_REQUIRED_USE} )
78 -"
79 -
80 -PATCHES=(
81 - "${FILESDIR}/bro-2.4.1-remove-unnecessary-remove.patch"
82 - "${FILESDIR}/bro-2.4.1-fix-python-install-dir.patch"
83 -)
84 -
85 -pkg_setup() {
86 - use python && python-single-r1_pkg_setup
87 -}
88 -
89 -src_prepare() {
90 - # Disable shell script feature which sets interpreter to build time default
91 - find . -name "*.cmake" -exec sed -i -e "s:\${\${_shell}_interp}:/usr/bin/env ${EPYTHON}:g" {} + || die
92 - cmake-utils_src_prepare
93 -}
94 -
95 -src_configure() {
96 - local mycmakeargs=(
97 - -DENABLE_DEBUG=$(usex debug true false)
98 - -DENABLE_JEMALLOC=$(usex jemalloc true false)
99 - -DDISABLE_PERFTOOLS=$(usex tcmalloc false true)
100 - -DENABLE_BROKER=$(usex broker true false)
101 - -DENABLE_CXX11=$(usex broker true false)
102 - -DENABLE_STATIC=$(usex static-libs true false)
103 - -DINSTALL_BROCCOLI=$(usex broccoli true false)
104 - -DINSTALL_BROCTL=$(usex broctl true false)
105 - -DINSTALL_AUX_TOOLS=$(usex tools true false)
106 - -DENABLE_MOBILE_IPV6=$(usex ipv6 true false)
107 - -DDISABLE_RUBY_BINDINGS=$(usex ruby false true)
108 - -DDISABLE_PYTHON_BINDINGS=$(usex python false true)
109 - -DBRO_LOG_DIR="/var/log/bro/"
110 - -DBRO_SPOOL_DIR="/var/spool/bro/"
111 - -DBRO_ETC_INSTALL_DIR="/etc/bro/"
112 - -DINSTALL_LIB_DIR="/usr/$(get_libdir)"
113 - -DPY_MOD_INSTALL_DIR="$(python_get_sitedir)"
114 - )
115 -
116 - cmake-utils_src_configure
117 -}
118 -
119 -src_install() {
120 - cmake-utils_src_install
121 - keepdir /var/log/bro /var/spool/bro/tmp
122 - # Doesn't exist
123 - rm -f "${ED}"/usr/share/broctl/scripts/broctl-config.sh
124 -}
125
126 diff --git a/net-analyzer/bro/files/bro-2.4.1-fix-python-install-dir.patch b/net-analyzer/bro/files/bro-2.4.1-fix-python-install-dir.patch
127 deleted file mode 100644
128 index 66d41ed4f47..00000000000
129 --- a/net-analyzer/bro/files/bro-2.4.1-fix-python-install-dir.patch
130 +++ /dev/null
131 @@ -1,37 +0,0 @@
132 ---- a/aux/broker/bindings/python/CMakeLists.txt 2016-03-17 23:26:42.707456012 +0100
133 -+++ b/aux/broker/bindings/python/CMakeLists.txt 2016-03-17 23:28:27.714453166 +0100
134 -@@ -52,19 +52,21 @@
135 - swig_add_module(pybroker python pybroker.i)
136 - swig_link_libraries(pybroker ${libbroker} ${PYTHON_LIBRARIES})
137 -
138 --if ( BROKER_PYTHON_PREFIX )
139 -- set(pyver ${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR})
140 -- set(PY_MOD_INSTALL_DIR
141 -- ${BROKER_PYTHON_PREFIX}/lib/python${pyver}/site-packages)
142 --elseif ( BROKER_PYTHON_HOME )
143 -- set(PY_MOD_INSTALL_DIR ${BROKER_PYTHON_HOME}/lib/python)
144 --else ()
145 -- execute_process(COMMAND ${PYTHON_EXECUTABLE} -c
146 -- "from distutils.sysconfig import get_python_lib; print get_python_lib()"
147 -- OUTPUT_VARIABLE PYTHON_SITE_PACKAGES
148 -- OUTPUT_STRIP_TRAILING_WHITESPACE)
149 -- set(PY_MOD_INSTALL_DIR ${PYTHON_SITE_PACKAGES})
150 --endif ()
151 -+if ( NOT PY_MOD_INSTALL_DIR )
152 -+ if ( BROKER_PYTHON_PREFIX )
153 -+ set(pyver ${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR})
154 -+ set(PY_MOD_INSTALL_DIR
155 -+ ${BROKER_PYTHON_PREFIX}/lib/python${pyver}/site-packages)
156 -+ elseif ( BROKER_PYTHON_HOME )
157 -+ set(PY_MOD_INSTALL_DIR ${BROKER_PYTHON_HOME}/lib/python)
158 -+ else ()
159 -+ execute_process(COMMAND ${PYTHON_EXECUTABLE} -c
160 -+ "from distutils.sysconfig import get_python_lib; print get_python_lib()"
161 -+ OUTPUT_VARIABLE PYTHON_SITE_PACKAGES
162 -+ OUTPUT_STRIP_TRAILING_WHITESPACE)
163 -+ set(PY_MOD_INSTALL_DIR ${PYTHON_SITE_PACKAGES})
164 -+ endif ( BROKER_PYTHON_PREFIX )
165 -+endif ( NOT PY_MOD_INSTALL_DIR )
166 -
167 - message(STATUS "Python bindings will be built and installed to: "
168 - ${PY_MOD_INSTALL_DIR})
169
170 diff --git a/net-analyzer/bro/files/bro-2.4.1-remove-unnecessary-remove.patch b/net-analyzer/bro/files/bro-2.4.1-remove-unnecessary-remove.patch
171 deleted file mode 100644
172 index e4803bc7db9..00000000000
173 --- a/net-analyzer/bro/files/bro-2.4.1-remove-unnecessary-remove.patch
174 +++ /dev/null
175 @@ -1,20 +0,0 @@
176 ---- a/src/CMakeLists.txt.old 2016-03-11 20:47:44.652900344 +0100
177 -+++ b/src/CMakeLists.txt 2016-03-11 20:48:11.665101378 +0100
178 -@@ -425,10 +425,10 @@
179 -
180 - # Remove some stale files and scripts that previous Bro versions put in
181 - # place, yet make confuse us now. This makes upgrading easier.
182 --install(CODE "
183 -- file(REMOVE_RECURSE
184 -- ${BRO_SCRIPT_INSTALL_PATH}/base/frameworks/logging/writers/dataseries.bro
185 -- ${BRO_SCRIPT_INSTALL_PATH}/base/frameworks/logging/writers/elasticsearch.bro
186 -- ${BRO_SCRIPT_INSTALL_PATH}/policy/tuning/logs-to-elasticsearch.bro
187 -- )
188 --")
189 -+#install(CODE "
190 -+# file(REMOVE_RECURSE
191 -+# ${BRO_SCRIPT_INSTALL_PATH}/base/frameworks/logging/writers/dataseries.bro
192 -+# ${BRO_SCRIPT_INSTALL_PATH}/base/frameworks/logging/writers/elasticsearch.bro
193 -+# ${BRO_SCRIPT_INSTALL_PATH}/policy/tuning/logs-to-elasticsearch.bro
194 -+# )
195 -+#")
196
197 diff --git a/net-analyzer/bro/metadata.xml b/net-analyzer/bro/metadata.xml
198 deleted file mode 100644
199 index 61a2fa9e905..00000000000
200 --- a/net-analyzer/bro/metadata.xml
201 +++ /dev/null
202 @@ -1,18 +0,0 @@
203 -<?xml version="1.0" encoding="UTF-8"?>
204 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
205 -<pkgmetadata>
206 -<!-- maintainer-needed -->
207 - <use>
208 - <flag name="broccoli">Enable the Bro Client Communication Library</flag>
209 - <flag name="broctl">An interactive shell for managing Bro installations</flag>
210 - <flag name="broker">Bro's new Messaging Library (experimental)</flag>
211 - <flag name="geoip">Enable support for Maxmind's GeoIP library</flag>
212 - <flag name="ipv6">Support for mobile IPv6</flag>
213 - <flag name="python">Enable Python bindings</flag>
214 - <flag name="ruby">Enable Ruby bindings (deprecated)</flag>
215 - <flag name="tcmalloc">Enable Google's Performance Analysis Tools</flag>
216 - <flag name="tools">Auxiliary tools for Bro: adtrace, bro-cut, devel-tools, rst</flag>
217 - </use>
218 - <longdescription lang="en">Bro is a powerful network analysis framework that is much different from the typical IDS you may know.
219 - </longdescription>
220 -</pkgmetadata>
221
222 diff --git a/profiles/package.mask b/profiles/package.mask
223 index 82d9c829d1a..d4721863620 100644
224 --- a/profiles/package.mask
225 +++ b/profiles/package.mask
226 @@ -612,7 +612,6 @@ x11-libs/hippo-canvas
227 # mail-client/nail: #676008, last commit in 2010, also #508480
228 # mail-client/nmh: #676938, needs bump, 2014, also #676938, #680596
229 # mail-filter/libdkim: #674892, no revdeps, last release in 2010
230 -# net-analyzer/bro: #675014, needs bump, current version is from 2015
231 #
232 # Removal in 30 days.
233 app-crypt/keynote
234 @@ -622,7 +621,6 @@ games-util/gtkevemon
235 mail-client/nail
236 mail-client/nmh
237 mail-filter/libdkim
238 -net-analyzer/bro
239
240 # Miroslav Šulc <fordfrog@g.o> (19 Mar 2019)
241 # Depends on >=virtual/{jdk,jre}-11 which is masked