mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
bandwidthd: update to 2.0.1-34, sqlite support and SMTP tracking
Addition of sqlite storage Tracking of SMTP traffic instead of P2P traffic Based on NethServer bandwidthd implementation Signed-off-by: Jean-Michel lacroix <lacroix@lepine-lacroix.info>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -24,11 +24,6 @@ if test -n "$x_libraries" && test "x$x_l
|
||||
LDFLAGS="$LDFLAGS -L$x_libraries"
|
||||
fi
|
||||
|
||||
-# May be equired for BSD
|
||||
-LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||
-
|
||||
-CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
||||
-
|
||||
#Check for Darwin sw directory
|
||||
AC_CHECK_FILE(/sw/lib, LDFLAGS="$LDFLAGS -L/sw/lib")
|
||||
AC_CHECK_FILE(/sw/include, CPPFLAGS="$CPPFLAGS -I/sw/include")
|
||||
@@ -55,8 +50,7 @@ AC_CHECK_LIB(pcap, pcap_open_live, ,
|
||||
[AC_CHECK_LIB(wpcap, pcap_open_live, ,[AC_MSG_ERROR([Bandwidthd requires but cannot find libpcap])])])
|
||||
|
||||
# Optional Library
|
||||
-AC_CHECK_FILE(/usr/lib, LDFLAGS="$LDFLAGS -L/usr/lib")
|
||||
-AC_CHECK_FILE(/usr/include/pgsql, CPPFLAGS="$CPPFLAGS -I/usr/include/pgsql")
|
||||
+AC_CHECK_FILE(/usr/local/pgsql/include, CPPFLAGS="$CPPFLAGS -I/usr/local/pgsql/include")
|
||||
AC_CHECK_LIB(pq, PQconnectdb,
|
||||
[AC_CHECK_LIB(pq,PQexecParams, ,AC_MSG_WARN([libpq exists but is too old... bandwidthd requires support for PQexecParams]))])
|
||||
AC_CHECK_LIB(sqlite3, sqlite3_open, ,AC_MSG_WARN([sqlite3 is recommended for storage of data but cannot be found]))
|
||||
Reference in New Issue
Block a user