[Pkg-clamav-devel] Bug#980791: clamav-unofficial-sigs: Patching is needed to get it running:

Volker Bäurer Volker.Baeurer at MITUTOYO-CTL.DE
Fri Jan 22 09:44:30 GMT 2021


Package: clamav-unofficial-sigs
Version: 3.7.2-2
Severity: important

Dear Maintainer,
        most people use the manual installing procedure of the clamav-unofficial app (you can find everywhere in the www) because the debian package is faulty since a long time.
        But installing the debian package could be working out-of-the-box when having my patches included. Then the installation has much less expenses than the manual installing procedure, which means a big advantage in my opinion.

        Concrete: The installation fails because of no longer valid urls and databases and missing path-information inside the binary

        So I patched the package and its configuration file:
        sed -i "s/^si_url=\"clamav.securiteinfo.com\"/si_url=\"www.securiteinfo.com\"/" /usr/sbin/clamav-unofficial-sigs
        sed -i "s/^mbl_url=\"www.malwarepatrol.net\"/mbl_url=\"lists.malwarepatrol.net\"/" /usr/sbin/clamav-unofficial-sigs

        sed -i "s/if clamscan/if \/usr\/bin\/clamscan/" /usr/sbin/clamav-unofficial-sigs
        sed -i "s/clamscan --infected/\/usr\/bin\/clamscan --infected/" /usr/sbin/clamav-unofficial-sigs
        sed -i "s/clamscan --quiet/\/usr\/bin\/clamscan --quiet/" /usr/sbin/clamav-unofficial-sigs

        Then I made a default configuration file:
        /etc/clamav-unofficial-sigs.conf.d/local.conf
        #As the version in Debian is quite outdated, it tries by default to download some
        #files that don't exist anymore. This is fixed by creating file:
        #/etc/clamav-unofficial-sigs.conf.d/local.conf

        log_file_path="/var/log"
        reload_dbs=yes

        si_url="www.securiteinfo.com"
        #  Empty db-list because they are no longer running on securiteinfo.com
        # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783228
        si_dbs=""

        #The whole www.malwarepatrol.net seems to be dead right now
        #mbl_url="www.malwarepatrol.net"
        #But the lists.malwarepatrol.net site still seems to be up
        mbl_url="lists.malwarepatrol.net"
        # Empty db-list because you have to be registered first when using it
        # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831607
        mbl_dbs=""

        ss_dbs="
        junk.ndb
        jurlbl.ndb
        jurlbla.ndb
        lott.ndb
        phish.ndb
        rogue.hdb
        sanesecurity.ftm
        sigwhitelist.ign2
        scam.ndb
        spam.ldb
        spamimg.hdb
        spamattach.hdb
        spear.ndb
        spearl.ndb
        blurl.ndb
        foxhole_generic.cdb
        foxhole_filename.cdb
        foxhole_js.ndb
        malwarehash.hsb
        hackingteam.hsb
        badmacro.ndb
        shelter.ldb
        winnow_malware.hdb
        winnow_malware_links.ndb
        winnow_spam_complete.ndb
        winnow_phish_complete_url.ndb
        winnow.complex.patterns.ldb
        winnow_extended_malware.hdb
        winnow_extended_malware_links.ndb
        winnow.attachments.hdb
        winnow_bad_cw.hdb
        MiscreantPunch099-Low.ldb
        scamnailer.ndb
        bofhland_cracked_URL.ndb
        bofhland_malware_URL.ndb
        bofhland_phishing_URL.ndb
        bofhland_malware_attach.hdb
        phishtank.ndb
        "
        With this, the installation will run smoothly

-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.78-2-pve (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages clamav-unofficial-sigs depends on:
ii  bind9-host [host]  1:9.11.5.P4+dfsg-5.1+deb10u2
ii  clamav             0.102.4+dfsg-0+deb10u1
ii  curl               7.64.0-4+deb10u1
ii  dnsutils           1:9.11.5.P4+dfsg-5.1+deb10u2
ii  gnupg              2.2.12-1+deb10u1
ii  rsync              3.1.3-6

clamav-unofficial-sigs recommends no packages.

Versions of packages clamav-unofficial-sigs suggests:
ii  clamav-daemon  0.102.4+dfsg-0+deb10u1

-- no debconf information

Mit freundlichen Grüßen / Best regards

Volker Bäurer
IT-Specialist

Mitutoyo CTL Germany GmbH
Von-Gunzert-Straße 17
D-78727 Oberndorf
GERMANY
T +49-7423-8776-0
volker.baeurer at mitutoyo-ctl.de<mailto:volker.baeurer at mitutoyo-ctl.de>
www.mitutoyo-ctl.de<http://www.mitutoyo-ctl.de/>

Registered Company: Mitutoyo CTL Germany GmbH
Registered Office: Von Gunzert Straße 17, D-78727 Oberndorf am Neckar
Commercial register of the local court: Amtsgericht Stuttgart, HRB 734157
VAT number: DE272400711
Managing Director: Hans-Peter Klein


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-clamav-devel/attachments/20210122/cdf195fb/attachment.html>


More information about the Pkg-clamav-devel mailing list