1 |
commit: f9e12fafac50b3d0ab4dfd5e3308e7316ecc5dd3 |
2 |
Author: Wolfram Schlich <wschlich <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 1 13:23:07 2016 +0000 |
4 |
Commit: Wolfram Schlich <wschlich <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 1 13:23:28 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e12faf |
7 |
|
8 |
app-antivirus/skyldav: adjust default config |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
.../{skyldav-0.5-conf.patch => skyldav-0.5-conf-r1.patch} | 8 +++++--- |
13 |
.../skyldav/{skyldav-0.5-r1.ebuild => skyldav-0.5-r2.ebuild} | 10 +++++----- |
14 |
2 files changed, 10 insertions(+), 8 deletions(-) |
15 |
|
16 |
diff --git a/app-antivirus/skyldav/files/skyldav-0.5-conf.patch b/app-antivirus/skyldav/files/skyldav-0.5-conf-r1.patch |
17 |
similarity index 81% |
18 |
rename from app-antivirus/skyldav/files/skyldav-0.5-conf.patch |
19 |
rename to app-antivirus/skyldav/files/skyldav-0.5-conf-r1.patch |
20 |
index 8255f7a..86b78c3 100644 |
21 |
--- a/app-antivirus/skyldav/files/skyldav-0.5-conf.patch |
22 |
+++ b/app-antivirus/skyldav/files/skyldav-0.5-conf-r1.patch |
23 |
@@ -1,11 +1,13 @@ |
24 |
diff -urN skyldav-0.5.orig/examples/etc/skyldav.conf skyldav-0.5/examples/etc/skyldav.conf |
25 |
--- skyldav-0.5.orig/examples/etc/skyldav.conf 2015-02-15 20:32:57.000000000 +0100 |
26 |
-+++ skyldav-0.5/examples/etc/skyldav.conf 2016-01-21 14:02:27.656666425 +0100 |
27 |
-@@ -19,14 +19,21 @@ |
28 |
++++ skyldav-0.5/examples/etc/skyldav.conf 2016-02-01 11:29:19.449054900 +0100 |
29 |
+@@ -19,14 +19,23 @@ |
30 |
|
31 |
# Directories that shall not be scanned (including subdirectories) |
32 |
# EXCLUDE_PATH = /var/noscan, /opt/noscan |
33 |
-+EXCLUDE_PATH = /usr/portage, /var/db/pkg, /var/tmp/portage, /var/tmp/binpkgs |
34 |
++# |
35 |
++# Exclude various portage directories for performance reasons |
36 |
++EXCLUDE_PATH = /usr/portage, /var/cache/edb, /var/db/pkg, /var/tmp/portage, /var/tmp/binpkgs, /var/log/portage |
37 |
|
38 |
# File systems that are local, virus scan results may be cached. |
39 |
# LOCAL_FS = ext3, ext4, iso9660, tmpfs, vfat |
40 |
|
41 |
diff --git a/app-antivirus/skyldav/skyldav-0.5-r1.ebuild b/app-antivirus/skyldav/skyldav-0.5-r2.ebuild |
42 |
similarity index 90% |
43 |
rename from app-antivirus/skyldav/skyldav-0.5-r1.ebuild |
44 |
rename to app-antivirus/skyldav/skyldav-0.5-r2.ebuild |
45 |
index 3175fc8..9b78b0a 100644 |
46 |
--- a/app-antivirus/skyldav/skyldav-0.5-r1.ebuild |
47 |
+++ b/app-antivirus/skyldav/skyldav-0.5-r2.ebuild |
48 |
@@ -49,7 +49,7 @@ DOCS=( AUTHORS NEWS README ) |
49 |
PATCHES=( |
50 |
"${FILESDIR}/${P}-syslog.patch" |
51 |
"${FILESDIR}/${P}-examples.patch" |
52 |
- "${FILESDIR}/${P}-conf.patch" |
53 |
+ "${FILESDIR}/${P}-conf-r1.patch" |
54 |
) |
55 |
|
56 |
pkg_setup() { |
57 |
@@ -60,18 +60,18 @@ pkg_setup() { |
58 |
|
59 |
## define contents for README.gentoo |
60 |
if use systemd; then |
61 |
- DOC_CONTENTS='SkyldAV provides a systemd service.'$'\n' |
62 |
+ DOC_CONTENTS='Skyld AV provides a systemd service.'$'\n' |
63 |
DOC_CONTENTS+='Please edit the systemd service config file to match your needs:'$'\n' |
64 |
DOC_CONTENTS+='/etc/systemd/system/skyldav.service.d/00gentoo.conf'$'\n' |
65 |
DOC_CONTENTS+='# systemctl daemon-reload'$'\n' |
66 |
DOC_CONTENTS+='# systemctl restart skyldav.service'$'\n' |
67 |
- DOC_CONTENTS+='Example for enabling the SkyldAV service:'$'\n' |
68 |
+ DOC_CONTENTS+='Example for enabling the Skyld AV service:'$'\n' |
69 |
DOC_CONTENTS+='# systemctl enable skyldav.service'$'\n' |
70 |
else |
71 |
- DOC_CONTENTS='SkyldAV provides an init script for OpenRC.'$'\n' |
72 |
+ DOC_CONTENTS='Skyld AV provides an init script for OpenRC.'$'\n' |
73 |
DOC_CONTENTS+='Please edit the init script config file to match your needs:'$'\n' |
74 |
DOC_CONTENTS+='/etc/conf.d/skyldav'$'\n' |
75 |
- DOC_CONTENTS+='Example for enabling the SkyldAV init script:'$'\n' |
76 |
+ DOC_CONTENTS+='Example for enabling the Skyld AV init script:'$'\n' |
77 |
DOC_CONTENTS+='# rc-update add skyldav default'$'\n' |
78 |
fi |
79 |
} |