ia64/xen-unstable

changeset 18986:d6889b3b6423

Download external tarballs from xenbits.xensource.com

I have copied the tarballs that the xen-unstable build downloads to
xenbits.xensource.com (which also hosts our hg and git). This patch
changes the download URLs to use that location.

That way the build will depend on only one external machine, under one
administration, rather than many. Also it means that the build won't
break if these sites become permanently unavailable or are rearranged
and we don't run a risk of having to panic and beg if a file should go
missing.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jan 05 11:19:16 2009 +0000 (2009-01-05)
parents 5a7caf864f4e
children 2c5a2e99a1d6
files Config.mk Makefile buildconfigs/src.tarball stubdom/Makefile tools/firmware/hvmloader/acpi/Makefile tools/vnet/Makefile
line diff
     1.1 --- a/Config.mk	Mon Jan 05 11:16:41 2009 +0000
     1.2 +++ b/Config.mk	Mon Jan 05 11:19:16 2009 +0000
     1.3 @@ -96,6 +96,11 @@ XSM_ENABLE ?= n
     1.4  FLASK_ENABLE ?= n
     1.5  ACM_SECURITY ?= n
     1.6  
     1.7 +XEN_EXTFILES_URL=http://xenbits.xensource.com/xen-extfiles
     1.8 +# All the files at that location were downloaded from elsewhere on
     1.9 +# the internet.  The original download URL is preserved as a comment
    1.10 +# near the place in the Xen Makefiles where the file is used.
    1.11 +
    1.12  QEMU_REMOTE=http://xenbits.xensource.com/git-http/qemu-xen-unstable.git
    1.13  
    1.14  # Specify which qemu-dm to use. This may be `ioemu' to use the old
     2.1 --- a/Makefile	Mon Jan 05 11:16:41 2009 +0000
     2.2 +++ b/Makefile	Mon Jan 05 11:19:16 2009 +0000
     2.3 @@ -240,7 +240,8 @@ linux26:
     2.4  #
     2.5  
     2.6  TBOOT_TARFILE = tboot-20080613.tar.gz
     2.7 -TBOOT_BASE_URL = http://downloads.sourceforge.net/tboot
     2.8 +#TBOOT_BASE_URL = http://downloads.sourceforge.net/tboot
     2.9 +TBOOT_BASE_URL = $(XEN_EXTFILES_URL)
    2.10  
    2.11  .PHONY: build-tboot
    2.12  build-tboot: download_tboot
     3.1 --- a/buildconfigs/src.tarball	Mon Jan 05 11:16:41 2009 +0000
     3.2 +++ b/buildconfigs/src.tarball	Mon Jan 05 11:19:16 2009 +0000
     3.3 @@ -10,7 +10,7 @@ vpath linux-%.tar.bz2 $(LINUX_SRC_PATH)
     3.4  # download a pristine Linux kernel tarball if there isn't one in LINUX_SRC_PATH
     3.5  linux-%.tar.bz2:
     3.6  	@echo "Cannot find $@ in path $(LINUX_SRC_PATH)"
     3.7 -	wget $(XEN_LINUX_MIRROR)/$@ -O./$@
     3.8 +	false wget $(XEN_LINUX_MIRROR)/$@ -O./$@
     3.9  
    3.10  # XXX create a pristine tree for diff -Nurp convenience
    3.11  
     4.1 --- a/stubdom/Makefile	Mon Jan 05 11:16:41 2009 +0000
     4.2 +++ b/stubdom/Makefile	Mon Jan 05 11:19:16 2009 +0000
     4.3 @@ -8,15 +8,25 @@ export debug=y
     4.4  include $(XEN_ROOT)/Config.mk
     4.5  
     4.6  IOEMU_OPTIONS=--disable-sdl --disable-opengl --disable-vnc-tls --disable-brlapi --disable-kqemu
     4.7 -ZLIB_URL?=http://www.zlib.net
     4.8 +
     4.9 +#ZLIB_URL?=http://www.zlib.net
    4.10 +ZLIB_URL=$(XEN_EXTFILES_URL)
    4.11  ZLIB_VERSION=1.2.3
    4.12 -LIBPCI_URL?=http://www.kernel.org/pub/software/utils/pciutils
    4.13 +
    4.14 +#LIBPCI_URL?=http://www.kernel.org/pub/software/utils/pciutils
    4.15 +LIBPCI_URL?=$(XEN_EXTFILES_URL)
    4.16  LIBPCI_VERSION=2.2.9
    4.17 -NEWLIB_URL?=ftp://sources.redhat.com/pub/newlib
    4.18 +
    4.19 +#NEWLIB_URL?=ftp://sources.redhat.com/pub/newlib
    4.20 +NEWLIB_URL?=$(XEN_EXTFILES_URL)
    4.21  NEWLIB_VERSION=1.16.0
    4.22 -LWIP_URL?=http://download.savannah.gnu.org/releases/lwip
    4.23 +
    4.24 +#LWIP_URL?=http://download.savannah.gnu.org/releases/lwip
    4.25 +LWIP_URL?=$(XEN_EXTFILES_URL)
    4.26  LWIP_VERSION=1.3.0
    4.27 -GRUB_URL?=http://alpha.gnu.org/gnu/grub
    4.28 +
    4.29 +#GRUB_URL?=http://alpha.gnu.org/gnu/grub
    4.30 +GRUB_URL?=$(XEN_EXTFILES_URL)
    4.31  GRUB_VERSION=0.97
    4.32  
    4.33  WGET=wget -c
     5.1 --- a/tools/firmware/hvmloader/acpi/Makefile	Mon Jan 05 11:16:41 2009 +0000
     5.2 +++ b/tools/firmware/hvmloader/acpi/Makefile	Mon Jan 05 11:19:16 2009 +0000
     5.3 @@ -23,7 +23,8 @@ H_SRC = $(wildcard *.h)
     5.4  OBJS  = $(patsubst %.c,%.o,$(C_SRC))
     5.5  
     5.6  IASL_VER = acpica-unix-20080729
     5.7 -IASL_URL = http://acpica.org/download/$(IASL_VER).tar.gz
     5.8 +#IASL_URL = http://acpica.org/download/$(IASL_VER).tar.gz
     5.9 +IASL_URL = $(XEN_EXTFILES_URL)/$(IASL_VER).tar.gz
    5.10  
    5.11  CFLAGS += -I. -I.. $(CFLAGS_include)
    5.12  
     6.1 --- a/tools/vnet/Makefile	Mon Jan 05 11:16:41 2009 +0000
     6.2 +++ b/tools/vnet/Makefile	Mon Jan 05 11:19:16 2009 +0000
     6.3 @@ -17,7 +17,8 @@ SUBDIRS+= vnet-module
     6.4  all: compile
     6.5  
     6.6  gc.tar.gz:
     6.7 -	wget http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$@
     6.8 +	#wget http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$@
     6.9 +	wget $(XEN_EXTFILES_URL)/$@
    6.10  
    6.11  .PHONY: gc
    6.12  gc: gc.tar.gz