[pve-devel] [PATCH openvswitch 3/4] Change download source to githup.
Wolfgang Link
w.link at proxmox.com
Tue Oct 18 11:11:57 CEST 2016
2014 OVS say githup is the new official git repository.
http://openvswitch.org/pipermail/announce/2014-April/000063.html
---
Makefile | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index 1e3acb3..87c882a 100644
--- a/Makefile
+++ b/Makefile
@@ -32,12 +32,10 @@ ${DEBS}: ${OVSSRC}
.PHONY: download
${OVSSRC} download:
- wget http://openvswitch.org/releases/${OVSSRC}
- #rm -rf ${OVSDIR} ${OVSSRC}
- #git clone git://git.openvswitch.org/openvswitch ${OVSDIR}
- #rm -rf ${OVSDIR}/.git
- #tar czf ${OVSSRC}.tmp ${OVSDIR}
- #mv ${OVSSRC}.tmp ${OVSSRC}
+ rm -rf ${OVSDIR} ${OVSSRC}
+ git clone https://github.com/openvswitch/ovs.git -b v${OVSVER} ${OVSDIR}.git
+ cd ${OVSDIR}.git; git archive --format=tar.gz -o ../${OVSSRC}.tmp v${OVSVER} --prefix=${OVSDIR}/
+ mv ${OVSSRC}.tmp ${OVSSRC}
.PHONY: upload
upload: ${DEBS}
@@ -54,7 +52,7 @@ distclean: clean
.PHONY: clean
clean:
- rm -rf *~ ${OVSSRC}.tmp ${OVSDIR} *.deb *.changes
+ rm -rf *~ ${OVSSRC}.tmp ${OVSDIR} *.deb *.changes ${OVSDIR}.git
.PHONY: dinstall
dinstall: ${DEBS}
--
2.1.4
More information about the pve-devel
mailing list