commit: f9e12fafac50b3d0ab4dfd5e3308e7316ecc5dd3 Author: Wolfram Schlich <wschlich <AT> gentoo <DOT> org> AuthorDate: Mon Feb 1 13:23:07 2016 +0000 Commit: Wolfram Schlich <wschlich <AT> gentoo <DOT> org> CommitDate: Mon Feb 1 13:23:28 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e12faf
app-antivirus/skyldav: adjust default config Package-Manager: portage-2.2.27 .../{skyldav-0.5-conf.patch => skyldav-0.5-conf-r1.patch} | 8 +++++--- .../skyldav/{skyldav-0.5-r1.ebuild => skyldav-0.5-r2.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 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 8255f7a..86b78c3 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 similarity index 90% rename from app-antivirus/skyldav/skyldav-0.5-r1.ebuild rename to app-antivirus/skyldav/skyldav-0.5-r2.ebuild index 3175fc8..9b78b0a 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 }