Skip to content

Commit

Permalink
ntopng: revision bump (ndpi 4.12)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 authored and daeho-ro committed Dec 22, 2024
1 parent c87a787 commit f0ffe20
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Formula/n/ntopng.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class Ntopng < Formula
desc "Next generation version of the original ntop"
homepage "https://www.ntop.org/products/traffic-analysis/ntop/"
license "GPL-3.0-only"
revision 1
revision 2

stable do
url "https://github.com/ntop/ntopng/archive/refs/tags/6.2.tar.gz"
Expand Down Expand Up @@ -63,6 +63,12 @@ class Ntopng < Formula
depends_on "libcap"
end

# Fix for removed api changes, should be removed in next release
patch do
url "https://github.com/ntop/ntopng/commit/8bb6766039031941bd82fb963505dfc93655e85b.patch?full_index=1"
sha256 "1baef0c114d72be76f9a05447718b6180a156e40cb4634fd5d96c60b63f2e73e"
end

def install

Check failure on line 72 in Formula/n/ntopng.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew install --verbose --formula --build-bottle ntopng` failed on macOS Sonoma (14) on Apple Silicon!

clang++ -fpie -fno-color-diagnostics -g -O2 -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2 -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2/include -I /opt/homebrew/include -Wall -I/usr/local/include -std=c++1y -I/opt/homebrew/Cellar/hiredis/1.2.0/include/hiredis -I/opt/homebrew/Cellar/hiredis/1.2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/include/hiredis -I/opt/homebrew/Cellar/libmaxminddb/1.11.0/include -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2/third-party/mongoose -I/opt/homebrew/Cellar/json-c/0.18/include -I/opt/homebrew/Cellar/json-c/0.18/include/json-c -I/opt/homebrew/opt/ndpi/include/ndpi -I/opt/homebrew/opt/ndpi/include/ndpi/../lib/third_party/include -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2/third-party/lua-5.4.6/src -I/opt/homebrew/Cellar/rrdtool/1.9.0/include -I/opt/homebrew/Cellar/mariadb-connector-c/3.4.3/include/mariadb -I/opt/homebrew/Cellar/mariadb-connector-c/3.4.3/include/mariadb/mysql -I/opt/homebrew/Cellar/zeromq/4.3.5_1/include -I/opt/homebrew/Cellar/libsodium/1.0.20/include -g -O2 -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2 -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2/include -Wno-address-of-packed-member -Wno-unused-function -I /opt/homebrew/include -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2/third-party/http-client-c/src/ -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/usr/include/openssl -DDATA_DIR='"/opt/homebrew/Cellar/ntopng/6.2_2/share"' -c src/AddressResolution.cpp -o src/AddressResolution.o clang++ -fpie -fno-color-diagnostics -g -O2 -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2 -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2/include -I /opt/homebrew/include -Wall -I/usr/local/include -std=c++1y -I/opt/homebrew/Cellar/hiredis/1.2.0/include/hiredis -I/opt/homebrew/Cellar/hiredis/1.2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/include/hiredis -I/opt/homebrew/Cellar/libmaxminddb/1.11.0/include -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2/third-party/mongoose -I/opt/homebrew/Cellar/json-c/0.18/include -I/opt/homebrew/Cellar/json-c/0.18/include/json-c -I/opt/homebrew/opt/ndpi/include/ndpi -I/opt/homebrew/opt/ndpi/include/ndpi/../lib/third_party/include -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2/third-party/lua-5.4.6/src -I/opt/homebrew/Cellar/rrdtool/1.9.0/include -I/opt/homebrew/Cellar/mariadb-connector-c/3.4.3/include/mariadb -I/opt/homebrew/Cellar/mariadb-connector-c/3.4.3/include/mariadb/mysql -I/opt/homebrew/Cellar/zeromq/4.3.5_1/include -I/opt/homebrew/Cellar/libsodium/1.0.20/include -g -O2 -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2 -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2/include -Wno-address-of-packed-member -Wno-unused-function -I /opt/homebrew/include -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2/third-party/http-client-c/src/ -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/usr/include/openssl -DDATA_DIR='"/opt/homebrew/Cellar/ntopng/6.2_2/share"' -c src/AddressTree.cpp -o src/AddressTree.o clang++ -fpie -fno-color-diagnostics -g -O2 -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2 -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2/include -I /opt/homebrew/include -Wall -I/usr/local/include -std=c++1y -I/opt/homebrew/Cellar/hiredis/1.2.0/include/hiredis -I/opt/homebrew/Cellar/hiredis/1.2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/include/hiredis -I/opt/homebrew/Cellar/libmaxminddb/1.11.0/include -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2/third-party/mongoose -I/opt/homebrew/Cellar/json-c/0.18/include -I/opt/homebrew/Cellar/json-c/0.18/include/json-c -I/opt/homebrew/opt/ndpi/include/ndpi -I/opt/homebrew/opt/ndpi/include/ndpi/../lib/third_party/include -I/private/tmp/ntopng-20241221-15548-jm9epc/ntopng-6.2/third-party/lua-5.4.6/src -I/opt/homebrew/Cellar/rrdtool/1.9.0/include -I/opt/homebrew/Cellar/mariadb-connector-c/3.4.3/include/mariadb -I/opt/homebrew/Cellar/mariadb-connector-c/3.4.3/include/mariadb/mysql -I/opt/homebrew/Cellar/zeromq/4.3.5_1/include -I/opt/homebrew/Cellar/libsodium/1.0.20/include -g -O2

Check failure on line 72 in Formula/n/ntopng.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

`brew install --verbose --formula --build-bottle ntopng` failed on macOS Ventura (13) on Apple Silicon!

clang++ -fpie -fno-color-diagnostics -g -O2 -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2 -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2/include -I /opt/homebrew/include -Wall -I/usr/local/include -std=c++1y -I/opt/homebrew/Cellar/hiredis/1.2.0/include/hiredis -I/opt/homebrew/Cellar/hiredis/1.2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/include/hiredis -I/opt/homebrew/Cellar/libmaxminddb/1.11.0/include -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2/third-party/mongoose -I/opt/homebrew/Cellar/json-c/0.18/include -I/opt/homebrew/Cellar/json-c/0.18/include/json-c -I/opt/homebrew/opt/ndpi/include/ndpi -I/opt/homebrew/opt/ndpi/include/ndpi/../lib/third_party/include -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2/third-party/lua-5.4.6/src -I/opt/homebrew/Cellar/rrdtool/1.9.0/include -I/opt/homebrew/Cellar/mariadb-connector-c/3.4.3/include/mariadb -I/opt/homebrew/Cellar/mariadb-connector-c/3.4.3/include/mariadb/mysql -I/opt/homebrew/Cellar/zeromq/4.3.5_1/include -I/opt/homebrew/Cellar/libsodium/1.0.20/include -g -O2 -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2 -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2/include -Wno-address-of-packed-member -Wno-unused-function -I /opt/homebrew/include -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2/third-party/http-client-c/src/ -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/usr/include/openssl -DDATA_DIR='"/opt/homebrew/Cellar/ntopng/6.2_2/share"' -c src/AddressResolution.cpp -o src/AddressResolution.o clang++ -fpie -fno-color-diagnostics -g -O2 -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2 -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2/include -I /opt/homebrew/include -Wall -I/usr/local/include -std=c++1y -I/opt/homebrew/Cellar/hiredis/1.2.0/include/hiredis -I/opt/homebrew/Cellar/hiredis/1.2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/include/hiredis -I/opt/homebrew/Cellar/libmaxminddb/1.11.0/include -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2/third-party/mongoose -I/opt/homebrew/Cellar/json-c/0.18/include -I/opt/homebrew/Cellar/json-c/0.18/include/json-c -I/opt/homebrew/opt/ndpi/include/ndpi -I/opt/homebrew/opt/ndpi/include/ndpi/../lib/third_party/include -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2/third-party/lua-5.4.6/src -I/opt/homebrew/Cellar/rrdtool/1.9.0/include -I/opt/homebrew/Cellar/mariadb-connector-c/3.4.3/include/mariadb -I/opt/homebrew/Cellar/mariadb-connector-c/3.4.3/include/mariadb/mysql -I/opt/homebrew/Cellar/zeromq/4.3.5_1/include -I/opt/homebrew/Cellar/libsodium/1.0.20/include -g -O2 -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2 -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2/include -Wno-address-of-packed-member -Wno-unused-function -I /opt/homebrew/include -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2/third-party/http-client-c/src/ -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/usr/include/openssl -DDATA_DIR='"/opt/homebrew/Cellar/ntopng/6.2_2/share"' -c src/AddressTree.cpp -o src/AddressTree.o clang++ -fpie -fno-color-diagnostics -g -O2 -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2 -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2/include -I /opt/homebrew/include -Wall -I/usr/local/include -std=c++1y -I/opt/homebrew/Cellar/hiredis/1.2.0/include/hiredis -I/opt/homebrew/Cellar/hiredis/1.2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/include/hiredis -I/opt/homebrew/Cellar/libmaxminddb/1.11.0/include -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2/third-party/mongoose -I/opt/homebrew/Cellar/json-c/0.18/include -I/opt/homebrew/Cellar/json-c/0.18/include/json-c -I/opt/homebrew/opt/ndpi/include/ndpi -I/opt/homebrew/opt/ndpi/include/ndpi/../lib/third_party/include -I/private/tmp/ntopng-20241221-15444-g3eh6e/ntopng-6.2/third-party/lua-5.4.6/src -I/opt/homebrew/Cellar/rrdtool/1.9.0/include -I/opt/homebrew/Cellar/mariadb-connector-c/3.4.3/include/mariadb -I/opt/homebrew/Cellar/mariadb-connector-c/3.4.3/include/mariadb/mysql -I/opt/homebrew/Cellar/zeromq/4.3.5_1/include -I/opt/homebrew/Cellar/libsodium/1.0.20/include -g -O2
# Remove bundled libraries
rm_r Dir["third-party/{json-c,rrdtool}*"]
Expand Down

0 comments on commit f0ffe20

Please sign in to comment.