From 9a4bceebde765d04b6d0124ad9da8a5cf60f3a9b Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 23 Feb 2008 17:53:22 +0000 Subject: Update to 0.9.3.3 --- madwifi/build/madwifi.SlackBuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'madwifi') diff --git a/madwifi/build/madwifi.SlackBuild b/madwifi/build/madwifi.SlackBuild index 22ae8356..edee988d 100755 --- a/madwifi/build/madwifi.SlackBuild +++ b/madwifi/build/madwifi.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh # $Id$ -# Copyright (c) 2006 Eric Hameleers +# Copyright (c) 2006-2008 Eric Hameleers # # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that @@ -66,14 +66,16 @@ # * Well that was a quick one. The 2.6.23 kernel is supported now, # and a fix for vulnerability CVE-2007-5448 is provided. # Everyone is urged to upgrade to this version. +# 0.9.4.1: 23/feb/2008 by Eric Hameleers +# * Upgrade. # ----------------------------------------------------------------------------- # Change SNAPSHOT from "" to "yes" below if you're building a snapshot release. SNAPSHOT=${SNAPSHOT:-""} PRGNAM=madwifi -SRCVER="0.9.3.3" -VERSION=${VERSION:-0.9.3.3} # Note: for snapshot builds, +SRCVER="0.9.4" +VERSION=${VERSION:-0.9.4} # Note: for snapshot builds, # the VERSION value changes further down; BUILD=1 @@ -94,7 +96,7 @@ OUTPUT=${OUTPUT:-/tmp} if [ -z $SNAPSHOT ]; then # build a stable release SOURCE="$SRCDIR/${PRGNAM}-${SRCVER}.tar.gz" - SRCURL="http://dl.sourceforge.net/sourceforge/${PRGNAM}/${PRGNAM}-${SRCVER}.tar.gz" + SRCURL="http://downloads.sourceforge.net/${PRGNAM}/${PRGNAM}-${SRCVER}.tar.gz" else SOURCE="$SRCDIR/${PRGNAM}-ng-current.tar.gz" SRCURL="http://snapshots.madwifi.org/${PRGNAM}-ng-current.tar.gz" @@ -155,8 +157,8 @@ if [ -z $SNAPSHOT ]; then # download stable release [ -w "$SRCDIR" ] || SOURCE="$OUTPUT/`basename $SOURCE`" echo "Source '`basename ${SOURCE}`' not available yet..." echo "Will download file to `dirname $SOURCE`" - wget --connect-timeout=20 -O "${SOURCE}" "${SRCURL}" || true - if [ $? -ne 0 ! -s "${SOURCE}" ]; then + wget -nv -T 20 -O "${SOURCE}" "${SRCURL}" || true + if [ $? -ne 0 -o ! -s "${SOURCE}" ]; then echo "Downloading '`basename ${SOURCE}`' failed... aborting the build." mv -f "${SOURCE}" "${SOURCE}".FAIL exit 1 -- cgit v1.2.3-79-gdb01