app-antivirus/skyldav: adjust default config
authorWolfram Schlich <wschlich@gentoo.org>
Mon, 1 Feb 2016 13:23:07 +0000 (14:23 +0100)
committerWolfram Schlich <wschlich@gentoo.org>
Mon, 1 Feb 2016 13:23:28 +0000 (14:23 +0100)
Package-Manager: portage-2.2.27

app-antivirus/skyldav/files/skyldav-0.5-conf-r1.patch [moved from app-antivirus/skyldav/files/skyldav-0.5-conf.patch with 81% similarity]
app-antivirus/skyldav/skyldav-0.5-r2.ebuild [moved from app-antivirus/skyldav/skyldav-0.5-r1.ebuild with 90% similarity]

similarity index 81%
rename from app-antivirus/skyldav/files/skyldav-0.5-conf.patch
rename to app-antivirus/skyldav/files/skyldav-0.5-conf-r1.patch
index 8255f7a20d122804881a763ee719c70702a2a4b5..86b78c335b92bdf800d314dcb0a4afce3711aa12 100644 (file)
@@ -1,11 +1,13 @@
 diff -urN skyldav-0.5.orig/examples/etc/skyldav.conf skyldav-0.5/examples/etc/skyldav.conf
 --- skyldav-0.5.orig/examples/etc/skyldav.conf 2015-02-15 20:32:57.000000000 +0100
-+++ skyldav-0.5/examples/etc/skyldav.conf      2016-01-21 14:02:27.656666425 +0100
-@@ -19,14 +19,21 @@
++++ skyldav-0.5/examples/etc/skyldav.conf      2016-02-01 11:29:19.449054900 +0100
+@@ -19,14 +19,23 @@
  
  # Directories that shall not be scanned (including subdirectories)
  # EXCLUDE_PATH = /var/noscan, /opt/noscan
-+EXCLUDE_PATH = /usr/portage, /var/db/pkg, /var/tmp/portage, /var/tmp/binpkgs
++# 
++# Exclude various portage directories for performance reasons
++EXCLUDE_PATH = /usr/portage, /var/cache/edb, /var/db/pkg, /var/tmp/portage, /var/tmp/binpkgs, /var/log/portage
  
  # File systems that are local, virus scan results may be cached.
  # LOCAL_FS = ext3, ext4, iso9660, tmpfs, vfat
similarity index 90%
rename from app-antivirus/skyldav/skyldav-0.5-r1.ebuild
rename to app-antivirus/skyldav/skyldav-0.5-r2.ebuild
index 3175fc8e1c8214cf1929cef267024b3fb36936f1..9b78b0a7782e5b189888eaa0e223e96e6a658ec0 100644 (file)
@@ -49,7 +49,7 @@ DOCS=( AUTHORS NEWS README )
 PATCHES=(
        "${FILESDIR}/${P}-syslog.patch"
        "${FILESDIR}/${P}-examples.patch"
-       "${FILESDIR}/${P}-conf.patch"
+       "${FILESDIR}/${P}-conf-r1.patch"
 )
 
 pkg_setup() {
@@ -60,18 +60,18 @@ pkg_setup() {
 
        ## define contents for README.gentoo
        if use systemd; then
-               DOC_CONTENTS='SkyldAV provides a systemd service.'$'\n'
+               DOC_CONTENTS='Skyld AV provides a systemd service.'$'\n'
                DOC_CONTENTS+='Please edit the systemd service config file to match your needs:'$'\n'
                DOC_CONTENTS+='/etc/systemd/system/skyldav.service.d/00gentoo.conf'$'\n'
                DOC_CONTENTS+='# systemctl daemon-reload'$'\n'
                DOC_CONTENTS+='# systemctl restart skyldav.service'$'\n'
-               DOC_CONTENTS+='Example for enabling the SkyldAV service:'$'\n'
+               DOC_CONTENTS+='Example for enabling the Skyld AV service:'$'\n'
                DOC_CONTENTS+='# systemctl enable skyldav.service'$'\n'
        else
-               DOC_CONTENTS='SkyldAV provides an init script for OpenRC.'$'\n'
+               DOC_CONTENTS='Skyld AV provides an init script for OpenRC.'$'\n'
                DOC_CONTENTS+='Please edit the init script config file to match your needs:'$'\n'
                DOC_CONTENTS+='/etc/conf.d/skyldav'$'\n'
-               DOC_CONTENTS+='Example for enabling the SkyldAV init script:'$'\n'
+               DOC_CONTENTS+='Example for enabling the Skyld AV init script:'$'\n'
                DOC_CONTENTS+='# rc-update add skyldav default'$'\n'
        fi
 }