]> git.pld-linux.org Git - packages/clamav.git/blobdiff - clamav-pld_config.patch
rebuild with openssl 3.0.0
[packages/clamav.git] / clamav-pld_config.patch
index d6c53d0d6ae35669874a0f88e1429f5ca6c56ff1..025a69b0907b486d31eb74a283e42631d8339011 100644 (file)
@@ -1,5 +1,67 @@
---- clamav-0.96rc1/etc/clamd.conf~     2010-03-10 15:27:30.000000000 +0100
-+++ clamav-0.96rc1/etc/clamd.conf      2010-03-11 09:45:32.817607707 +0100
+diff -urNp -x '*.orig' clamav-0.103.0.org/etc/clamav-milter.conf.sample clamav-0.103.0/etc/clamav-milter.conf.sample
+--- clamav-0.103.0.org/etc/clamav-milter.conf.sample   2020-09-13 02:27:09.000000000 +0200
++++ clamav-0.103.0/etc/clamav-milter.conf.sample       2021-04-06 16:38:59.095023292 +0200
+@@ -3,7 +3,7 @@
+ ##
+ # Comment or remove the line below.
+-Example
++#Example
+ ##
+@@ -17,12 +17,12 @@ Example
+ # inet6:port@[hostname|ip-address] - to specify an ipv6 socket
+ #
+ # Default: no default
+-#MilterSocket /tmp/clamav-milter.socket
++MilterSocket /var/lib/clamav/clamav-milter.socket
+ #MilterSocket inet:7357
+ # Define the group ownership for the (unix) milter socket.
+ # Default: disabled (the primary group of the user running clamd)
+-#MilterSocketGroup virusgroup
++#MilterSocketGroup clamav
+ # Sets the permissions on the (unix) milter socket to the specified mode.
+ # Default: disabled (obey umask)
+@@ -64,7 +64,7 @@ Example
+ # also owned by root to keep other users from tampering with it.
+ #
+ # Default: disabled
+-#PidFile /var/run/clamav-milter.pid
++PidFile /var/run/clamav/clamav-milter.pid
+ # Optional path to the global temporary directory.
+ # Default: system specific (usually /tmp or /var/tmp).
+@@ -91,7 +91,7 @@ Example
+ # fashion.
+ #
+ # Default: no default
+-#ClamdSocket tcp:scanner.mydomain:7357
++ClamdSocket unix:/var/lib/clamav/clamd.socket
+ ##
+@@ -241,13 +241,13 @@ Example
+ # Use system logger (can work together with LogFile).
+ #
+ # Default: no
+-#LogSyslog yes
++LogSyslog yes
+ # Specify the type of syslog messages - please refer to 'man syslog'
+ # for facility names.
+ #
+ # Default: LOG_LOCAL6
+-#LogFacility LOG_MAIL
++LogFacility LOG_MAIL
+ # Enable verbose logging.
+ #
+diff -urNp -x '*.orig' clamav-0.103.0.org/etc/clamd.conf.sample clamav-0.103.0/etc/clamd.conf.sample
+--- clamav-0.103.0.org/etc/clamd.conf.sample   2020-09-13 02:27:09.000000000 +0200
++++ clamav-0.103.0/etc/clamd.conf.sample       2021-04-06 16:38:59.095023292 +0200
 @@ -5,13 +5,13 @@
  
  
@@ -16,7 +78,7 @@
  
  # By default the log file is locked for writing - the lock protects against
  # running clamd multiple times (if want to run another clamd, please
-@@ -40,12 +40,12 @@
+@@ -41,12 +41,12 @@ Example
  
  # Use system logger (can work together with LogFile).
  # Default: no
  
  # Enable verbose logging.
  # Default: no
-@@ -54,7 +54,7 @@
- # This option allows you to save a process identifier of the listening
- # daemon (main thread).
+@@ -74,7 +74,7 @@ Example
+ # It is recommended that the directory where this file is stored is
+ # also owned by root to keep other users from tampering with it.
  # Default: disabled
 -#PidFile /var/run/clamd.pid
 +PidFile /var/run/clamav/clamd.pid
  
  # Optional path to the global temporary directory.
  # Default: system specific (usually /tmp or /var/tmp).
-@@ -73,7 +73,7 @@
+@@ -93,11 +93,11 @@ Example
  
  # Path to a local socket file the daemon will listen on.
  # Default: disabled (must be specified by a user)
  
  # Sets the group ownership on the unix socket.
  # Default: disabled (the primary group of the user running clamd)
-@@ -183,11 +183,11 @@
+-#LocalSocketGroup virusgroup
++#LocalSocketGroup clamav
+ # Sets the permissions on the unix socket to the specified mode.
+ # Default: disabled (socket is world accessible)
+@@ -216,7 +216,7 @@ Example
  
  # Run as another user (clamd must be started by root for this option to work)
  # Default: don't drop privileges
 -#User clamav
 +User clamav
  
- # Initialize supplementary group access (clamd must be started by root).
- # Default: no
--#AllowSupplementaryGroups no
-+AllowSupplementaryGroups yes
  # Stop daemon when libclamav reports out of memory condition.
  #ExitOnOOM yes
-@@ -436,15 +436,15 @@
- # Set access mask for Clamuko (Dazuko only).
- # Default: no
--#ClamukoScanOnOpen yes
--#ClamukoScanOnClose yes
--#ClamukoScanOnExec yes
-+ClamukoScanOnOpen yes
-+ClamukoScanOnClose yes
-+ClamukoScanOnExec yes
- # Set the include paths (all files inside them will be scanned). You can have
- # multiple ClamukoIncludePath directives but each directory must be added
- # in a seperate line. (Dazuko only)
- # Default: disabled
--#ClamukoIncludePath /home
-+ClamukoIncludePath /home
- #ClamukoIncludePath /students
- # Set the exclude paths. All subdirectories are also excluded. (Dazuko only)
---- clamav-0.96rc1/etc/freshclam.conf~ 2010-02-26 11:56:59.000000000 +0100
-+++ clamav-0.96rc1/etc/freshclam.conf  2010-03-11 09:52:38.261708157 +0100
+diff -urNp -x '*.orig' clamav-0.103.0.org/etc/freshclam.conf.sample clamav-0.103.0/etc/freshclam.conf.sample
+--- clamav-0.103.0.org/etc/freshclam.conf.sample       2020-09-13 02:27:09.000000000 +0200
++++ clamav-0.103.0/etc/freshclam.conf.sample   2021-04-06 16:38:59.095023292 +0200
 @@ -3,9 +3,14 @@
  ## Please read the freshclam.conf(5) manual before editing this file.
  ##
  
  # Path to the database directory.
  # WARNING: It must match clamd.conf's directive!
-@@ -30,11 +35,11 @@
- # Enable verbose logging.
- # Default: no
--#LogVerbose yes
-+LogVerbose yes
+@@ -35,7 +40,7 @@ Example
  
  # Use system logger (can work together with UpdateLogFile).
  # Default: no
  
  # Specify the type of syslog messages - please refer to 'man syslog'
  # for facility names.
-@@ -48,7 +53,7 @@
+@@ -61,7 +61,7 @@ LogSyslog yes
  # By default when started freshclam drops privileges and switches to the
  # "clamav" user. This directive allows you to change the database owner.
  # Default: clamav (may depend on installation options)
 -#DatabaseOwner clamav
 +DatabaseOwner clamav
  
- # Initialize supplementary group access (freshclam must be started by root).
- # Default: no
-@@ -89,7 +94,7 @@
+ # Use DNS to verify virus database version. FreshClam uses DNS TXT records
+ # to verify database and software versions. With this directive you can change
+@@ -115,7 +120,7 @@ DatabaseMirror database.clamav.net
  
  # Number of database checks per day.
  # Default: 12 (every two hours)
 +Checks 2
  
  # Proxy settings
- # Default: disabled
-@@ -111,7 +116,7 @@
+ # The HTTPProxyServer may be prefixed with [scheme]:// to specify which kind
+@@ -150,7 +150,7 @@ Checks 2
  
  # Send the RELOAD command to clamd.
  # Default: no
 +#NotifyClamd /etc/clamd.conf
  
  # Run command after successful database update.
- # Default: disabled
+ # Use EXIT_1 to return 1 after successful database update.
This page took 0.053074 seconds and 4 git commands to generate.