Module.symvers
TAGS
cscope.*
-ext.m4
-ext.mk
tags
+++ /dev/null
-[submodule "ext"]
- path = ext
- url = ../openflowext
AM_CPPFLAGS += $(PCRE_CFLAGS)
AM_CPPFLAGS += -I $(top_srcdir)/include
AM_CPPFLAGS += -I $(top_srcdir)/lib
-if HAVE_EXT
-AM_CPPFLAGS += -I $(top_srcdir)/ext/include
-endif
AM_CFLAGS = -Wstrict-prototypes
include extras/ezio/automake.mk
endif
endif
-include ext.mk
endif # ENABLE_USERSPACE
[Define to 1 if net/if_packet.h is available.])
fi])
-dnl Enable OpenVSwitch extension submodule.
-AC_DEFUN([OVS_ENABLE_EXT],
- [AC_ARG_ENABLE([ext],
- AS_HELP_STRING([--enable-ext],
- [use OpenVSwitch extensions
- (default is yes if "ext" dir exists)]))
- case "${enable_ext}" in
- (yes)
- HAVE_EXT=yes
- ;;
- (no)
- HAVE_EXT=no
- ;;
- (*)
- if test -e "$srcdir/ext/automake.mk"; then
- HAVE_EXT=yes
- else
- HAVE_EXT=no
- fi
- ;;
- esac
- if test $HAVE_EXT = yes; then
- if test -e "$srcdir/ext/automake.mk"; then
- :
- else
- AC_MSG_ERROR([cannot configure extensions without "ext" directory])
- fi
- AC_DEFINE([HAVE_EXT], [1],
- [Whether the OpenVSwitch extensions submodule is available])
- fi
- AM_CONDITIONAL([HAVE_EXT], [test $HAVE_EXT = yes])])
-
dnl Checks for dpkg-buildpackage. If this is available then we check
dnl that the Debian packaging is functional at "make distcheck" time.
AC_DEFUN([OVS_CHECK_DPKG_BUILDPACKAGE],
#! /bin/sh
-
-set -e
-
-have_ext=$(if test -e ext/automake.mk; then echo yes; else echo no; fi)
-for opt
-do
- case $opt in
- (--enable-ext) have_ext=yes ;;
- (--disable-ext) have_ext=no ;;
- (--help) cat <<EOF
-$0: bootstrap OpenVSwitch from a checked-out VCS tree
-usage: $0 [OPTIONS]
-The recognized options are:
- --enable-ext include vswitchext
- --disable-ext exclude vswitchext
-By default, vswitchext is included if it is present.
-EOF
- exit 0
- ;;
- (*) echo "unknown option $opt; use --help for help"; exit 1 ;;
- esac
-done
-
-# Enable or disable ext.
-if test "$have_ext" = yes; then
- echo 'Enabling vswitchext...'
- echo 'include ext/automake.mk' > ext.mk
- cat debian/control.in ext/debian/control.in > debian/control
- for d in $(cat ext/debian/LINKS); do
- test -e debian/$d || ln -s ../ext/debian/$d debian/$d
- done
-else
- echo 'Disabling vswitchext...'
- echo '# This file intentionally left blank.' > ext.mk
- cat debian/control.in > debian/control
-fi
-
-# Bootstrap configure system from .ac/.am files
-autoreconf --install -I config --force
+autoreconf --install --force
OVS_ENABLE_OPTION([-Wno-override-init])
fi
-OVS_ENABLE_EXT
-
AC_ARG_VAR(KARCH, [Kernel Architecture String])
AC_SUBST(KARCH)
OVS_CHECK_LINUX(l26, 2.6, KSRC26, L26_ENABLED)
debian/commands/reconfigure \
debian/commands/update \
debian/compat \
- debian/control.in \
+ debian/control \
debian/control.modules.in \
debian/copyright \
debian/corekeeper.cron.daily \
--- /dev/null
+Source: openvswitch
+Section: net
+Priority: extra
+Maintainer: OpenVSwitch developers <ovs-dev@openvswitch.org>
+Build-Depends: debhelper (>= 5), autoconf (>= 2.60), automake1.10, libssl-dev, pkg-config (>= 0.21), po-debconf, bzip2, openssl, libncurses5-dev, libpcre3-dev
+Standards-Version: 3.7.3
+
+Package: openvswitch-datapath-source
+Architecture: all
+Depends: module-assistant, bzip2, debhelper (>= 5.0.37)
+Suggests: openvswitch-switch
+Description: Source code for OpenVSwitch datapath Linux module
+ This package provides the OpenVSwitch datapath module source code
+ that is needed by openvswitch-switch. The kernel module can be built
+ from it using module-assistant or make-kpkg. README.Debian in this
+ package provides further instructions.
+ .
+ OpenVSwitch is a software-based Ethernet switch targeted at virtual
+ servers.
+
+Package: openvswitch-common
+Architecture: any
+Depends: ${shlibs:Depends}, openssl
+Description: OpenVSwitch common components
+ openvswitch-common provides components required by both openvswitch-switch
+ and openvswitch-controller.
+ .
+ OpenVSwitch is a software-based Ethernet switch targeted at virtual
+ servers.
+
+Package: openvswitch-switch
+Architecture: any
+Suggests: openvswitch-datapath-module
+Depends: ${shlibs:Depends}, ${misc:Depends}, openvswitch-common, dhcp3-client, module-init-tools, dmidecode, procps, debianutils
+Description: OpenVSwitch switch implementations
+ openvswitch-switch provides the userspace components and utilities for
+ the Openvswitch kernel-based switch.
+ .
+ OpenVSwitch is a software-based Ethernet switch targeted at virtual
+ servers.
+
+Package: openvswitch-switch-config
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, openvswitch-switch, libwww-perl, libdigest-sha1-perl
+Description: OpenVSwitch switch implementations
+ openvswitch-switch-config provides a utility for interactively configuring
+ the OpenVSwitch switch provided in the openvswitch-switch package.
+ .
+ OpenVSwitch is a software-based Ethernet switch targeted at virtual
+ servers.
+
+Package: openvswitch-switchui
+Architecture: any
+Recommends: openvswitch-switch
+Depends: ${shlibs:Depends}, ${misc:Depends}, console-tools
+Description: Monitoring utility for OpenFlow switches
+ The ovs-switchui utility included in this package provides a
+ "front-panel display" to allow administrators to view the status of
+ an OpenFlow switch at a glance.
+ .
+ The ezio-term utility, also included, provides a VT100-compatible
+ terminal interface for EZIO3 (aka MTB-134) 16x2 LCD displays found on
+ server appliances made by Portwell. It allows ovs-switchui to work
+ with such displays.
+
+Package: openvswitch-pki
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, openvswitch-common
+Description: OpenVSwitch public key infrastructure
+ openvswitch-pki provides PKI (public key infrastructure) support for
+ OpenVSwitch switches and controllers, reducing the risk of
+ man-in-the-middle attacks on the Openvswitch network infrastructure.
+ .
+ OpenVSwitch is a software-based Ethernet switch targeted at virtual
+ servers.
+
+Package: openvswitch-pki-server
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, openvswitch-pki, apache2
+Description: OpenVSwitch public key infrastructure (HTTP server support)
+ openvswitch-pki-server provides HTTP access to the OpenVSwitch PKI (public
+ key infrastructure) maintained on the local machine by the
+ openvswitch-pki package. This HTTP access is needed for secure and
+ convenient OpenFlow switch setup using the ovs-switch-setup program
+ in the openvswitch-switch package.
+ .
+ OpenVSwitch is a software-based Ethernet switch targeted at virtual
+ servers.
+
+Package: openvswitch-controller
+Architecture: any
+Depends: ${shlibs:Depends}, openvswitch-common, openvswitch-pki
+Description: OpenVSwitch controller implementation
+ The OpenVSwitch controller enables OpenFlow switches that connect to it
+ to act as MAC-learning Ethernet switches.
+ .
+ OpenVSwitch is a software-based Ethernet switch targeted at virtual
+ servers.
+
+Package: corekeeper
+Architecture: all
+Depends: tmpreaper
+Description: Core file centralizer and reaper
+ The corekeeper package configures the system to dump all core files to
+ /var/log/core. It also deletes core files older than 7 days.
+
+Package: openvswitch-dbg
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Debug symbols for OpenVSwitch packages
+ This package contains the debug symbols for all the other openvswitch-*
+ packages. Install it to debug one of them or to examine a core dump
+ produced by one of them.
+
+Package: openvswitch-monitor
+Architecture: any
+Recommends: openvswitch-switch
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Monitor utility for OpenVSwitch switches
+ The ovs-monitor utility included in this package monitors the secure
+ channel and datapath. If either become unresponsive, the switch is
+ rebooted.
+
+Package: openvswitch-wdt
+Architecture: any
+Recommends: openvswitch-switch
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Watchdog utility for OpenVSwitch switches
+ The ovs-wdt program included in this package manages the hardware
+ watchdog timer in switches based on the Portwell NAR-5520 hardware.
+
+Package: nicira-switch
+Architecture: all
+Depends:
+ openvswitch-common (= ${source:Version}),
+ openvswitch-switch (= ${source:Version}),
+ openvswitch-switchui (= ${source:Version}),
+ openvswitch-datapath-module (= ${source:Version}),
+ corekeeper, openvswitch-monitor, openvswitch-wdt
+Description: Metapackage for installing a Nicira OpenVSwitch switch
+ Installing this package will install everything needed for a Nicira
+ Portwell-based OpenVSwitch switch, including monitoring and the switch UI.
+
+++ /dev/null
-Source: openvswitch
-Section: net
-Priority: extra
-Maintainer: OpenVSwitch developers <ovs-dev@openvswitch.org>
-Build-Depends: debhelper (>= 5), autoconf (>= 2.60), automake1.10, libssl-dev, pkg-config (>= 0.21), po-debconf, bzip2, openssl, libncurses5-dev, libpcre3-dev
-Standards-Version: 3.7.3
-
-Package: openvswitch-datapath-source
-Architecture: all
-Depends: module-assistant, bzip2, debhelper (>= 5.0.37)
-Suggests: openvswitch-switch
-Description: Source code for OpenVSwitch datapath Linux module
- This package provides the OpenVSwitch datapath module source code
- that is needed by openvswitch-switch. The kernel module can be built
- from it using module-assistant or make-kpkg. README.Debian in this
- package provides further instructions.
- .
- OpenVSwitch is a software-based Ethernet switch targeted at virtual
- servers.
-
-Package: openvswitch-common
-Architecture: any
-Depends: ${shlibs:Depends}, openssl
-Description: OpenVSwitch common components
- openvswitch-common provides components required by both openvswitch-switch
- and openvswitch-controller.
- .
- OpenVSwitch is a software-based Ethernet switch targeted at virtual
- servers.
-
-Package: openvswitch-switch
-Architecture: any
-Suggests: openvswitch-datapath-module
-Depends: ${shlibs:Depends}, ${misc:Depends}, openvswitch-common, dhcp3-client, module-init-tools, dmidecode, procps, debianutils
-Description: OpenVSwitch switch implementations
- openvswitch-switch provides the userspace components and utilities for
- the Openvswitch kernel-based switch.
- .
- OpenVSwitch is a software-based Ethernet switch targeted at virtual
- servers.
-
-Package: openvswitch-switch-config
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, openvswitch-switch, libwww-perl, libdigest-sha1-perl
-Description: OpenVSwitch switch implementations
- openvswitch-switch-config provides a utility for interactively configuring
- the OpenVSwitch switch provided in the openvswitch-switch package.
- .
- OpenVSwitch is a software-based Ethernet switch targeted at virtual
- servers.
-
-Package: openvswitch-switchui
-Architecture: any
-Recommends: openvswitch-switch
-Depends: ${shlibs:Depends}, ${misc:Depends}, console-tools
-Description: Monitoring utility for OpenFlow switches
- The ovs-switchui utility included in this package provides a
- "front-panel display" to allow administrators to view the status of
- an OpenFlow switch at a glance.
- .
- The ezio-term utility, also included, provides a VT100-compatible
- terminal interface for EZIO3 (aka MTB-134) 16x2 LCD displays found on
- server appliances made by Portwell. It allows ovs-switchui to work
- with such displays.
-
-Package: openvswitch-pki
-Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, openvswitch-common
-Description: OpenVSwitch public key infrastructure
- openvswitch-pki provides PKI (public key infrastructure) support for
- OpenVSwitch switches and controllers, reducing the risk of
- man-in-the-middle attacks on the Openvswitch network infrastructure.
- .
- OpenVSwitch is a software-based Ethernet switch targeted at virtual
- servers.
-
-Package: openvswitch-pki-server
-Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, openvswitch-pki, apache2
-Description: OpenVSwitch public key infrastructure (HTTP server support)
- openvswitch-pki-server provides HTTP access to the OpenVSwitch PKI (public
- key infrastructure) maintained on the local machine by the
- openvswitch-pki package. This HTTP access is needed for secure and
- convenient OpenFlow switch setup using the ovs-switch-setup program
- in the openvswitch-switch package.
- .
- OpenVSwitch is a software-based Ethernet switch targeted at virtual
- servers.
-
-Package: openvswitch-controller
-Architecture: any
-Depends: ${shlibs:Depends}, openvswitch-common, openvswitch-pki
-Description: OpenVSwitch controller implementation
- The OpenVSwitch controller enables OpenFlow switches that connect to it
- to act as MAC-learning Ethernet switches.
- .
- OpenVSwitch is a software-based Ethernet switch targeted at virtual
- servers.
-
-Package: corekeeper
-Architecture: all
-Depends: tmpreaper
-Description: Core file centralizer and reaper
- The corekeeper package configures the system to dump all core files to
- /var/log/core. It also deletes core files older than 7 days.
-
-Package: openvswitch-dbg
-Architecture: any
-Depends: ${shlibs:Depends}
-Description: Debug symbols for OpenVSwitch packages
- This package contains the debug symbols for all the other openvswitch-*
- packages. Install it to debug one of them or to examine a core dump
- produced by one of them.
-
-Package: openvswitch-monitor
-Architecture: any
-Recommends: openvswitch-switch
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Monitor utility for OpenVSwitch switches
- The ovs-monitor utility included in this package monitors the secure
- channel and datapath. If either become unresponsive, the switch is
- rebooted.
-
-Package: openvswitch-wdt
-Architecture: any
-Recommends: openvswitch-switch
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Watchdog utility for OpenVSwitch switches
- The ovs-wdt program included in this package manages the hardware
- watchdog timer in switches based on the Portwell NAR-5520 hardware.
-
cp debian/openvswitch-switch.template debian/openvswitch-switch/usr/share/openvswitch/switch/default.template
dh_install -s
env TERMINFO=debian/openvswitch-switchui/usr/share/terminfo tic -x extras/ezio/ezio3.ti
- if test -e ext/utilities/dump-desc; then \
- install -m755 ext/utilities/dump-desc debian/openvswitch-switch/usr/share/openvswitch; \
- fi
# Must not depend on anything. This is to be called by
# binary-arch/binary-indep
Version: %{vswitch_version}
License: GPL3
Release: 1
-Source: openvswitch+ext-%{vswitch_version}.tar.gz
+Source: openvswitch-%{vswitch_version}.tar.gz
Buildroot: /tmp/vswitch-xen-rpm
%description
traffic.
%prep
-%setup -q -n openvswitch+ext-%{vswitch_version}
+%setup -q -n openvswitch-%{vswitch_version}
%build
./configure --prefix=%{_prefix} --localstatedir=%{_localstatedir} --with-l26=/lib/modules/%{xen_version}/build --enable-ssl %{build_number}