Commit Graph

57 Commits

Author SHA1 Message Date
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
Franz Pletz
02e9c88d77
clamav: don't bundle freshclam config with package
Building clamav is expensive due to the bundled llvm.

Closes #20304.
2016-11-15 02:06:02 +01:00
Tuomas Tynkkynen
048a30e4e4 treewide: Fix dev references to libxml2 2016-08-30 03:02:32 +03:00
Miguel Madrid
2a4ba66d6c clamav: 0.99.1 -> 0.99.2 (#17351) 2016-07-28 23:36:38 +02:00
Tuomas Tynkkynen
7fb29bfa73 treewide: Make explicit that 'dev' output of zlib is used 2016-05-19 10:04:38 +02:00
Tuomas Tynkkynen
d42e94472d treewide: Make explicit that 'dev' output of pcre is used 2016-05-19 10:02:28 +02:00
Tuomas Tynkkynen
2a73de6e6c treewide: Make explicit that 'dev' output of openssl is used 2016-05-19 10:02:23 +02:00
Tuomas Tynkkynen
99acb412ab treewide: Make explicit that 'dev' output of ncurses is used 2016-05-19 10:00:49 +02:00
Tuomas Tynkkynen
e28e010b36 treewide: Make explicit that 'dev' output of curl is used 2016-05-19 10:00:29 +02:00
Tuomas Tynkkynen
c22f86a853 treewide: Make explicit that 'dev' output of bzip2 is used 2016-05-19 10:00:28 +02:00
Franz Pletz
a14decf655 clamav: 0.99 -> 0.99.1 2016-04-12 15:49:54 +02:00
Martin Sturm
507ad9a4f9 clamav: Use freshclam.conf defined by clamav-updater module if enabled 2016-03-04 02:26:44 +01:00
Sheena Artrip
b6a8348a4b clamav: 0.98.7 -> 0.99 2016-02-27 06:59:06 -05:00
lethalman
af4c5f9cc4 Merge pull request #8249 from joachifm/clamav-milter
clamav: build mail filter
2015-06-18 14:47:17 +02:00
Joachim Fasting
261dfad8a7 clamav: build mail filter
Provides clamav-milter, a mail filter for sendmail compatible
MTAs.
2015-06-07 14:36:13 +02:00
Joachim Schiele
00cbf82c01 clamav: CVE-2015-2170 CVE-2015-2221 CVE-2015-2222 CVE-2015-2305 CVE-2015-2668 2015-05-03 02:28:13 +02:00
Eric Seidel
e08b9ab8d3 kill libiconvOr*
Conflicts:
	pkgs/applications/networking/mailreaders/sup/default.nix
	pkgs/development/compilers/ghc/7.8.3-binary.nix
	pkgs/development/interpreters/php/5.3.nix
	pkgs/development/interpreters/ruby/patches.nix
	pkgs/development/libraries/cairo/default.nix
	pkgs/development/libraries/poppler/default.nix
	pkgs/top-level/all-packages.nix
2015-02-07 20:29:28 -08:00
Joachim Fasting
37649e76e3 clamav: bump to version 0.98.6 2015-02-06 08:56:38 +01:00
Longrin Wischnewski
a8bce0cf73 clamav: bump 0.98.4 to 0.98.5 2014-11-22 09:50:41 +01:00
Vladimír Čunát
ed867a50eb iconv: remove usage on Linux in several packages
This fixes builds after #4419. Thanks to @vbgl for the original commit;
I changed that as I'm not sure whether passing null values to buildInputs is clean.

CC maintainers: @coroa, @peti, @phreedom, @robberer, @jcumming.
2014-11-03 12:58:54 +01:00
Longrin Wischnewski
14b2b31113 clamav: add myself as a maintainer 2014-09-18 08:15:16 +02:00