From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ntopng/files/, net-analyzer/ntopng/
Date: Sun, 27 Dec 2020 00:25:33 +0000 (UTC) [thread overview]
Message-ID: <1609028726.d35b20af0e1326b05b0ea2e30f0b91934c01fa90.marecki@gentoo> (raw)
commit: d35b20af0e1326b05b0ea2e30f0b91934c01fa90
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 27 00:24:38 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Dec 27 00:25:26 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d35b20af
net-analyzer/ntopng: remove 3.8-r1
The oldest of the three versions currently in the tree and the only one
to actually depend on Lua.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
.../ntopng/files/ntopng-3.8-missing-min.patch | 19 ------
.../ntopng/files/ntopng-3.8-ndpi-call.patch | 12 ----
net-analyzer/ntopng/ntopng-3.8-r1.ebuild | 76 ----------------------
3 files changed, 107 deletions(-)
diff --git a/net-analyzer/ntopng/files/ntopng-3.8-missing-min.patch b/net-analyzer/ntopng/files/ntopng-3.8-missing-min.patch
deleted file mode 100644
index 303826a918d..00000000000
--- a/net-analyzer/ntopng/files/ntopng-3.8-missing-min.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/third-party/zeromq-4.1.3/src/tcp_connecter.cpp
-+++ b/third-party/zeromq-4.1.3/src/tcp_connecter.cpp
-@@ -31,6 +31,7 @@
-
- #include <new>
- #include <string>
-+#include <algorithm>
-
- #include "tcp_connecter.hpp"
- #include "stream_engine.hpp"
-@@ -207,7 +208,7 @@
- options.reconnect_ivl_max > options.reconnect_ivl)
- // Calculate the next interval
- current_reconnect_ivl =
-- min (current_reconnect_ivl * 2, options.reconnect_ivl_max);
-+ std::min(current_reconnect_ivl * 2, options.reconnect_ivl_max);
- return interval;
- }
-
diff --git a/net-analyzer/ntopng/files/ntopng-3.8-ndpi-call.patch b/net-analyzer/ntopng/files/ntopng-3.8-ndpi-call.patch
deleted file mode 100644
index 1308a5c2c03..00000000000
--- a/net-analyzer/ntopng/files/ntopng-3.8-ndpi-call.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/src/NetworkInterface.cpp
-+++ b/src/NetworkInterface.cpp
-@@ -1604,7 +1604,8 @@
- ndpi_protocol icmp_proto = flow->get_detected_protocol();
-
- if(icmp_proto.category == NDPI_PROTOCOL_CATEGORY_UNSPECIFIED) {
-- ndpi_fill_ip_protocol_category(ndpi_struct, (struct ndpi_iphdr *)ip, &icmp_proto);
-+ ndpi_fill_ip_protocol_category(ndpi_struct, ((struct ndpi_iphdr *)ip)->saddr,
-+ ((struct ndpi_iphdr*)ip)->daddr, &icmp_proto);
- flow->setDetectedProtocol(icmp_proto, false);
- }
- }
diff --git a/net-analyzer/ntopng/ntopng-3.8-r1.ebuild b/net-analyzer/ntopng/ntopng-3.8-r1.ebuild
deleted file mode 100644
index 37e007de41e..00000000000
--- a/net-analyzer/ntopng/ntopng-3.8-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools user toolchain-funcs
-
-DESCRIPTION="Network traffic analyzer with web interface"
-HOMEPAGE="https://www.ntop.org/"
-SRC_URI="https://github.com/ntop/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="dev-db/sqlite:3
- dev-python/pyzmq
- dev-lang/luajit:2
- dev-libs/json-c:=
- dev-libs/geoip
- dev-libs/glib:2
- dev-libs/hiredis
- dev-libs/libsodium:=
- dev-libs/libxml2
- dev-libs/libmaxminddb
- net-analyzer/rrdtool
- net-libs/libpcap
- >=net-libs/nDPI-2.4:=
- net-misc/curl
- sys-libs/binutils-libs
- dev-db/mysql-connector-c:="
-RDEPEND="${DEPEND}
- dev-db/redis"
-PATCHES=(
- "${FILESDIR}"/${P}-mysqltool.patch
- "${FILESDIR}"/${P}-ndpi-includes.patch
- "${FILESDIR}"/${P}-missing-min.patch
- "${FILESDIR}"/${P}-ndpi-call.patch
-)
-
-src_prepare() {
- default
- sed -e "s/@VERSION@/${PV}.$(date +%y%m%d)/g" -e "s/@SHORT_VERSION@/${PV}/g" < "${S}/configure.seed" > "${S}/configure.ac" > configure.ac
- eapply_user
- eautoreconf
-}
-
-src_install() {
- SHARE_NTOPNG_DIR="${EPREFIX}/usr/share/${PN}"
- dodir ${SHARE_NTOPNG_DIR}
- insinto ${SHARE_NTOPNG_DIR}
- doins -r httpdocs
- doins -r scripts
-
- dodir ${SHARE_NTOPNG_DIR}/third-party
- insinto ${SHARE_NTOPNG_DIR}/third-party
- doins -r third-party/i18n.lua-master
- doins -r third-party/lua-resty-template-master
-
- exeinto /usr/bin
- doexe ${PN}
- doman ${PN}.8
-
- newinitd "${FILESDIR}/ntopng.init.d" ntopng
- newconfd "${FILESDIR}/ntopng.conf.d" ntopng
-
- dodir "/var/lib/ntopng"
- fowners ntopng "/var/lib/ntopng"
-}
-
-pkg_setup() {
- enewuser ntopng
-}
-
-pkg_postinst() {
- elog "ntopng default credentials are user='admin' password='admin'"
-}
next reply other threads:[~2020-12-27 0:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-27 0:25 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-02-03 16:53 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ntopng/files/, net-analyzer/ntopng/ Sam James
2022-08-18 0:30 Sam James
2022-02-08 6:31 Sam James
2021-04-07 15:32 John Helmert III
2020-05-16 11:49 Jeroen Roovers
2020-01-19 13:39 Jeroen Roovers
2019-12-28 12:08 Jeroen Roovers
2019-12-28 10:14 Jeroen Roovers
2019-08-27 3:42 Slawek Lis
2017-06-19 11:59 Slawek Lis
2016-11-20 18:54 Slawek Lis
2016-11-19 18:25 Slawek Lis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1609028726.d35b20af0e1326b05b0ea2e30f0b91934c01fa90.marecki@gentoo \
--to=marecki@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox