Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 649394

Summary: app-antivirus/clamav: Bundles tomsfastmath
Product: Gentoo Linux Reporter: Thomas Deutschmann (RETIRED) <whissi>
Component: Current packagesAssignee: Antivirus Team <antivirus>
Status: RESOLVED FIXED    
Severity: normal CC: dan, esigra, net-mail+disabled, sam
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.clamav.net/show_bug.cgi?id=12562
See Also: https://github.com/gentoo/gentoo/pull/15897
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 723856, 725414    
Bug Blocks: 251464    

Comment 1 Thomas Raschbacher gentoo-dev 2018-04-09 20:13:29 UTC
good news clamav 0.100.0 has --with-system-libmspack (that is one less problem ..)
I am just testing the ebuild - and will put it in as a USE to use the system one
Comment 2 Thomas Raschbacher gentoo-dev 2018-10-05 12:39:29 UTC
starting with 0.100.2 the bundled libmspack will not be used anymore. that just leaves tomsfastmath
Comment 3 Michael Orlitzky gentoo-dev 2020-05-18 23:31:23 UTC
Reported upstream at $URL, still private until they unlock it.
Comment 4 Larry the Git Cow gentoo-dev 2020-05-26 00:01:31 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b24a07e3b298277be4362cf56b33d591610c1f

commit f0b24a07e3b298277be4362cf56b33d591610c1f
Author:     Sam James (sam_c) <sam@cmpct.info>
AuthorDate: 2020-05-24 05:03:33 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2020-05-25 23:08:31 +0000

    dev-libs/tomsfastmath: New package
    
    "TomsFastMath is a fast public domain, open source, large integer
    arithmetic library written in portable ISO C."
    
    app-antivirus/clamav currently bundles this, and
    the new dev-libs/libtomcrypto can optionally make
    use of it.
    
    Introduce it as a new package to keep track of security
    issues.
    
    Bug: https://bugs.gentoo.org/649394
    Closes: https://bugs.gentoo.org/723856
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Sam James (sam_c) <sam@cmpct.info>
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 dev-libs/tomsfastmath/Manifest                     |  1 +
 .../files/tomsfastmath-0.13.1-makefile-fix.patch   | 45 +++++++++++++++
 dev-libs/tomsfastmath/metadata.xml                 | 12 ++++
 dev-libs/tomsfastmath/tomsfastmath-0.13.1.ebuild   | 66 ++++++++++++++++++++++
 4 files changed, 124 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2020-06-21 13:38:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bf547dbe7ade89d37115521322b3b6566e1f5c5

commit 3bf547dbe7ade89d37115521322b3b6566e1f5c5
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2020-06-21 12:32:06 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2020-06-21 13:37:44 +0000

    app-antivirus/clamav: new revision to unbundle tomsfastmath.
    
    Now that dev-libs/tomsfastmath is in the tree, add a new revision of
    clamav that (a) deletes the bundled copy from the source tree, and (b)
    patches in the system copy. Thanks to sam_c for taking this on!
    
    Closes: https://bugs.gentoo.org/649394
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 app-antivirus/clamav/clamav-0.102.3-r1.ebuild      | 222 +++++++++++++++++++++
 .../files/clamav-0.102.3-system-tomsfastmath.patch | 113 +++++++++++
 2 files changed, 335 insertions(+)