Further (broken) argus-2.0.0 patches

Peter Van Epp vanepp at sfu.ca
Sat Sep 2 21:53:00 EDT 2000


	Until just now I hadn't tried the tar file, it has two problems (one
not suprising) a typo in server/ArgusModeler.h at line 96:

96c96
< #if defined(HAVE_SOLARIS) || defined(__FreeBSD)
---
> #if defined(HAVE_SOLARIS) || defined(__FreeBSD__)

	and the unsuprising one of the pthreads library still being there
(because I hadn't yet produced the Makefile.in patch that changes to the 
FreeBSD behavior when you sent the tar file);

a*** server/Makefile.in.orig     Sat Sep  2 16:50:09 2000
--- server/Makefile.in  Sat Sep  2 16:53:20 2000
***************
*** 103,109 ****

  PCAPLIB = @PCAPLIBDIR@
  WRAPLIB = @WRAPLIBDIR@
! COMPATLIB = @COMPAT_LIB@ ../lib/argus_common.a -lpthread -lm

  LIB = $(PCAPLIB) $(WRAPLIB) $(COMPATLIB)

--- 103,109 ----

  PCAPLIB = @PCAPLIBDIR@
  WRAPLIB = @WRAPLIBDIR@
! COMPATLIB = @COMPAT_LIB@ ../lib/argus_common.a -lm

  LIB = $(PCAPLIB) $(WRAPLIB) $(COMPATLIB)

***************
*** 121,127 ****
  all: $(PROG)

  @INSTALL_BIN@/argus_ at V_PCAP@: $(OBJ) ../lib/argus_common.a
!       $(CC) -o $@ $(OBJ) $(LIB)

  install: force
        $(INSTALL) -m 444 -o bin -g bin libpcap.a $(DESTDIR)$(LIBDEST)/libpcap.a
--- 121,127 ----
  all: $(PROG)

  @INSTALL_BIN@/argus_ at V_PCAP@: $(OBJ) ../lib/argus_common.a
!       $(CC) -pthread -o $@ $(OBJ) $(LIB)

  install: force
        $(INSTALL) -m 444 -o bin -g bin libpcap.a $(DESTDIR)$(LIBDEST)/libpcap.a

--- cut here ---

	With those two changes the new tar file compiles and runs fine (I expect
the configure script needs to change to properly do this last change which is
currently just a hack in to the Makefile.in and will undoubtably break other
ports).

Peter Van Epp / Operations and Technical Support 
Simon Fraser University, Burnaby, B.C. Canada



More information about the argus mailing list