openvswitch/openvswitch.spec

669 lines
21 KiB
RPMSpec
Raw Normal View History

#
# spec file for package openvswitch
#
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# needssslcertforbuild
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
# Disable building the external kernel datapath by default
%bcond_with kmp
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%ifarch aarch64 x86_64 %{ix86}
# DPDK enabled by default
%bcond_without dpdk
%else
# No DPDK support on these architectures
%bcond_with dpdk
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%endif
# The testsuite is somewhat fragile for continuous testing in OBS
# but keep it here as an option
%bcond_with check
Name: openvswitch
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
Version: 2.7.0
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
Release: 0
Summary: An open source, production quality, multilayer virtual switch
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
# All code is Apache-2.0 except
# - lib/sflow* which is SISSL
# - utilities/bugtool which is LGPL-2.1
License: Apache-2.0 and LGPL-2.1 and SISSL
Group: Productivity/Networking/System
Url: http://openvswitch.org/
Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz
Source1: preamble
Source89: Module.supported.updates
# PATCh-FIX-UPSTREAM 0001-ofp-util-Fix-buffer-overread-in-ofputil_pull_queue_g.patch
# Upstream fix (present in 2.7 branch) to fix CVE-2017-9214
# See https://nvd.nist.gov/vuln/detail/CVE-2017-9214
Patch1: 0001-ofp-util-Fix-buffer-overread-in-ofputil_pull_queue_g.patch
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
Patch99: 0001-utilities-Add-script-to-support-DPDK-option-migratio.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fdupes
BuildRequires: graphviz
BuildRequires: libcap-ng-devel
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
BuildRequires: libopenssl-devel
BuildRequires: libtool
BuildRequires: make
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
BuildRequires: pkgconfig
BuildRequires: python-devel
Accepting request 433610 from home:markoschandras:network - Version bump to 2.6.0. Some of the changes are: * First supported release of OVN. See ovn-architecture(7) for more details. * ovsdb-server: - New "monitor_cond" "monitor_cond_update" and "update2" extensions to RFC 7047. * OpenFlow: - OpenFlow 1.3+ bundles now expire after 10 seconds since the last time the bundle was either opened, modified, or closed. - OpenFlow 1.3 Extension 230, adding OpenFlow Bundles support, is now implemented. - OpenFlow 1.3+ bundles are now supported for group mods as well as flow mods and port mods. Both 'atomic' and 'ordered' bundle flags are supported for group mods as well as flow mods. - Internal OpenFlow rule representation for load and set-field actions is now much more memory efficient. For a complex flow table this can reduce rule memory consumption by 40%. - Bundles are now much more memory efficient than in OVS 2.5. Together with memory efficiency improvements in OpenFlow rule representation, the peak OVS resident memory use during a bundle commit for large complex set of flow mods can be only 25% of that in OVS 2.5 (4x lower). - OpenFlow 1.1+ OFPT_QUEUE_GET_CONFIG_REQUEST now supports OFPP_ANY. - OpenFlow 1.4+ OFPMP_QUEUE_DESC is now supported. - OpenFlow 1.4+ OFPT_TABLE_STATUS is now supported. - New property-based packet-in message format NXT_PACKET_IN2 with support for arbitrary user-provided data and for serializing flow table traversal into a continuation for later resumption. - New extension message NXT_SET_ASYNC_CONFIG2 to allow OpenFlow 1.4-like control over asynchronous messages in earlier versions of OpenFlow. OBS-URL: https://build.opensuse.org/request/show/433610 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=104
2016-10-07 15:07:43 +02:00
BuildRequires: python-six
BuildRequires: python-xml
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
BuildRequires: pkgconfig(openssl)
Requires: logrotate
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
Requires: modutils
Requires: python
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
# ovs-ctl / ovs-pki use /usr/bin/uuidgen:
Requires: util-linux
Requires(post): %fillup_prereq
Suggests: logrotate
Provides: openvswitch-common = %{version}
Obsoletes: openvswitch-common < %{version}
Provides: openvswitch-controller = %{version}
Obsoletes: openvswitch-controller < %{version}
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
# openvswitch-switch has been merged to the main package
# so we need to provide a migration path
Provides: %{name}-dpdk < %{version}
Provides: %{name}-dpdk-switch < %{version}
Provides: %{name}-switch = %{version}
Obsoletes: %{name}-dpdk < %{version}
Obsoletes: %{name}-dpdk-switch < %{version}
Obsoletes: %{name}-switch < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{?systemd_requires}
%py_requires
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
# Needed by the testsuite
%if %{with check}
BuildRequires: procps
%endif
%if %{with kmp}
Suggests: openvswitch-kmp
%endif
%if %{with dpdk}
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
# We need to be a bit strict with the dpdk version since
# it's very possible for DPDK to change it's API between
# releases. This version currently requires >=16.07 but not
# 17.XX
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
BuildRequires: dpdk-devel >= 16.11
Accepting request 433610 from home:markoschandras:network - Version bump to 2.6.0. Some of the changes are: * First supported release of OVN. See ovn-architecture(7) for more details. * ovsdb-server: - New "monitor_cond" "monitor_cond_update" and "update2" extensions to RFC 7047. * OpenFlow: - OpenFlow 1.3+ bundles now expire after 10 seconds since the last time the bundle was either opened, modified, or closed. - OpenFlow 1.3 Extension 230, adding OpenFlow Bundles support, is now implemented. - OpenFlow 1.3+ bundles are now supported for group mods as well as flow mods and port mods. Both 'atomic' and 'ordered' bundle flags are supported for group mods as well as flow mods. - Internal OpenFlow rule representation for load and set-field actions is now much more memory efficient. For a complex flow table this can reduce rule memory consumption by 40%. - Bundles are now much more memory efficient than in OVS 2.5. Together with memory efficiency improvements in OpenFlow rule representation, the peak OVS resident memory use during a bundle commit for large complex set of flow mods can be only 25% of that in OVS 2.5 (4x lower). - OpenFlow 1.1+ OFPT_QUEUE_GET_CONFIG_REQUEST now supports OFPP_ANY. - OpenFlow 1.4+ OFPMP_QUEUE_DESC is now supported. - OpenFlow 1.4+ OFPT_TABLE_STATUS is now supported. - New property-based packet-in message format NXT_PACKET_IN2 with support for arbitrary user-provided data and for serializing flow table traversal into a continuation for later resumption. - New extension message NXT_SET_ASYNC_CONFIG2 to allow OpenFlow 1.4-like control over asynchronous messages in earlier versions of OpenFlow. OBS-URL: https://build.opensuse.org/request/show/433610 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=104
2016-10-07 15:07:43 +02:00
BuildRequires: libnuma-devel
BuildRequires: libpcap-devel
%endif
%description
Open vSwitch is a production quality, multilayer virtual switch licensed under
the open source Apache 2.0 license. It is designed to enable massive network automation
through programmatic extension, while still supporting standard management interfaces
and protocols (e.g. NetFlow, sFlow, RSPAN, ERSPAN, CLI, LACP, 802.1ag). In addition,
it is designed to support distribution across multiple physical servers similar to
VMwares vNetwork distributed vswitch or Ciscos Nexus 1000V.
%if %{with kmp}
%package kmp
Summary: Open vSwitch kernel modules
License: GPL-2.0+
Group: System/Kernel
BuildRequires: %{kernel_module_package_buildreqs}
%suse_kernel_module_package -p %{_sourcedir}/preamble ec2 xenpae vmi um
%description kmp
Kernel modules supporting the openvswitch datapath.
%endif
%package devel
Summary: Open vSwitch Devel Libraries
License: Apache-2.0
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
Provides: %{name}-dpdk-devel = %{version}
Obsoletes: %{name}-dpdk-devel < %{version}
%description devel
Accepting request 361282 from home:k_mroz:branches:network - Don't install INSTALL.* files. - Removed: openvswitch-switch.template - New upstream version 2.4.0 - Flow table modifications are now atomic, meaning that each packet now sees a coherent version of the OpenFlow pipeline. For example, if a controller removes all flows with a single OpenFlow "flow_mod", no packet sees an intermediate version of the OpenFlow pipeline where only some of the flows have been deleted. - Added support for SFQ, FQ_CoDel and CoDel qdiscs. - Add bash command-line completion support for ovs-vsctl Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The MAC learning feature now includes per-port fairness to mitigate MAC flooding attacks. - New support for a "conjunctive match" OpenFlow extension, which allows constructing OpenFlow matches of the form "field1 in {a,b,c...} AND field2 in {d,e,f...}" and generalizations. For details, see documentation for the "conjunction" action in ovs-ofctl(8). - Add bash command-line completion support for ovs-appctl/ovs-dpctl/ ovs-ofctl/ovsdb-tool commands. Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The "learn" action supports a new flag "delete_learned" that causes the learned flows to be deleted when the flow with the "learn" action is deleted. - Basic support for the Geneve tunneling protocol. It is not yet possible to generate or match options. This is planned for a future release. The protocol is documented at http://tools.ietf.org/html/draft-gross-geneve-00 - The OVS database now reports controller rate limiting statistics. OBS-URL: https://build.opensuse.org/request/show/361282 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=76
2016-02-26 16:24:36 +01:00
Devel libraries and headers for Open vSwitch.
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%package ovn-central
Summary: Open vSwitch - Open Virtual Network support
License: Apache-2.0
Group: Productivity/Networking/System
Requires: %{name} = %{version}
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
Requires: %{name}-ovn-common
# openvswitch-ovn has been split into openvswitch-ovn-{central,common,docker,host,vtep}
Provides: %{name}-dpdk-ovn:%{_bindir}/ovn-northd
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
Provides: %{name}-ovn:%{_bindir}/ovn-northd
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%description ovn-central
OVN, the Open Virtual Network, is a system to support virtual network
abstraction. OVN complements the existing capabilities of OVS to add
native support for virtual network abstractions, such as virtual L2 and L3
overlays and security groups.
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%package ovn-host
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
Summary: Open vSwitch - Open Virtual Network support
License: Apache-2.0
Group: Productivity/Networking/System
Requires: %{name} = %{version}
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
Requires: %{name}-ovn-common
# openvswitch-ovn has been split into openvswitch-ovn-{central,common,docker,host,vtep}
Provides: %{name}-dpdk-ovn:%{_bindir}/ovn-controller
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
Provides: %{name}-ovn:%{_bindir}/ovn-controller
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%description ovn-host
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
OVN, the Open Virtual Network, is a system to support virtual network
abstraction. OVN complements the existing capabilities of OVS to add
native support for virtual network abstractions, such as virtual L2 and L3
overlays and security groups.
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%package ovn-vtep
Summary: Open vSwitch - Open Virtual Network support
License: Apache-2.0
Group: Productivity/Networking/System
Requires: %{name} = %{version}
Requires: %{name}-ovn-common
# openvswitch-ovn has been split into openvswitch-ovn-{central,common,docker,host,vtep}
Provides: %{name}-dpdk-ovn:%{_bindir}/ovn-controller-vtep
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
Provides: %{name}-ovn:%{_bindir}/ovn-controller-vtep
%description ovn-vtep
OVN vtep controller
%package ovn-common
Summary: Open vSwitch - Open Virtual Network support
License: Apache-2.0
Group: Productivity/Networking/System
Requires: %{name} = %{version}
# openvswitch-ovn has been split into openvswitch-ovn-{central,common,docker,host,vtep}
Provides: %{name}-dpdk-ovn = %{version}
Provides: %{name}-ovn = %{version}
Obsoletes: %{name}-dpdk-ovn < %{version}
Obsoletes: %{name}-ovn < %{version}
%description ovn-common
Utilities that are used to diagnose and manage the OVN components.
%package ovn-docker
Summary: Open vSwitch - Open Virtual Network support
License: Apache-2.0
Group: Productivity/Networking/System
Requires: %{name} = %{version}
Requires: %{name}-ovn-common = %{version}
Requires: python-openvswitch = %{version}
# openvswitch-ovn has been split into openvswitch-ovn-{central,common,docker,host,vtep}
Provides: %{name}-dpdk-ovn:%{_bindir}/ovn-docker-overlay-driver
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
Provides: %{name}-ovn:%{_bindir}/ovn-docker-overlay-driver
%description ovn-docker
Docker network plugins for OVN.
%package pki
Summary: Open vSwitch public key infrastructure dependency package
License: Apache-2.0
Group: Productivity/Networking/System
Requires: %{name} = %{version}
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
Provides: %{name}-dpdk-pki = %{version}
Obsoletes: %{name}-dpdk-pki < %{version}
%description pki
openvswitch-pki provides PKI (public key infrastructure) support for
Open vSwitch switches and controllers, reducing the risk of
man-in-the-middle attacks on the Open vSwitch network infrastructure.
Open vSwitch is a full-featured software-based Ethernet switch.
%package vtep
Summary: Open vSwitch VTEP emulator
License: Apache-2.0
Group: Productivity/Networking/System
Requires: %{name} = %{version}
Requires: %{name}-switch = %{version}
# Since openvswitch/scripts/ovs-vtep requires various ovs python modules.
Requires: python-openvswitch = %{version}
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
Provides: %{name}-dpdk-vtep = %{version}
Obsoletes: %{name}-dpdk-vtep < %{version}
%description vtep
A VTEP (VXLAN Tunnel EndPoint) emulator that uses Open vSwitch for
forwarding.
Open vSwitch is a full-featured software-based Ethernet switch.
%package -n python-openvswitch
Summary: Python bindings for Open vSwitch
License: Python-2.0
Group: Productivity/Networking/System
Requires: openvswitch-common = %{version}
Requires: python
Requires: python-six
%description -n python-openvswitch
This package contains the full Python bindings for Open vSwitch database.
%package -n python-openvswitch-test
Summary: Python bindings for Open vSwitch
License: Python-2.0
Group: Productivity/Networking/System
Requires: openvswitch-common = %{version}
Requires: python
Requires: python-openvswitch = %{version}
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
Requires: python-twisted
%description -n python-openvswitch-test
This package contains the full Python bindings for Open vSwitch database.
%package test
Summary: Open vSwitch test package
License: Apache-2.0
Group: Productivity/Networking/System
Requires: %{name} = %{version}
Requires: python
Requires: python-argparse
Requires: python-openvswitch-test = %{version}
Requires: python-twisted
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
Provides: %{name}-dpdk-test = %{version}
Obsoletes: %{name}-dpdk-test < %{version}
%description test
This package contains utilities that are useful to diagnose
performance and connectivity issues in Open vSwitch setup.
Open vSwitch is a full-featured software-based Ethernet switch.
%prep
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
%setup -q -n openvswitch-%{version}
%patch1 -p1
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%patch99 -p1
%build
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
set -- * .travis* .mailmap
mkdir source
mv "$@" source/
mkdir obj
pushd source
# only call boot.sh for distros with autoconf >= 2.64
bash -x boot.sh
popd
%if %{with kmp}
export EXTRA_CFLAGS='-DVERSION=\"%{version}\"'
for flavor in %{flavors_to_build}; do
rm -rf obj/$flavor
cp -r source obj/$flavor
cp -a %{SOURCE89} obj/$flavor/datapath/linux/Module.supported
pushd obj/$flavor
%configure \
--with-logdir=%{_localstatedir}/log/openvswitch \
--with-linux=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor \
--with-linux-source=%{_prefix}/src/linux
cd datapath/linux
make %{?_smp_mflags}
popd
done
%endif
pushd source
%if %{with dpdk}
dpdk_opt="--with-dpdk"
%endif
%configure \
--disable-static \
--enable-libcapng \
--enable-shared \
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
--enable-ssl \
${dpdk_opt} \
--with-logdir=%{_localstatedir}/log/openvswitch
make %{?_smp_mflags}
popd
%check
%if %{with check}
pushd source
# Recheck tests before we declare them broken. If that fails, dump
# the log and exit. >2.5.0 uses the RECHECK env variable so this
# needs to be taken into consideration for future releases.
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
if make check TESTSUITEFLAGS="%{?_smp_mflags}" ||
make check TESTSUITEFLAGS='--recheck'; then :;
else
cat tests/testsuite.log
exit 1
fi
popd
%endif
%install
%if %{with kmp}
export NO_BRP_STALE_LINK_ERROR=yes
export INSTALL_MOD_PATH=%{buildroot}
export INSTALL_MOD_DIR=updates
export BRP_PESIGN_FILES="*.ko /lib/firmware"
for flavor in %{flavors_to_build}; do
pushd obj/$flavor/datapath/linux
make -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor modules_install M=$PWD
popd
done
%endif
pushd source
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%make_install
Accepting request 433610 from home:markoschandras:network - Version bump to 2.6.0. Some of the changes are: * First supported release of OVN. See ovn-architecture(7) for more details. * ovsdb-server: - New "monitor_cond" "monitor_cond_update" and "update2" extensions to RFC 7047. * OpenFlow: - OpenFlow 1.3+ bundles now expire after 10 seconds since the last time the bundle was either opened, modified, or closed. - OpenFlow 1.3 Extension 230, adding OpenFlow Bundles support, is now implemented. - OpenFlow 1.3+ bundles are now supported for group mods as well as flow mods and port mods. Both 'atomic' and 'ordered' bundle flags are supported for group mods as well as flow mods. - Internal OpenFlow rule representation for load and set-field actions is now much more memory efficient. For a complex flow table this can reduce rule memory consumption by 40%. - Bundles are now much more memory efficient than in OVS 2.5. Together with memory efficiency improvements in OpenFlow rule representation, the peak OVS resident memory use during a bundle commit for large complex set of flow mods can be only 25% of that in OVS 2.5 (4x lower). - OpenFlow 1.1+ OFPT_QUEUE_GET_CONFIG_REQUEST now supports OFPP_ANY. - OpenFlow 1.4+ OFPMP_QUEUE_DESC is now supported. - OpenFlow 1.4+ OFPT_TABLE_STATUS is now supported. - New property-based packet-in message format NXT_PACKET_IN2 with support for arbitrary user-provided data and for serializing flow table traversal into a continuation for later resumption. - New extension message NXT_SET_ASYNC_CONFIG2 to allow OpenFlow 1.4-like control over asynchronous messages in earlier versions of OpenFlow. OBS-URL: https://build.opensuse.org/request/show/433610 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=104
2016-10-07 15:07:43 +02:00
for service in openvswitch ovn-controller ovn-controller-vtep \
ovn-northd ovsdb-server ovs-vswitchd; do
install -D -m 644 rhel/usr_lib_systemd_system_${service}.service \
%{buildroot}%{_unitdir}/${service}.service
Accepting request 433610 from home:markoschandras:network - Version bump to 2.6.0. Some of the changes are: * First supported release of OVN. See ovn-architecture(7) for more details. * ovsdb-server: - New "monitor_cond" "monitor_cond_update" and "update2" extensions to RFC 7047. * OpenFlow: - OpenFlow 1.3+ bundles now expire after 10 seconds since the last time the bundle was either opened, modified, or closed. - OpenFlow 1.3 Extension 230, adding OpenFlow Bundles support, is now implemented. - OpenFlow 1.3+ bundles are now supported for group mods as well as flow mods and port mods. Both 'atomic' and 'ordered' bundle flags are supported for group mods as well as flow mods. - Internal OpenFlow rule representation for load and set-field actions is now much more memory efficient. For a complex flow table this can reduce rule memory consumption by 40%. - Bundles are now much more memory efficient than in OVS 2.5. Together with memory efficiency improvements in OpenFlow rule representation, the peak OVS resident memory use during a bundle commit for large complex set of flow mods can be only 25% of that in OVS 2.5 (4x lower). - OpenFlow 1.1+ OFPT_QUEUE_GET_CONFIG_REQUEST now supports OFPP_ANY. - OpenFlow 1.4+ OFPMP_QUEUE_DESC is now supported. - OpenFlow 1.4+ OFPT_TABLE_STATUS is now supported. - New property-based packet-in message format NXT_PACKET_IN2 with support for arbitrary user-provided data and for serializing flow table traversal into a continuation for later resumption. - New extension message NXT_SET_ASYNC_CONFIG2 to allow OpenFlow 1.4-like control over asynchronous messages in earlier versions of OpenFlow. OBS-URL: https://build.opensuse.org/request/show/433610 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=104
2016-10-07 15:07:43 +02:00
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc${service}
done
install -D -m 644 rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
install -d -m 755 %{buildroot}%{_sysconfdir}/logrotate.d
install -d -m 755 %{buildroot}%{_localstatedir}/log/openvswitch
Accepting request 433610 from home:markoschandras:network - Version bump to 2.6.0. Some of the changes are: * First supported release of OVN. See ovn-architecture(7) for more details. * ovsdb-server: - New "monitor_cond" "monitor_cond_update" and "update2" extensions to RFC 7047. * OpenFlow: - OpenFlow 1.3+ bundles now expire after 10 seconds since the last time the bundle was either opened, modified, or closed. - OpenFlow 1.3 Extension 230, adding OpenFlow Bundles support, is now implemented. - OpenFlow 1.3+ bundles are now supported for group mods as well as flow mods and port mods. Both 'atomic' and 'ordered' bundle flags are supported for group mods as well as flow mods. - Internal OpenFlow rule representation for load and set-field actions is now much more memory efficient. For a complex flow table this can reduce rule memory consumption by 40%. - Bundles are now much more memory efficient than in OVS 2.5. Together with memory efficiency improvements in OpenFlow rule representation, the peak OVS resident memory use during a bundle commit for large complex set of flow mods can be only 25% of that in OVS 2.5 (4x lower). - OpenFlow 1.1+ OFPT_QUEUE_GET_CONFIG_REQUEST now supports OFPP_ANY. - OpenFlow 1.4+ OFPMP_QUEUE_DESC is now supported. - OpenFlow 1.4+ OFPT_TABLE_STATUS is now supported. - New property-based packet-in message format NXT_PACKET_IN2 with support for arbitrary user-provided data and for serializing flow table traversal into a continuation for later resumption. - New extension message NXT_SET_ASYNC_CONFIG2 to allow OpenFlow 1.4-like control over asynchronous messages in earlier versions of OpenFlow. OBS-URL: https://build.opensuse.org/request/show/433610 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=104
2016-10-07 15:07:43 +02:00
install -m 644 rhel/etc_logrotate.d_openvswitch \
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{buildroot}%{_sysconfdir}/logrotate.d/openvswitch-switch
install -d -m 755 %{buildroot}%{_sysconfdir}/profile.d
install -m 644 vswitchd/vswitch.ovsschema \
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{buildroot}%{_datadir}/openvswitch/vswitch.ovsschema
# firewalld
install -d %{buildroot}%{_prefix}/lib/firewalld/services/
install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-central-firewall-service.xml \
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{buildroot}%{_prefix}/lib/firewalld/services/ovn-central-firewall-service.xml
install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-host-firewall-service.xml \
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{buildroot}%{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
# Copy documentation. The git archive builds also contain non rst files
# to make sure we clean everything we don't need.
find Documentation/ -type f ! -name '*.rst' -delete
find Documentation/ -type d -empty -delete
pushd Documentation/
mkdir -p %{buildroot}%{_docdir}/%{name}
cp -r * %{buildroot}%{_docdir}/%{name}
popd
# DPDK migration script
install -m 755 utilities/ovs-dpdk-migrate-2.6.sh %{buildroot}/%{_datadir}/openvswitch/scripts/
popd
mkdir -p %{buildroot}%{py_sitedir}
mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir}
rmdir %{buildroot}%{_datadir}/openvswitch/python
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
find %{buildroot} -type f -name "*.la" -delete -print
%fdupes %{buildroot}%{py_sitedir}
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%post
/sbin/ldconfig
if grep -q ^DPDK_OPTIONS= %{_sysconfdir}/sysconfig/openvswitch &> /dev/null; then
cat >> %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release} << EOF
WARNING! DPDK options are now part of the Open vSwitch database. Please see
https://github.com/openvswitch/ovs/blob/branch-2.7/Documentation/intro/install/dpdk.rst
The Open vSwitch systemd service will try to migrate your %{_sysconfdir}/sysconfig/openvswitch
DPDK settings to the OvS database the next time it's restarted but you should check the result
using 'ovs-vsctl list Open_vSwitch' or something similar.
Please remember to remove the DPDK_OPTIONS variable from %{_sysconfdir}/sysconfig/openvswitch
to avoid seeing this warning again.
EOF
fi
Accepting request 433610 from home:markoschandras:network - Version bump to 2.6.0. Some of the changes are: * First supported release of OVN. See ovn-architecture(7) for more details. * ovsdb-server: - New "monitor_cond" "monitor_cond_update" and "update2" extensions to RFC 7047. * OpenFlow: - OpenFlow 1.3+ bundles now expire after 10 seconds since the last time the bundle was either opened, modified, or closed. - OpenFlow 1.3 Extension 230, adding OpenFlow Bundles support, is now implemented. - OpenFlow 1.3+ bundles are now supported for group mods as well as flow mods and port mods. Both 'atomic' and 'ordered' bundle flags are supported for group mods as well as flow mods. - Internal OpenFlow rule representation for load and set-field actions is now much more memory efficient. For a complex flow table this can reduce rule memory consumption by 40%. - Bundles are now much more memory efficient than in OVS 2.5. Together with memory efficiency improvements in OpenFlow rule representation, the peak OVS resident memory use during a bundle commit for large complex set of flow mods can be only 25% of that in OVS 2.5 (4x lower). - OpenFlow 1.1+ OFPT_QUEUE_GET_CONFIG_REQUEST now supports OFPP_ANY. - OpenFlow 1.4+ OFPMP_QUEUE_DESC is now supported. - OpenFlow 1.4+ OFPT_TABLE_STATUS is now supported. - New property-based packet-in message format NXT_PACKET_IN2 with support for arbitrary user-provided data and for serializing flow table traversal into a continuation for later resumption. - New extension message NXT_SET_ASYNC_CONFIG2 to allow OpenFlow 1.4-like control over asynchronous messages in earlier versions of OpenFlow. OBS-URL: https://build.opensuse.org/request/show/433610 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=104
2016-10-07 15:07:43 +02:00
%service_add_post ovsdb-server.service
%service_add_post ovs-vswitchd.service
%service_add_post openvswitch.service
%{fillup_only -n openvswitch}
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%postun
/sbin/ldconfig
Accepting request 433610 from home:markoschandras:network - Version bump to 2.6.0. Some of the changes are: * First supported release of OVN. See ovn-architecture(7) for more details. * ovsdb-server: - New "monitor_cond" "monitor_cond_update" and "update2" extensions to RFC 7047. * OpenFlow: - OpenFlow 1.3+ bundles now expire after 10 seconds since the last time the bundle was either opened, modified, or closed. - OpenFlow 1.3 Extension 230, adding OpenFlow Bundles support, is now implemented. - OpenFlow 1.3+ bundles are now supported for group mods as well as flow mods and port mods. Both 'atomic' and 'ordered' bundle flags are supported for group mods as well as flow mods. - Internal OpenFlow rule representation for load and set-field actions is now much more memory efficient. For a complex flow table this can reduce rule memory consumption by 40%. - Bundles are now much more memory efficient than in OVS 2.5. Together with memory efficiency improvements in OpenFlow rule representation, the peak OVS resident memory use during a bundle commit for large complex set of flow mods can be only 25% of that in OVS 2.5 (4x lower). - OpenFlow 1.1+ OFPT_QUEUE_GET_CONFIG_REQUEST now supports OFPP_ANY. - OpenFlow 1.4+ OFPMP_QUEUE_DESC is now supported. - OpenFlow 1.4+ OFPT_TABLE_STATUS is now supported. - New property-based packet-in message format NXT_PACKET_IN2 with support for arbitrary user-provided data and for serializing flow table traversal into a continuation for later resumption. - New extension message NXT_SET_ASYNC_CONFIG2 to allow OpenFlow 1.4-like control over asynchronous messages in earlier versions of OpenFlow. OBS-URL: https://build.opensuse.org/request/show/433610 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=104
2016-10-07 15:07:43 +02:00
%service_del_postun ovsdb-server.service
%service_del_postun ovs-vswitchd.service
# Do not restart the openvswitch service on package updates.
# Restarting the service may break the existing network state.
# For example, openflow rules are not automatically re-installed
# after an OvS update if no SDN controller is used. Moreover, restaring
# the OvS can break remote administration during the update so let the
# admin decide when it's the best time for an OvS restart.
# 5771f476573445710834234a6a9f7bd999a027e7 ("fedora: do not restart the service on a pkg upgrade")
export DISABLE_RESTART_ON_UPDATE=yes
%service_del_postun openvswitch.service
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%pre
%service_add_pre ovsdb-server.service
%service_add_pre ovs-vswitchd.service
%service_add_pre openvswitch.service
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%preun
%service_del_preun ovsdb-server.service
%service_del_preun ovs-vswitchd.service
%service_del_preun openvswitch.service
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%pre ovn-central
%service_add_pre ovn-northd.service
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%pre ovn-host
%service_add_pre ovn-controller.service
%pre ovn-vtep
%service_add_pre ovn-controller-vtep.service
%post ovn-central
%service_add_post ovn-northd.service
%post ovn-host
%service_add_post ovn-controller.service
%post ovn-vtep
%service_add_post ovn-controller-vtep.service
%preun ovn-central
%service_del_preun ovn-northd.service
%preun ovn-host
%service_del_preun ovn-controller.service
%preun ovn-vtep
%service_del_preun ovn-controller-vtep.service
%postun ovn-central
%service_del_postun ovn-northd.service
%postun ovn-host
%service_del_postun ovn-controller.service
%postun ovn-vtep
%service_del_postun ovn-controller-vtep.service
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
%preun test
%stop_on_removal openvswitch-testcontroller
%postun test
%restart_on_update openvswitch-testcontroller
Accepting request 361282 from home:k_mroz:branches:network - Don't install INSTALL.* files. - Removed: openvswitch-switch.template - New upstream version 2.4.0 - Flow table modifications are now atomic, meaning that each packet now sees a coherent version of the OpenFlow pipeline. For example, if a controller removes all flows with a single OpenFlow "flow_mod", no packet sees an intermediate version of the OpenFlow pipeline where only some of the flows have been deleted. - Added support for SFQ, FQ_CoDel and CoDel qdiscs. - Add bash command-line completion support for ovs-vsctl Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The MAC learning feature now includes per-port fairness to mitigate MAC flooding attacks. - New support for a "conjunctive match" OpenFlow extension, which allows constructing OpenFlow matches of the form "field1 in {a,b,c...} AND field2 in {d,e,f...}" and generalizations. For details, see documentation for the "conjunction" action in ovs-ofctl(8). - Add bash command-line completion support for ovs-appctl/ovs-dpctl/ ovs-ofctl/ovsdb-tool commands. Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The "learn" action supports a new flag "delete_learned" that causes the learned flows to be deleted when the flow with the "learn" action is deleted. - Basic support for the Geneve tunneling protocol. It is not yet possible to generate or match options. This is planned for a future release. The protocol is documented at http://tools.ietf.org/html/draft-gross-geneve-00 - The OVS database now reports controller rate limiting statistics. OBS-URL: https://build.opensuse.org/request/show/361282 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=76
2016-02-26 16:24:36 +01:00
%post vtep -p /sbin/ldconfig
%postun vtep -p /sbin/ldconfig
%files
%defattr(-,root,root)
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%doc source/AUTHORS.rst
%doc source/CONTRIBUTING.rst
Accepting request 361282 from home:k_mroz:branches:network - Don't install INSTALL.* files. - Removed: openvswitch-switch.template - New upstream version 2.4.0 - Flow table modifications are now atomic, meaning that each packet now sees a coherent version of the OpenFlow pipeline. For example, if a controller removes all flows with a single OpenFlow "flow_mod", no packet sees an intermediate version of the OpenFlow pipeline where only some of the flows have been deleted. - Added support for SFQ, FQ_CoDel and CoDel qdiscs. - Add bash command-line completion support for ovs-vsctl Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The MAC learning feature now includes per-port fairness to mitigate MAC flooding attacks. - New support for a "conjunctive match" OpenFlow extension, which allows constructing OpenFlow matches of the form "field1 in {a,b,c...} AND field2 in {d,e,f...}" and generalizations. For details, see documentation for the "conjunction" action in ovs-ofctl(8). - Add bash command-line completion support for ovs-appctl/ovs-dpctl/ ovs-ofctl/ovsdb-tool commands. Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The "learn" action supports a new flag "delete_learned" that causes the learned flows to be deleted when the flow with the "learn" action is deleted. - Basic support for the Geneve tunneling protocol. It is not yet possible to generate or match options. This is planned for a future release. The protocol is documented at http://tools.ietf.org/html/draft-gross-geneve-00 - The OVS database now reports controller rate limiting statistics. OBS-URL: https://build.opensuse.org/request/show/361282 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=76
2016-02-26 16:24:36 +01:00
%doc source/COPYING
%doc source/NEWS
%doc source/NOTICE
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%doc source/README.rst
%{_docdir}/%{name}/
%{_bindir}/ovs-appctl
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{_bindir}/ovs-docker
%{_bindir}/ovs-dpctl
%{_bindir}/ovs-dpctl-top
%{_bindir}/ovs-ofctl
%{_bindir}/ovs-parse-backtrace
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{_bindir}/ovs-vsctl
%{_bindir}/ovsdb-client
%{_bindir}/ovsdb-tool
%{_sbindir}/ovs-bugtool
%{_sbindir}/ovs-vlan-bug-workaround
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{_sbindir}/ovs-vswitchd
%{_sbindir}/ovsdb-server
%dir %{_datadir}/openvswitch
%dir %{_datadir}/openvswitch/scripts
%{_datadir}/openvswitch/bugtool-plugins
Accepting request 361282 from home:k_mroz:branches:network - Don't install INSTALL.* files. - Removed: openvswitch-switch.template - New upstream version 2.4.0 - Flow table modifications are now atomic, meaning that each packet now sees a coherent version of the OpenFlow pipeline. For example, if a controller removes all flows with a single OpenFlow "flow_mod", no packet sees an intermediate version of the OpenFlow pipeline where only some of the flows have been deleted. - Added support for SFQ, FQ_CoDel and CoDel qdiscs. - Add bash command-line completion support for ovs-vsctl Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The MAC learning feature now includes per-port fairness to mitigate MAC flooding attacks. - New support for a "conjunctive match" OpenFlow extension, which allows constructing OpenFlow matches of the form "field1 in {a,b,c...} AND field2 in {d,e,f...}" and generalizations. For details, see documentation for the "conjunction" action in ovs-ofctl(8). - Add bash command-line completion support for ovs-appctl/ovs-dpctl/ ovs-ofctl/ovsdb-tool commands. Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The "learn" action supports a new flag "delete_learned" that causes the learned flows to be deleted when the flow with the "learn" action is deleted. - Basic support for the Geneve tunneling protocol. It is not yet possible to generate or match options. This is planned for a future release. The protocol is documented at http://tools.ietf.org/html/draft-gross-geneve-00 - The OVS database now reports controller rate limiting statistics. OBS-URL: https://build.opensuse.org/request/show/361282 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=76
2016-02-26 16:24:36 +01:00
%{_datadir}/openvswitch/scripts/ovs-bugtool-*
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{_datadir}/openvswitch/scripts/ovs-check-dead-ifs
%{_datadir}/openvswitch/scripts/ovs-ctl
%{_datadir}/openvswitch/scripts/ovs-lib
%{_datadir}/openvswitch/scripts/ovs-save
%{_datadir}/openvswitch/scripts/ovs-dpdk-migrate-2.6.sh
%{_datadir}/openvswitch/vswitch.ovsschema
%{_libdir}/libofproto-2.so.*
%{_libdir}/libopenvswitch-2.so.*
%{_libdir}/libovsdb-2.so.*
%{_libdir}/libsflow-2.so.*
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
%{_mandir}/man1/ovsdb-client.1%{ext_man}
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{_mandir}/man1/ovsdb-server.1%{ext_man}
%{_mandir}/man1/ovsdb-tool.1%{ext_man}
%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man}
%{_mandir}/man7/ovs-fields.7%{ext_man}
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
%{_mandir}/man8/ovs-appctl.8%{ext_man}
%{_mandir}/man8/ovs-bugtool.8%{ext_man}
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{_mandir}/man8/ovs-ctl.8%{ext_man}
%{_mandir}/man8/ovs-dpctl-top.8%{ext_man}
%{_mandir}/man8/ovs-dpctl.8%{ext_man}
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
%{_mandir}/man8/ovs-ofctl.8%{ext_man}
%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man}
%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man}
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{_mandir}/man8/ovs-vsctl.8%{ext_man}
%{_mandir}/man8/ovs-vswitchd.8%{ext_man}
Accepting request 361282 from home:k_mroz:branches:network - Don't install INSTALL.* files. - Removed: openvswitch-switch.template - New upstream version 2.4.0 - Flow table modifications are now atomic, meaning that each packet now sees a coherent version of the OpenFlow pipeline. For example, if a controller removes all flows with a single OpenFlow "flow_mod", no packet sees an intermediate version of the OpenFlow pipeline where only some of the flows have been deleted. - Added support for SFQ, FQ_CoDel and CoDel qdiscs. - Add bash command-line completion support for ovs-vsctl Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The MAC learning feature now includes per-port fairness to mitigate MAC flooding attacks. - New support for a "conjunctive match" OpenFlow extension, which allows constructing OpenFlow matches of the form "field1 in {a,b,c...} AND field2 in {d,e,f...}" and generalizations. For details, see documentation for the "conjunction" action in ovs-ofctl(8). - Add bash command-line completion support for ovs-appctl/ovs-dpctl/ ovs-ofctl/ovsdb-tool commands. Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The "learn" action supports a new flag "delete_learned" that causes the learned flows to be deleted when the flow with the "learn" action is deleted. - Basic support for the Geneve tunneling protocol. It is not yet possible to generate or match options. This is planned for a future release. The protocol is documented at http://tools.ietf.org/html/draft-gross-geneve-00 - The OVS database now reports controller rate limiting statistics. OBS-URL: https://build.opensuse.org/request/show/361282 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=76
2016-02-26 16:24:36 +01:00
%{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
%dir %{_sysconfdir}/openvswitch
%config %ghost %{_sysconfdir}/openvswitch/conf.db
%config %ghost %{_sysconfdir}/openvswitch/system-id.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch
%{_sbindir}/rcovsdb-server
%{_sbindir}/rcovs-vswitchd
%{_sbindir}/rcopenvswitch
%{_unitdir}/openvswitch.service
%{_unitdir}/ovs-vswitchd.service
%{_unitdir}/ovsdb-server.service
%{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch
%dir %{_localstatedir}/log/openvswitch
%files pki
%defattr(-,root,root)
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
%{_mandir}/man8/ovs-pki.8%{ext_man}
%{_bindir}/ovs-pki
%files vtep
%defattr(-,root,root)
%{_bindir}/vtep-ctl
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
%{_mandir}/man5/vtep.5%{ext_man}
%{_mandir}/man8/vtep-ctl.8%{ext_man}
%{_datadir}/openvswitch/scripts/ovs-vtep
%{_datadir}/openvswitch/vtep.ovsschema
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{_libdir}/libvtep-2.so.*
%files -n python-openvswitch
%defattr(-,root,root)
%{py_sitedir}/ovs/
%files -n python-openvswitch-test
%defattr(-,root,root)
%{py_sitedir}/ovstest/
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%files ovn-docker
%defattr(-,root,root)
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
%{_bindir}/ovn-docker-overlay-driver
%{_bindir}/ovn-docker-underlay-driver
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%files ovn-common
%defattr(-,root,root)
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
%{_bindir}/ovn-nbctl
%{_bindir}/ovn-sbctl
Accepting request 433610 from home:markoschandras:network - Version bump to 2.6.0. Some of the changes are: * First supported release of OVN. See ovn-architecture(7) for more details. * ovsdb-server: - New "monitor_cond" "monitor_cond_update" and "update2" extensions to RFC 7047. * OpenFlow: - OpenFlow 1.3+ bundles now expire after 10 seconds since the last time the bundle was either opened, modified, or closed. - OpenFlow 1.3 Extension 230, adding OpenFlow Bundles support, is now implemented. - OpenFlow 1.3+ bundles are now supported for group mods as well as flow mods and port mods. Both 'atomic' and 'ordered' bundle flags are supported for group mods as well as flow mods. - Internal OpenFlow rule representation for load and set-field actions is now much more memory efficient. For a complex flow table this can reduce rule memory consumption by 40%. - Bundles are now much more memory efficient than in OVS 2.5. Together with memory efficiency improvements in OpenFlow rule representation, the peak OVS resident memory use during a bundle commit for large complex set of flow mods can be only 25% of that in OVS 2.5 (4x lower). - OpenFlow 1.1+ OFPT_QUEUE_GET_CONFIG_REQUEST now supports OFPP_ANY. - OpenFlow 1.4+ OFPMP_QUEUE_DESC is now supported. - OpenFlow 1.4+ OFPT_TABLE_STATUS is now supported. - New property-based packet-in message format NXT_PACKET_IN2 with support for arbitrary user-provided data and for serializing flow table traversal into a continuation for later resumption. - New extension message NXT_SET_ASYNC_CONFIG2 to allow OpenFlow 1.4-like control over asynchronous messages in earlier versions of OpenFlow. OBS-URL: https://build.opensuse.org/request/show/433610 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=104
2016-10-07 15:07:43 +02:00
%{_bindir}/ovn-trace
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
%{_datadir}/openvswitch/scripts/ovn-ctl
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{_datadir}/openvswitch/scripts/ovndb-servers.ocf
Accepting request 433610 from home:markoschandras:network - Version bump to 2.6.0. Some of the changes are: * First supported release of OVN. See ovn-architecture(7) for more details. * ovsdb-server: - New "monitor_cond" "monitor_cond_update" and "update2" extensions to RFC 7047. * OpenFlow: - OpenFlow 1.3+ bundles now expire after 10 seconds since the last time the bundle was either opened, modified, or closed. - OpenFlow 1.3 Extension 230, adding OpenFlow Bundles support, is now implemented. - OpenFlow 1.3+ bundles are now supported for group mods as well as flow mods and port mods. Both 'atomic' and 'ordered' bundle flags are supported for group mods as well as flow mods. - Internal OpenFlow rule representation for load and set-field actions is now much more memory efficient. For a complex flow table this can reduce rule memory consumption by 40%. - Bundles are now much more memory efficient than in OVS 2.5. Together with memory efficiency improvements in OpenFlow rule representation, the peak OVS resident memory use during a bundle commit for large complex set of flow mods can be only 25% of that in OVS 2.5 (4x lower). - OpenFlow 1.1+ OFPT_QUEUE_GET_CONFIG_REQUEST now supports OFPP_ANY. - OpenFlow 1.4+ OFPMP_QUEUE_DESC is now supported. - OpenFlow 1.4+ OFPT_TABLE_STATUS is now supported. - New property-based packet-in message format NXT_PACKET_IN2 with support for arbitrary user-provided data and for serializing flow table traversal into a continuation for later resumption. - New extension message NXT_SET_ASYNC_CONFIG2 to allow OpenFlow 1.4-like control over asynchronous messages in earlier versions of OpenFlow. OBS-URL: https://build.opensuse.org/request/show/433610 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=104
2016-10-07 15:07:43 +02:00
%{_datadir}/openvswitch/scripts/ovn-bugtool-nbctl-show
%{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-lflow-list
%{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-show
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{_libdir}/libovn-2.so.*
%{_mandir}/man5/ovn-nb.5%{ext_man}
%{_mandir}/man5/ovn-sb.5%{ext_man}
%{_mandir}/man7/ovn-architecture.7%{ext_man}
%{_mandir}/man8/ovn-ctl.8%{ext_man}
%{_mandir}/man8/ovn-nbctl.8%{ext_man}
%{_mandir}/man8/ovn-trace.8%{ext_man}
%{_mandir}/man8/ovn-sbctl.8%{ext_man}
%files ovn-central
%defattr(-,root,root)
%dir %{_libexecdir}/firewalld
%dir %{_libexecdir}/firewalld/services
%{_bindir}/ovn-northd
%{_mandir}/man8/ovn-northd.8%{ext_man}
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
%config %{_datadir}/openvswitch/ovn-nb.ovsschema
%config %{_datadir}/openvswitch/ovn-sb.ovsschema
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{_unitdir}/ovn-northd.service
%{_sbindir}/rcovn-northd
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{_prefix}/lib/firewalld/services/ovn-central-firewall-service.xml
%files ovn-host
%defattr(-,root,root)
%dir %{_libexecdir}/firewalld
%dir %{_libexecdir}/firewalld/services
%{_bindir}/ovn-controller
%{_mandir}/man8/ovn-controller.8%{ext_man}
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
%{_unitdir}/ovn-controller.service
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{_sbindir}/rcovn-controller
%{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
%files ovn-vtep
%defattr(-,root,root)
%{_bindir}/ovn-controller-vtep
%{_mandir}/man8/ovn-controller-vtep.8%{ext_man}
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
%{_unitdir}/ovn-controller-vtep.service
Accepting request 461859 from home:markoschandras:network - Version bump to 2.7.0 (fate#321541). Some of the changes are: * Utilities and daemons that support SSL now allow protocols and ciphers to be configured with --ssl-protocols and --ssl-ciphers. * OVN: - QoS is now implemented via egress shaping rather than ingress policing. - DSCP marking is now supported, via the new northbound QoS table. - IPAM now supports fixed MAC addresses. - Support for source IP address based routing. - ovn-trace: * New --ovs option to also print OpenFlow flows. * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced. - Support for managing SSL and remote connection configuration in northbound and southbound databases. * Fixed regression in table stats maintenance introduced in OVS 2.3.0, wherein the number of OpenFlow table hits and misses was not accurate. * OpenFlow: - OFPT_PACKET_OUT messages are now supported in bundles. - A new "selection_method=dp_hash" type for OpenFlow select group bucket selection that uses the datapath computed 5-tuple hash without making datapath flows match the 5-tuple fields, which is useful for more efficient load balancing, for example. This uses the Netronome extension to OpenFlow 1.5+ that allows control over the OpenFlow select groups selection method. See "selection_method" and related options in ovs-ofctl(8) for details. - The "sample" action now supports "ingress" and "egress" options. - The "ct" action now supports the TFTP ALG where support is available. - New actions "clone" and "ct_clear". * ovs-ofctl: OBS-URL: https://build.opensuse.org/request/show/461859 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
2017-03-13 16:00:26 +01:00
%{_sbindir}/rcovn-controller-vtep
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
%files test
%defattr(-,root,root)
%{_bindir}/ovs-l3ping
Accepting request 433610 from home:markoschandras:network - Version bump to 2.6.0. Some of the changes are: * First supported release of OVN. See ovn-architecture(7) for more details. * ovsdb-server: - New "monitor_cond" "monitor_cond_update" and "update2" extensions to RFC 7047. * OpenFlow: - OpenFlow 1.3+ bundles now expire after 10 seconds since the last time the bundle was either opened, modified, or closed. - OpenFlow 1.3 Extension 230, adding OpenFlow Bundles support, is now implemented. - OpenFlow 1.3+ bundles are now supported for group mods as well as flow mods and port mods. Both 'atomic' and 'ordered' bundle flags are supported for group mods as well as flow mods. - Internal OpenFlow rule representation for load and set-field actions is now much more memory efficient. For a complex flow table this can reduce rule memory consumption by 40%. - Bundles are now much more memory efficient than in OVS 2.5. Together with memory efficiency improvements in OpenFlow rule representation, the peak OVS resident memory use during a bundle commit for large complex set of flow mods can be only 25% of that in OVS 2.5 (4x lower). - OpenFlow 1.1+ OFPT_QUEUE_GET_CONFIG_REQUEST now supports OFPP_ANY. - OpenFlow 1.4+ OFPMP_QUEUE_DESC is now supported. - OpenFlow 1.4+ OFPT_TABLE_STATUS is now supported. - New property-based packet-in message format NXT_PACKET_IN2 with support for arbitrary user-provided data and for serializing flow table traversal into a continuation for later resumption. - New extension message NXT_SET_ASYNC_CONFIG2 to allow OpenFlow 1.4-like control over asynchronous messages in earlier versions of OpenFlow. OBS-URL: https://build.opensuse.org/request/show/433610 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=104
2016-10-07 15:07:43 +02:00
%{_bindir}/ovs-pcap
%{_bindir}/ovs-test
Accepting request 361282 from home:k_mroz:branches:network - Don't install INSTALL.* files. - Removed: openvswitch-switch.template - New upstream version 2.4.0 - Flow table modifications are now atomic, meaning that each packet now sees a coherent version of the OpenFlow pipeline. For example, if a controller removes all flows with a single OpenFlow "flow_mod", no packet sees an intermediate version of the OpenFlow pipeline where only some of the flows have been deleted. - Added support for SFQ, FQ_CoDel and CoDel qdiscs. - Add bash command-line completion support for ovs-vsctl Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The MAC learning feature now includes per-port fairness to mitigate MAC flooding attacks. - New support for a "conjunctive match" OpenFlow extension, which allows constructing OpenFlow matches of the form "field1 in {a,b,c...} AND field2 in {d,e,f...}" and generalizations. For details, see documentation for the "conjunction" action in ovs-ofctl(8). - Add bash command-line completion support for ovs-appctl/ovs-dpctl/ ovs-ofctl/ovsdb-tool commands. Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The "learn" action supports a new flag "delete_learned" that causes the learned flows to be deleted when the flow with the "learn" action is deleted. - Basic support for the Geneve tunneling protocol. It is not yet possible to generate or match options. This is planned for a future release. The protocol is documented at http://tools.ietf.org/html/draft-gross-geneve-00 - The OVS database now reports controller rate limiting statistics. OBS-URL: https://build.opensuse.org/request/show/361282 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=76
2016-02-26 16:24:36 +01:00
%{_bindir}/ovs-testcontroller
Accepting request 433610 from home:markoschandras:network - Version bump to 2.6.0. Some of the changes are: * First supported release of OVN. See ovn-architecture(7) for more details. * ovsdb-server: - New "monitor_cond" "monitor_cond_update" and "update2" extensions to RFC 7047. * OpenFlow: - OpenFlow 1.3+ bundles now expire after 10 seconds since the last time the bundle was either opened, modified, or closed. - OpenFlow 1.3 Extension 230, adding OpenFlow Bundles support, is now implemented. - OpenFlow 1.3+ bundles are now supported for group mods as well as flow mods and port mods. Both 'atomic' and 'ordered' bundle flags are supported for group mods as well as flow mods. - Internal OpenFlow rule representation for load and set-field actions is now much more memory efficient. For a complex flow table this can reduce rule memory consumption by 40%. - Bundles are now much more memory efficient than in OVS 2.5. Together with memory efficiency improvements in OpenFlow rule representation, the peak OVS resident memory use during a bundle commit for large complex set of flow mods can be only 25% of that in OVS 2.5 (4x lower). - OpenFlow 1.1+ OFPT_QUEUE_GET_CONFIG_REQUEST now supports OFPP_ANY. - OpenFlow 1.4+ OFPMP_QUEUE_DESC is now supported. - OpenFlow 1.4+ OFPT_TABLE_STATUS is now supported. - New property-based packet-in message format NXT_PACKET_IN2 with support for arbitrary user-provided data and for serializing flow table traversal into a continuation for later resumption. - New extension message NXT_SET_ASYNC_CONFIG2 to allow OpenFlow 1.4-like control over asynchronous messages in earlier versions of OpenFlow. OBS-URL: https://build.opensuse.org/request/show/433610 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=104
2016-10-07 15:07:43 +02:00
%{_bindir}/ovs-tcpdump
%{_bindir}/ovs-tcpundump
%{_bindir}/ovs-vlan-test
%{_mandir}/man1/ovs-pcap.1%{ext_man}
%{_mandir}/man1/ovs-tcpundump.1%{ext_man}
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
%{_mandir}/man8/ovs-l3ping.8%{ext_man}
Accepting request 433610 from home:markoschandras:network - Version bump to 2.6.0. Some of the changes are: * First supported release of OVN. See ovn-architecture(7) for more details. * ovsdb-server: - New "monitor_cond" "monitor_cond_update" and "update2" extensions to RFC 7047. * OpenFlow: - OpenFlow 1.3+ bundles now expire after 10 seconds since the last time the bundle was either opened, modified, or closed. - OpenFlow 1.3 Extension 230, adding OpenFlow Bundles support, is now implemented. - OpenFlow 1.3+ bundles are now supported for group mods as well as flow mods and port mods. Both 'atomic' and 'ordered' bundle flags are supported for group mods as well as flow mods. - Internal OpenFlow rule representation for load and set-field actions is now much more memory efficient. For a complex flow table this can reduce rule memory consumption by 40%. - Bundles are now much more memory efficient than in OVS 2.5. Together with memory efficiency improvements in OpenFlow rule representation, the peak OVS resident memory use during a bundle commit for large complex set of flow mods can be only 25% of that in OVS 2.5 (4x lower). - OpenFlow 1.1+ OFPT_QUEUE_GET_CONFIG_REQUEST now supports OFPP_ANY. - OpenFlow 1.4+ OFPMP_QUEUE_DESC is now supported. - OpenFlow 1.4+ OFPT_TABLE_STATUS is now supported. - New property-based packet-in message format NXT_PACKET_IN2 with support for arbitrary user-provided data and for serializing flow table traversal into a continuation for later resumption. - New extension message NXT_SET_ASYNC_CONFIG2 to allow OpenFlow 1.4-like control over asynchronous messages in earlier versions of OpenFlow. OBS-URL: https://build.opensuse.org/request/show/433610 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=104
2016-10-07 15:07:43 +02:00
%{_mandir}/man8/ovs-tcpdump.8%{ext_man}
%{_mandir}/man8/ovs-test.8%{ext_man}
Accepting request 408658 from home:markoschandras:network - Add missing licenses (bsc#988513) - Misc spec file cleanups highlighted by the spec-cleaner tool. - Allow aarch64 builds for openvswitch-dpdk - Add missing bug references to 2.5.0 release. old: network/openvswitch new: home:markoschandras:network/openvswitch rev None Index: openvswitch-dpdk.changes =================================================================== --- openvswitch-dpdk.changes (revision 98) +++ openvswitch-dpdk.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch-dpdk.spec =================================================================== --- openvswitch-dpdk.spec (revision 98) +++ openvswitch-dpdk.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,14 +25,16 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - # Do NOT edit this auto generated file! Edit openvswitch.spec instead # and run 'pre_checkin.sh' before committing Name: openvswitch-dpdk Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch (DPDK) -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -43,35 +44,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -79,10 +71,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -131,15 +129,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -246,7 +244,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -290,6 +288,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -301,7 +300,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -358,7 +357,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -438,26 +437,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -489,15 +488,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -538,10 +537,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) Index: openvswitch.changes =================================================================== --- openvswitch.changes (revision 98) +++ openvswitch.changes (revision 46) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de + +- Add missing licenses (bsc#988513) +- Misc spec file cleanups highlighted by the spec-cleaner tool. +- Allow aarch64 builds for openvswitch-dpdk + +------------------------------------------------------------------- Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de - Allow the OvS daemon to run as non-root (bsc#987545) @@ -197,6 +204,8 @@ - Added: ovn-northd.service - TODO: Explicit DPDK support not yet added to spec. - Spec file work and cleanup. +- Includes fixes (or obsoletes) the following issues: + * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964 ------------------------------------------------------------------- Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com Index: openvswitch.spec =================================================================== --- openvswitch.spec (revision 98) +++ openvswitch.spec (revision 46) @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + # Disable building the external kernel datapath by default %bcond_with kmp # DPDK build disabled by default. It's enabled in the @@ -26,12 +25,14 @@ # The testsuite is somewhat fragile for continuous testing in OBS # but keep it here as an option %bcond_with check - Name: openvswitch Version: 2.5.0 Release: 0 Summary: An open source, production quality, multilayer virtual switch -License: Apache-2.0 +# All code is Apache-2.0 except +# - lib/sflow* which is SISSL +# - utilities/bugtool which is LGPL-2.1 +License: Apache-2.0 and LGPL-2.1 and SISSL Group: Productivity/Networking/System Url: http://openvswitch.org/ Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz @@ -41,35 +42,26 @@ Source89: Module.supported.updates # PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch Patch0: openvswitch-%{version}-detect-dpdk-installation.patch -Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch +Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch BuildRequires: autoconf BuildRequires: automake -%if %{with dpdk} -# We need to be a bit strict with the dpdk version since -# it's very possible for DPDK to change it's API between -# releases. OVS currently requires 2.2.0. We may have to -# provide multiple versions of dpdk if OVS and DPDK get -# out of sync too often. -BuildRequires: dpdk-devel = 2.2.0 -ExclusiveArch: x86_64 %ix86 -%endif BuildRequires: fdupes BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: graphviz BuildRequires: libcap-ng-devel -BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: perl -BuildRequires: pkg-config +BuildRequires: pkgconfig # Needed by the testsuite BuildRequires: procps BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: valgrind-devel +BuildRequires: pkgconfig(openssl) Requires: logrotate -Requires: openssl Requires: python Provides: openvswitch-common = %{version} Obsoletes: openvswitch-common < %{version} @@ -77,10 +69,16 @@ Obsoletes: openvswitch-controller < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: valgrind-devel -# We can't have openvswitch and openvswitch-dpdk in parallel %if %{with dpdk} +# We need to be a bit strict with the dpdk version since +# it's very possible for DPDK to change it's API between +# releases. OVS currently requires 2.2.0. We may have to +# provide multiple versions of dpdk if OVS and DPDK get +# out of sync too often. +BuildRequires: dpdk-devel = 2.2.0 +# We can't have openvswitch and openvswitch-dpdk in parallel Conflicts: openvswitch +ExclusiveArch: aarch64 x86_64 %{ix86} %endif %description @@ -129,15 +127,15 @@ # ovs-ctl / ovs-pki use /usr/bin/uuidgen: Requires: util-linux Requires(post): %fillup_prereq +Suggests: logrotate Provides: openvswitch-any-switch = %{version} +%{?systemd_requires} %if %{with dpdk} Conflicts: openvswitch-switch %endif -Suggests: logrotate %if %{with kmp} Suggests: openvswitch-kmp %endif -%{?systemd_requires} %description switch openvswitch-switch provides the userspace components and utilities for @@ -244,7 +242,7 @@ Open vSwitch is a full-featured software-based Ethernet switch. %prep -%setup -n openvswitch-%{version} -q +%setup -q -n openvswitch-%{version} %patch0 -p1 %patch1 -p1 @@ -288,6 +286,7 @@ --disable-static \ --enable-libcapng \ --enable-shared \ + --enable-ssl \ ${dpdk_opt} \ --with-logdir=%{_localstatedir}/log/openvswitch make %{?_smp_mflags} @@ -299,7 +298,7 @@ # Recheck tests before we declare them broken. If that fails, dump # the log and exit. >2.5.0 uses the RECHECK env variable so this # needs to be taken into consideration for future releases. -if make check TESTSUITEFLAGS="%{_smp_mflags}" || +if make check TESTSUITEFLAGS="%{?_smp_mflags}" || make check TESTSUITEFLAGS='--recheck'; then :; else cat tests/testsuite.log @@ -356,7 +355,7 @@ mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir} rmdir %{buildroot}%{_datadir}/openvswitch/python -rm -f %buildroot/%_libdir/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Remove unpackaged files for the dpdk case %if %{with dpdk} @@ -436,26 +435,26 @@ %{_libdir}/libopenvswitch.so.* %{_libdir}/libovsdb.so.* %{_libdir}/libsflow.so.* -%{_mandir}/man1/ovs-benchmark.1.gz -%{_mandir}/man1/ovsdb-client.1.gz -%{_mandir}/man8/ovs-appctl.8.gz -%{_mandir}/man8/ovs-bugtool.8.gz -%{_mandir}/man8/ovs-ofctl.8.gz -%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz -%{_mandir}/man8/ovs-parse-backtrace.8.gz -%{_mandir}/man8/ovs-dpctl-top.8.gz +%{_mandir}/man1/ovs-benchmark.1%{ext_man} +%{_mandir}/man1/ovsdb-client.1%{ext_man} +%{_mandir}/man8/ovs-appctl.8%{ext_man} +%{_mandir}/man8/ovs-bugtool.8%{ext_man} +%{_mandir}/man8/ovs-ofctl.8%{ext_man} +%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man} +%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man} +%{_mandir}/man8/ovs-dpctl-top.8%{ext_man} %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash %files pki %defattr(-,root,root) -%{_mandir}/man8/ovs-pki.8.gz +%{_mandir}/man8/ovs-pki.8%{ext_man} %{_bindir}/ovs-pki %files vtep %defattr(-,root,root) %{_bindir}/vtep-ctl -%{_mandir}/man5/vtep.5.gz -%{_mandir}/man8/vtep-ctl.8.gz +%{_mandir}/man5/vtep.5%{ext_man} +%{_mandir}/man8/vtep-ctl.8%{ext_man} %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/vtep.ovsschema %{_libdir}/libvtep.so.* @@ -487,15 +486,15 @@ %{_datadir}/openvswitch/vswitch.ovsschema %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch -%{_mandir}/man8/ovs-dpctl.8.gz -%{_mandir}/man1/ovs-tcpundump.1.gz -%{_mandir}/man1/ovs-pcap.1.gz -%{_mandir}/man8/ovs-vsctl.8.gz -%{_mandir}/man1/ovsdb-tool.1.gz -%{_mandir}/man8/ovs-vswitchd.8.gz -%{_mandir}/man1/ovsdb-server.1.gz -%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz -%{_mandir}/man8/ovs-ctl.8.gz +%{_mandir}/man8/ovs-dpctl.8%{ext_man} +%{_mandir}/man1/ovs-tcpundump.1%{ext_man} +%{_mandir}/man1/ovs-pcap.1%{ext_man} +%{_mandir}/man8/ovs-vsctl.8%{ext_man} +%{_mandir}/man1/ovsdb-tool.1%{ext_man} +%{_mandir}/man8/ovs-vswitchd.8%{ext_man} +%{_mandir}/man1/ovsdb-server.1%{ext_man} +%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man} +%{_mandir}/man8/ovs-ctl.8%{ext_man} %{_sbindir}/rcopenvswitch %{_unitdir}/openvswitch.service %{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch @@ -536,10 +535,10 @@ %{_bindir}/ovs-l3ping %{_bindir}/ovs-vlan-test %{_bindir}/ovs-testcontroller -%{_mandir}/man8/ovs-test.8.gz -%{_mandir}/man8/ovs-l3ping.8.gz -%{_mandir}/man8/ovs-vlan-test.8.gz -%{_mandir}/man8/ovs-testcontroller.8.gz +%{_mandir}/man8/ovs-test.8%{ext_man} +%{_mandir}/man8/ovs-l3ping.8%{ext_man} +%{_mandir}/man8/ovs-vlan-test.8%{ext_man} +%{_mandir}/man8/ovs-testcontroller.8%{ext_man} %files devel %defattr(-,root,root) OBS-URL: https://build.opensuse.org/request/show/408658 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
2016-07-18 10:19:36 +02:00
%{_mandir}/man8/ovs-testcontroller.8%{ext_man}
Accepting request 433610 from home:markoschandras:network - Version bump to 2.6.0. Some of the changes are: * First supported release of OVN. See ovn-architecture(7) for more details. * ovsdb-server: - New "monitor_cond" "monitor_cond_update" and "update2" extensions to RFC 7047. * OpenFlow: - OpenFlow 1.3+ bundles now expire after 10 seconds since the last time the bundle was either opened, modified, or closed. - OpenFlow 1.3 Extension 230, adding OpenFlow Bundles support, is now implemented. - OpenFlow 1.3+ bundles are now supported for group mods as well as flow mods and port mods. Both 'atomic' and 'ordered' bundle flags are supported for group mods as well as flow mods. - Internal OpenFlow rule representation for load and set-field actions is now much more memory efficient. For a complex flow table this can reduce rule memory consumption by 40%. - Bundles are now much more memory efficient than in OVS 2.5. Together with memory efficiency improvements in OpenFlow rule representation, the peak OVS resident memory use during a bundle commit for large complex set of flow mods can be only 25% of that in OVS 2.5 (4x lower). - OpenFlow 1.1+ OFPT_QUEUE_GET_CONFIG_REQUEST now supports OFPP_ANY. - OpenFlow 1.4+ OFPMP_QUEUE_DESC is now supported. - OpenFlow 1.4+ OFPT_TABLE_STATUS is now supported. - New property-based packet-in message format NXT_PACKET_IN2 with support for arbitrary user-provided data and for serializing flow table traversal into a continuation for later resumption. - New extension message NXT_SET_ASYNC_CONFIG2 to allow OpenFlow 1.4-like control over asynchronous messages in earlier versions of OpenFlow. OBS-URL: https://build.opensuse.org/request/show/433610 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=104
2016-10-07 15:07:43 +02:00
%{_mandir}/man8/ovs-vlan-test.8%{ext_man}
%files devel
%defattr(-,root,root)
%{_libdir}/libofproto.so
%{_libdir}/libopenvswitch.so
Accepting request 368475 from home:k_mroz:branches:network - Add additional install requirements for python-openvswitch-test package. - Add support for building both 2.4.0 and 2.5.0 from the same spec file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports python < 2.7. SLE11 SP3 and SP4 use python 2.6. - Added: openvswitch-2.4.0.tar.gz - New upstream version 2.5.0 (LTS) - Dropped support for Python older than version 2.7. As a consequence, using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which have Python 2.4) requires first installing Python 2.7. - OpenFlow: * Group chaining (where one OpenFlow group triggers another) is now supported. * OpenFlow 1.4+ "importance" is now considered for flow eviction. * OpenFlow 1.4+ OFPTC_EVICTION is now implemented. * OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented. * OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented. * Allow modifying the ICMPv4/ICMPv6 type and code fields. * OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are now implemented. - ovs-ofctl: * New "out_group" keyword for OpenFlow 1.1+ matching on output group. - Tunnels: * Geneve tunnels can now match and set options and the OAM bit. * The nonstandard GRE64 tunnel extension has been dropped. - Support Multicast Listener Discovery (MLDv1 and MLDv2). - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions. - sFlow agent now reports tunnel and MPLS structures. OBS-URL: https://build.opensuse.org/request/show/368475 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79
2016-03-09 18:19:55 +01:00
%{_libdir}/libovn.so
%{_libdir}/libovsdb.so
%{_libdir}/libsflow.so
Accepting request 361282 from home:k_mroz:branches:network - Don't install INSTALL.* files. - Removed: openvswitch-switch.template - New upstream version 2.4.0 - Flow table modifications are now atomic, meaning that each packet now sees a coherent version of the OpenFlow pipeline. For example, if a controller removes all flows with a single OpenFlow "flow_mod", no packet sees an intermediate version of the OpenFlow pipeline where only some of the flows have been deleted. - Added support for SFQ, FQ_CoDel and CoDel qdiscs. - Add bash command-line completion support for ovs-vsctl Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The MAC learning feature now includes per-port fairness to mitigate MAC flooding attacks. - New support for a "conjunctive match" OpenFlow extension, which allows constructing OpenFlow matches of the form "field1 in {a,b,c...} AND field2 in {d,e,f...}" and generalizations. For details, see documentation for the "conjunction" action in ovs-ofctl(8). - Add bash command-line completion support for ovs-appctl/ovs-dpctl/ ovs-ofctl/ovsdb-tool commands. Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The "learn" action supports a new flag "delete_learned" that causes the learned flows to be deleted when the flow with the "learn" action is deleted. - Basic support for the Geneve tunneling protocol. It is not yet possible to generate or match options. This is planned for a future release. The protocol is documented at http://tools.ietf.org/html/draft-gross-geneve-00 - The OVS database now reports controller rate limiting statistics. OBS-URL: https://build.opensuse.org/request/show/361282 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=76
2016-02-26 16:24:36 +01:00
%{_libdir}/libvtep.so
%{_includedir}/openflow/
Accepting request 433610 from home:markoschandras:network - Version bump to 2.6.0. Some of the changes are: * First supported release of OVN. See ovn-architecture(7) for more details. * ovsdb-server: - New "monitor_cond" "monitor_cond_update" and "update2" extensions to RFC 7047. * OpenFlow: - OpenFlow 1.3+ bundles now expire after 10 seconds since the last time the bundle was either opened, modified, or closed. - OpenFlow 1.3 Extension 230, adding OpenFlow Bundles support, is now implemented. - OpenFlow 1.3+ bundles are now supported for group mods as well as flow mods and port mods. Both 'atomic' and 'ordered' bundle flags are supported for group mods as well as flow mods. - Internal OpenFlow rule representation for load and set-field actions is now much more memory efficient. For a complex flow table this can reduce rule memory consumption by 40%. - Bundles are now much more memory efficient than in OVS 2.5. Together with memory efficiency improvements in OpenFlow rule representation, the peak OVS resident memory use during a bundle commit for large complex set of flow mods can be only 25% of that in OVS 2.5 (4x lower). - OpenFlow 1.1+ OFPT_QUEUE_GET_CONFIG_REQUEST now supports OFPP_ANY. - OpenFlow 1.4+ OFPMP_QUEUE_DESC is now supported. - OpenFlow 1.4+ OFPT_TABLE_STATUS is now supported. - New property-based packet-in message format NXT_PACKET_IN2 with support for arbitrary user-provided data and for serializing flow table traversal into a continuation for later resumption. - New extension message NXT_SET_ASYNC_CONFIG2 to allow OpenFlow 1.4-like control over asynchronous messages in earlier versions of OpenFlow. OBS-URL: https://build.opensuse.org/request/show/433610 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=104
2016-10-07 15:07:43 +02:00
%{_includedir}/ovn/
Accepting request 361282 from home:k_mroz:branches:network - Don't install INSTALL.* files. - Removed: openvswitch-switch.template - New upstream version 2.4.0 - Flow table modifications are now atomic, meaning that each packet now sees a coherent version of the OpenFlow pipeline. For example, if a controller removes all flows with a single OpenFlow "flow_mod", no packet sees an intermediate version of the OpenFlow pipeline where only some of the flows have been deleted. - Added support for SFQ, FQ_CoDel and CoDel qdiscs. - Add bash command-line completion support for ovs-vsctl Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The MAC learning feature now includes per-port fairness to mitigate MAC flooding attacks. - New support for a "conjunctive match" OpenFlow extension, which allows constructing OpenFlow matches of the form "field1 in {a,b,c...} AND field2 in {d,e,f...}" and generalizations. For details, see documentation for the "conjunction" action in ovs-ofctl(8). - Add bash command-line completion support for ovs-appctl/ovs-dpctl/ ovs-ofctl/ovsdb-tool commands. Please check utilities/ovs-command-compgen.INSTALL.md for how to use. - The "learn" action supports a new flag "delete_learned" that causes the learned flows to be deleted when the flow with the "learn" action is deleted. - Basic support for the Geneve tunneling protocol. It is not yet possible to generate or match options. This is planned for a future release. The protocol is documented at http://tools.ietf.org/html/draft-gross-geneve-00 - The OVS database now reports controller rate limiting statistics. OBS-URL: https://build.opensuse.org/request/show/361282 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=76
2016-02-26 16:24:36 +01:00
%{_includedir}/openvswitch/
%{_libdir}/pkgconfig/*.pc
%changelog