Page 1 of 1

Which repo?

Posted: Sat Jul 19, 2008 2:52 pm
by Galactic Zero
Hello Scott,

Which of the 3 Clam AV dir's should I use to build clamd for CentOS5 / PSA 8.3?

clam
clamav
clamd

Thanks.

Posted: Sat Jul 19, 2008 4:10 pm
by scott
all of them

Posted: Sun Jul 20, 2008 2:00 am
by Galactic Zero
Ok, I must be missing something then.. I don't see clamav-db-0.93-3-1.art.src.rpm or clamd-0.93-3-1.art.src.rpm in those repo's only: clamav-0.93.3-1.art.src.rpm.

Posted: Fri Jul 25, 2008 5:35 am
by Galactic Zero
not to be a pest Scott, the other two packages are where please

clamav-db-0.93-3-1.art.src.rpm and clamd-0.93-3-1.art.src.rpm

Posted: Fri Jul 25, 2008 6:45 am
by breun
Aren't all three packages built from the same srpm?

Posted: Fri Jul 25, 2008 9:48 am
by scott
Yup, I was just going to see if he could figure it out on his own. :P

Posted: Fri Jul 25, 2008 11:44 am
by Galactic Zero
BAH!!!

When I asked my first question and you answered, my assumption was that I needed a file from each of the repos and when I saw that all three contained the identical files I thought something was missing...

My brain is too addled.

Posted: Tue Aug 05, 2008 1:02 am
by Galactic Zero
Guess I need a tutorial...

I'm trying to rpmbuild --rebuild the clam src package and as admin I get permission denied to write to /usr/src/redhat/SOURCES, cannot be installed...

As root which I don't think I'm supposed to do the rebuild I get a different error about a user and group missing.

I've searched up and down these forums and haven't found any help.

so help...

Thanks...

Posted: Tue Aug 05, 2008 12:00 pm
by scott
And I'll bet you thought my job was easy :P

You can build as root, you're right, its not a good idea. But you can do it. I do it all through mock these days

Rough, but its a start
http://www.atomicorp.com/wiki/index.php/RPMS

Posted: Wed Aug 06, 2008 11:52 am
by Galactic Zero
So, install this:

mockobjects-alt-jdk1.4.i386 : Mockable API for JDK 1.4
mockobjects-httpclient.i386 : MockObjects for Commons HttpClient
mock.i386 : Builds packages inside chroots
mockobjects.i386 : Java MockObjects package
mockobjects-jdk1.4.i386 : MockObjects for 1.4 JDK
mockobjects-alt-httpclient.i386 : Mockable API for Commons HttpClient


For mock build?

Posted: Wed Aug 06, 2008 11:59 am
by breun
You don't need those mockobjects-* packages. Those are Java-related packages.

Posted: Wed Aug 06, 2008 12:55 pm
by Galactic Zero
ok, so just the mock.i386 package, thanks.

Posted: Wed Aug 06, 2008 5:53 pm
by Galactic Zero
Got clam updated thanks for the pointers everyone...