aboutsummaryrefslogtreecommitdiff
path: root/network/clamav-unofficial-sigs/patches
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2017-03-30 12:04:05 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-01 06:57:06 +0700
commit2f809bbaf34838e646c624657720a8e4319c0ee9 (patch)
tree1cdc5d9b09a22d9260fc7ac5bf27e0ce5b95c6cf /network/clamav-unofficial-sigs/patches
parentb2c70f7354f57e09e3a92b3a6c8f595a990b2b9b (diff)
downloadslackbuilds-2f809bbaf34838e646c624657720a8e4319c0ee9.tar.xz
network/clamav-unofficial-sigs: Updated for version 5.6.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/clamav-unofficial-sigs/patches')
-rw-r--r--network/clamav-unofficial-sigs/patches/master.conf.patch31
-rw-r--r--network/clamav-unofficial-sigs/patches/os.slackware.conf.patch7
2 files changed, 23 insertions, 15 deletions
diff --git a/network/clamav-unofficial-sigs/patches/master.conf.patch b/network/clamav-unofficial-sigs/patches/master.conf.patch
index 6491f8da178b..204d7a9e1be7 100644
--- a/network/clamav-unofficial-sigs/patches/master.conf.patch
+++ b/network/clamav-unofficial-sigs/patches/master.conf.patch
@@ -1,6 +1,6 @@
---- config/master.conf.orig 2016-05-08 14:29:36.954240236 -0500
-+++ config/master.conf 2016-05-08 14:33:04.116828055 -0500
-@@ -24,8 +24,8 @@
+--- master.conf.orig 2017-03-27 19:19:44.055587408 -0500
++++ master.conf 2017-03-27 19:31:13.690746220 -0500
+@@ -26,8 +26,8 @@
# Set the appropriate ClamD user and group accounts for your system.
# If you do not want the script to set user and group permissions on
# files and directories, comment the next two variables.
@@ -11,8 +11,17 @@
# If you do not want the script to change the file mode of all signature
# database files in the ClamAV working directory to 0644 (-rw-r--r--):
-@@ -55,7 +55,7 @@
- reload_dbs="yes"
+@@ -50,7 +50,7 @@
+ # To enable "ham" (non-spam) directory scanning and removal of
+ # signatures that trigger on ham messages, uncomment the following
+ # variable and set it to the appropriate ham message directory.
+-#ham_dir="/var/lib/clamav-unofficial-sigs/ham-test"
++ham_dir="/var/lib/clamav/clamav-unofficial-sigs/ham-test"
+
+ # If you would like to reload the clamd databases after an update,
+ # change the following variable to "yes".
+@@ -60,7 +60,7 @@
+ clamd_reload_opt="clamdscan --reload"
# Top level working directory, script will attempt to create them.
-work_dir="/var/lib/clamav-unofficial-sigs" #Top level working directory
@@ -20,16 +29,16 @@
# Log update information to '$log_file_path/$log_file_name'.
logging_enabled="yes"
-@@ -357,7 +357,7 @@
+@@ -397,7 +397,7 @@
max_sleep_time="600" # Default maximum is 600 seconds (10 minutes).
# Command to do a full clamd service stop/start
-#clamd_restart_opt="service clamd restart"
+clamd_restart_opt="/etc/rc.d/rc.clamav restart"
- # Custom Command to fo a full clamd reload, this defaults to "clamdscan --reload" when not set
- #clamd_reload_opt="clamdscan --reload"
-@@ -459,15 +459,15 @@
+ # Custom Command Paths, these are detected with the which command when not set
+ #uname_bin="/usr/bin/uname"
+@@ -501,15 +501,15 @@
# Custom man install settings, these are detected and only used if you want to override
# the automatic detection and generation of the values when not set, this is mainly to aid package maintainers
@@ -38,9 +47,9 @@
+man_dir="/usr/man/man8" #default: /usr/share/man/man8
+man_filename="clamav-unofficial-sigs.8" #default: clamav-unofficial-sigs.8
- # Provided two variables that package and port maintainers can use in order to
+ # Provided two variables that package and port maintainers can use in order to
# prevent the script from removing itself with the '-r' flag
- # If the script was installed via a package manager like yum, apt, pkg, etc.
+ # If the script was installed via a package manager like yum, apt, pkg, etc.
# The script will instead provide feedback to the user about how to uninstall the package.
-#pkg_mgr="" #the package manager name
-#pkg_rm="" #the package manager command to remove the script
diff --git a/network/clamav-unofficial-sigs/patches/os.slackware.conf.patch b/network/clamav-unofficial-sigs/patches/os.slackware.conf.patch
index 94e58b6acec3..62d2788a686b 100644
--- a/network/clamav-unofficial-sigs/patches/os.slackware.conf.patch
+++ b/network/clamav-unofficial-sigs/patches/os.slackware.conf.patch
@@ -1,13 +1,12 @@
---- config/os.slackware.conf.orig 2016-05-03 21:29:02.518557766 -0500
-+++ config/os.slackware.conf 2016-05-03 21:31:20.083647753 -0500
-@@ -27,13 +27,13 @@
+--- os.slackware.conf.orig 2017-03-27 19:20:18.394890692 -0500
++++ os.slackware.conf 2017-03-27 19:33:55.428193026 -0500
+@@ -23,13 +23,12 @@
clam_user="clamav"
clam_group="clamav"
-#clam_dbs="/var/lib/clamav"
-clam_dbs="/usr/local/share/clamav"
+clam_dbs="/var/lib/clamav"
-+#clam_dbs="/usr/local/share/clamav"
clamd_pid="/var/run/clamav/clamd.pid"