OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: [snort] Beta 10.2 (w' Tru64 support) ready [CVS & WWW]
From: Andrew Diller (dilleraisc.upenn.edu)
Date: Fri Mar 03 2000 - 10:54:01 CST


On Thu, Mar 02, 2000 at 03:24:49PM -0800, Martin Roesch wrote:
> I've integrated code (from various sources) to support Snort on
> Tru64/Alpha. There are also some patches from Fyodor to the
> configure/makefile system to make sure that everyone has the proper
> functions available/prototyped for SunOS 4.1.X.
>
> Please give this stuff a look and let me know how it goes. (crossing
> fingers.... ;)
>

So, it compiles under Tru65 5.0 !!!! Ya!

The configure script needs tweaking.

It never finds the libpcap in /usr/local/lib, even if i do a:

./configure --with-libdir=/usr/local/lib --with-includedir=
/usr/local/include

I have to edit the make file as such:

DEFS = -DHAVE_CONFIG_H -I. -I/usr/local/include -I$(srcdir) -I.
CPPFLAGS =
LDFLAGS =
LIBS = -L/usr/local/lib -lpcap

Changing the DEFS and LIBS. It's not a big thing, but I don't know what
to do to configure to fix it.

And it complies-- and it runs.

Also, I made a dumb mistake with 1.5:

--------------
cc: Error: log.c, line 794: In this statement, "LOG_AUTHPRIV" is not declared. (undeclared)
         syslog(LOG_AUTHPRIV|LOG_ALERT, "%s: %s -> %s", msg,
----------------^
cc: Error: log.c, line 800: In this statement, "LOG_AUTHPRIV" is not declared. (undeclared)
         syslog(LOG_AUTHPRIV|LOG_ALERT, "ALERT: %s -> %s",
----------------^
cc: Error: log.c, line 808: In this statement, "LOG_AUTHPRIV" is not declared. (undeclared)
         syslog(LOG_AUTHPRIV|LOG_ALERT, "%s: %s:%i -> %s:%i", msg,
----------------^
cc: Error: log.c, line 813: In this statement, "LOG_AUTHPRIV" is not declared. (undeclared)
         syslog(LOG_AUTHPRIV|LOG_ALERT, "ALERT: %s:%i -> %s:%i",
----------------^

---------

LOG_AUTHPRIV is LOG_AUTH in /usr/local/include/syslog_priv.h on Tru64.

Changing this in log.c makes 1.5 compile ok.

-andy