mirror of
https://git.freebsd.org/ports.git
synced 2025-07-14 07:49:16 -04:00
- Update ntopng to 3.8.d20181221 - Add USES=localbase to ndpi - Silence portlint warnings - Update WWW links - Add UPDATING note about data directory change nDPI changelog: https://github.com/ntop/nDPI/blob/dev/CHANGELOG.md ntopng changelog: https://github.com/ntop/ntopng/blob/dev/CHANGELOG.md
47 lines
1.3 KiB
Bash
47 lines
1.3 KiB
Bash
--- autogen.sh.orig 2018-12-21 16:33:57 UTC
|
|
+++ autogen.sh
|
|
@@ -5,44 +5,9 @@ NDPI_MINOR="6"
|
|
NDPI_PATCH="0"
|
|
NDPI_VERSION_SHORT="$NDPI_MAJOR.$NDPI_MINOR.$NDPI_PATCH"
|
|
|
|
-rm -f configure config.h config.h.in
|
|
-
|
|
-AUTOCONF=$(command -v autoconf)
|
|
-AUTOMAKE=$(command -v automake)
|
|
-LIBTOOL=$(command -v libtool)
|
|
-LIBTOOLIZE=$(command -v libtoolize)
|
|
-AUTORECONF=$(command -v autoreconf)
|
|
-
|
|
-if test -z $AUTOCONF; then
|
|
- echo "autoconf is missing: please install it and try again"
|
|
- exit
|
|
-fi
|
|
-
|
|
-if test -z $AUTOMAKE; then
|
|
- echo "automake is missing: please install it and try again"
|
|
- exit
|
|
-fi
|
|
-
|
|
-if test -z $LIBTOOL && test -z $LIBTOOLIZE ; then
|
|
- echo "libtool and libtoolize is missing: please install it and try again"
|
|
- exit
|
|
-fi
|
|
-
|
|
-if test -z $AUTORECONF; then
|
|
- echo "autoreconf is missing: please install it and try again"
|
|
- exit
|
|
-fi
|
|
-
|
|
cat configure.seed | sed \
|
|
-e "s/@NDPI_MAJOR@/$NDPI_MAJOR/g" \
|
|
-e "s/@NDPI_MINOR@/$NDPI_MINOR/g" \
|
|
-e "s/@NDPI_PATCH@/$NDPI_PATCH/g" \
|
|
-e "s/@NDPI_VERSION_SHORT@/$NDPI_VERSION_SHORT/g" \
|
|
> configure.ac
|
|
-
|
|
-autoreconf -ivf
|
|
-cat configure | sed "s/#define PACKAGE/#define NDPI_PACKAGE/g" | sed "s/#define VERSION/#define NDPI_VERSION/g" > configure.tmp
|
|
-cat configure.tmp > configure
|
|
-
|
|
-chmod +x configure
|
|
-./configure $*
|