svn commit: r318350 - in head/net: . libnids libnids-libnet11

Wesley Shields wxs at FreeBSD.org
Fri May 17 02:00:57 UTC 2013


Author: wxs
Date: Fri May 17 02:00:55 2013
New Revision: 318350
URL: http://svnweb.freebsd.org/changeset/ports/318350

Log:
  libnids-libnet11 is a slave port of libnids that specifically uses libnet11.
  
  This is required because vortex needs libnids built with libnet11 while other
  ports (dsniff) needs libnids built with libnet10.

Added:
  head/net/libnids-libnet11/
  head/net/libnids-libnet11/Makefile   (contents, props changed)
  head/net/libnids-libnet11/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile
  head/net/libnids/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Fri May 17 01:31:51 2013	(r318349)
+++ head/net/Makefile	Fri May 17 02:00:55 2013	(r318350)
@@ -330,6 +330,7 @@
     SUBDIR += libnetdude
     SUBDIR += libnfs
     SUBDIR += libnids
+    SUBDIR += libnids-libnet11
     SUBDIR += libnss-mysql
     SUBDIR += liboauth
     SUBDIR += libopennet

Added: head/net/libnids-libnet11/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libnids-libnet11/Makefile	Fri May 17 02:00:55 2013	(r318350)
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PKGNAMESUFFIX=	-libnet11
+
+COMMENT=	Network monitoring library with TCP/IP reassembly using libnet11
+
+MASTERDIR=	${.CURDIR}/../libnids
+
+DESCR=		${.CURDIR}/pkg-descr
+
+WITH_LIBNET11=	yes
+
+CONFLICTS?=	libnids-[0-9]*
+
+DISTINFO_FILE=	${MASTERDIR}/distinfo
+
+.include "${MASTERDIR}/Makefile"

Added: head/net/libnids-libnet11/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libnids-libnet11/pkg-descr	Fri May 17 02:00:55 2013	(r318350)
@@ -0,0 +1,13 @@
+Libnids is a library that provides the function of one of the NIDS
+(Network Intrusion Detection System) components, namely E-component. The
+libnids code watches all local network traffic, processes received
+datagrams a bit, and provides convenient information on them to analyzing
+modules. Libnids performs:
+
+a) assembly of TCP segments into TCP streams
+b) IP defragmentation
+c) TCP port scan detection 
+
+This slave port builds with libnet11 by default.
+
+WWW: http://libnids.sf.net

Modified: head/net/libnids/Makefile
==============================================================================
--- head/net/libnids/Makefile	Fri May 17 01:31:51 2013	(r318349)
+++ head/net/libnids/Makefile	Fri May 17 02:00:55 2013	(r318350)
@@ -7,15 +7,21 @@ CATEGORIES=	net security
 MASTER_SITES=	SF
 
 MAINTAINER=	wxs at FreeBSD.org
-COMMENT=	Network monitoring library with TCP/IP reassembly
+COMMENT?=	Network monitoring library with TCP/IP reassembly
 
 LICENSE=	GPLv2
 
+CONFLICTS?=	libnids-libnet11-[0-9]*
+
 OPTIONS_DEFINE=	LIBNET10 LIBNET11 GLIB2
 LIBNET10_DESC=	Use libnet 1.0.x
 LIBNET11_DESC=	Use libnet 1.1.x
 GLIB2_DESC=	Use GLIB2 for multiprocessing support
+.if defined(WITH_LIBNET11)
+OPTIONS_DEFAULT=	LIBNET11 GLIB2
+.else
 OPTIONS_DEFAULT=	LIBNET10 GLIB2
+.endif
 
 WANT_GNOME=	yes
 USES=		pkgconfig


More information about the svn-ports-all mailing list