- Add ndpi 1.4.0

- While I'm here:
  - Use PORTVERSION
  - Use USES=pathfix
  - Use PLIST_SUB
  - Update WWW

nDPI is a ntop-maintained superset of the popular OpenDPI library. Its goal is
to extend the original library by adding new protocols that are otherwise
available only on the paid version of OpenDPI. Furthermore, we have modified
nDPI do be more suitable for traffic monitoring applications, by disabling
specific features that slow down the DPI engine while being them un-necessary
for network traffic monitoring.

WWW: http://www.ntop.org/products/ndpi/

PR:		ports/184209
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-12-02 08:02:31 +00:00
parent 5034f925da
commit 65500ed125
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335456
5 changed files with 46 additions and 0 deletions

View file

@ -406,6 +406,7 @@
SUBDIR += ncp SUBDIR += ncp
SUBDIR += ncplib SUBDIR += ncplib
SUBDIR += ndisc6 SUBDIR += ndisc6
SUBDIR += ndpi
SUBDIR += nemesis SUBDIR += nemesis
SUBDIR += nepenthes SUBDIR += nepenthes
SUBDIR += nepim SUBDIR += nepim

22
net/ndpi/Makefile Normal file
View file

@ -0,0 +1,22 @@
# Created by: Muhammad Moinur Rahman <5u623l20@gmail.com>
# $FreeBSD$
PORTNAME= ndpi
PORTVERSION= 1.4.0
CATEGORIES= net
MASTER_SITES= SF/ntop/nDPI
DISTNAME= nDPI-${PORTVERSION}_r7023
MAINTAINER= 5u623l20@gmail.com
COMMENT= ntop-maintained superset of the popular OpenDPI library
LICENSE= GPLv3
CONFIGURE_ARGS= --with-pic
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= pathfix pkgconfig
PLIST_SUB= MAJOR_VER=${PORTVERSION:R}
.include <bsd.port.mk>

2
net/ndpi/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (nDPI-1.4.0_r7023.tar.gz) = a06b45cbe9336d40acb7892a3399f41e7e341a37fd2526d0b242587d21bd4197
SIZE (nDPI-1.4.0_r7023.tar.gz) = 522464

8
net/ndpi/pkg-descr Normal file
View file

@ -0,0 +1,8 @@
nDPI is a ntop-maintained superset of the popular OpenDPI library. Its goal is
to extend the original library by adding new protocols that are otherwise
available only on the paid version of OpenDPI. Furthermore, we have modified
nDPI do be more suitable for traffic monitoring applications, by disabling
specific features that slow down the DPI engine while being them un-necessary
for network traffic monitoring.
WWW: http://www.ntop.org/products/ndpi/

13
net/ndpi/pkg-plist Normal file
View file

@ -0,0 +1,13 @@
include/libndpi-%%MAJOR_VER%%/libndpi/ndpi_api.h
include/libndpi-%%MAJOR_VER%%/libndpi/ndpi_debug_functions.h
include/libndpi-%%MAJOR_VER%%/libndpi/ndpi_define.h
include/libndpi-%%MAJOR_VER%%/libndpi/ndpi_macros.h
include/libndpi-%%MAJOR_VER%%/libndpi/ndpi_protocols_osdpi.h
include/libndpi-%%MAJOR_VER%%/libndpi/ndpi_public_functions.h
lib/libndpi.a
lib/libndpi.la
lib/libndpi.so
lib/libndpi.so.1
libdata/pkgconfig/libndpi.pc
@dirrm include/libndpi-%%MAJOR_VER%%/libndpi
@dirrm include/libndpi-%%MAJOR_VER%%