summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2003-10-10 08:44:44 +0000
committercube <cube@pkgsrc.org>2003-10-10 08:44:44 +0000
commitf1cee044a6871690ae6bbd66902ac5d389ea091c (patch)
treefe64987c63cdd610ae99c203d9a22a49f8fb84d1 /net
parent23dedc23ee50a11ab6edcc40ebbf618d7a7d6a50 (diff)
downloadpkgsrc-f1cee044a6871690ae6bbd66902ac5d389ea091c.tar.gz
Update to 1.17. buildlink2-ify. OK'd by jlam@.
v1.17 Dec 12 2002 - fixed a stupid bug in TCP reassembly; having received a particular order of TCP out of frame segments, libnids could lost track of the current seq, and miss the following data stream - DLT_FDDI - benign typo in hash.c - mentioned usefulness of two process buffering on a fast network v1.17rc1 Aug 30 2002 - support for libnet-1.1 and --with-libnet=no - added support for libpcap save files - finally, DLT_LINUX_SLL is recognized - removed a horrible assumption on sizeof(pointer); it could result in segfault in scan.c - --enable-shared - __i386 -> __i386__ || __i386 :( - support for 802.1Q VLAN - support for wireless frames (DLT_IEEE802_11) - got rid of (obsolete) pcap_open_live_new - bail out if link type is unknown, instead of pretending it is ethernet - $(MAKE) -> $(MAKE) $(AM_MAKEFLAGS) - added a working link to Ptacek-Newsham paper - %hi -> %hu :) - align IP header if necessary (should not be) - improved libraries detection - mentioned usefulness od setsockopt(...SO_RCVBUF...) on a fast network v1.16 Nov 3 2000 - nah, at least a release forced by a security bug. A typo in libnids.c could cause libnids to segfault when source routed frame has been received. v1.15 Oct 9 2000 - token ring support - new configurable option (non-default): if a tcp callback hasn't processed all available data, it is called immediately again - fixed alignment in hash.c, which caused sigsegv on Sparc - another _obviously_ redundant include file added to configure test progs - html version of the API documentation
Diffstat (limited to 'net')
-rw-r--r--net/libnids/Makefile19
-rw-r--r--net/libnids/buildlink2.mk21
-rw-r--r--net/libnids/distinfo6
3 files changed, 33 insertions, 13 deletions
diff --git a/net/libnids/Makefile b/net/libnids/Makefile
index ccb7ac7cc37..83376ccec03 100644
--- a/net/libnids/Makefile
+++ b/net/libnids/Makefile
@@ -1,22 +1,21 @@
-# $NetBSD: Makefile,v 1.8 2003/07/17 22:51:20 grant Exp $
+# $NetBSD: Makefile,v 1.9 2003/10/10 08:44:44 cube Exp $
# $FreeBSD: ports/net/libnids/Makefile,v 1.5 2000/04/24 07:42:58 kris Exp $
#
-DISTNAME= libnids-1.14
+DISTNAME= libnids-1.17
CATEGORIES= net security
-MASTER_SITES= http://www.packetfactory.net/Projects/Libnids/dist/
+MASTER_SITES= http://www.avet.com.pl/~nergal/libnids/dist/
MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.packetfactory.net/Projects/Libnids/
+HOMEPAGE= http://www.avet.com.pl/~nergal/libnids/
COMMENT= Network monitoring library with TCP/IP reassembly
-DEPENDS= libnet-[0-9]*:../../devel/libnet
-
+USE_BUILDLINK2= yes
GNU_CONFIGURE= yes
-do-install:
- ${INSTALL_DATA} ${WRKSRC}/src/nids.h ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/src/libnids.a ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/src/libnids.3 ${PREFIX}/man/man3
+BUILDLINK_DEPMETHOD.libnet= build
+BUILDLINK_DEPMETHOD.libpcap= build
+.include "../../devel/libnet/buildlink2.mk"
+.include "../../net/libpcap/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/libnids/buildlink2.mk b/net/libnids/buildlink2.mk
new file mode 100644
index 00000000000..40fe87323a5
--- /dev/null
+++ b/net/libnids/buildlink2.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink2.mk,v 1.1 2003/10/10 08:44:44 cube Exp $
+
+.if !defined(LIBNIDS_BUILDLINK2_MK)
+LIBNIDS_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libnids
+BUILDLINK_DEPENDS.libnids?= libnids>=1.17
+BUILDLINK_PKGSRCDIR.libnids?= ../../net/libnids
+
+BUILDLINK_DEPMETHOD.libnids?= build
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libnids=libnids
+BUILDLINK_PREFIX.libnids_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libnids= include/nids.h
+BUILDLINK_FILES.libnids+= lib/libnids.a
+
+BUILDLINK_TARGETS+= libnids-buildlink
+
+libnids-buildlink: _BUILDLINK_USE
+
+.endif # LIBNIDS_BUILDLINK2_MK
diff --git a/net/libnids/distinfo b/net/libnids/distinfo
index 59716b5ecfe..6bed9064b79 100644
--- a/net/libnids/distinfo
+++ b/net/libnids/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2003/10/08 04:21:38 rtr Exp $
+$NetBSD: distinfo,v 1.4 2003/10/10 08:44:44 cube Exp $
-SHA1 (libnids-1.14.tar.gz) = b74640282d545a295643a74c6df60bc1f0aa4948
-Size (libnids-1.14.tar.gz) = 67695 bytes
+SHA1 (libnids-1.17.tar.gz) = 4c0f5044a9f8758c5ecfb07af33be8eff5ef2f97
+Size (libnids-1.17.tar.gz) = 98410 bytes
SHA1 (patch-aa) = 27004fe0f71c64b27e4f0c1f67377ba036f1b735