update clamav the proper way

Discussion in 'Installation/Configuration' started by giftsnake, Dec 1, 2009.

  1. giftsnake

    giftsnake New Member

    i want to update clamav from version 0.95.2 to .3, but the debian lenny volatile repo seems not to get it.
    so i gave a first shot:

    wget http://www.clamav.net/download/sources/
    tar -xvzf clamav-0.95.3.tar.gz
    cd clamav-0.95
    export DEBFULLNAME='My Name'
    dh_make -n -s -e [email protected]'
    vim debian/control    #modify description
    cp /etc/init.d/clamav-daemon debian/clamav.clamav-daemon.init
    cp /etc/init.d/clamav-freshclam debian/clamav.clamav-freshclam.init
    vim debian/rules
    #replace '# dh_installinit' with:
      dh_installinit --name=clamav-daemon
      dh_installinit --name=clamav-freshclam
    #create .deb by running:
    debian/rules binary
    it creates me a beautiful .deb package

    now: whats my next step?
    i installed clamav and all the clamav-<...> packages with apt-get

    how do i remove/install/replace them with my own package?
    Last edited: Dec 1, 2009
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I recommend that you do not install clamav manually. Your Clamav signatures are still up to date when you use 0.95.2. You should wait until debian volatile updates to 0.95.3.

Share This Page