pkgsrc/net/ndpi/Makefile

33 lines
806 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.6 2019/07/12 09:30:34 adam Exp $
DISTNAME= nDPI-2.8
ndpi: updated to 2.4 2.4 Stable: New Supported Protocols and Services ------------------------------------ Showmax.com Musical.ly RapidVideo VidTO streaming service Apache JServ Protocol Facebook Messenger FacebookZero protocol Improvements ------------ Improved YouTube support Improved Netflix support Updated Google Hangout detection Updated Twitter address range Updated Viber ports, subnet and domain Updated AmazonVideo detection Updated list of FaceBook sites Initial Skype in/out support Improved Tor detection Improved hyperscan support and category definition Custom categories loading, extended ndpiReader (-c <file>) for loading name-based categories Fixes ----- Fixes for Instagram flows classified as Facebook Fixed Spotify detection Fixed minimum packet payload length for SSDP Fixed length check in MSN, x-steam-sid, Tor certificate name Increase client's maximum payload length for SSH Fixed end-of-line bounds handling Fixed substring matching Fix for handling IP address based custom categories Repaired wrong timestamp calculation Fixed memory leak Optimized memory usage Other/Changes ------------- New API calls: ndpi_set_detection_preferences() ndpi_load_hostname_category() ndpi_enable_loaded_categories() ndpi_fill_protocol_category() ndpi_process_extra_packet() Skype CallIn/CallOut are now set as Skype.SkypeCallOut Skype.SkypeCallIn Added support for SMTPS on port 587 Changed RTP from VoIP to Media category Added site unavailable category Added custom categories CUSTOM_CATEGORY_MINING, CUSTOM_CATEGORY_MALWARE, CUSTOM_CATEGORY_ADVERTISEMENT, CUSTOM_CATEGORY_BANNED_SITE Implemented hash-based categories Converted some not popular protocols to NDPI_PROTOCOL_GENERIC with category detection
2018-10-18 18:24:29 +02:00
PKGNAME= ${DISTNAME:tl}
CATEGORIES= net
ndpi: updated to 2.4 2.4 Stable: New Supported Protocols and Services ------------------------------------ Showmax.com Musical.ly RapidVideo VidTO streaming service Apache JServ Protocol Facebook Messenger FacebookZero protocol Improvements ------------ Improved YouTube support Improved Netflix support Updated Google Hangout detection Updated Twitter address range Updated Viber ports, subnet and domain Updated AmazonVideo detection Updated list of FaceBook sites Initial Skype in/out support Improved Tor detection Improved hyperscan support and category definition Custom categories loading, extended ndpiReader (-c <file>) for loading name-based categories Fixes ----- Fixes for Instagram flows classified as Facebook Fixed Spotify detection Fixed minimum packet payload length for SSDP Fixed length check in MSN, x-steam-sid, Tor certificate name Increase client's maximum payload length for SSH Fixed end-of-line bounds handling Fixed substring matching Fix for handling IP address based custom categories Repaired wrong timestamp calculation Fixed memory leak Optimized memory usage Other/Changes ------------- New API calls: ndpi_set_detection_preferences() ndpi_load_hostname_category() ndpi_enable_loaded_categories() ndpi_fill_protocol_category() ndpi_process_extra_packet() Skype CallIn/CallOut are now set as Skype.SkypeCallOut Skype.SkypeCallIn Added support for SMTPS on port 587 Changed RTP from VoIP to Media category Added site unavailable category Added custom categories CUSTOM_CATEGORY_MINING, CUSTOM_CATEGORY_MALWARE, CUSTOM_CATEGORY_ADVERTISEMENT, CUSTOM_CATEGORY_BANNED_SITE Implemented hash-based categories Converted some not popular protocols to NDPI_PROTOCOL_GENERIC with category detection
2018-10-18 18:24:29 +02:00
MASTER_SITES= ${MASTER_SITE_GITHUB:=ntop/}
GITHUB_PROJECT= nDPI
MAINTAINER= adam@NetBSD.org
2017-11-06 14:29:38 +01:00
HOMEPAGE= https://www.ntop.org/
COMMENT= Library for deep-packet inspection
LICENSE= gnu-lgpl-v3
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= autoconf automake gmake pkg-config
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE= libndpi.pc.in
ndpi: updated to 2.4 2.4 Stable: New Supported Protocols and Services ------------------------------------ Showmax.com Musical.ly RapidVideo VidTO streaming service Apache JServ Protocol Facebook Messenger FacebookZero protocol Improvements ------------ Improved YouTube support Improved Netflix support Updated Google Hangout detection Updated Twitter address range Updated Viber ports, subnet and domain Updated AmazonVideo detection Updated list of FaceBook sites Initial Skype in/out support Improved Tor detection Improved hyperscan support and category definition Custom categories loading, extended ndpiReader (-c <file>) for loading name-based categories Fixes ----- Fixes for Instagram flows classified as Facebook Fixed Spotify detection Fixed minimum packet payload length for SSDP Fixed length check in MSN, x-steam-sid, Tor certificate name Increase client's maximum payload length for SSH Fixed end-of-line bounds handling Fixed substring matching Fix for handling IP address based custom categories Repaired wrong timestamp calculation Fixed memory leak Optimized memory usage Other/Changes ------------- New API calls: ndpi_set_detection_preferences() ndpi_load_hostname_category() ndpi_enable_loaded_categories() ndpi_fill_protocol_category() ndpi_process_extra_packet() Skype CallIn/CallOut are now set as Skype.SkypeCallOut Skype.SkypeCallIn Added support for SMTPS on port 587 Changed RTP from VoIP to Media category Added site unavailable category Added custom categories CUSTOM_CATEGORY_MINING, CUSTOM_CATEGORY_MALWARE, CUSTOM_CATEGORY_ADVERTISEMENT, CUSTOM_CATEGORY_BANNED_SITE Implemented hash-based categories Converted some not popular protocols to NDPI_PROTOCOL_GENERIC with category detection
2018-10-18 18:24:29 +02:00
MAKE_ENV+= OS=${OPSYS}
2017-06-15 12:06:39 +02:00
# Portable types
CFLAGS.SunOS+= -Du_int8_t=uint8_t
CFLAGS.SunOS+= -Du_int16_t=uint16_t
CFLAGS.SunOS+= -Du_int32_t=uint32_t
CFLAGS.SunOS+= -Du_int64_t=uint64_t
pre-configure:
ndpi: updated to 2.4 2.4 Stable: New Supported Protocols and Services ------------------------------------ Showmax.com Musical.ly RapidVideo VidTO streaming service Apache JServ Protocol Facebook Messenger FacebookZero protocol Improvements ------------ Improved YouTube support Improved Netflix support Updated Google Hangout detection Updated Twitter address range Updated Viber ports, subnet and domain Updated AmazonVideo detection Updated list of FaceBook sites Initial Skype in/out support Improved Tor detection Improved hyperscan support and category definition Custom categories loading, extended ndpiReader (-c <file>) for loading name-based categories Fixes ----- Fixes for Instagram flows classified as Facebook Fixed Spotify detection Fixed minimum packet payload length for SSDP Fixed length check in MSN, x-steam-sid, Tor certificate name Increase client's maximum payload length for SSH Fixed end-of-line bounds handling Fixed substring matching Fix for handling IP address based custom categories Repaired wrong timestamp calculation Fixed memory leak Optimized memory usage Other/Changes ------------- New API calls: ndpi_set_detection_preferences() ndpi_load_hostname_category() ndpi_enable_loaded_categories() ndpi_fill_protocol_category() ndpi_process_extra_packet() Skype CallIn/CallOut are now set as Skype.SkypeCallOut Skype.SkypeCallIn Added support for SMTPS on port 587 Changed RTP from VoIP to Media category Added site unavailable category Added custom categories CUSTOM_CATEGORY_MINING, CUSTOM_CATEGORY_MALWARE, CUSTOM_CATEGORY_ADVERTISEMENT, CUSTOM_CATEGORY_BANNED_SITE Implemented hash-based categories Converted some not popular protocols to NDPI_PROTOCOL_GENERIC with category detection
2018-10-18 18:24:29 +02:00
cd ${WRKSRC} && ./autogen.sh
.include "../../net/libpcap/buildlink3.mk"
.include "../../textproc/json-c/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"