Re: [Clamav-devel] 0.103.3 on 32-bit vs 64-bit systems

2021-07-13 Thread Tuomo Soini
On Mon, 12 Jul 2021 17:23:16 -0500
Albert Chin  wrote:

> We've managed to build 0.103.3 on AIX, HP-UX, Solaris, and RHEL. While
> we are able to build using either -m32 or -m64, clamav seems to only
> work when built with -m64. Is this to be expected? For example, on
> RHEL 6/x86, we get:

On el6/i686 you need newer zlib than distro provides you. EPEL6 had
special build of static zlib to provide working version. There is no
way you can get clamav working on el6 i686 without special zlib update.

You can take latest epel6 clamav src.rpm and update clamav.

But I'd just give up and update your systems to supported version of
rhel.

-- 
Tuomo Soini 
Foobar Linux services
+358 40 5240030
Foobar Oy <https://foobar.fi/>
___

clamav-devel mailing list
clamav-devel@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-devel

Please submit your patches to our Github: 
https://github.com/Cisco-Talos/clamav-devel/pulls

Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [Clamav-devel] [Clamav-announce] ClamAV® blog: ClamAV 0.102.2 security patch released

2020-02-09 Thread Tuomo Soini
On Thu, 6 Feb 2020 15:34:16 -0700
Orion Poplawski  wrote:

> > What's the status of the 0.101.X branch now?  Is it dead or will it
> > receive a fix for this?  The changes in 0.102 are somewhat
> > problematic to release to old stable OSes like RHEL7 so an active
> > 0.101.X branch that receives security updates and important bug
> > fixes would be greatly appreciated.

Check https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-3123

It clearly states that only versions 0.102.1 and 0.102.0 are affected.

-- 
Tuomo Soini 
Foobar Linux services
+358 40 5240030
Foobar Oy <https://foobar.fi/>
___

clamav-devel mailing list
clamav-devel@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-devel

Please submit your patches to our Github: 
https://github.com/Cisco-Talos/clamav-devel/pulls

Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [Clamav-devel] installation of 64bit libaries in /usr/lib ?

2008-08-28 Thread Tuomo Soini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tomasz Kojm wrote:

| Most likely your distribution is not truly 64-bit, otherwise
/usr/lib64 would
| be a symlink to /usr/lib

That's not true. All fedora based distros have /usr/lib64 for 64-bit
libraries and /usr/lib for 32-bit libraries. That's needed for binary
compatibility with 32-bit apps.

That's why there is rpm macro called %configure which will tell configue
to use /usr/lib64 on 64-bit systems. That is ./configure
- --libdir=/usr/lib64.

- --
Tuomo Soini <[EMAIL PROTECTED]>
Foobar Linux services
+358 40 5240030
Foobar Oy <http://foobar.fi/>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFItmYvTlrZKzwul1ERAuTeAJ0X8T0OHuntfGsK5IemwUKFTyxvXQCfRKyp
3iK8EOjs16SIGpKK5OEcWPk=
=qbZr
-END PGP SIGNATURE-
___
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


Re: [Clamav-devel] paths on clamd.conf and freshclam.conf man pages.

2004-09-26 Thread Tuomo Soini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tomasz Kojm wrote:
|>I attached patch to make configure fix paths on clamd.conf.5 and
|>freshclam.conf.5 man pages but found out that configure has some
|>problems because sysconfdir is set to '${prefix}/etc' by default, not
|>"${prefix}/etc".
Ok. Replacing @sysconfdir@ with @CFGDIR@ in clamav.conf.5.in and
freshclam.conf.5.in should do it. Do you want me to do new patch? My
patch doesn't seem to be in devel yet.
- --
Tuomo Soini <[EMAIL PROTECTED]>
Linux and network services
+358 40 5240030
Foobar Oy <http://foobar.fi/>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBVyGVTlrZKzwul1ERArNkAJ9iL/eGbORtA+w+oQ5HyqjNWJUtJwCgsedy
sfB901SyCFKi2ELxEYEZCKo=
=lFgn
-END PGP SIGNATURE-

---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Clamav-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-devel


[Clamav-devel] paths on clamd.conf and freshclam.conf man pages.

2004-09-22 Thread Tuomo Soini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I attached patch to make configure fix paths on clamd.conf.5 and
freshclam.conf.5 man pages but found out that configure has some
problems because sysconfdir is set to '${prefix}/etc' by default, not
"${prefix}/etc".
Does anybody have idea how to fix that prefix thing in configure so that
man pages wouldn't have ${prefix}/etc/freshclam.conf on man page.
Patch works great on my own system because I set sysconfdir.
./configure --sysconfdir=/etc/clamav
- --
Tuomo Soini <[EMAIL PROTECTED]>
Linux and network services
+358 40 5240030
Foobar Oy <http://foobar.fi/>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBUegRTlrZKzwul1ERAjGtAJ4mHAJzuDjc0mHOJ7Fg8dst/EXt3wCfaZa3
3W0XQ0voDLiHnocUQTlsnNA=
=e8tw
-END PGP SIGNATURE-
diff -ruN clamav-0.80rc2.orig/configure.in clamav-0.80rc2/configure.in
--- clamav-0.80rc2.orig/configure.in2004-09-21 20:14:25.0 +0300
+++ clamav-0.80rc2/configure.in 2004-09-22 23:12:35.0 +0300
@@ -709,4 +709,6 @@
 Makefile
 clamav-config
 libclamav.pc
+docs/man/clamd.conf.5
+docs/man/freshclam.conf.5
 ])
diff -ruN clamav-0.80rc2.orig/docs/man/clamd.conf.5 
clamav-0.80rc2/docs/man/clamd.conf.5
--- clamav-0.80rc2.orig/docs/man/clamd.conf.5   2004-09-19 02:57:36.0 +0300
+++ clamav-0.80rc2/docs/man/clamd.conf.51970-01-01 02:00:00.0 +0200
@@ -1,285 +0,0 @@
-.\" Manual page created by Tomasz Kojm, 20021001.
-.TH "clamd.conf" "5" "September 2, 2004" "Tomasz Kojm" "Clam AntiVirus"
-.SH "NAME"
-.LP 
-\fBclamd.conf\fR \- a configuration file for Clam AntiVirus Daemon
-.SH "DESCRIPTION"
-.LP 
-clamd.conf configures the Clam AntiVirus daemon, clamd(8).
-.SH "FILE FORMAT"
-The file consists of comments and options with arguments. Each line that starts with 
a hash (\fB#\fR) symbol is a comment. Options are are case sensitive and of the form 
\fBOption Argument\fR. The (possibly optional) arguments are are of the following 
types:
-.TP 
-\fBSTRING\fR
-String without blank characters.
-.TP 
-\fBSIZE\fR
-Size in bytes. You can use a 'M' or 'm' modifiers for megabytes and a 'K' or 'k' for 
kilobytes.
-.TP 
-\fBNUMBER\fR
-Unsigned integer.
-.SH "DIRECTIVES"
-.LP 
-When an option is not used (hashed or doesn't exist in the configuration file) 
freshclam takes a default action.
-.TP 
-\fBExample\fR
-If this option is set clamd will not run.
-.TP 
-\fBLogFile STRING\fR
-Enable logging to selected file.
-.br 
-Default: disabled.
-.TP 
-\fBLogFileUnlock\fR
-Disable a system lock that protects against running clamd with a same configuration 
file multiple times.
-.br 
-Default: disabled.
-.TP 
-\fBLogFileMaxSize SIZE\fR
-Limit a size of a log file. The logger will be automatically disabled  if the file is 
greater than SIZE. Value of 0 disables the limit.
-.br 
-Default: 1M
-.TP 
-\fBLogTime\fR
-Log time with each message.
-.br 
-Default: disabled.
-.TP 
-\fBLogClean\fR
-Log clean files.
-.br 
-Default: disabled.
-.TP 
-\fBLogSyslog\fR
-Use system logger (can work together with LogFile).
-.br 
-Default: disabled.
-.TP 
-\fBLogVerbose\fR
-Enable verbose logging.
-.br 
-Default: disabled.
-.TP 
-\fBPidFile STRING\fR
-Save a process identifier of a listening daemon (main thread) to a specified file.
-.br 
-Default: disabled.
-.TP 
-\fBDatabaseDirectory STRING\fR
-Path to a directory containing database files.
-.br 
-Default: hardcoded directory.
-.TP 
-\fBLocalSocket STRING\fR
-Path to a local (Unix) socket the daemon will listen on.
-.br 
-Default: disabled.
-.TP 
-\fBFixStaleSocket\fR
-Remove stale socket after unclean shutdown.
-.br 
-Default: disabled.
-.TP 
-\fBTCPSocket NUMBER\fR
-TCP port number the daemon will listen on.
-.br 
-Default: disabled.
-.TP 
-\fBTCPAddr STRING\fR
-TCP address to bind to. By default clamd binds to INADDR_ANY.
-.br 
-Default: disabled.
-.TP 
-\fBMaxConnectionQueueLength NUMBER\fR
-Maximum length the queue of pending connections may grow to.
-.br 
-Default: 15
-.TP 
-\fBMaxThreads NUMBER\fR
-Maximal number of threads running at the same time.
-.br 
-Default: 5.
-.TP 
-\fBThreadTimeout NUMBER\fR
-Stop thread\-scanner after specified time (in seconds). Value of 0 disables the 
timeout.
-.br 
-Default: 180
-.TP 
-\fBMaxDirectoryRecursion NUMBER\fR
-Maximal depth a directories are scanned at.
-.br 
-Default: disabled.
-.TP 
-\fBFollowDirectorySymlinks\fR
-Follow a directory symlinks. You should have enabled directory recursion limit to 
avoid a potential problems.
-.br 
-Default: disabled.
-.TP 
-\fBFollowFileSymlinks\fR
-Follow regular file symlinks.
-.br 
-Default: disabled.
-.TP 
-\fBSelfCheck NUMBER\fR
-Do internal checks every NUMBER seconds.
-.br 
-Default: 3600
-.TP 
-\fBVirusEvent COMMAND\fR
-Execute the COMMAND when virus i