diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2012-09-12 15:54:29 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-12 18:01:23 -0500 |
commit | 348e57cb304fa67e943cb9a10201826c98d91a2d (patch) | |
tree | 5af7a3008b8337b2b2a4c5ac9e01358d3b5f6f22 /system | |
parent | bf73bbddf737631baf62b8d432b37b5a1eb48636 (diff) |
system/clamav: Fixed logrotate script (added "su" directive)
This commit also notes the need for a clamav user and group.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/clamav/README | 2 | ||||
-rw-r--r-- | system/clamav/clamav.SlackBuild | 2 | ||||
-rw-r--r-- | system/clamav/logrotate.clamav | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/system/clamav/README b/system/clamav/README index 22f1a5c71f2c..13e6dd0bc3f7 100644 --- a/system/clamav/README +++ b/system/clamav/README @@ -10,4 +10,6 @@ argument to the COUNTRY variable when running the build script (this will default to "us" if nothing is specified). For example: COUNTRY=nl ./clamav.SlackBuild +You need a "clamav" user and group - we suggest uid=210 and gid=210. + See README.SLACKWARE for configuration help. diff --git a/system/clamav/clamav.SlackBuild b/system/clamav/clamav.SlackBuild index fd88cb06436b..c58f67b906de 100644 --- a/system/clamav/clamav.SlackBuild +++ b/system/clamav/clamav.SlackBuild @@ -28,7 +28,7 @@ PRGNAM=clamav VERSION=${VERSION:-0.97.5} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then diff --git a/system/clamav/logrotate.clamav b/system/clamav/logrotate.clamav index 29b860baa08d..77c96733009f 100644 --- a/system/clamav/logrotate.clamav +++ b/system/clamav/logrotate.clamav @@ -1,4 +1,5 @@ /var/log/clamav/*.log { + su clamav clamav weekly rotate 5 compress |