HTTP Anti-Virus Proxy

Official HAVP Support Forum
Registration disabled, I'm tired of spambots. E-mail havp@hege.li if you have questions.
HAVP project is pretty much frozen/abandoned at this time anyway.
It is currently 22 Jun 2014 09:52

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: OpenBSD
PostPosted: 15 Mar 2006 06:59 
Offline

Joined: 15 Mar 2006 06:52
Posts: 1
Location: N.E. Ohio
Has anyone installed HAVP on OpenBSD? If Yes, are there any special instructions?

Thanks......


Top
 Profile  
 
 Post subject:
PostPosted: 15 Mar 2006 09:40 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
Like FreeBSD, there is no support for mandatory locks.. it will not work until there is a stripped down version of HAVP.

Cheers,
Henrik


Top
 Profile  
 
 Post subject:
PostPosted: 22 Nov 2006 17:04 
Offline

Joined: 22 Nov 2006 16:56
Posts: 2
hello,

I use havp with NetBSD and it work very well, but now I use OpenBSD.

I want too compile havp on OpenBSD 4.0, but I have problem with
socket include.
I have this error, did you know where is the problem?

thank's

cd havp && gmake
gmake[1]: Entering directory `/root/havp-0.83/havp'
g++ -O2 -I/usr/local/include -O2 -pipe -Wall -DNOMAND -DUSECLAMLIB -c -o helper.o helper.cpp
g++ -O2 -I/usr/local/include -O2 -pipe -Wall -DNOMAND -DUSECLAMLIB -c -o logfile.o logfile.cpp
g++ -O2 -I/usr/local/include -O2 -pipe -Wall -DNOMAND -DUSECLAMLIB -c -o scannerhandler.o scannerhandler.cpp
In file included from sockethandler.h:23,
from genericscanner.h:22,
from scannerhandler.h:22,
from scannerhandler.cpp:19:
/usr/include/sys/socket.h:145: error: 'u_int8_t' is used as a type, but is not
defined as a type.
/usr/include/sys/socket.h:146: error: 'sa_family_t' is used as a type, but is
not defined as a type.
/usr/include/sys/socket.h:163: error: 'u_int8_t' is used as a type, but is not
defined as a type.
/usr/include/sys/socket.h:164: error: 'sa_family_t' is used as a type, but is
not defined as a type.
/usr/include/sys/socket.h:166: error: 'u_int64_t' is used as a type, but is not
defined as a type.
/usr/include/sys/socket.h:230: error: 'uid_t' is used as a type, but is not
defined as a type.
/usr/include/sys/socket.h:231: error: 'uid_t' is used as a type, but is not
defined as a type.
/usr/include/sys/socket.h:232: error: 'gid_t' is used as a type, but is not
defined as a type.
/usr/include/sys/socket.h:233: error: 'gid_t' is used as a type, but is not
defined as a type.
/usr/include/sys/socket.h:235: error: syntax error before `[' token
/usr/include/sys/socket.h:348: error: 'socklen_t' is used as a type, but is not
defined as a type.
/usr/include/sys/socket.h:352: error: 'socklen_t' is used as a type, but is not
defined as a type.
/usr/include/sys/socket.h:374: error: 'socklen_t' is used as a type, but is not
defined as a type.
/usr/include/sys/socket.h:429: error: 'caddr_t' is used as a type, but is not
defined as a type.
/usr/include/sys/socket.h:433: error: 'caddr_t' is used as a type, but is not
defined as a type.
In file included from sockethandler.h:23,
from genericscanner.h:22,
from scannerhandler.h:22,
from scannerhandler.cpp:19:
/usr/include/sys/socket.h:444: error: syntax error before `*' token
/usr/include/sys/socket.h:445: error: type specifier omitted for parameter `
socklen_t'
/usr/include/sys/socket.h:446: error: type specifier omitted for parameter `
socklen_t'
/usr/include/sys/socket.h:447: error: syntax error before `*' token
/usr/include/sys/socket.h:448: error: syntax error before `*' token
/usr/include/sys/socket.h:449: error: syntax error before `*' token
/usr/include/sys/socket.h:450: error: syntax error before `*' token
/usr/include/sys/socket.h:452: error: syntax error before `,' token
/usr/include/sys/socket.h:453: error: syntax error before `,' token
/usr/include/sys/socket.h:454: error: syntax error before `,' token
/usr/include/sys/socket.h:455: error: syntax error before `,' token
/usr/include/sys/socket.h:456: error: syntax error before `,' token
/usr/include/sys/socket.h:458: error: syntax error before `,' token
/usr/include/sys/socket.h:459: error: type specifier omitted for parameter `
socklen_t'
gmake[1]: *** [scannerhandler.o] Error 1
gmake[1]: Leaving directory `/root/havp-0.83/havp'
gmake: *** [all] Error 2


Top
 Profile  
 
 Post subject:
PostPosted: 02 Jan 2007 20:05 
Offline

Joined: 22 Nov 2006 16:56
Posts: 2
OK.... I find the solution for OpenBSD compile:

we must add:
#include <sys/types.h>
in sockethandler.h
just before:
#include <sys/socket.h>

with this, all work well like with NetBSD.

Can you add this define in future version?

Thank's


Top
 Profile  
 
 Post subject:
PostPosted: 02 Jan 2007 20:12 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
Sure, thanks..


Top
 Profile  
 
 Post subject: Havp 0.86 problem
PostPosted: 22 Jun 2007 23:16 
Offline

Joined: 22 Jun 2007 23:13
Posts: 2
# cd /usr/local/src/havp-0.86/
# gmake
cd havp && gmake
gmake[1]: Entering directory `/usr/local/src/havp-0.86/havp'
cd scanners && gmake
gmake[2]: Entering directory `/usr/local/src/havp-0.86/havp/scanners'
rm -f scanners.a
ar cr scanners.a avgscanner.o f-protscanner.o kasperskyscanner.o nod32scanner.o clamdscanner.o sophiescanner.o avastscanner.o arcavirscanner.o clamlibscanner.o
gmake[2]: Leaving directory `/usr/local/src/havp-0.86/havp/scanners'
g++ -I/usr/local/include -Wall -O2 -o havp helper.o logfile.o scannerhandler.o connectiontobrowser.o genericscanner.o httphandler.o params.o sockethandler.o connectiontohttp.o havp.o proxyhandler.o utils.o whitelist.o scanners/scanners.a -L/usr/local/lib -L/usr/local/lib -lclamav
/usr/local/lib/libclamav.so.2.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libclamav.so.2.3: warning: sprintf() is often misused, please use snprintf()
scanners/scanners.a(nod32scanner.o)(.text+0x1445): In function `NOD32Scanner::ScanV21(char const*)':
: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libclamav.so.2.3: undefined reference to `pthread_create'
/usr/local/lib/libclamav.so.2.3: undefined reference to `pthread_mutex_unlock'
/usr/local/lib/libclamav.so.2.3: undefined reference to `pthread_mutex_lock'
/usr/local/lib/libclamav.so.2.3: undefined reference to `pthread_join'
collect2: ld returned 1 exit status
gmake[1]: *** [havp] Error 1
gmake[1]: Leaving directory `/usr/local/src/havp-0.86/havp'
gmake: *** [all] Error 2


Top
 Profile  
 
 Post subject: libclamav
PostPosted: 25 Jun 2007 22:02 
Offline

Joined: 22 Jun 2007 23:13
Posts: 2
The problem was resolved thus :
./configure --disable-locking --disable-clamav
clamd is funcionality disable the libclamav


Top
 Profile  
 
 Post subject:
PostPosted: 25 Jun 2007 22:59 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
Seems the Makefile is missing -lpthread..


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group