diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2016-02-01 14:23:07 +0100 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2016-02-01 14:23:28 +0100 |
commit | f9e12fafac50b3d0ab4dfd5e3308e7316ecc5dd3 (patch) | |
tree | 70b9f46b59328f800ed49cab2475c59352bbdf1f /app-antivirus | |
parent | net-misc/mikutter: fix manifest (diff) | |
download | gentoo-f9e12fafac50b3d0ab4dfd5e3308e7316ecc5dd3.tar.gz gentoo-f9e12fafac50b3d0ab4dfd5e3308e7316ecc5dd3.tar.bz2 gentoo-f9e12fafac50b3d0ab4dfd5e3308e7316ecc5dd3.zip |
app-antivirus/skyldav: adjust default config
Package-Manager: portage-2.2.27
Diffstat (limited to 'app-antivirus')
-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 } |