NOCVS=""
NOCVSSPEC=""
NODIST=""
+UPDATE=""
ALLWAYS_CVSUP=${ALLWAYS_CVSUP:-"yes"}
if [ -s CVS/Root ]; then
CVSROOT=$(cat CVS/Root)
-v, --verbose - be verbose,
-u, --try-upgrade
- check version, and try to upgrade package
+ -un, --try-upgrade-with-float-version
+ - as above, but allow float version
+ -U, --update
+ - refetch sources (makes sense with -nc -nd)
+ (CVS updates are controlled by ALLWAYS_CVSUP environment
+ variable, distfiles are checked against md5 sum)
--with/--without <feature>
- conditional build package depending on
%_with_<feature>/%_without_<feature> macro
done
fi
- if [ -z "$NOURLS" ] && [ ! -f "`nourl $i`" ] && [ `echo $i | grep -E 'ftp://|http://|https://'` ]; then
+ if [ -z "$NOURLS" ] && [ ! -f "`nourl $i`" -o -n "$UPDATE" ] && [ `echo $i | grep -E 'ftp://|http://|https://'` ]; then
if [ -z "$NOMIRRORS" ] ; then
i="`find_mirror "$i"`"
fi
TAG="$1"
TAG_VERSION="no"
shift;;
- -v | --verbose )
- BE_VERBOSE="1"; shift ;;
+ -U | --update )
+ UPDATE="yes"; shift ;;
-u | --try-upgrade )
TRY_UPGRADE="1"; shift ;;
-un | --try-upgrade-with-float-version )
TRY_UPGRADE="1"; FLOAT_VERSION="1"; shift ;;
+ -v | --verbose )
+ BE_VERBOSE="1"; shift ;;
--define)
shift
MACRO="${1}"