Commit graph

26 commits

Author SHA1 Message Date
obache
f00b3dfe6c Some clean up realted to net/libnet{10,11}.
* buildlink bin/libnet{10,11}-config to bin/libnet-config for comvenience
  (they ware renamed in pkgsrc to avoid conflict)
* remove -lnet from BUILDLINK_CPPFLAGS.libnet11.
  linker flags should not be in CPPFLAGS, and it berak likage with libtool
  as reported in PR 37300.
* libnet11 install just a static library, so set defaut DEPMETHOD = build

Bump PKGREVISION for libnet11 related packages (net/isic will be updated later).
2009-12-09 12:27:27 +00:00
obache
c2f17b7733 Set LICENSE=gnu-gpl-v2 2009-12-09 11:25:52 +00:00
adrianp
2edbb272f7 Allow glib to be disabled
It's still enabled by default so no PKGREVISION bump
2009-05-06 21:54:54 +00:00
cube
c0e62768f1 Silence some more pkglint warnings. 2009-02-24 00:44:26 +00:00
cube
e4a32b18f4 - Update to 1.23
- Drop maintainership
- Use an option group for libnet version
- Add USE_DESTDIR support

v1.23 Feb 23 2008
- fixed remotely triggerable NULL dereference in ip_fragment.c
- fix DLT_PRISM_HEADER linkoffset calculation
- check for DATA_FRAME_IS_QOS in wireless frames
- free queued tcp segments with too old seq

v1.22 Jul 22 2007
- in TCP stream, the byte with absolute offset 0 was treated as urgent data;
fixed
- DLT_IEEE802_11_RADIO handling
- added a few missing checks for failed malloc

v1.21 May 10 2006
- more externals to access libnids' intrinsics from the outside
- nids_unregister_*()
- UDP checksumming fix (0 is not an error according to RFC768)
- nids_params.tcp_workarounds
- nids_params.multiproc and queue_limit: merged a patch which creates a
separate thread for packet capture;
- in killtcp.c, send two more RST packets (required because of MS05-019
patch)
- glibc 2.4 syslog.h disaster workaround
2009-02-24 00:42:29 +00:00
adrianp
446c26a512 buildlink updates to handle the new libnet package structure
bump PKGREVISION
2007-02-18 18:53:10 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
adrianp
23affefed0 - Add support for building with libnet 1.1.x branch using options.mk
- Issue highlighted by diro@nixsys.bz in PR# 29814
2005-04-05 22:13:29 +00:00
wiz
a2dd9d18b9 Update to 1.20:
v1.20 Feb 4 2005
- added wscale option parsing; surprisingly, it seems to be in some use
- added nids_dispatch(), for systems which do not ignore pcap timeout
- ability to specify hosts/networks for which we do not check checksums

v1.19 Aug 08 2004
- fixed signed/unsigned comparisons; 1.18 could be possibly crashed in tcp
  options parsing (though an unlikely to happen memory layout is required);
  now the source is compiled with -W -Wall
- export pcap header of the last received packet (to get timestamp etc)
- export the timeout parameter to pcap_open_live in params
- support DLT_PRISM_HEADER
- support DLT_PPP_SERIAL
- let through dataless acks
- fixed raw_init() prototype
- switched to use %edi instead of %ebx in csum_partial to make gcc-3.5 happy
  when compiling with -fPIC; cleaned inline asm
- fixed a bug when a queued FIN segment was not processed properly, which
  resulted in not closing a stream
2005-03-23 17:06:33 +00:00
adrianp
0c68e0f862 Fix BUILDLINK_DEPENDS.libnet for bulk-builds 2005-02-05 16:11:47 +00:00
adrianp
a4672a284b Force all current packages using the libnet 1.0.x tree to use a
verision of libnet <= 1.0.1b.  This will prevent the case where the user
has installed the libnet 1.1.x branch and then tries to install an application
that is not compatible with the 1.1.x tree.

Over time the list of these applications that require the 1.0.x branch
will be reduced as they are updated to later versions that support the
libnet 1.1.x branch.

This addresses PR# 29056 opened by diro (at) nixsys.bz, thanks for the PR !
2005-01-28 23:35:59 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
cube
2d05dd1b20 Add a patch to support NetBSD-specific DLT_PPP_SERIAL type. It will be in
the next version of libnids.
Patch from Jean-Edouard BABIN in private mail.
2004-05-29 22:14:23 +00:00
snj
95246413ca Convert to buildlink3. 2004-04-25 04:20:11 +00:00
grant
52f1b46a37 remove unneeded CONFIG_{GUESS,SUB}_OVERRIDE, as bsd.pkg.mk does this
automatically now.
2004-02-14 00:54:44 +00:00
kristerw
561078e105 Override config.sub and config.guess to let it recognize shark. 2003-12-21 17:44:36 +00:00
cube
3f8ce783de Update to version 1.18. This release fixes a buffer overflow in TCP
fragment reassembly code. CVE reference for that vulnerability is
CAN-2003-0850.

Note homepage relocation, and take over maintainership since that's
apparently what I've become.

v1.18 Oct 15 2003
- reject tcp packets with old timestamp; needed to pass fragroute test;
  well, linux 2.0.36 did not support this ;)
- fixed memory corruption which could be caused by overlarge TCP packets
- adjusted checksum.c to not use multiline literals (for gcc 3.3)
- in configure.in, even if found libnet files, try compilation; there is
  another library with the same name
- fix a bug in "collect" field handling; if you did collect-- and then
  collect++ (which is rare), you would get a single junk packet
- correct handling of exec_prefix in configure.in
- unlink config.status in "make distclean"
- use pcap_hdr->caplen instead pcap_hdr->len; the only gain seems to be to
  gracefully handle pcap files with too short snaplen
- changed soname to libnids.so.1.x, as binary compatibility is not
  guaranteed
- switched to sourceforge as homepage
2003-10-28 16:57:00 +00:00
cube
f1cee044a6 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
2003-10-10 08:44:44 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
itojun
4065915333 use devel/libnet, not net/libnet (devel/libnet has been there for
more than half a year)
2000-08-14 12:04:56 +00:00
itojun
22eebc63ff s/BUILD_DEPENDS/DEPENDS/ (correct?) 2000-08-11 08:12:06 +00:00
itojun
4ea299a7c0 adapt to netbsd build. use 1.14, not 1.13 2000-08-11 08:07:02 +00:00
itojun
133ad30cbb libnids 1.13 2000-08-11 08:00:56 +00:00