[Mono-bugs] [Bug 74244][Wis] Changed - the macosx build scripts use outdated curl commands

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 30 Mar 2005 15:50:46 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ender@lister.acm.wwu.edu.

http://bugzilla.ximian.com/show_bug.cgi?id=74244

--- shadow/74244	2005-03-30 15:49:59.000000000 -0500
+++ shadow/74244.tmp.975	2005-03-30 15:50:46.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 74244
 Product: Cocoa#
 Version: 0.2
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: Bindings.
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: ender@lister.acm.wwu.edu               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -40,6 +40,157 @@
 
 How often does this happen? 
 always
 
 Additional Information:
 I have a patch ready for this.
+
+------- Additional Comments From ender@lister.acm.wwu.edu  2005-03-30 15:50 -------
+Index: buildMono.sh
+=======================================================
+============
+--- buildMono.sh	(revision 42378)
++++ buildMono.sh	(working copy)
+@@ -63,7 +63,7 @@
+ PKGCONFIG="http://www.freedesktop.org/software/pkgconfig/releases/
+pkgconfig-0.15.0.tar.gz"
+ GETTEXT="http://ftp.gnu.org/pub/gnu/gettext/gettext-0.14.1.tar.gz"
+ GLIB="ftp://ftp.gtk.org/pub/gtk/v2.4/glib-2.4.1.tar.gz"
+-ICU="ftp://www-126.ibm.com/pub/icu/2.8/icu-2.8.tgz"
++ICU="ftp://ftp.software.ibm.com/software/globalization/icu/2.8/icu-2.8.tgz"
+ SVN="NO"
+ PACKAGEONLY="NO"
+ MONOBUILDFILES=${PWD}
+Index: gtksharp/buildGTKSharp.sh
+=======================================================
+============
+--- gtksharp/buildGTKSharp.sh	(revision 42378)
++++ gtksharp/buildGTKSharp.sh	(working copy)
+@@ -290,7 +290,7 @@
+ #You should already have Mono.framework installed.
+ 
+ #build Icu.framework 2.8 \
+-#	"--disable-epsv ftp://www-126.ibm.com/pub/icu/2.8/icu-2.8.tgz" \
++#	"--disable-epsv ftp://ftp.software.ibm.com/software/globalization/icu/2.8/
+icu-2.8.tgz" \
+ #	icu-2.8.tgz icu 
+ 
+ #build Mono.framework 1.0.1 \
+Index: gtksharp/library.sh
+=======================================================
+============
+--- gtksharp/library.sh	(revision 42378)
++++ gtksharp/library.sh	(working copy)
+@@ -26,7 +26,7 @@
+     
+ 	if [ ! -d $BUILDROOT/Dependancies/icu ]; then
+ 		echo "Downloading icu-2.8"
+-		curl -L -Z 5 -s -O $2 $3
++		curl -L --max-redirs 5 -s -O $2 $3
+ 		gnutar xzf $4
+ 	fi
+ 	if [ $REMOVE == "YES" ]; then rm $3; fi
+@@ -132,7 +132,7 @@
+ 		else
+ 			if [ ! -d $BUILDROOT/Dependancies/$DIR ]; then
+ 				echo "Downloading $DIR"
+-				curl -L -Z 5 -s -O $URL
++				curl -L --max-redirs 5 -s -O $URL
+ 				gnutar xzf $TARBALL
+ 			fi
+ 			if [ $REMOVE == "YES" ]; then rm $TARBALL; fi
+Index: gdipBuild.sh
+=======================================================
+============
+--- gdipBuild.sh	(revision 42378)
++++ gdipBuild.sh	(working copy)
+@@ -27,13 +27,13 @@
+ export LDFLAGS="-L/Library/Frameworks/Mono.framework/Versions/Current/lib"
+ export PATH="/usr/X11R6/bin/:/Library/Frameworks/Mono.framework/Versions/
+Current/bin:$PATH"
+ export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig/:$PKG_CONFIG_PATH
+-export ACLOCAL_FLAGS="-I /Library/Frameworks/Mono.framework/Versions/1.1.4/
+share/aclocal/"
++export ACLOCAL_FLAGS="-I /Library/Frameworks/Mono.framework/Versions/Current/
+share/aclocal/"
+ 
+ #JPEG
+ #################################################
+ cd ${DEPS}    
+ if [ ! -e ${DEPS}/${WORKSRCDIR} ];then
+-    curl -L -Z 5 -s -O ${URL}
++    curl -L --max-redirs 5 -s -O ${URL}
+     gnutar -xzf ${DISTNAME}
+     cd ${WORKSRCDIR}
+     patch config.guess ${PATCHDIR}/patch-config.guess
+@@ -60,7 +60,7 @@
+ 
+ cd ${DEPS}
+ if [ ! -e ${DEPS}/${WORKSRCDIR} ];then
+-    curl -L -Z 5 -s -O ${URL}
++    curl -L --max-redirs 5 -s -O ${URL}
+     gnutar -xzf ${DISTNAME}
+     cd ${WORKSRCDIR}
+ 
+@@ -82,7 +82,7 @@
+ #MONOPREFIX=/Library/Frameworks/Mono.framework/Versions/Current
+ cd ${DEPS}
+ if [ ! -e ${DEPS}/${WORKSRCDIR} ];then
+-    curl -L -Z 5 -s -O ${URL}
++    curl -L --max-redirs 5 -s -O ${URL}
+     gnutar -xzf ${DISTNAME}
+     cd ${WORKSRCDIR}
+ 
+@@ -106,7 +106,7 @@
+ #MONOPREFIX=/Library/Frameworks/Mono.framework/Versions/Current                                       
+ cd ${DEPS}
+ if [ ! -e ${DEPS}/${WORKSRCDIR} ];then
+-    curl -L -Z 5 -s -O ${URL}
++    curl -L --max-redirs 5 -s -O ${URL}
+     gnutar -xzf ${DISTNAME}
+     cd ${WORKSRCDIR}
+ 
+@@ -128,7 +128,7 @@
+ cd ${DEPS}
+ if [ ! -e ${DEPS}/${WORKSRCDIR} ];then
+     if [ ! -e ${DISTNAME} ];then
+-	curl -L -Z 5 -s -O ${URL}
++	curl -L --max-redirs 5 -s -O ${URL}
+ 	gnutar -xzf ${DISTNAME}
+     fi
+ 
+Index: buildLibrary.sh
+=======================================================
+============
+--- buildLibrary.sh	(revision 42378)
++++ buildLibrary.sh	(working copy)
+@@ -30,7 +30,7 @@
+     DEPNAME=$3
+ 	if [ ! -d $BUILDROOT/Dependancies/icu ]; then
+ 		echo "Downloading icu-2.8"
+-		curl -L -Z 5 -s -O --disable-epsv ftp://www-126.ibm.com/pub/icu/2.8/
+icu-2.8.tgz
++		curl -L --max-redirs 5 -s -O --disable-epsv ftp://ftp.software.ibm.com/
+software/globalization/icu/2.8/icu-2.8.tgz
+ 		gnutar xzf $3
+ 	fi
+ 	if [ $REMOVE == "YES" ]; then rm $3; fi
+@@ -170,7 +170,7 @@
+ 		else
+ 			if [ ! -d $BUILDROOT/Dependancies/$DIR ]; then
+ 				echo "Downloading $DIR"
+-				curl -L -Z 5 -s -O $URL
++				curl -L --max-redirs 5 -s -O $URL
+ 				gnutar xzf $TARBALL
+ 				CLEAN=NO
+ 			fi
+@@ -189,7 +189,7 @@
+ 				    make clean
+ 				fi
+ 			fi
+-			if [ $CONFIGURE == "YES" ]; then
++			if [ ${CONFIGURE} == "YES" ]; then
+ 			    #echo "Configuring $DIR"
+ 				echo ""
+ 				echo 
+"=================================================="
+