Gentoo Archives: gentoo-commits

From: Slawek Lis <slis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ntopng/files/
Date: Tue, 20 Jun 2017 06:16:41
Message-Id: 1497939380.95791999df7cec9742de97dd87e0ecb3afeb1d94.slis@gentoo
1 commit: 95791999df7cec9742de97dd87e0ecb3afeb1d94
2 Author: Slawomir Lis <slis <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 20 06:16:20 2017 +0000
4 Commit: Slawek Lis <slis <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 20 06:16:20 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95791999
7
8 net-analyzer/ntopng: added missing files
9
10 Reported in 581256
11
12 Package-Manager: Portage-2.3.6, Repoman-2.3.2
13
14 net-analyzer/ntopng/files/configure-3.0.patch | 62 ++++++++++++++++++++++
15 .../ntopng/files/ntopng-3.0-mysqltool.patch | 17 ++++++
16 2 files changed, 79 insertions(+)
17
18 diff --git a/net-analyzer/ntopng/files/configure-3.0.patch b/net-analyzer/ntopng/files/configure-3.0.patch
19 new file mode 100644
20 index 00000000000..a2476f5b407
21 --- /dev/null
22 +++ b/net-analyzer/ntopng/files/configure-3.0.patch
23 @@ -0,0 +1,62 @@
24 +--- configure.ac.orig 2017-06-09 06:47:34.214516588 +0200
25 ++++ configure.ac 2017-06-09 06:48:01.547849759 +0200
26 +@@ -19,7 +19,6 @@
27 + # On CentOS 6 `git rev-list HEAD --count` does not work
28 + #
29 + #
30 +-REVISION=`git log --pretty=oneline | wc -l`
31 +
32 + if test -d "/usr/local/include"; then
33 + CFLAGS="${CFLAGS} -I/usr/local/include"
34 +@@ -48,33 +47,6 @@
35 +
36 + SHORT_MACHINE=`uname -m | cut -b1-3`
37 +
38 +-GIT_RELEASE="@GIT_RELEASE@"
39 +-GIT_DATE="@GIT_DATE@"
40 +-GIT_BRANCH="@GIT_BRANCH@"
41 +-PRO_GIT_RELEASE="@PRO_GIT_RELEASE@"
42 +-PRO_GIT_DATE="@PRO_GIT_DATE@"
43 +-
44 +-AC_MSG_CHECKING(for nDPI)
45 +-NDPI_HOME=./nDPI
46 +-if test -d "$NDPI_HOME" ; then :
47 +- AC_MSG_RESULT(found in $NDPI_HOME)
48 +-else
49 +- NDPI_HOME=../nDPI
50 +- if test -d "$NDPI_HOME"; then :
51 +- AC_MSG_RESULT(found in $NDPI_HOME)
52 +- else
53 +- NDPI_HOME=$HOME/nDPI
54 +- if test -d "$NDPI_HOME"; then :
55 +- AC_MSG_RESULT(found in $NDPI_HOME)
56 +- else
57 +- AC_MSG_RESULT(not found)
58 +- echo "Please do cd ..; git clone https://github.com/ntop/nDPI.git; cd nDPI; ./autogen.sh; make; cd ../ntopng"
59 +- echo " and try again"
60 +- exit
61 +- fi
62 +- fi
63 +-fi
64 +-
65 + if test -d "/usr/include/openssl"; then :
66 + AC_DEFINE_UNQUOTED(NO_SSL_DL, 1, [has openssl])
67 + SSL_INC="`pkg-config --cflags libssl` -I/usr/include/openssl"
68 +--- configure.ac.orig 2017-06-09 09:58:17.021114895 +0200
69 ++++ configure.ac 2017-06-09 09:58:24.227781519 +0200
70 +@@ -53,15 +53,6 @@
71 + SSL_LIB="`pkg-config --libs libssl` -lssl -lcrypto"
72 + fi
73 +
74 +-NDPI_LIB=$NDPI_HOME/src/lib/.libs/libndpi.a
75 +-AC_MSG_CHECKING(for $NDPI_LIB)
76 +-if test -f "$NDPI_LIB" ; then :
77 +- AC_MSG_RESULT(found $NDPI_LIB)
78 +-else
79 +- AC_MSG_RESULT(not found $NDPI_LIB: compiling)
80 +- cd $NDPI_HOME; ./autogen.sh; make; cd -
81 +-fi
82 +-
83 + AC_MSG_CHECKING(for ntopng professional edition)
84 + PRO_MAKEFILE_INC=
85 + PRO_INC=
86
87 diff --git a/net-analyzer/ntopng/files/ntopng-3.0-mysqltool.patch b/net-analyzer/ntopng/files/ntopng-3.0-mysqltool.patch
88 new file mode 100644
89 index 00000000000..e433f4e9559
90 --- /dev/null
91 +++ b/net-analyzer/ntopng/files/ntopng-3.0-mysqltool.patch
92 @@ -0,0 +1,17 @@
93 +--- configure.ac.orig 2017-06-09 09:52:26.387783657 +0200
94 ++++ configure.ac 2017-06-09 09:54:53.361116113 +0200
95 +@@ -335,13 +335,7 @@
96 + if test "x$ac_cv_prog_ac_ct_MARIADB" = "xmariadb_config"; then
97 + MYSQLTOOL="mariadb_config"
98 + else
99 +- PATH=$PATH:/usr/local/mysql/bin
100 +- AC_CHECK_TOOL(MYSQL, mysql_config)
101 +- if test "x$ac_cv_prog_ac_ct_MYSQL" = "xmysql_config"; then
102 +- MYSQLTOOL="mysql_config"
103 +- else
104 +- MYSQLTOOL=""
105 +- fi
106 ++ MYSQLTOOL="mysql_config"
107 + fi
108 +
109 + if test -n "$MYSQLTOOL"; then