]> git.proxmox.com Git - openvswitch.git/commitdiff
first try
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 18 Dec 2013 07:12:46 +0000 (08:12 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 18 Dec 2013 07:12:46 +0000 (08:12 +0100)
Makefile [new file with mode: 0644]
openvswitch-2.0.90.tar.gz [new file with mode: 0644]
remove-unneeded-from-control.patch [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..d959ac0
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,52 @@
+RELEASE=3.1
+
+OVSVER=2.0.90
+PKGRELEASE=1
+
+OVSDIR=openvswitch-${OVSVER}
+OVSSRC=openvswitch-${OVSVER}.tar.gz
+
+ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+DEBS=                                                          \
+       openvswitch-common_${OVSVER}-${PKGRELEASE}_${ARCH}.deb  \
+       openvswitch-switch_${OVSVER}-${PKGRELEASE}_${ARCH}.deb
+
+all: ${DEBS}
+       echo ${DEBS}
+
+
+${DEBS}: ${OVSSRC}
+       rm -rf ${OVSDIR}
+       tar xf ${OVSSRC}
+       cd  ${OVSDIR}; patch -p1 <../remove-unneeded-from-control.patch
+       cd ${OVSDIR}; dpkg-buildpackage -b -rfakeroot -us -uc   
+
+.PHONY: download
+${OVSSRC} download:
+       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}
+
+.PHONY: upload
+upload: ${DEBS}
+       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
+       mkdir -p /pve/${RELEASE}/extra
+       rm -f /pve/${RELEASE}/extra/openvswitch-*.deb
+       rm -f /pve/${RELEASE}/extra/Packages*
+       cp ${DEBS} /pve/${RELEASE}/extra
+       cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz
+       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro
+
+.PHONY: distclean
+distclean: clean
+
+.PHONY: clean
+clean:
+       rm -rf *~ ${OVSSRC}.tmp ${OVSDIR} *.deb *.changes
+
+.PHONY: dinstall
+dinstall: ${DEBS}
+       dpkg -i ${DEBS}
diff --git a/openvswitch-2.0.90.tar.gz b/openvswitch-2.0.90.tar.gz
new file mode 100644 (file)
index 0000000..3c0e924
Binary files /dev/null and b/openvswitch-2.0.90.tar.gz differ
diff --git a/remove-unneeded-from-control.patch b/remove-unneeded-from-control.patch
new file mode 100644 (file)
index 0000000..1c3c23e
--- /dev/null
@@ -0,0 +1,61 @@
+--- new/debian/control.org     2013-12-18 07:35:33.078896314 +0100
++++ new/debian/control 2013-12-18 07:49:35.738844600 +0100
+@@ -6,8 +6,7 @@
+ Build-Depends:
+  debhelper (>= 8), autoconf (>= 2.64), automake (>= 1.10) | automake1.10, 
+  libssl-dev, bzip2, openssl, graphviz,
+- python-all (>= 2.6.6-3~), procps, python-qt4,
+- python-zopeinterface, python-twisted-conch
++ python-all (>= 2.6.6-3~), procps
+ Standards-Version: 3.9.3
+ Homepage: http://openvswitch.org/
+@@ -29,22 +28,6 @@
+  from it using module-assistant or make-kpkg.  README.Debian in this
+  package provides further instructions.
+-Package: openvswitch-datapath-dkms
+-Architecture: all
+-Depends: dkms (>= 1.95), make, libc6-dev, ${misc:Depends}, ${python:Depends}
+-Description: Open vSwitch datapath module source - DKMS version
+- Open vSwitch is a production quality, multilayer, software-based,
+- Ethernet virtual switch. It is designed to enable massive network
+- automation through programmatic extension, while still supporting
+- standard management interfaces and protocols (e.g. NetFlow, IPFIX,
+- sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed
+- to support distribution across multiple physical servers similar to
+- VMware's vNetwork distributed vswitch or Cisco's Nexus 1000V.
+- .
+- This package provides the Open vSwitch datapath module source code
+- that is needed by openvswitch-switch.  DKMS can built the kernel
+- module from it.
+-
+ Package: openvswitch-common
+ Architecture: linux-any
+ Depends:
+@@ -152,25 +135,6 @@
+  .
+  This package contains the full Python bindings for Open vSwitch database.
+-Package: ovsdbmonitor
+-Architecture: all
+-Section: utils
+-Depends: ${python:Depends}, python-openvswitch, ${misc:Depends}
+-Description: Open vSwitch graphical monitoring tool
+- Open vSwitch is a production quality, multilayer, software-based,
+- Ethernet virtual switch. It is designed to enable massive network
+- automation through programmatic extension, while still supporting
+- standard management interfaces and protocols (e.g. NetFlow, IPFIX,
+- sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed
+- to support distribution across multiple physical servers similar to
+- VMware's vNetwork distributed vswitch or Cisco's Nexus 1000V.
+- .
+- This package is a GUI tool for monitoring and troubleshooting local
+- or remote Open vSwitch installations.  It presents GUI tables that
+- graphically represent an Open vSwitch kernel flow table (similar to
+- "ovs-dpctl dump-flows") and Open vSwitch database contents (similar
+- to "ovs-vsctl list <table>").
+-
+ Package: openvswitch-test
+ Architecture: all
+ Depends: ${misc:Depends}, ${python:Depends}, python-twisted-web, python (>= 2.7) | python-argparse