upgrade to libnids 1.14; partially from <obecian@celerity.bartoli.org>
with a few changes made by me todo with Faking
This commit is contained in:
parent
a42cd89f25
commit
8d56098266
@ -1,18 +1,14 @@
|
||||
# Makefile for: libnids
|
||||
# Version required: 1.12
|
||||
# Date created: Halloween 1999
|
||||
# Whom: dugsong@monkey.org
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.11 2000/06/19 02:59:56 dugsong Exp $
|
||||
|
||||
DISTNAME= libnids-1.13
|
||||
# $OpenBSD: Makefile,v 1.12 2000/07/13 07:09:30 brad Exp $
|
||||
|
||||
DISTNAME= libnids-1.14
|
||||
CATEGORIES= net
|
||||
NEED_VERSION= 1.230
|
||||
|
||||
NEED_VERSION= 1.310
|
||||
MASTER_SITES= http://www.packetfactory.net/Projects/Libnids/dist/
|
||||
|
||||
HOMEPAGE= http://www.packetfactory.net/Projects/Libnids/
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a::net/libnet
|
||||
|
||||
MAINTAINER= dugsong@monkey.org
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
@ -20,17 +16,8 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
BUILD_DEPENDS= ${PREFIX}/lib/libnet.a::net/libnet
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
GNU_CONFIGURE= Yes
|
||||
FAKE= Yes
|
||||
|
||||
post-install:
|
||||
${INSTALL} ${WRKSRC}/src/libnids.a \
|
||||
${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/src/nids.h \
|
||||
${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/src/libnids.3.mdoc \
|
||||
${PREFIX}/man/man3/libnids.3
|
||||
FAKE_FLAGS= AM_MAKEFLAGS="install_prefix=\"${WRKINST}\""
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (libnids-1.13.tar.gz) = b78929a83b17a9f1302824e455763fa5
|
||||
RMD160 (libnids-1.13.tar.gz) = 34153a876d78a117db3e6ed1b809844d5de5cefb
|
||||
SHA1 (libnids-1.13.tar.gz) = 29035c418693f56e61cfcefb51327c5177cabe92
|
||||
SHA1 (libnids-1.14.tar.gz) = eec6466015d5f3e191bdab1da2fb1e8332b41fa8
|
||||
RMD160 (libnids-1.14.tar.gz) = 6ad1d54851080a279b593527a57d9f99bebc6b11
|
||||
MD5 (libnids-1.14.tar.gz) = fee6fd45b55ab67cd599b066710ce1bc
|
||||
|
11
net/libnids/patches/patch-Makefile.in
Normal file
11
net/libnids/patches/patch-Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Thu Jul 13 02:54:57 2000
|
||||
+++ Makefile.in Thu Jul 13 02:55:11 2000
|
||||
@@ -6,7 +6,7 @@
|
||||
SUBDIRS = src samples
|
||||
|
||||
all install clean:
|
||||
- for dir in $(SUBDIRS) ; do (cd $$dir ; $(MAKE) $@) ; done
|
||||
+ for dir in $(SUBDIRS) ; do (cd $$dir ; $(MAKE) $(AM_MAKEFLAGS) $@) ; done
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile */Makefile */config.h config.* *~ src/nids.h
|
@ -1,12 +1,12 @@
|
||||
from Nergal's README:
|
||||
|
||||
Libnids is a library that provides a functionality of one of NIDS
|
||||
(Network Intrusion Detection System) components, namely E-component. It means
|
||||
that libnids code watches all local network traffic, cooks received datagrams
|
||||
a bit (quite a bit ;)), and provides convinient information on them to
|
||||
Libnids is a library that provides a functionality of one of NIDS
|
||||
(Network Intrusion Detection System) components, namely E-component. It means
|
||||
that libnids code watches all local network traffic, cooks received datagrams
|
||||
a bit (quite a bit ;)), and provides convinient information on them to
|
||||
analyzing modules of NIDS. Libnids performs:
|
||||
a) assembly of TCP segments into TCP streams
|
||||
b) IP defragmentation
|
||||
c) TCP port scan detection
|
||||
c) TCP port scan detection
|
||||
|
||||
-d.
|
||||
WWW: ${HOMEPAGE}
|
||||
|
@ -1,3 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2000/07/13 07:09:32 brad Exp $
|
||||
include/nids.h
|
||||
lib/libnids.a
|
||||
man/man3/libnids.3
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
this code has not been audited for buffer overflows, etc.
|
||||
any more than the Linux kernel has. caveat user.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user