summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2021-10-12 10:51:14 +0000
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2021-10-12 10:51:14 +0000
commitbca462ddb671e34de141e780f3fc8fd60fa20f4a (patch)
tree85f310bf50b64f1636755ac058b7887a168489b7
parentwww-apps/phamm: Drop from my overlay. (diff)
downloadjmbsvicetto-bca462ddb671e34de141e780f3fc8fd60fa20f4a.tar.gz
jmbsvicetto-bca462ddb671e34de141e780f3fc8fd60fa20f4a.tar.bz2
jmbsvicetto-bca462ddb671e34de141e780f3fc8fd60fa20f4a.zip
net-analyzer/ntopng: Drop old versions from overlay.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
-rw-r--r--net-analyzer/ntopng/Manifest1
-rw-r--r--net-analyzer/ntopng/files/ntopng-check-mysql.patch31
-rw-r--r--net-analyzer/ntopng/files/ntopng-dont-build-ndpi.patch16
-rw-r--r--net-analyzer/ntopng/files/ntopng.conf.d3
-rw-r--r--net-analyzer/ntopng/files/ntopng.init.d19
-rw-r--r--net-analyzer/ntopng/metadata.xml11
-rw-r--r--net-analyzer/ntopng/ntopng-2.4.ebuild79
7 files changed, 0 insertions, 160 deletions
diff --git a/net-analyzer/ntopng/Manifest b/net-analyzer/ntopng/Manifest
deleted file mode 100644
index 78b1f14..0000000
--- a/net-analyzer/ntopng/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ntopng-2.4-stable.tar.gz 134074662 SHA256 f44e2faf3cb712d75106fc9c594139fbfd437edf4a7e6e9ed65134e1f47ad355 SHA512 515dd7889ae3aaf2482371bb2c55ab7300cf4207fe07f37029b7529bfb710379c19a54f58cf6df87e42454c0c99d15291af334adff676252301d9edd0acf3c7a WHIRLPOOL ba5d9fce207d1a89e5c8b35705b0aaeb66235153b91eaf7a84b1c50bcb4b897f992c81aa7fd316ad2d87458cdfdcd4d63de37d0a00375706a036f491ba448c7b
diff --git a/net-analyzer/ntopng/files/ntopng-check-mysql.patch b/net-analyzer/ntopng/files/ntopng-check-mysql.patch
deleted file mode 100644
index 81271d4..0000000
--- a/net-analyzer/ntopng/files/ntopng-check-mysql.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -ur ntopng-2.4-stable-old/configure.ac ntopng-2.4-stable/configure.ac
---- ntopng-2.4-stable-old/configure.ac 2016-08-01 01:37:29.950818144 +0000
-+++ ntopng-2.4-stable/configure.ac 2016-08-01 01:37:05.291080834 +0000
-@@ -308,17 +308,23 @@
- AC_CHECK_TOOL(MARIADB, mariadb_config)
- if test "x$ac_cv_prog_ac_ct_MARIADB" = "xmariadb_config"; then
- MYSQLTOOL="mariadb_config"
-+ echo "mariadb check tool: $ac_cv_prog_ac_ct_MARIADB"
-+ echo "MYSQLTOOL = mariadb_config"
- else
- PATH=$PATH:/usr/local/mysql/bin
- AC_CHECK_TOOL(MYSQL, mysql_config)
-- if test "x$ac_cv_prog_ac_ct_MYSQL" = "xmysql_config"; then
-- MYSQLTOOL="mysql_config"
-- else
-+ echo "mysql check tool: $ac_cv_prog_ac_ct_MYSQL"
-+ if test "x$ac_cv_prog_ac_ct_MYSQL" = "xx86_64-pc-linux-gnu-mysql_config"; then
-- MYSQLTOOL=""
-+ MYSQLTOOL="x86_64-pc-linux-gnu-mysql_config"
-+ echo "MYSQLTOOL = x86_64-pc-linux-gnu-mysql_config"
-+ else
-+ MYSQLTOOL="$ac_cv_prog_ac_ct_MYSQL"
-+ echo "MYSQLTOOL = $ac_cv_prog_ac_ct_MYSQL"
- fi
- fi
-
- if test -n "$MYSQLTOOL"; then
-+ echo "Running MYSQLTOOL"
- MYSQLLIBS="`$MYSQLTOOL --libs_r`"
- if test ".$MYSQLLIBS" != "."; then
- MYSQL_LIB="`$MYSQLTOOL --libs`"
diff --git a/net-analyzer/ntopng/files/ntopng-dont-build-ndpi.patch b/net-analyzer/ntopng/files/ntopng-dont-build-ndpi.patch
deleted file mode 100644
index b189cba..0000000
--- a/net-analyzer/ntopng/files/ntopng-dont-build-ndpi.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- configure.ac.old 2016-04-25 21:29:36.452888380 +0200
-+++ configure.ac 2016-04-25 21:30:04.679554971 +0200
-@@ -62,13 +62,6 @@
- fi
-
- NDPI_LIB=$NDPI_HOME/src/lib/.libs/libndpi.a
--AC_MSG_CHECKING(for $NDPI_LIB)
--if test -f "$NDPI_LIB" ; then :
-- AC_MSG_RESULT(found $NDPI_LIB)
--else
-- AC_MSG_RESULT(not found $NDPI_LIB: compiling)
-- cd $NDPI_HOME; ./autogen.sh; make; cd -
--fi
-
- AC_MSG_CHECKING(for ntopng professional edition)
- if test -d "pro"; then :
diff --git a/net-analyzer/ntopng/files/ntopng.conf.d b/net-analyzer/ntopng/files/ntopng.conf.d
deleted file mode 100644
index b53f5d4..0000000
--- a/net-analyzer/ntopng/files/ntopng.conf.d
+++ /dev/null
@@ -1,3 +0,0 @@
-NTOPNG_OPTS="-i eth0"
-NTOPNG_OPTS="${NTOPNG_OPTS} -m 192.168.0.0/16"
-NTOPNG_OPTS="${NTOPNG_OPTS} -d /var/lib/ntopng"
diff --git a/net-analyzer/ntopng/files/ntopng.init.d b/net-analyzer/ntopng/files/ntopng.init.d
deleted file mode 100644
index 4b577ff..0000000
--- a/net-analyzer/ntopng/files/ntopng.init.d
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net redis
-}
-
-start() {
- ebegin "Starting ntopng"
- start-stop-daemon --start --exec /usr/bin/ntopng --pidfile /var/run/ntopng.pid --make-pidfile --background -e LUA_PATH='/usr/share/ntopng/scripts/lua/modules/?.lua' -- --user ntopng ${NTOPNG_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping ntopng"
- start-stop-daemon --stop --exec /usr/bin/ntopng --pidfile /var/run/ntopng.pid
- eend $?
-}
diff --git a/net-analyzer/ntopng/metadata.xml b/net-analyzer/ntopng/metadata.xml
deleted file mode 100644
index f808124..0000000
--- a/net-analyzer/ntopng/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>jmbsvicetto@gentoo.org</email>
- <name>Jorge Manuel B. S. Vicetto</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">ntop</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-analyzer/ntopng/ntopng-2.4.ebuild b/net-analyzer/ntopng/ntopng-2.4.ebuild
deleted file mode 100644
index e718a5a..0000000
--- a/net-analyzer/ntopng/ntopng-2.4.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils user
-
-DESCRIPTION="Network traffic analyzer with web interface"
-HOMEPAGE="http://www.ntop.org/"
-SRC_URI="mirror://sourceforge/ntop/${PN}/${P}-stable.tar.gz"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="
- dev-db/sqlite:3
- dev-lang/luajit:2
- dev-libs/geoip
- dev-libs/glib:2
- dev-libs/libxml2
- net-analyzer/rrdtool
- net-libs/libpcap
- dev-python/pyzmq
-"
-RDEPEND="${DEPEND}
- dev-db/redis
-"
-
-S="${WORKDIR}"/${P}-stable
-
-src_prepare() {
- cat "${S}/configure.seed" | sed "s/@VERSION@/${PV}/g" | sed "s/@SHORT_VERSION@/${PV}/g" > "${S}/configure.ac"
- epatch "${FILESDIR}/${PN}-dont-build-ndpi.patch"
- eautoreconf
-
- cd "${S}/nDPI"
- eautoreconf
-}
-
-src_configure() {
- cd "${S}/nDPI"
- econf
- cd "${S}"
- econf
-}
-
-src_compile() {
- cd "${S}/nDPI"
- emake
-
- cd "${S}"
- emake
-}
-
-src_install() {
- SHARE_NTOPNG_DIR="${EPREFIX}/usr/share/${PN}"
- dodir ${SHARE_NTOPNG_DIR}
- insinto ${SHARE_NTOPNG_DIR}
- doins -r httpdocs
- doins -r scripts
-
- 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 "${EPREFIX}/var/lib/ntopng"
-}
-
-pkg_setup() {
- enewuser ntopng
-}
-
-pkg_postinst() {
- elog "ntopng default creadential are user='admin' password='admin'"
-}