From e4518d487cad6822bad355d3a19744d5e2b2eceb Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 22 Aug 2007 20:51:05 +0000 Subject: Update --- clamav/build/clamav.SlackBuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'clamav/build') 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 --- -- cgit v1.2.3-79-gdb01