summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawomir Lis <slis@gentoo.org>2016-11-19 19:24:26 +0100
committerSlawomir Lis <slis@gentoo.org>2016-11-19 19:24:26 +0100
commit4faac7f802c590fb18dce2ff5d0bf25549664e51 (patch)
treea41b93b09d8b2e6a5dfe007dbe59c694f79956a0 /net-analyzer/ntopng/files
parentdev-python/mysql-connector-python: remove vulnerable versions (diff)
downloadgentoo-4faac7f802c590fb18dce2ff5d0bf25549664e51.tar.gz
gentoo-4faac7f802c590fb18dce2ff5d0bf25549664e51.tar.bz2
gentoo-4faac7f802c590fb18dce2ff5d0bf25549664e51.zip
net-analyzer/ntopng: version bump to 2.4
Updated DEPEND also, as mysql client libraries are needed. Package-Manager: portage-2.3.2
Diffstat (limited to 'net-analyzer/ntopng/files')
-rw-r--r--net-analyzer/ntopng/files/ntopng-2.4-dont-build-ndpi.patch16
-rw-r--r--net-analyzer/ntopng/files/ntopng-2.4-mysqltool.patch17
2 files changed, 33 insertions, 0 deletions
diff --git a/net-analyzer/ntopng/files/ntopng-2.4-dont-build-ndpi.patch b/net-analyzer/ntopng/files/ntopng-2.4-dont-build-ndpi.patch
new file mode 100644
index 000000000000..b189cbabe285
--- /dev/null
+++ b/net-analyzer/ntopng/files/ntopng-2.4-dont-build-ndpi.patch
@@ -0,0 +1,16 @@
+--- 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-2.4-mysqltool.patch b/net-analyzer/ntopng/files/ntopng-2.4-mysqltool.patch
new file mode 100644
index 000000000000..fd403a2c8bf2
--- /dev/null
+++ b/net-analyzer/ntopng/files/ntopng-2.4-mysqltool.patch
@@ -0,0 +1,17 @@
+--- configure.ac.orig 2016-11-19 19:16:20.167724203 +0100
++++ configure.ac 2016-11-19 19:16:32.684391101 +0100
+@@ -302,13 +302,7 @@
+ if test "x$ac_cv_prog_ac_ct_MARIADB" = "xmariadb_config"; then
+ 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
+- MYSQLTOOL=""
+- fi
++ MYSQLTOOL="mysql_config"
+ fi
+
+ if test -n "$MYSQLTOOL"; then