Commit Graph

333 Commits

Author SHA1 Message Date
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
Sérgio M. Basto f5e72a7773 Try fix rhbz #1473642 2017-09-15 19:25:16 +01:00
Fedora Release Engineering 661aa156a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 18:50:07 +00:00
Fedora Release Engineering 1d300b7132 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 04:53:26 +00:00
Sérgio M. Basto f8afcdd815 add BuildRequires: systemd 2017-07-17 17:56:55 +01:00
Sérgio M. Basto 298f77bbbb Add patch for openssl-1.1 2017-07-17 15:54:01 +01:00
Orion Poplawski 055ee19149 Create virusgroup group and add the various clam* users to it 2017-03-27 12:03:28 -06:00
Orion Poplawski 3365dc5533 Make clamav-milter own /etc/mail (bug #1175473) 2017-03-26 16:27:34 -06:00
Orion Poplawski d68214e6e5 Move /etc/clam.d to clamav-filesystem (bug #1275630) 2017-03-26 16:25:21 -06:00
Orion Poplawski 58a08b0d2b Fix clamav-milter startup under selinux (bug #1434176) 2017-03-26 16:10:55 -06:00
Orion Poplawski c0342cfa58 Start clamav-milter after clamd@scan (bug #1356507)) 2017-03-26 16:08:26 -06:00
Orion Poplawski 709eae1b1a Allow freshclam to run automatically on install (bug #1408649) 2017-03-26 15:55:01 -06:00
Fedora Release Engineering a77823cd68 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 07:32:16 +00:00
Richard W.M. Jones d584df9096 Rebuild for OCaml 4.04.0. 2016-11-07 21:47:12 +00:00
Orion Poplawski e0e55d3e0b Also send logrotate script stdout to /dev/null (bug #1376815) 2016-10-18 14:20:42 -06:00
Orion Poplawski fd47d25311 Update to 0.99.2
- Drop cliopts patch fixed upstream, use upstream's "--forground" option name
- Fix main.cvd (fedora #1325482, epel #1325717)
- Own bytecode.cld (#1176252) and mirrors.dat, ship bytecode.cvd
- Update daily.cvd
- Fixup Requires(pre) usage (#1319151)
2016-06-13 11:36:38 -06:00
Orion Poplawski 8121e67272 Drop %defattr() 2016-06-13 09:26:24 -06:00
Orion Poplawski 3c3f4b6e16 Drop %defattr() 2016-06-13 09:24:54 -06:00
Robert Scheck cb1d1637cb - Upgrade to 0.99.1 and updated main.cvd and daily.cvd (#1314115)
- Complain about antivirus_use_jit rather clamd_use_jit (#1295473)
2016-03-29 23:41:07 +02:00
Robert Scheck 99a8f26287 Link using %{?__global_ldflags} for hardened builds (#1321173) 2016-03-29 23:04:03 +02:00
Robert Scheck aa28a8d469 Build using -std=gnu++98 (#1307378, thanks to Yaakov Selkowitz) 2016-03-29 21:30:26 +02:00
Dennis Gilmore 093f44937b - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 17:42:37 +00:00
Robert Scheck 5a9ff07b05 - Require openssl-devel for clamav-devel
- Change clamav-milter unit for upstream changes (#1287795)
2015-12-06 18:04:49 +01:00
Robert Scheck 9815683656 Upgrade to 0.99 and updated daily.cvd (#1287327) 2015-12-02 01:46:49 +01:00
Robert Scheck daca419a0a Move /etc/tmpfiles.d/ to /usr/lib/tmpfiles.d/ (#1126595) 2015-06-30 02:46:50 +02:00
Dennis Gilmore b1f5732e4a - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 02:42:27 +00:00
Robert Scheck f3da639c02 Correct wrong changelog entry 2015-04-29 20:35:48 +02:00
Robert Scheck 1fe280898c Upgrade to 0.98.7 and updated daily.cvd (#1217014) 2015-04-29 20:25:58 +02:00