Commit Graph

669 Commits

Author SHA1 Message Date
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 f76b739429 Update to 0.99.4
Security fixes CVE-2012-6706 CVE-2017-6419 CVE-2017-11423 CVE-2018-1000085
  CVE-2018-0202

Conflicts:
	clamav.spec
2018-03-02 10:08:35 -07: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
Sérgio M. Basto c93e477aa4 Merge branch 'el6' 2018-01-27 02:21:29 +00:00
Sérgio M. Basto 162c660fd5 Clamav 0.99.3 with git "merge" master
i.e.: git diff HEAD..master | patch -p1
and git add ChangeLog-rpm.old README.fedora clamav-0.98-umask.patch clamav-0.99-private.patch  clamav-milter.systemd clamav-milter.sysv clamav-milter.upstart clamav-update.crond clamav-update.logrotate clamd-README clamd-gen clamd-wrapper clamd.SERVICE.init clamd.scan.upstart clamd.sysconfig clamd@.service clamd@scan.service freshclam-sleep freshclam.sysconfig llvm-glibc.patch

and again git diff HEAD..master | patch -p1
patching file clamd-gen
patching file freshclam-sleep
2018-01-27 00:03: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 99fd834836 Yet another fix for clamd@ service 2018-01-17 17:20:04 +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 252e9b4a1c Remove unused files (verinfo and lastver) 2018-01-09 03:28:34 +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 cecf2aab5b Fixes for rhbz 1464269 and 1126625 2018-01-08 23:53:17 +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 4f3fd81e6a Backported upstream patch to unbreak e2guardian vs. temp files 2017-11-26 03:55:21 +01: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