provide user and group clamav [release 1.4.0-2mamba;Tue Sep 03 2024]

This commit is contained in:
Silvan Calarco 2024-09-04 10:36:35 +02:00
parent bd2b33659d
commit a4273d4b5f
2 changed files with 16 additions and 19 deletions

View File

@ -1,26 +1,15 @@
--- clamav-1.2.0/etc/freshclam.conf.sample.orig 2023-09-09 19:55:29.321772627 +0200 --- clamav-1.4.0/etc/freshclam.conf.sample.orig 2024-08-21 20:11:02.703496385 +0200
+++ clamav-1.2.0/etc/freshclam.conf.sample 2023-09-09 19:57:02.079706335 +0200 +++ clamav-1.4.0/etc/freshclam.conf.sample 2024-08-21 20:12:09.701609375 +0200
@@ -4,17 +4,14 @@ @@ -16,7 +16,7 @@
##
-# Comment or remove the line below.
-Example
-
# Path to the database directory.
# WARNING: It must match clamd.conf's directive!
# Default: hardcoded (depends on installation options)
-#DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /var/lib/clamav
# Path to the log file (make sure it has proper permissions) # Path to the log file (make sure it has proper permissions)
# Default: disabled # Default: disabled
-#UpdateLogFile /var/log/freshclam.log -#UpdateLogFile /var/log/freshclam.log
+#UpdateLogFile /var/log/clamav/freshclam.log +UpdateLogFile /var/log/clamav/freshclam.log
# Maximum size of the log file. # Maximum size of the log file.
# Value of 0 disables the limit. # Value of 0 disables the limit.
@@ -35,7 +32,7 @@ @@ -37,7 +37,7 @@
# Use system logger (can work together with UpdateLogFile). # Use system logger (can work together with UpdateLogFile).
# Default: no # Default: no
@ -29,7 +18,7 @@
# Specify the type of syslog messages - please refer to 'man syslog' # Specify the type of syslog messages - please refer to 'man syslog'
# for facility names. # for facility names.
@@ -52,7 +49,7 @@ @@ -54,7 +54,7 @@
# It is recommended that the directory where this file is stored is # It is recommended that the directory where this file is stored is
# also owned by root to keep other users from tampering with it. # also owned by root to keep other users from tampering with it.
# Default: disabled # Default: disabled

View File

@ -6,7 +6,7 @@
%define libname lib%{name} %define libname lib%{name}
Name: clamav Name: clamav
Version: 1.3.1 Version: 1.4.0
Release: 2mamba Release: 2mamba
Summary: Clam AntiVirus is a GPL anti-virus toolkit for UNIX Summary: Clam AntiVirus is a GPL anti-virus toolkit for UNIX
Group: Applications/Security Group: Applications/Security
@ -19,7 +19,7 @@ Source1: clamav-tmpfiles
Source2: %{name}-clamd.logrotate Source2: %{name}-clamd.logrotate
Source4: %{name}-freshclam.logrotate Source4: %{name}-freshclam.logrotate
Patch0: %{name}-1.3.1-config.patch Patch0: %{name}-1.3.1-config.patch
Patch1: %{name}-1.2.0-freshclam_config.patch Patch1: %{name}-1.4.0-freshclam_config.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -47,6 +47,8 @@ Requires: unzip
Requires(pre): %{libname} = %{?epoch:%epoch:}%{version}-%{release} Requires(pre): %{libname} = %{?epoch:%epoch:}%{version}-%{release}
Requires(pre): /usr/sbin/groupadd Requires(pre): /usr/sbin/groupadd
Requires(pre): /usr/sbin/useradd Requires(pre): /usr/sbin/useradd
Provides: user(clamav)
Provides: group(clamav)
%systemd_requires %systemd_requires
%description %description
@ -247,6 +249,12 @@ fi
#% doc BUGS ChangeLog NEWS README #% doc BUGS ChangeLog NEWS README
%changelog %changelog
* Tue Sep 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-2mamba
- provide user and group clamav
* Thu Aug 22 2024 Automatic Build System <autodist@openmamba.org> 1.4.0-1mamba
- automatic version update by autodist
* Thu May 02 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-2mamba * Thu May 02 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-2mamba
- rebuilt with -DDATABASE_DIRECTORY and ENABLE_EXTERNAL_MS_PACK - rebuilt with -DDATABASE_DIRECTORY and ENABLE_EXTERNAL_MS_PACK
- conf: fix socket file to /run/clamav/clamd.ctl - conf: fix socket file to /run/clamav/clamd.ctl