You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/ntopng/files/ntopng-3.0-gentoo.patch

61 lines
1.6 KiB

--- a/configure.ac
+++ b/configure.ac
@@ -19,7 +19,6 @@
# On CentOS 6 `git rev-list HEAD --count` does not work
#
#
-REVISION=`git log --pretty=oneline | wc -l`
if test -d "/usr/local/include"; then
CFLAGS="${CFLAGS} -I/usr/local/include"
@@ -48,33 +47,6 @@
SHORT_MACHINE=`uname -m | cut -b1-3`
-GIT_RELEASE="@GIT_RELEASE@"
-GIT_DATE="@GIT_DATE@"
-GIT_BRANCH="@GIT_BRANCH@"
-PRO_GIT_RELEASE="@PRO_GIT_RELEASE@"
-PRO_GIT_DATE="@PRO_GIT_DATE@"
-
-AC_MSG_CHECKING(for nDPI)
-NDPI_HOME=./nDPI
-if test -d "$NDPI_HOME" ; then :
- AC_MSG_RESULT(found in $NDPI_HOME)
-else
- NDPI_HOME=../nDPI
- if test -d "$NDPI_HOME"; then :
- AC_MSG_RESULT(found in $NDPI_HOME)
- else
- NDPI_HOME=$HOME/nDPI
- if test -d "$NDPI_HOME"; then :
- AC_MSG_RESULT(found in $NDPI_HOME)
- else
- AC_MSG_RESULT(not found)
- echo "Please do cd ..; git clone https://github.com/ntop/nDPI.git; cd nDPI; ./autogen.sh; make; cd ../ntopng"
- echo " and try again"
- exit
- fi
- fi
-fi
-
if test -d "/usr/include/openssl"; then :
AC_DEFINE_UNQUOTED(NO_SSL_DL, 1, [has openssl])
SSL_INC="`pkg-config --cflags libssl` -I/usr/include/openssl"
@@ -53,15 +53,6 @@
SSL_LIB="`pkg-config --libs libssl` -lssl -lcrypto"
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)
PRO_MAKEFILE_INC=
PRO_INC=