diff options
Diffstat (limited to 'app-antivirus/skyldav')
-rw-r--r-- | app-antivirus/skyldav/files/skyldav-0.5-conf-r1.patch (renamed from app-antivirus/skyldav/files/skyldav-0.5-conf.patch) | 8 | ||||
-rw-r--r-- | app-antivirus/skyldav/skyldav-0.5-r2.ebuild (renamed from app-antivirus/skyldav/skyldav-0.5-r1.ebuild) | 10 |
2 files changed, 10 insertions, 8 deletions
diff --git a/app-antivirus/skyldav/files/skyldav-0.5-conf.patch b/app-antivirus/skyldav/files/skyldav-0.5-conf-r1.patch index 8255f7a20d12..86b78c335b92 100644 --- a/app-antivirus/skyldav/files/skyldav-0.5-conf.patch +++ b/app-antivirus/skyldav/files/skyldav-0.5-conf-r1.patch @@ -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 diff --git a/app-antivirus/skyldav/skyldav-0.5-r1.ebuild b/app-antivirus/skyldav/skyldav-0.5-r2.ebuild index 3175fc8e1c82..9b78b0a7782e 100644 --- a/app-antivirus/skyldav/skyldav-0.5-r1.ebuild +++ b/app-antivirus/skyldav/skyldav-0.5-r2.ebuild @@ -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 } |