aboutsummaryrefslogtreecommitdiff
path: root/system/clamav/clamav.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-10-27 01:17:27 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-10-27 23:39:01 -0500
commite462e0a44aca13ebd0c38beade67bb6955ab6f32 (patch)
tree2d9ae6b61188481ab4bb5cd35f1630b1f1114b5d /system/clamav/clamav.SlackBuild
parentd4f5065b3f8e788a12cad1186c006039d0dd5cb6 (diff)
system/clamav: Updated for version 0.98.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/clamav/clamav.SlackBuild')
-rw-r--r--system/clamav/clamav.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/system/clamav/clamav.SlackBuild b/system/clamav/clamav.SlackBuild
index c72373f4321f..48f52d0363a8 100644
--- a/system/clamav/clamav.SlackBuild
+++ b/system/clamav/clamav.SlackBuild
@@ -27,8 +27,8 @@
# No additional license terms added
PRGNAM=clamav
-VERSION=${VERSION:-0.97.6}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-0.98}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -91,7 +91,7 @@ chmod -R u+w,go+r-w,a-s .
# Specify the desired mirror in the update config file
# http://www.iana.org/cctld/cctld-whois.htm
sed -i "s/^\#DatabaseMirror.*/DatabaseMirror db.${COUNTRY}.clamav.net/" \
- etc/freshclam.conf
+ etc/freshclam.conf.sample
sed \
-e "s/^Example/#Example/" \
@@ -102,7 +102,7 @@ sed \
-e "s/^\#AllowSupplementaryGroups.*/AllowSupplementaryGroups yes/" \
-e "s/^\#DatabaseOwner.*/DatabaseOwner clamav/" \
-e "s/^\#NotifyClamd.*/NotifyClamd \/etc\/clamd.conf/" \
- -i etc/freshclam.conf
+ -i etc/freshclam.conf.sample
sed \
-e "s/^Example/#Example/" \
-e "s/^\#LogSyslog/LogSyslog/" \
@@ -116,7 +116,7 @@ sed \
-e "s/^\#User.*/User clamav/" \
-e "s/^\#AllowSupplementaryGroups.*/AllowSupplementaryGroups yes/" \
-e "s/^\#ExitOnOOM/ExitOnOOM/" \
- -i etc/clamd.conf
+ -i etc/clamd.conf.sample
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -141,12 +141,12 @@ make install DESTDIR=$PKG
# Prepare the config files:
for cf in clamd freshclam clamav-milter; do
- mv $PKG/etc/$cf.conf $PKG/etc/$cf.conf.new
+ mv $PKG/etc/$cf.conf.sample $PKG/etc/$cf.conf.new
done
# Our rc script and logrotate entry:
install -D -m 0755 $CWD/rc.clamav $PKG/etc/rc.d/rc.clamav.new
-install -D -m 0644 $CWD/logrotate.clamav $PKG/etc/logrotate.d/clamav
+install -D -m 0644 $CWD/logrotate.clamav $PKG/etc/logrotate.d/clamav.new
# Create pid, socket, db, and log directories
# init script must still ensure that /var/run/clamav exists