Commit Graph

77 Commits

Author SHA1 Message Date
Robert Kovacsics
9485537de6 clamav: Fix check failure of clamscan no tests
It seems like clamav uses `pytest` as a test runner preferentially, then
falls back to `unittest`. For some reason `unittest` isn't discovering
the tests inside clamav/unit_test/clamscan, and instead exitting with
`sys.exit(_NO_TESTS_EXITCODE)`.

I have checked actual `clamscan` tests are being run using
`nix develop .#clamscan`, `genericBuild`, `checkPhase` then manually
running `ctest -V`.

Fixes https://github.com/NixOS/nixpkgs/issues/325510
2024-07-12 11:55:31 +01:00
R. Ryantm
95524a593f clamav: 1.3.0 -> 1.3.1 2024-05-05 17:41:52 +02:00
Jussi Kuokkanen
ce3f586775 pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
R. Ryantm
27f0e57ed4 clamav: 1.2.1 -> 1.3.0 2024-02-08 06:23:52 +00:00
R. Ryantm
ba934a8807 clamav: 1.2.0 -> 1.2.1 2023-10-27 11:16:24 +00:00
Viorel-Cătălin Răpițeanu
dbd590c8db clamav: 1.1.0 -> 1.2.0 2023-08-30 11:50:25 +03:00
R. Ryantm
4a05329f11 clamav: 1.0.1 -> 1.1.0 2023-05-26 21:38:27 +00:00
Arjan Schrijver
da293b7a0f clamav: 1.0.0 -> 1.0.1
Fixes critical RCE (CVSS score 9.8):
https://blog.clamav.net/2023/02/clamav-01038-01052-and-101-patch.html
2023-02-17 09:21:50 +01:00
ajs124
7f9711a52c clamav: 0.105.1 -> 1.0.0 2022-11-29 21:13:26 +01:00
Franz Pletz
c092a502df
treewide: remove myself as maintainer from some pkgs
Only packages I'm not able to maintain anymore as of today. Mostly
because I'm haven't been using them in a while.
2022-08-03 14:17:51 +02:00
R. Ryantm
cf04b73efc clamav: 0.105.0 -> 0.105.1 2022-07-28 04:32:15 +00:00
Robert Kovacsics
419e19ca81 clamav: Fix cli clamav programs not finding configuration files 2022-05-20 09:43:39 +01:00
Linus Heckemann
16fc84cd4b clamav: 0.103.6 -> 0.105.0 2022-05-16 10:35:20 +02:00
Linus Heckemann
833884de60 clamav: 0.103.5 -> 0.103.6
Fixes a number of vulnerabilities.

https://github.com/Cisco-Talos/clamav/blob/rel/0.103/NEWS.md#01036
https://mmmds.pl/clamav/

Fixes: CVE-2022-20803, CVE-2022-20770, CVE-2022-20796, CVE-2022-20771,
       CVE-2022-20785, CVE-2022-20792
2022-05-13 11:17:44 +02:00
Solene Rapenne
50ede5f4e0 clamav: 0.103.3 -> 0.103.5 2022-01-14 18:03:54 +01:00
Sandro Jäckel
cbfc50722f
maintainers: drop phreedom 2021-12-19 07:30:50 +01:00
R. RyanTM
271c827b0e clamav: 0.103.2 -> 0.103.3 2021-06-23 10:56:15 +00:00
Thomas Gerbet
df7cebe08b clamav: 0.103.1 -> 0.103.2
Fixes CVE-2021-1252, CVE-2021-1404 and CVE-2021-1405.

Release notes:
https://blog.clamav.net/2021/04/clamav-01032-security-patch-release.html
2021-04-12 11:13:35 +02:00
R. RyanTM
be34c917b3 clamav: 0.103.0 -> 0.103.1 2021-02-07 04:29:40 +00:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Sandro
47134948c8
Apply suggestions from code review 2020-12-08 03:13:01 +01:00
Rick van Schijndel
b7bdab77eb clamav: enable unit tests, add libjson-c, disable rar explicitly
- Add libjson-c dependency for --gen-json functionality.
- Disable rar functionality
  - Because it uses non-free software
  - Because it doesn't work properly without extra patches
  - This didn't work before either, but a warning was added about
    failing to load the rar library
- Enable unit tests and add check dependency for that
2020-11-27 19:22:43 +01:00
R. RyanTM
52d5ebe067 clamav: 0.102.4 -> 0.103.0 2020-10-22 15:36:30 +00:00
R. RyanTM
cc6863867a clamav: 0.102.3 -> 0.102.4 2020-07-20 21:16:30 +00:00
Michael Roitzsch
8cd8da2c88 clamav: enable build on darwin 2020-06-15 12:20:53 +02:00
R. RyanTM
f875836f98 clamav: 0.102.2 -> 0.102.3 2020-05-20 12:05:03 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
97303641ca clamav: 0.102.1 -> 0.102.2 2020-02-15 17:52:24 +01:00
R. RyanTM
0b79dfa6fd clamav: 0.102.0 -> 0.102.1 2019-11-25 08:27:30 -08:00
R. RyanTM
ec5f28b753 clamav: 0.101.4 -> 0.102.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/clamav/versions
2019-10-06 20:36:34 -07:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Robin Gloster
47a219d8e7
clamav: 0.101.3 -> 0.101.4 2019-08-23 15:53:07 +02:00
Robin Gloster
4e60b0efae
treewide: update globin's maintained drvs 2019-08-20 19:36:05 +02:00
R. RyanTM
5b97999823 clamav: 0.101.2 -> 0.101.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/clamav/versions
2019-08-18 21:38:13 -07:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM
5285e70749 clamav: 0.101.1 -> 0.101.2 (#58653) 2019-04-02 07:36:41 +00:00
R. RyanTM
4ae30e299b clamav: 0.101.0 -> 0.101.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/clamav/versions
2019-01-17 17:40:28 -08:00
R. RyanTM
3f4dbf5b41 clamav: 0.100.2 -> 0.101.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/clamav/versions
2018-12-16 16:42:02 +00:00
R. RyanTM
b249bcc7b4 clamav: 0.100.1 -> 0.100.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/clamav/versions
2018-10-16 00:31:09 -07:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Franz Pletz
86e27e29c4
clamav: 0.99.4 -> 0.100.1 2018-07-16 00:04:44 +02:00
Ryan Mulligan
038a0c9a60 treewide: http to https 2018-04-30 21:39:20 -07:00
Franz Pletz
5050d05656
clamav: 0.99.3 -> 0.99.4 for multiple CVEs
Fixes CVE-2012-6706, CVE-2017-6419, CVE-2017-11423, CVE-2018-0202,
CVE-2018-1000085.
2018-03-22 01:05:29 +01:00
Robin Gloster
15ce244d0c
clamav: fix fd leakage 2018-01-26 18:29:55 +01:00
Franz Pletz
cb142ae728
clamav: 0.99.2 -> 0.99.3 2018-01-26 16:02:29 +01:00
Andreas Rammhold
f01acd4cd5
clamav: apply patch for CVE-2017-6420
Details at [1].

[1] https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-6420
2017-11-21 21:39:29 +01:00
Jörg Thalheim
18232bca7e clamav: fix build 2017-08-26 10:22:42 +01:00
Vladimír Čunát
81c51b18ee
clamav: fixup build after updating zlib 2017-01-08 14:18:28 +01:00
Franz Pletz
9e1e3b2880
clamav service: refactor
* Sync systemd units with upstream. Upstream uses SIGUSR2 instead of SIGHUP
  to reload the clamd service.

* Convert freshclam service to a oneshot service activated by a systemd timer.
  This way we can make clamd wait for freshclam to finish fetching the virus
  database before failing to start if the database doesn't exist yet.

* Fixes console tools to work as expected as they require hardcoded config
  file locations.
2016-11-15 04:47:14 +01:00