• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

RPM/YUM !

Started by CDRWSel, 2011.01.02, 17:45:00

Previous topic - Next topic

diver

for clamav it's possible to tell the clamd and fresclam where it has to look for the config files. it's a commandline switch.
and exe and dll just need to be in path.

CDRWSel

Hi !
I always use clamav with config file path....
This is how I work with it

But clamav doesn't work... 

 

David McKenna

 FWIW there is a file at: ftp://ftp.netlabs.org/incoming/rpmdownloader.zip that is a GUI for getting RPM files from a list of repositories. I haven't figured out how to use it yet, but it looks interesting...

ivan

QuoteI haven't figured out how to use it yet, but it looks interesting...

The big question - WHY?

Unless you are a developer there isn't much need to get RPM files on OS/2.

OS/2 is not Linux!

ivan

diver

Quote from: CDRWSel on 2011.01.24, 21:26:10
Hi !
I always use clamav with config file path....
This is how I work with it

But clamav doesn't work... 

do you get a error message? if yes whats written?

CDRWSel

#50
Remove your unixroot into your config.sys and enjoy...

Due it doesn't work, I deleted it and restored previous build whish works great except it is out dated yet !     

diver

i now really did the work and unrpm all needed clamav packages. and then i moved the files where their where in older versions. and guess what it of course worked. so i don't know what you do really.

and no i did not install clamav before with rpm/yum.

regards
Silvan

CDRWSel

SYS1804: The system cannot find the file Z

Try to get clamscan version ?

diver

seems like you miss the z.dll. this dll was installed by rpm. i guess you once installed rpm, as otherwise unrpm could not work.

i know clamav needs pthreads.dll, z.dll and mmap.dll.so either grap those rpm and unrpm them to get the dll or install rpm again. then you can move the needed dll to where you want and the /@unixroot/usr/lib can be removed from config.sys.

if you don't want to install rpm again let me know by private mail and i could zip them for you.

regerds
Silvan 

CDRWSel

Downloade extrat package and manually extracted missing dll's which aren't part of ClamAV.
I'll give it a new try adding the missing dll's under my libpath.

If it works, I'll build a warpin package for update compatibility with 0.96.2
I tell you how it works after test.   

CDRWSel

hi diver!

You probably didn't test it........ Or you may have errors

I redo full test adding missing NOT clamav dlls and here is the new error :

LibClamAV Error: cl_load(): Can't get status of /@unixroot/var/lib/clamav
ERROR: Can't get file status

----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.96.4
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.027 sec (0 m 0 s)

As I wrote, it is looking into  @unixroot   >:(

End of clamav... >:( >:( >:( >:( >:(

abwillis

Quote from: CDRWSel on 2011.01.28, 21:13:37
LibClamAV Error: cl_load(): Can't get status of /@unixroot/var/lib/clamav
ERROR: Can't get file status

As I wrote, it is looking into  @unixroot   >:(
How about wrapping the call to clamav with a script that sets the unixroot to be where you installed Clamav to,
e.g. set unixroot=x:\utils\clamav
and then creating var\lib under the clamav directory and placing the files it is looking for in there. 

CDRWSel

#57
Hum !

I tried it and had to do some more changes. It works now but it always will fail if the UNIXROOT is already defined for other purpose (e.g  RPM/YUM !) while for older clamav installation, it should point to the clamav installation path !

This is a restriction imposed with this clamav build on RPM/YUM rules (pure linux style)   >:(

For those not having UNIXROOT yet, like me  ;D  , I just build a WPI package for the ClamAV 0.96.4
Well do you now what ! it is outdated too...
It requires updating config.sys with a SET UNIXROOT=x:\clamav_install_path
While the RPM/YUM requires disk root e.g. X:
(this restricts use of x:\var\lib\clamav as viral database signature files) 

As I wrote, setting an UNIXROOT is now required (this is the very bad news and confirms regressing introduced by the use of RPM/YUM)          

I tried the latest I found which is experimental 0.96.4.4 but the clamav.dll provided into this package doesn't work. I did a test using the dll from november build and it works ! I did a WPI of this experimental too but including previous clamav.dll level

With these all  :-[  >:( changes, I worked on my last clamavgui updated build (which wasn't made available due to incompatibility) and added more code change to make it work with the new package WPI. I could preserve its compatibiliy with previous Clamav build level.
(of course, this clamavgui allow you to change database path and use the one under restricted path if required)

For those interested to TEST both clamav WPI and updated clamavgui, I can send them at request only (until more test have been done). Please use the link under clamavgui.

Thanks
Best regards,
Remy                  

     

IBManners


I would have been interested but I use ClamAV on a server and I'm not prepared to mess with it until I've settled in on the other side of Australia and have a backup server I can try it on. I don't use AV locally.

The server already has its own unixroot structure, its own versions of lib's etc that work 100%, no need for me to go screwing with what works to possibly make problems, that's what a personal OS/2, eComstation PC is for.

Cheers
I am the computer, it is me.