argus-2.0.6.tar.gz
Peter Van Epp
vanepp at sfu.ca
Fri Dec 5 01:53:20 EST 2003
OK, I've (with these three patches) successfully compiled
argus-2.0.6.tar.gz and argus-clients-2.0.6.tar.gz on all of Mac OS 10.2 (if
anyone has 10.3 a test would be appreciated), FreeBSD 4.7 and 4.9 (if anyone
has FreeBSD 5.1 up a test would be appreciated until I get mine unscambled),
and OpenBSD 3.1 (test on later versions encouraged :-)) and NetBSD 1.5 (ditto
for later versions, I expect there are later versions of both I just haven't
upgraded yet). Testing on various Linux and Solaris versions appreciated, they
should be fine but testing to verify that is always good :-).
For argus-2.0.6.tar.gz, compat.h needs a patch for FreeBSD 4.9 (and
the earlier ones don't care either way :-)):
*** include/compat.h.orig Thu Dec 4 21:54:08 2003
--- include/compat.h Thu Dec 4 21:56:43 2003
***************
*** 177,183 ****
/* Types missing from some systems */
! #if !defined(__NetBSD__) && !defined(__OpenBSD__)
#ifndef ETHERTYPE_SPRITE
#define ETHERTYPE_SPRITE 0x0500
#endif
--- 177,183 ----
/* Types missing from some systems */
! #if !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
#ifndef ETHERTYPE_SPRITE
#define ETHERTYPE_SPRITE 0x0500
#endif
-------- cut here -------
And argus-clients-2.0.6.tar.gz needs these 2 to compat.h (note this
is slightly different from and incompatable with the argus-2.0.6 one ...)
and bpf.h both for NetBSD:
*** include/compat.h.orig Wed Dec 3 14:22:31 2003
--- include/compat.h Wed Dec 3 14:27:07 2003
***************
*** 79,85 ****
--- 79,89 ----
#if !defined(_LITTLE_ENDIAN) && !defined(_BIG_ENDIAN)
#if __BYTE_ORDER == __LITTLE_ENDIAN
+ #ifndef __NetBSD__
#define _LITTLE_ENDIAN
+ #else
+ #define _LITTLE_ENDIAN 1234
+ #endif
#else
#define _BIG_ENDIAN
#endif
-------- cut here -------
*** include/compat.h.orig Wed Dec 3 14:22:31 2003
--- include/compat.h Wed Dec 3 14:27:07 2003
***************
*** 79,85 ****
--- 79,89 ----
#if !defined(_LITTLE_ENDIAN) && !defined(_BIG_ENDIAN)
#if __BYTE_ORDER == __LITTLE_ENDIAN
+ #ifndef __NetBSD__
#define _LITTLE_ENDIAN
+ #else
+ #define _LITTLE_ENDIAN 1234
+ #endif
#else
#define _BIG_ENDIAN
#endif
--------- cut here -----------
Peter Van Epp / Operations and Technical Support
Simon Fraser University, Burnaby, B.C. Canada
More information about the argus
mailing list