Commit Graph

360 Commits

Author SHA1 Message Date
Orion Poplawski d526a971f9 Update to 0.102.2
Drop supporting deprecated options for F32+ and EL8+
Drop old umask patch
2020-02-09 15:44:46 -07:00
Sérgio M. Basto 53414b2919 Add conditional old_freshclam 2020-02-09 22:03:38 +00:00
Orion Poplawski 2d3f9e8100 Re-add clamav-update.cron (bz#1800226) 2020-02-09 13:59:59 -07:00
Sérgio M. Basto cf32b14aa9 Add a message warning that We now provide clamav-freshclam.service systemd
unit instead old scripts
2020-02-05 06:56:52 +00:00
Sérgio M. Basto 53394fefe4 Cleanups 2020-01-31 05:14:45 +00:00
Fedora Release Engineering d74f556fea - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 14:06:47 +00:00
Sérgio M. Basto a2e29ed858 Fix typo 2020-01-28 02:51:32 +00:00
Sérgio M. Basto df27a18513 Comment "Example" in scan.conf to make clamd@scan.service works without editing
Improve description of clamav-update
2020-01-28 02:30:13 +00:00
Sérgio M. Basto 607a7f16de Remove llvm-glibc.patch (upstream already fixed it) 2020-01-28 02:25:20 +00:00
Sérgio M. Basto 7a201cd807 More cleanups 2020-01-28 02:25:20 +00:00
Sérgio M. Basto 8f1ad71617 Fix clamd scriplets on update and add scriplets for clamav-freshclam.service 2020-01-26 17:23:15 +00:00
Sérgio M. Basto c162cace14 Use upstream freshclam systemd unit file, remove freshclam-sleep
Get rid of pkgdatadir variable
Get rid of %freshclamlog variable
Get rid of smartsubst function
deleted:    clamav-update.crond
deleted:    clamav-update.logrotate
deleted:    freshclam-sleep
deleted:    freshclam.sysconfig
2020-01-24 07:05:30 +00:00
Sérgio M. Basto d443ff4fb5 Improve upgrade path 2020-01-24 05:55:45 +00:00
Sérgio M. Basto e7cfcf5c37 Fix scriplets (#1788338) 2020-01-17 03:45:41 +00:00
Sérgio M. Basto 9833a06d13 Remove old init scripts and use only systemd
Still need some work at least add freshclam unit
2019-12-17 05:07:55 +00:00
Orion Poplawski 36e0fae968 Allow building --with unrar again (bz#1782638) 2019-12-16 21:49:01 -07:00
Orion Poplawski 911f05187a Update cvd numbers 2019-11-23 19:25:15 -07:00
Orion Poplawski a7555a5b2e Update to 0.101.5 (CVE-2019-15961) (bz#1775550) 2019-11-23 19:16:00 -07:00
Orion Poplawski 234a5b82e7 Drop clamd@scan.service file (bz#1725810)
Change /var/run to /run
2019-11-18 20:49:22 -07:00
Orion Poplawski 5b6ec7c15a Add TimeoutStartSec=420 to clamd@.service to match upstream (bz#1764835) 2019-11-18 20:41:21 -07:00
Orion Poplawski 8851f66eeb Fix daily.cvd version 2019-08-23 08:23:48 -06:00
Orion Poplawski 26c79bfb7e Update to 0.101.4 2019-08-22 10:33:08 -06:00
Orion Poplawski 11389c9b42 Update cvd versions 2019-08-07 09:09:51 -06:00
Orion Poplawski 31dd11c723 Update to 0.101.3
Fix permissions on freshclam.conf (bugz#1733112)
2019-08-07 09:06:05 -06:00
Fedora Release Engineering 7742d03623 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 20:19:26 +00:00
Sérgio M. Basto 1d6f132bb7 One year later we may remove pakages workaround of clamav-milter-systemd,
clamav-scanner-systemd and clamav-server-systemd, before I forget it was one
  workaround to allow migration of service without stop it and disable it
  (#1583599).
2019-06-30 02:44:45 +01:00
Sérgio M. Basto c8db3d7cbc Update to 0.101.2 2019-03-28 01:16:06 +00:00
Fedora Release Engineering b2b8a9632f - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 15:39:28 +00:00
Igor Gnatenko ef3ff34958 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:23:57 +01:00
Igor Gnatenko df7c817441
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:38:38 +01:00
Sérgio M. Basto eac463fbb7 Update to 0.101.1 2019-01-10 05:15:39 +00:00
Orion Poplawski c2d8e5e2f3 Actually apply patch 2019-01-03 17:47:10 -07:00
Orion Poplawski 767676d90f Explicitly list sonames to catch soname bumps
Backport header fix (bug #1663011)
2019-01-03 16:54:25 -07:00
Orion Poplawski e14c7e39d1 Fix file list 2018-12-13 12:24:29 -07:00
Orion Poplawski 26ce29c350 - Add %%license
- pdf docs replaced with html
- be explicit with binaries to catch when they change
- --with-curl=/usr actually breaks libcurl detection, drop it
2018-12-13 12:03:45 -07:00
Orion Poplawski ef838638fb Add BR on gcc-c++ 2018-12-13 10:59:37 -07:00
Orion Poplawski 202154b326 Update to 0.101.0 2018-12-13 10:06:04 -07:00
Sérgio M. Basto 68d24dd789 Update a little detail in comments 2018-10-04 18:14:52 +01:00
Sérgio M. Basto 4b6e1ae58a Revert unwanted committed parts of commit "clean whitespace"
Update changelog
2018-10-04 12:50:34 +01:00
Sérgio M. Basto ea82c8be41 Update to 0.100.2 2018-10-04 06:58:44 +01:00
Sérgio M. Basto 629b8f12eb Change the default location of configuration files in clamconf, binaries and
man pages, replacing with our default packaging (#859339).
2018-07-31 03:41:33 +01:00
Sérgio M. Basto 86e162cf47 Minor modificationr, move some lines 2018-07-29 07:44:54 +01:00
Sérgio M. Basto a373eeed21 Drop conditionalized build of noarch
By comments we have it for RHEL 5 so we don't need it anymore.
2018-07-29 07:41:46 +01:00
Sérgio M. Basto d125b3b535 Remove redundant scriplets 2018-07-29 07:38:06 +01:00
Sérgio M. Basto aced9bb44e Add release and changelog 2018-07-29 07:36:33 +01:00
Sérgio M. Basto f1713618d1 (#787434) modify group of /var/run/clamd.scan
After 6 years and reading some reports as bug #787434, #1284253, we need
that /var/run/clamd.scan can be read from oher users, changing directory
ownerchip to virusgroup, makes clamilt and users of virusgroup group,
access to directory and read the socket.
This solution also assure that regular user don't have access to the
directory .
2018-07-29 07:01:58 +01:00
Sérgio M. Basto 97c2b729d7 As written in [1] the clamav-0.99.1-setsebool.patch
is pointless.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1449616#c1
2018-07-26 00:37:56 +01:00
Fedora Release Engineering ae505a3f81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 21:49:44 +00:00
Sérgio M. Basto 9d78ad07b0 Update to 0.100.1 2018-07-11 02:42:08 +01:00
Sérgio M. Basto c5f0683a9c Fix warnings about macros expanded in comments 2018-07-03 14:40:03 +01:00
Sérgio M. Basto 15e5a2c1c5 Remove sub-package clamav-data-empty
Also remove conflicts between clamav-data and clamav-data-empty
i.e user may install "clam*"
2018-07-03 14:40:03 +01:00
Sérgio M. Basto 7e6011ba1e More details in description of the package 2018-06-03 04:40:34 +01:00
Sérgio M. Basto ef587a6a43 Same mitigation for clamav-milter 2018-06-03 02:45:21 +01:00
Sérgio M. Basto ea823d8b6c Try to mitigate bug #1583599 2018-06-03 01:57:54 +01:00
Sérgio M. Basto ccea2e3872 Get rid of provides/requires with updateuser, virusgroup, scanuser and
milteruser and just simply require clamav-filesystem
2018-05-30 01:36:05 +01:00
Sérgio M. Basto 8c014995c9 clamav-milter could work without clamd and without sendmail (#1583599) 2018-05-30 01:36:05 +01:00
Sérgio M. Basto 734f2ac8e3 Move comments one line (to read before starting the scriptlet) 2018-05-30 01:36:05 +01:00
Robert Scheck 7b491c4ecf Upgrade to 0.100.0 (#1565381) 2018-05-29 02:43:26 +02:00
Sérgio M. Basto 0b7392939e More fixes in data-empty sub-package
Don't ghost any file, ghost files of *.cld are laready in clamav-update sub-package
With data-empty require clamav-update.
2018-03-21 18:16:46 +00:00
Sérgio M. Basto 5e34a1f23d Add Obsoletes systemd sub-packages 2018-03-21 04:55:43 +00:00
Sérgio M. Basto abc6c60342 Fix data-empty sub-package (ghost the correct files) 2018-03-21 04:55:04 +00:00
Sérgio M. Basto 58b63a7ac4 Disable llvm in ppc64 (#1534071)
From [1] "Disable llvm will use the internal bytecode interpreter rather than the llvm
  jit", so drop bytecode build condition and use condional on enable or disable
  llvm.

[1] http://lists.clamav.net/pipermail/clamav-users/2017-May/004572.html
2018-03-12 05:11:28 +00:00
Sérgio M. Basto ab5a44591d Revert fix for llvm, build using -std=gnu++98 (#1307378)
Revert CFLAG assignment in commmit a4a6d252 (made in 2006)
BR systemd-devel to fix detection in configure.
2018-03-12 04:32:01 +00:00
Orion Poplawski e25f69a9fe Update to 0.99.4
Security fixes CVE-2012-6706 CVE-2017-6419 CVE-2017-11423 CVE-2018-1000085
  CVE-2018-0202
2018-03-02 09:45:24 -07:00
Sérgio M. Basto 083b73de65 Explicitly enable-id-check and enable-dns
in configure (as in el6).
2018-02-14 04:28:06 +00:00
Sérgio M. Basto f73374371a Release still 7 2018-02-14 04:21:41 +00:00
Sérgio M. Basto 9f236452b6 Add missing build-time requirement pcre2-devel 2018-02-14 04:19:36 +00:00
Sérgio M. Basto 3fb039a126 Added missing build-time requirement to pcre-devel 2018-02-14 04:10:16 +00:00
Sérgio M. Basto 1977bdfb21 Call server and scanner sub-packages as clamd
(el6 compatible and as uppstream call it)
clamav-data provides clamav-db (el6 compatible)
2018-02-14 03:29:53 +00:00
Sérgio M. Basto 5491d97ace remove sub-packages , sysvinit , upstart, systemd to be more compatible with
el6 .

Adjust requires, provides and obsoletes.

- Remove provides/obsoletes for very old sub-packges clamav-milter-core,
  clamav-milter-sendmail and clamav-milter-core
2018-02-13 20:39:23 +00:00
Igor Gnatenko 0438913e58
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:04:14 +01:00
Fedora Release Engineering 1bd085d737 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 05:01:15 +00:00
Sérgio M. Basto 5f972d5320 Remove BR _includedir/tcpd.h due:
https://fedoraproject.org/wiki/Changes/Deprecate_TCP_wrappers
2018-02-03 05:33:54 +00:00
Sérgio M. Basto 2ac33e2151 Epel 7 macro already have systemctl daemon-reload, reverting 0.99.3-3 release 2018-02-03 04:43:55 +00:00
Sérgio M. Basto c5364c491f fix typo 2018-01-31 16:20:26 +00:00
Sérgio M. Basto fb4f5e772e Use systemctl daemon-reload because we change services and epel7 seems not
reload services and break contional restart.
2018-01-31 16:03:37 +00:00
Sérgio M. Basto 5e876f7998 Update changelog 2018-01-31 12:21:34 +00:00
Sérgio M. Basto 632d7f8898 Remove triggerin macros that aren't need it anymore 2018-01-31 12:19:06 +00:00
Sérgio M. Basto b757799536 Fix scriplet 2018-01-31 12:19:06 +00:00
Sérgio M. Basto 4f7b2b61d5 Organize startup scriptlets 2018-01-31 12:19:06 +00:00
Sérgio M. Basto 1d79f9aa48 Fix and organize systemd scriptlets
clamd@.service missed systemd_preun macro and had a wrong
systemd_postun_with_restart
2018-01-31 12:17:54 +00:00
Sérgio M. Basto 0b56d04421 Exclude one file listed twice 2018-01-31 10:25:55 +00:00
Orion Poplawski c67bf0c8c0 Update to 0.99.3
Security fixes CVE-2017-12374 CVE-2017-12375 CVE-2017-12376 CVE-2017-12377
  CVE-2017-12378 CVE-2017-12379 CVE-2017-12380 (bug #1539030)
Drop clamav-notify-servers and it's dependency on ncat (bug #1530678)
2018-01-26 11:29:37 -07:00
Sérgio M. Basto f02bd6b37a Also fix type of clamav-milter.service 2018-01-17 20:49:23 +00:00
Sérgio M. Basto 82c4e87a7b Fix packages name of Obsoletes directives 2018-01-17 04:22:43 +00:00
Orion Poplawski 8e91346cb1 Fix type of clamd@ service 2018-01-16 09:11:29 -07:00
Sérgio M. Basto 0250ae4d05 fix unit tests 2018-01-11 20:52:57 +00:00
Sérgio M. Basto 8c0e645ad0 Security fix CVE-2017-6419 is only for 0.99.3 beta 2018-01-11 04:11:13 +00:00
Sérgio M. Basto 1d4f821e90 Security fixes CVE-2017-6420 (#1483910), CVE-2017-6419 (#1483909),
CVE-2017-6418 (#1483908)
2018-01-11 03:18:45 +00:00
Sérgio M. Basto e817c70f8e Make sure that Obsoletes sysv and upstart for Epel upgrade and update 2018-01-09 23:46:49 +00:00
Sérgio M. Basto af0cb6b828 Update Changelog
Remove hack from 2010 (git show e1a9be60)
Use autoreconf without --force
2018-01-09 01:51:03 +00:00
Sérgio M. Basto a5fa201dd6 Update main.cvd, daily.cvd and bytecode.cvd 2018-01-09 00:29:41 +00:00
Sérgio M. Basto b0dfdafeb1 Move Sources and BuildRequires to the beginning
of the spec
2018-01-08 23:31:59 +00:00
Sérgio M. Basto 9ef76ba06b Build systemd for F22+ and el7+
Build sysv and upstart for el6 else build only sysv

Only enable tmpfiles with systemd enabled

Move descritions to near the package macro and remove his build
conditionals, this also fix the generation of src.rpm
2018-01-08 23:30:15 +00:00
Sérgio M. Basto e613e507ef Fix rundir path (#1126595) 2018-01-08 21:27:09 +00:00
Sérgio M. Basto c6bcaca9cf Simplify conditional builds
reference: /usr/lib/rpm/macros
and use make_build and make install macros
2018-01-04 18:20:42 +00:00
Sérgio M. Basto eec7d43883 Fix rhbz #1518016 2018-01-04 18:20:42 +00:00
Sérgio M. Basto c7796f6d58 fix for rhbz #1530678 2018-01-04 16:01:27 +00:00
Sérgio M. Basto 93754c1f34 use 4 spaces instead of tabs
with vim
:set expandtab
;set softtabstop=4
;set ts=4
;set sw=4
:retab
2018-01-04 15:49:54 +00:00
Robert Scheck b63618be8b Backported upstream patch to unbreak e2guardian vs. temp files 2017-11-26 03:46:38 +01:00