Commit Graph

338 Commits

Author SHA1 Message Date
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
Enrico Scholz
2e749a5857 removed old %trigger which renamed the clamav user- and groupnames to clamupdate 2010-08-11 13:10:23 +02:00
Enrico Scholz
c12c295f10 Revert "Revert "Merge branch 'master' into f12""
This reverts commit 383d5967a8.
2010-08-11 11:13:09 +02:00
Enrico Scholz
383d5967a8 Revert "Merge branch 'master' into f12"
This reverts commit 6804a57f9f, reversing
changes made to e15580c0a0.
2010-08-11 09:53:30 +02:00
Dan Horák
3220785dfb - ocaml not available (at least) on s390(x) 2010-07-13 21:32:29 +00:00
ensc
dc6c42aed9 - updated to 0.96.1
- rediffed patches
- reverted parts of last commit
2010-06-01 19:22:07 +00:00
Rakesh Pandit
423a6569e4 CVE-2010-1639 Clam AntiVirus: Heap-based overflow, when processing
malicious PDF file(s)
2010-05-29 12:13:35 +00:00
ensc
1c5ca07fd1 - updated to final 0.96
- applied upstream patch which allows to disable JIT compiler (#573191)
- build JIT compiler again
- disabled JIT compiler by default
- removed explicit 'pkgconfig' requirements in -devel (#533956)
2010-04-21 08:08:22 +00:00
ensc
aa4db53694 made %changelog entry more accurate 2010-03-20 13:45:56 +00:00
ensc
9c067db367 - do not build the bytecode interpreter for now, until it can be disabled
at runtime (#573191)
- minor spec file cleanups
- use an enhanced version of %release_func()
2010-03-20 11:36:31 +00:00
ensc
9ee61ee93c fixed release tag 2010-03-11 14:21:27 +00:00
ensc
ed0e5d03c4 removed a hack which is not needed anymore 2010-03-11 12:36:21 +00:00
ensc
e1a9be6022 fixed DSO issues 2010-03-11 12:29:36 +00:00
ensc
95227b8b1f updated to 0.96rc1 2010-03-11 12:11:02 +00:00
ensc
84bbd52d7d fixed %apply to work with older rpmbuild versions 2010-01-02 15:01:18 +00:00
ensc
18c2da4c06 updated -upstart to upstart 0.6.3 2009-12-06 11:18:53 +00:00
ensc
5a59f06753 - adjusted chkconfig positions for clamav-milter (#530101)
- use %%apply instead of %%patch
2009-11-21 20:18:22 +00:00
ensc
e0ec3ffa06 updated to 0.95.3 2009-10-29 09:03:06 +00:00
ensc
11ed44bf73 - conditionalized build of noarch subpackages 2009-09-13 13:43:34 +00:00
ensc
3ec0300000 - modified freshclam configuration to log by syslog by default
- disabled LocalSocket option in sample configuration
- fixed clamav-milter sysv initscript to use bash interpreter and to be
    disabled by default
2009-08-09 11:25:35 +00:00
ensc
42e36a2d75 - renamed 'clamav' user/group to 'clamupdate'
- add the '%milteruser' user to the '%scanuser' group when the -scanner
    subpackage is installed
2009-08-08 13:33:12 +00:00
Jesse Keating
44d2450dff - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-24 19:00:16 +00:00
ensc
f3f7462dfb updated 2009-06-11 07:27:31 +00:00