aboutsummaryrefslogtreecommitdiff
path: root/network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild')
-rw-r--r--network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild b/network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild
index 906fe1b17549..ffcde237c2d8 100644
--- a/network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild
+++ b/network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for clamav-unofficial-sigs
# Home Page: https://github.com/extremeshok/clamav-unofficial-sigs
-# Copyright (c) 2009-2016, Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright (c) 2009-2017, Nishant Limbachia, Hoffman Estates, IL, USA
# (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
#
@@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="clamav-unofficial-sigs"
-VERSION=${VERSION:-5.4.1}
+VERSION=${VERSION:-5.6.2}
ARCH="noarch" # hardcode ARCH
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,8 +53,8 @@ chown -R root:root .
# Apply patches, copy configs
mkdir -p $PKG/etc/{$PRGNAM,logrotate.d}
-patch -p0 < $CWD/patches/os.slackware.conf.patch
-patch -p0 < $CWD/patches/master.conf.patch
+( cd config; patch -p0 < $CWD/patches/os.slackware.conf.patch )
+( cd config; patch -p0 < $CWD/patches/master.conf.patch )
install -m 0644 -D config/user.conf $PKG/etc/$PRGNAM/user.conf.new
install -m 0644 -D config/os.slackware.conf $PKG/etc/$PRGNAM/os.conf.new
install -m 0644 -D config/master.conf $PKG/etc/$PRGNAM/master.conf.new