summaryrefslogtreecommitdiffstats
path: root/clamav/build
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-08-22 20:51:05 +0000
committer Eric Hameleers <alien@slackware.com>2007-08-22 20:51:05 +0000
commite4518d487cad6822bad355d3a19744d5e2b2eceb (patch)
tree0b940537575574b0a9a7328bc15472bd872614d6 /clamav/build
parent16fe0de766e94f408d3696d77aa86872516370b7 (diff)
downloadasb-e4518d487cad6822bad355d3a19744d5e2b2eceb.tar.gz
asb-e4518d487cad6822bad355d3a19744d5e2b2eceb.tar.xz
Update
Diffstat (limited to 'clamav/build')
-rwxr-xr-xclamav/build/clamav.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/clamav/build/clamav.SlackBuild b/clamav/build/clamav.SlackBuild
index f429eb3e..f0994c9b 100755
--- a/clamav/build/clamav.SlackBuild
+++ b/clamav/build/clamav.SlackBuild
@@ -89,6 +89,8 @@
# * Rew release.
# 0.91.1-1: 23/jul/2007 by Eric Hameleers
# * Rew release.
+# 0.91.2-1: 22/aug/2007 by Eric Hameleers
+# * Rew release.
#
# Run 'sh clamav.SlackBuild --cleanup' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -100,7 +102,7 @@
# Set initial variables:
PRGNAM=clamav
-VERSION=${VERSION:-"0.91.1"}
+VERSION=${VERSION:-"0.91.2"}
ARCH=${ARCH:-"i486"}
BUILD=${BUILD:-1}
@@ -173,7 +175,7 @@ if ! [ -f ${SOURCE} ]; then
# Check if the $SRCDIR is writable at all - if not, download to $OUTPUT
[ -w "$SRCDIR" ] || SOURCE="$OUTPUT/`basename $SOURCE`"
echo "Source '${SOURCE}' not available yet... will download now:"
- wget -nv -O "${SOURCE}" "${SRCURL}" || true
+ wget -nv --connect-timeout=20 -O "${SOURCE}" "${SRCURL}" || true
if [ $? -ne 0 ]; then
echo "Downloading '${SOURCE}' failed... aborting the build."
mv -f "${SOURCE}" "${SOURCE}".FAIL
@@ -203,7 +205,7 @@ echo "Extracting the source archive(s) for $PRGNAM..."
tar -xzvf $SOURCE
cd ${PRGNAM}-${VERSION}
-chown -R root.root *
+chown -R root:root *
# --- BUILDING ---
@@ -244,7 +246,7 @@ cd -
# Install all the needed stuff to the package dir
#
# Use installwatch if available:
-if $(which installwatch > /dev/null 2>&1); then
+if $(which installwatch > /dev/null 2>&1); then
installwatch -o $OUTPUT/install-${PRGNAM}.log make DESTDIR=$PKG install
else
make DESTDIR=$PKG install 2>&1 |tee $OUTPUT/install-${PRGNAM}.log
@@ -347,6 +349,7 @@ cd -
# --- OWNERSHIP, RIGHTS ---
chmod -R o-w $PKG
+chown -R root:root $PKG
# --- PACKAGE DESCRIPTION ---