X-Git-Url: http://git.onelab.eu/?p=openvswitch.git;a=blobdiff_plain;f=Makefile;h=2537b7f66f92fe6086ef7271cd436d4d90f6217b;hp=5a87e24932636e6e6e39770ed1a6ec672b6ed303;hb=HEAD;hpb=8cde40eb855a1c7900355633ccdaa13bc58bdbb0 diff --git a/Makefile b/Makefile index 5a87e24..2537b7f 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ WEBFETCH := wget SHA1SUM := sha1sum ALL += openvswitch -openvswitch-URL := http://openvswitch.org/releases/openvswitch-1.3.0.tar.gz -openvswitch-SHA1SUM := 9e42a66386851272eb247460d3cedd5ec92473a7 +openvswitch-URL := "http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=snapshot;h=ef72dd87d6ad4e511d1e0bddc31d4716f0914fab;sf=tgz" +openvswitch-SHA1SUM := 74c41cb4bd95df3ad3567c5c8bca7624d7e7b534 openvswitch := $(notdir $(openvswitch-URL)) all: $(ALL) @@ -17,7 +17,7 @@ define download_target $(1): $($(1)) .PHONY: $($(1)) $($(1)): - @if [ ! -e "$($(1))" ] ; then echo "$(WEBFETCH) $($(1)-URL)" ; $(WEBFETCH) $($(1)-URL) ; fi + @if [ ! -e "$($(1))" ] ; then echo "$(WEBFETCH) -Oopenvswitch-ef72dd8.tar.gz $($(1)-URL)" ; $(WEBFETCH) -Oopenvswitch-ef72dd8.tar.gz $($(1)-URL) ; fi @if [ ! -e "$($(1))" ] ; then echo "Could not download source file: $($(1)) does not exist" ; exit 1 ; fi @if test "$$$$($(SHA1SUM) $($(1)) | awk '{print $$$$1}')" != "$($(1)-SHA1SUM)" ; then \ echo "sha1sum of the downloaded $($(1)) does not match the one from 'Makefile'" ; \