Commit Graph

360 Commits

Author SHA1 Message Date
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
Adam Jackson 21e7a7d7d8 Drop sysvinit subpackages in F23+ 2015-03-10 15:02:00 -04:00
Robert Scheck de7237b51e Upgrade to 0.98.6 and updated daily.cvd (#1187050) 2015-01-29 22:21:58 +01:00
Robert Scheck b6e28ea418 Corrected summary of clamav-server-systemd package (#1165672) 2014-11-19 21:03:46 +01:00
Robert Scheck 9246c31f48 Merge branch 'master' of ssh://pkgs.fedoraproject.org/clamav
Conflicts:
	clamav.spec
2014-11-19 13:00:35 +01:00
Robert Scheck cf98e1a8b5 Upgrade to 0.98.5 and updated daily.cvd (#1138101) 2014-11-19 12:59:13 +01:00
Peter Robinson 5bfc5ded7a - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 00:19:09 +00:00
Robert Scheck 6775c77e9f Work around https://bugzilla.redhat.com/show_bug.cgi?id=1096480 2014-06-21 19:53:46 +02:00
Robert Scheck 607bcfd76d Merge branch 'master' of ssh://pkgs.fedoraproject.org/clamav
Conflicts:
	clamav.spec
2014-06-21 19:40:47 +02:00
Robert Scheck 5fcbde9d29 - Upgrade to 0.98.4 and updated daily.cvd (#1111811)
- Add build requirement to libxml2 for DMG, OpenIOC and XAR
2014-06-21 19:40:03 +02:00
Dennis Gilmore b7f81c2b58 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-06 23:50:22 -05:00
Robert Scheck 07c7f28670 - Upgrade to 0.98.3 and updated daily.cvd (#1095614)
- Avoid automatic path detection breakage regarding curl
- Added build requirement to openssl-devel for hasing code
- Added clamsubmit to main package
2014-05-10 23:17:17 +02:00
Robert Scheck 1f72798844 Merge branch 'master' of ssh://pkgs.fedoraproject.org/clamav
Conflicts:
	clamav.spec
2014-01-15 11:41:38 +01:00
Robert Scheck 56d62ee29b Upgrade to 0.98.1 and updated daily.cvd (#1053400) 2014-01-15 11:40:02 +01:00
Dan Horák 114a6b262e - Use fanotify from glibc instead of the limited hand-crafted version 2013-10-09 13:10:55 +02:00
Robert Scheck ab402e5910 Added patch with system call numbers for ARM 2013-10-06 22:37:27 +02:00
Robert Scheck 57cb746617 Upgrade to 0.98 and updated main.cvd and daily.cvd (#1010168) 2013-10-06 22:07:29 +02:00
Pierre-Yves Chibon 5a2b1507b9 Add requires on crontabs 2013-08-07 23:02:16 +02:00
Dennis Gilmore bfe1515b1a - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-02 23:59:06 -05:00
Nick Bebout 3ab073822f Bump release 2013-06-13 15:30:32 -05:00
Nick Bebout f3d1b8a499 Fix 964328 2013-06-13 15:28:54 -05:00
Nick Bebout d9100628a2 Upgrade to 0.97.8 2013-05-04 19:50:36 -05:00
Jon Ciesla d2c5bf5b25 Migrate away from fedora-usermgmt. 2013-04-11 06:28:01 -05:00
Nick Bebout cd7c063b76 Update to 0.97.7 2013-04-02 19:56:46 -05:00
Nick Bebout 84f95c178a Update to 0.97.7 2013-03-23 17:25:05 -05:00
Dennis Gilmore 1782978114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 12:32:38 -06:00
Enrico Scholz 83f132f1a4 use %systemd macros 2012-09-22 12:44:58 +02:00
Enrico Scholz 62e973205c updated to 0.97.6 2012-09-22 12:36:45 +02:00
Enrico Scholz 3b40094342 disabled upstart support 2012-08-14 18:07:58 +02:00
Dennis Gilmore 43594955ee - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 14:03:24 -05:00
Enrico Scholz 7a283cf2dc removed sysv compat stuff 2012-06-16 12:24:00 +02:00
Enrico Scholz 590f97793c ship local copy of virus database
Although it is a welcome change that database was removed from upstream
tarball, this seems to happened by accident only.  To avoid big changes
until situation has been clarified ship a manually downloaded copy for
now.
2012-06-16 12:22:58 +02:00
Enrico Scholz 2d0fed8b46 updated to 0.97.5 2012-06-16 12:19:48 +02:00
Enrico Scholz 6a1f662439 build with -fPIE 2012-04-13 10:49:30 +02:00
Enrico Scholz 1712173bda updated to 0.97.4 2012-03-16 09:42:55 +01:00
Enrico Scholz 05b60da89e bumped release 2012-02-05 13:33:59 +01:00
Enrico Scholz 6134d15e7d fixed build with recent gcc/glibc toolchain 2012-02-05 13:02:29 +01:00
Enrico Scholz a1f6a71944 fixed version in %trigger 2012-02-05 13:01:58 +01:00
Enrico Scholz 57ac72ac35 added trigger to fix SELinux contexts of logfiles created by old
packages
2012-01-29 11:23:44 +01:00
Enrico Scholz bc6f65ebf5 fixed superflous }} 2012-01-26 00:11:30 +01:00
Enrico Scholz 288f0208d5 fixed SELinux restorecon invocation 2012-01-26 00:08:11 +01:00
Enrico Scholz eed51b8ded added comments about EOL of -upstart subpackages 2012-01-21 14:32:52 +01:00
Enrico Scholz a11aee2247 bumped release 2012-01-21 13:45:32 +01:00
Enrico Scholz 358f07304a shuffled around some SourceX: definitions 2012-01-21 13:31:18 +01:00
Enrico Scholz 60764cd5d2 set PrivateTmp systemd option (#782488) 2012-01-21 13:30:21 +01:00
Enrico Scholz adba5caebf clamav-notify-servers: rewrote script to be init-neutral
it just sends a 'zRELOAD' command to autodetected and/or configurable
sockets,

NOTE: new scripts requires the 'timeout' utility from recent
'coreutils'.  It is *not* shipped by RHEL5 and before.
2012-01-21 13:28:39 +01:00
Enrico Scholz 754437bfae bumped release 2012-01-08 12:55:36 +01:00
Enrico Scholz acfec682de shuffled around the 'clamd-wrapper' definitions 2012-01-08 12:55:35 +01:00
Enrico Scholz ff790d3534 made script in -scanner-systemd an instance of clamd@.service 2012-01-08 12:55:35 +01:00
Enrico Scholz 09cf83a8cf created -server-systemd subpackage providing a clamd@.service template 2012-01-08 11:54:30 +01:00
Enrico Scholz df4373da0e create systemd tmpfiles 2012-01-08 11:42:38 +01:00
Enrico Scholz 57625932d3 set correct SELinux context for logfiles generated in %post (#754555) 2012-01-08 11:40:25 +01:00
Enrico Scholz 561d35c30e moved sysv wrapper script into -sysv subpackage 2012-01-08 11:38:23 +01:00
Enrico Scholz ec71ab79e4 start systemd services after network.target and nss-lookup.target 2012-01-08 11:37:35 +01:00
Nick Bebout f5c3f18f2d Update to 0.97.3 - Fixes CVE-2011-3627 2011-10-27 17:15:23 -05:00
Enrico Scholz 1747f49ec7 fixup! updated to 0.97.2
set correct CVE number
2011-07-26 23:10:09 +02:00
Enrico Scholz 55ae14c939 added and use %systemd_install + %systemd_req macros 2011-07-26 22:59:58 +02:00
Enrico Scholz 85dd73eaab updated to 0.97.2 2011-07-26 22:19:04 +02:00
Enrico Scholz 652b406dac fixed Requires(preun) vs. Requires(postun) inconsistency 2011-06-09 20:42:46 +02:00
Enrico Scholz 2b2f955502 updated to 0.97.1 2011-06-09 20:26:55 +02:00
Enrico Scholz 9fe7b848c1 fixed tmpfiles.d syntax 2011-04-23 11:41:08 +02:00
Enrico Scholz e3d4e0f340 - updated to 0.97
- rediffed some patches
2011-02-20 17:39:15 +01:00
Dennis Gilmore 788561e09a - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 02:51:48 -06:00
Enrico Scholz 77795d29eb fixed signal specifier in clamd-wrapper (#668131) 2011-01-08 10:47:53 +01:00
Enrico Scholz 69c6c9fad7 - added systemd init scripts which obsolete to old sysvinit ones
- added tmpfiles.d/ descriptions
- minor specfile cleanups
2010-12-24 13:00:02 +01:00
Enrico Scholz d4f86f1e1a updated to 0.96.5 2010-12-04 11:12:53 +01:00
Enrico Scholz 35bfd9d8e2 execute 'make check' (#640347) 2010-11-07 11:27:39 +01:00
Enrico Scholz ba25ade558 updated to 0.96.4 2010-10-31 11:06:04 +01:00
Enrico Scholz 2528e9cbba lowered stop priority of sysv initscripts (#629435) 2010-09-29 09:49:53 +02:00
Enrico Scholz a83f243dbd - updated to 0.96.3
- fixes CVE-2010-0405 in shipped bzlib.c copy
2010-09-22 21:51:34 +02:00
Enrico Scholz d2913cd509 updated to 0.96.2 2010-08-15 22:37:41 +02:00
Enrico Scholz fdd3401d6f execute ${?apply_end} 2010-08-15 22:36:10 +02:00
Enrico Scholz e23ab1c21a rediffed patches for 0.96.2 2010-08-15 22:35:32 +02:00
Enrico Scholz 1b9c20a71e use 'groupmems', not 'usermod'
'usermod' does not work when user does not exist in local /etc/passwd
but e.g. in LDAP
2010-08-11 13:12:59 +02:00