Robert S said:
> I have been looking at replacing my debian box with ubuntu dapper LTS
> (because of the "LTS"). I have been thwarted by the fact that there
> does not seem to be a compatible repository for clamav. I don't want
> to have to compile clamav manually every time a new release comes out.
>
> Is there a repository out there? I've put a message on the ubuntu
> forums but have not been told that such a thing exists.
I have no idea whether such a thing exists, but you can usually install
debian packages on ubuntu, unless one or the other has incompatibly
changed library version or something. It's not hard to build from
source, or build debian packages from the debian source package. I
think there is an apt-source program out there somewhere that keeps
track of what you are rebuilding from source and that sort of thing.
Good luck,
--
--------------------------------------------------------------------------
| Stephen Gran | Horner's Five Thumb Postulate:
|
| [EMAIL PROTECTED] | Experience varies directly with
|
| http://www.lobefin.net/~steve | equipment ruined.
|
--------------------------------------------------------------------------
I could not install Debian (Volatile) clamav due to differences in the names
of a couple libraries.
Installing from Debian unstable wants to bring the Debian libc6 with it
which would probably destroy the entire planet so that should be avoided. If
unstable is set to a low priority, it won't install (broken package).
There is a standard Ubuntu source that has this (see
http://www.ubuntulinux.nl/source-o-matic ):
deb http://us.archive.ubuntu.com/ubuntu dapper universe multiverse
[EMAIL PROTECTED]:~# apt-cache policy clamav
clamav:
Installed: (none)
Candidate: 0.88.2-1ubuntu1
Version table:
0.88.2-1ubuntu1 0
500 http://us.archive.ubuntu.com dapper/universe Packages
A little dated, but I think you could install this, then (if you are
adventurous) install from source, then create some symlinks from the old to
the new, e.g.:
sudo -i
apt-get install clamav-base
apt-get install clamav clamav-daemon
apt-get install gcc bison make libc6-dev libgmp3-dev zlib1g-dev libbz2-dev
apt-get install lha zip
cd /usr/local/src
wget
http://easynews.dl.sourceforge.net/sourceforge/clamav/clamav-0.88.4.tar.gz
tar xzvf clamav-0.88.4.tar.gz
cd clamav-0.88.4
./configure && make && make install
# use the binaries compiled from source
mv /usr/bin/clamdscan /usr/bin/clamdscan-ubuntu
mv /usr/bin/clamscan /usr/bin/clamscan-ubuntu
mv /usr/sbin/clamd /usr/sbin/clamd-ubuntu
mv /usr/bin/freshclam /usr/bin/freshclam-ubuntu
ln -s /usr/local/bin/clamdscan /usr/bin/clamdscan
ln -s /usr/local/bin/clamscan /usr/bin/clamscan
ln -s /usr/local/bin/freshclam /usr/bin/freshclam
ln -s /usr/local/sbin/clamd /usr/sbin/clamd
# but use the ubuntu supplied conf files
mv /usr/local/etc/clamd.conf /usr/local/etc/clamd.conf-source
mv /usr/local/etc/freshclam.conf /usr/local/etc/freshclam.conf-source
ln -s /etc/clamav/clamd.conf /usr/local/etc/clamd.conf
ln -s /etc/clamav/freshclam.conf /usr/local/etc/freshclam.conf
The source supplied man pages were used when I tried them.
/etc/init.d/clamav-freshclam restart
/etc/init.d/clamav-daemon restart
Not for those who are risk averse. This could break in the future (maybe the
next release!) and would require more work if milter is involved.
Don't take me too seriously here, this was just a 'see if it works' kind of
thing. If you should try this, there is ABSOLUTELY NO WARRANTY, use entirely
at your own risk. But, now that the Ubuntu framework is in place, it would
only take a minute to download and compile a new version.
Gary V
_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html