pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libnids Update to 1.17. buildlink2-ify. OK'd by jl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0c25b741df08
branches: trunk
changeset: 462711:0c25b741df08
user: cube <cube%pkgsrc.org@localhost>
date: Fri Oct 10 08:44:44 2003 +0000
description:
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:
net/libnids/Makefile | 19 +++++++++----------
net/libnids/buildlink2.mk | 21 +++++++++++++++++++++
net/libnids/distinfo | 6 +++---
3 files changed, 33 insertions(+), 13 deletions(-)
diffs (72 lines):
diff -r f4db9352af15 -r 0c25b741df08 net/libnids/Makefile
--- a/net/libnids/Makefile Fri Oct 10 08:24:09 2003 +0000
+++ b/net/libnids/Makefile Fri Oct 10 08:44:44 2003 +0000
@@ -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@localhost
-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 -r f4db9352af15 -r 0c25b741df08 net/libnids/buildlink2.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libnids/buildlink2.mk Fri Oct 10 08:44:44 2003 +0000
@@ -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 -r f4db9352af15 -r 0c25b741df08 net/libnids/distinfo
--- a/net/libnids/distinfo Fri Oct 10 08:24:09 2003 +0000
+++ b/net/libnids/distinfo Fri Oct 10 08:44:44 2003 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index