<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>35096</bug_id>
          
          <creation_ts>2018-06-28 08:13:11 +0300</creation_ts>
          <short_desc>Обновить clamav</short_desc>
          <delta_ts>2018-07-19 12:48:51 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>clamav</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Леонид Мощницын">alabar2015</reporter>
          <assigned_to name="Sergey Y. Afonin">asy</assigned_to>
          <cc>asy</cc>
    
    <cc>glebfm</cc>
    
    <cc>lakostis</cc>
    
    <cc>taf</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>172212</commentid>
    <comment_count>0</comment_count>
    <who name="Леонид Мощницын">alabar2015</who>
    <bug_when>2018-06-28 08:13:11 +0300</bug_when>
    <thetext>Прошу обновить clamav версии 0.99.4 на последнюю 0.100.0
Также для p8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172672</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2018-07-17 10:50:52 +0300</bug_when>
    <thetext>Нда. configure: error: LLVM &lt; 3.7 required, but &quot;6.0.0&quot;(600) found

Deprecating internal LLVM code support. The configure script has changed to search the system for an installed instance of the LLVM development libraries, and to otherwise use the bytecode interpreter for ClamAV bytecode signatures. To use the LLVM Just-In-Time compiler for executing bytecode signatures, please ensure that the LLVM development package at version 3.6 or lower is installed. Using the deprecated LLVM code is possible with the command: ./configure --with-system-llvm=no, but it no longer compiles on all platforms

При том, что 3.x обновлён уже до 3.8... Без llvm не будет поддержки байткода. 3.6 что ли в Sisyphus собирать? И ещё вопрос, можно ли их с 3.8 вместе в p8 потом держать будет...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172680</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2018-07-17 18:20:24 +0300</bug_when>
    <thetext>(In reply to comment #1)

&gt; Без llvm не будет поддержки байткода.

Тут я ошибался, можно собрать и без LLVM:
http://lists.clamav.net/pipermail/clamav-users/2018-July/006590.html

При этом, для x86_64 и i586 встроенный LLVM всё ещё годится:
https://lists.altlinux.org/pipermail/devel/2018-July/204953.html

Теперь надо подумать, как именно собрать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172688</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2018-07-18 08:37:01 +0300</bug_when>
    <thetext>Собрал без LLVM, вроде байткод подхватился:

Wed Jul 18 09:21:16 2018 -&gt; Reading databases from /var/lib/clamav
Wed Jul 18 09:21:16 2018 -&gt; Not loading PUA signatures.
Wed Jul 18 09:21:16 2018 -&gt; Bytecode: Security mode set to &quot;TrustSigned&quot;.
Wed Jul 18 09:21:44 2018 -&gt; Loaded 6575820 signatures.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172689</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2018-07-18 08:48:49 +0300</bug_when>
    <thetext>clamav-0.100.1-alt1 -&gt; sisyphus:

Tue Jul 17 2018 Sergey Y. Afonin &lt;asy@altlinux.ru&gt; 0.100.1-alt1
- 0.100.1 (ALT #35096)
- built without LLVM (look to ALT #35096)
- removed -std=gnu++98 flag
- moved post script for freshclam to clamav-freshclam subpackage
- added %check section</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172691</commentid>
    <comment_count>5</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2018-07-18 10:31:19 +0300</bug_when>
    <thetext>Для p8 можно пока это задание использовать:
http://webery.altlinux.org/task/210475</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172692</commentid>
    <comment_count>6</comment_count>
    <who name="Леонид Мощницын">alabar2015</who>
    <bug_when>2018-07-18 12:20:06 +0300</bug_when>
    <thetext>(В ответ на комментарий №3)
&gt; Собрал без LLVM, вроде байткод подхватился:
&gt; 
&gt; Wed Jul 18 09:21:16 2018 -&gt; Not loading PUA signatures.
А это что? Уже не помню из коробки это сразу работает или самому надо прописывать в clamd.conf?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172701</commentid>
    <comment_count>7</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2018-07-18 14:50:01 +0300</bug_when>
    <thetext>Это в clamd.conf:

# Detect Possibly Unwanted Applications.
# Default: no
#DetectPUA yes

Это вот &quot;Possibly&quot;, зачастую, ошибочно. Когда-то давно пробовал включать и выключил.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172723</commentid>
    <comment_count>8</comment_count>
    <who name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</who>
    <bug_when>2018-07-18 23:11:48 +0300</bug_when>
    <thetext>(In reply to comment #3)
&gt; Собрал без LLVM, вроде байткод подхватился:
&gt; 
&gt; Wed Jul 18 09:21:16 2018 -&gt; Reading databases from /var/lib/clamav
&gt; Wed Jul 18 09:21:16 2018 -&gt; Not loading PUA signatures.
&gt; Wed Jul 18 09:21:16 2018 -&gt; Bytecode: Security mode set to &quot;TrustSigned&quot;.
&gt; Wed Jul 18 09:21:44 2018 -&gt; Loaded 6575820 signatures.

&gt; If you don&apos;t provide the older LLVM 3.6 for ClamAV, it will use it&apos;s built-interpreter rather than just-in-time-compile the signatures.

Т.е. собрался c built-in?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172729</commentid>
    <comment_count>9</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2018-07-19 12:48:51 +0300</bug_when>
    <thetext>(In reply to comment #8)

&gt; &gt; If you don&apos;t provide the older LLVM 3.6 for ClamAV, it will use
&gt; &gt; it&apos;s built-interpreter rather than just-in-time-compile the signatures.
&gt; 
&gt; Т.е. собрался c built-in?

Да, встроенный интерпретатор, не использующий LLVM (ни тот, который в тарболе ClamAV, ни системный). Вообще, плюсы и минусы этих подходов интересны, дозадал вопрос у них в рассылке.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>