83c2aa714702d67859ef3aa3f5dbf11b941fa515
[ovsnfv.git] / build / patches / ovs_nsh_patches / openvswitch.spec
1 %global _hardened_build 1
2
3 # option to build without dpdk
4 %bcond_without dpdk
5 %define dpdk_ver 2.2.0
6
7 %define ver 2.5.90
8 %define rel 1
9 %define snapver 11975.NSH7d433ae5
10
11 %define srcver %{ver}%{?snapver:-%{snapver}}
12
13 # If wants to run tests while building, specify the '--with check'
14 # option. For example:
15 # rpmbuild -bb --with check openvswitch.spec
16
17 Name: openvswitch
18 Version: %{ver}
19 Release: %{?snapver:0.%{snapver}.}%{rel}%{?dist}
20 Summary: Open vSwitch daemon/database/utilities
21
22 # Nearly all of openvswitch is ASL 2.0.  The bugtool is LGPLv2+, and the
23 # lib/sflow*.[ch] files are SISSL
24 # datapath/ is GPLv2 (although not built into any of the binary packages)
25 # python/compat is Python (although not built into any of the binary packages)
26 License: ASL 2.0 and LGPLv2+ and SISSL
27 URL: http://openvswitch.org
28 #Source0: http://openvswitch.org/releases/%{name}-%{version}%{?snap_gitsha}.tar.gz
29 Source0: %{name}-%{srcver}.tar.gz
30
31 # Add vxLan gpe NSH
32 Patch1: 0001-ovs-vxlan-gpe-vxlan-extension-to-support-vxlan-gpe-t.patch
33 Patch2: 0002-ovs-nsh-support-push-and-pop-actions-for-vxlan-gpe-a.patch
34 Patch3: 0003-Add-userspace-dataplane-nsh-support-and-remove-push_.patch
35 Patch4: 0004-Fix-too-large-stack-frame-size.patch
36 Patch5: 0005-Ethernet-header-must-be-kept-in-VxLAN-gpe-eth-NSH-fo.patch
37 Patch6: 0006-Fix-VxLAN-gpe-Eth-NSH-issues.patch
38
39 ExcludeArch: ppc
40
41
42 BuildRequires: autoconf automake libtool
43 BuildRequires: systemd-units openssl openssl-devel
44 BuildRequires: python python-twisted-core python-zope-interface PyQt4
45 BuildRequires: desktop-file-utils python-six
46 BuildRequires: groff graphviz
47
48 %if %{with dpdk}
49 BuildRequires: dpdk-devel >= %{dpdk_ver}
50 BuildRequires: autoconf automake
51 Provides: %{name}-dpdk = %{version}-%{release}
52 %endif
53
54 Requires: openssl iproute module-init-tools
55
56 Requires(post): systemd-units
57 Requires(preun): systemd-units
58 Requires(postun): systemd-units
59 Obsoletes: openvswitch-controller <= 0:2.1.0-1
60
61 %bcond_with check
62
63 %description
64 Open vSwitch provides standard network bridging functions and
65 support for the OpenFlow protocol for remote per-flow control of
66 traffic.
67
68 %package -n python-openvswitch
69 Summary: Open vSwitch python bindings
70 License: ASL 2.0
71 BuildArch: noarch
72 Requires: python
73
74 %description -n python-openvswitch
75 Python bindings for the Open vSwitch database
76
77 %package test
78 Summary: Open vSwitch testing utilities
79 License: ASL 2.0
80 BuildArch: noarch
81 Requires: python-openvswitch = %{version}-%{release}
82 Requires: python python-twisted-core python-twisted-web
83
84 %description test
85 Utilities that are useful to diagnose performance and connectivity
86 issues in Open vSwitch setup.
87
88 %package devel
89 Summary: Open vSwitch OpenFlow development package (library, headers)
90 License: ASL 2.0
91 Provides: openvswitch-static = %{version}-%{release}
92
93 %description devel
94 This provides static library, libopenswitch.a and the openvswitch header
95 files needed to build an external application.
96
97 %package ovn-central
98 Summary: Open vSwitch - Open Virtual Network support
99 License: ASL 2.0
100 Requires: openvswitch openvswitch-ovn-common
101
102 %description ovn-central
103 OVN, the Open Virtual Network, is a system to support virtual network
104 abstraction.  OVN complements the existing capabilities of OVS to add
105 native support for virtual network abstractions, such as virtual L2 and L3
106 overlays and security groups.
107
108 %package ovn-host
109 Summary: Open vSwitch - Open Virtual Network support
110 License: ASL 2.0
111 Requires: openvswitch openvswitch-ovn-common
112
113 %description ovn-host
114 OVN, the Open Virtual Network, is a system to support virtual network
115 abstraction.  OVN complements the existing capabilities of OVS to add
116 native support for virtual network abstractions, such as virtual L2 and L3
117 overlays and security groups.
118
119 %package ovn-vtep
120 Summary: Open vSwitch - Open Virtual Network support
121 License: ASL 2.0
122 Requires: openvswitch openvswitch-ovn-common
123
124 %description ovn-vtep
125 OVN vtep controller
126 %package ovn-common
127 Summary: Open vSwitch - Open Virtual Network support
128 License: ASL 2.0
129 Requires: openvswitch
130
131 %description ovn-common
132 Utilities that are use to diagnose and manage the OVN components.
133
134 %package ovn-docker
135 Summary: Open vSwitch - Open Virtual Network support
136 License: ASL 2.0
137 Requires: openvswitch openvswitch-ovn-common python-openvswitch
138
139 %description ovn-docker
140 Docker network plugins for OVN.
141
142 %prep
143 %setup -q -n %{name}-%{srcver}
144 %patch1 -p1
145 %patch2 -p1
146 %patch3 -p1
147 %patch4 -p1
148 %patch5 -p1
149 %patch6 -p1
150
151 %build
152 %if %{with dpdk}
153 unset RTE_SDK
154 . /etc/profile.d/dpdk-sdk-%{_arch}.sh
155 %endif
156
157 autoreconf -i
158 %configure \
159         --enable-ssl \
160 %if %{with dpdk}
161         --with-dpdk=${RTE_SDK}/${RTE_TARGET} \
162 %endif
163         --with-pkidir=%{_sharedstatedir}/openvswitch/pki \
164
165 make %{?_smp_mflags}
166
167 %install
168 rm -rf $RPM_BUILD_ROOT
169 make install DESTDIR=$RPM_BUILD_ROOT
170
171 install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
172
173 install -p -D -m 0644 \
174         rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
175         $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/openvswitch
176 for service in openvswitch openvswitch-nonetwork \
177                 ovn-controller ovn-controller-vtep ovn-northd; do
178         install -p -D -m 0644 \
179                         rhel/usr_lib_systemd_system_${service}.service \
180                         $RPM_BUILD_ROOT%{_unitdir}/${service}.service
181 done
182
183 install -m 0755 rhel/etc_init.d_openvswitch \
184         $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/openvswitch.init
185
186 install -p -D -m 0644 rhel/etc_logrotate.d_openvswitch \
187         $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/openvswitch
188
189 install -m 0644 vswitchd/vswitch.ovsschema \
190         $RPM_BUILD_ROOT/%{_datadir}/openvswitch/vswitch.ovsschema
191
192 install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/
193 install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifdown-ovs \
194         $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
195 install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifup-ovs \
196         $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
197
198 install -d -m 0755 $RPM_BUILD_ROOT%{python_sitelib}
199 mv $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/* \
200    $RPM_BUILD_ROOT%{python_sitelib}
201 rmdir $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/
202
203 install -d -m 0755 $RPM_BUILD_ROOT/%{_sharedstatedir}/openvswitch
204
205 install -d -m 0755 $RPM_BUILD_ROOT%{_includedir}/openvswitch
206 install -p -D -m 0644 include/openvswitch/*.h \
207         -t $RPM_BUILD_ROOT%{_includedir}/openvswitch
208 install -p -D -m 0644 config.h \
209         -t $RPM_BUILD_ROOT%{_includedir}/openvswitch
210
211 install -d -m 0755 $RPM_BUILD_ROOT%{_includedir}/openvswitch/lib
212 install -p -D -m 0644 lib/*.h \
213         -t $RPM_BUILD_ROOT%{_includedir}/openvswitch/lib
214
215 install -d -m 0755 $RPM_BUILD_ROOT%{_includedir}/openflow
216 install -p -D -m 0644 include/openflow/*.h \
217         -t $RPM_BUILD_ROOT%{_includedir}/openflow
218
219 touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/conf.db
220 touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/system-id.conf
221
222 # remove non-packaged files from the buildroot
223 rm -f %{buildroot}%{_bindir}/ovs-benchmark
224 rm -f %{buildroot}%{_bindir}/ovs-parse-backtrace
225 rm -f %{buildroot}%{_bindir}/ovs-pcap
226 rm -f %{buildroot}%{_bindir}/ovs-tcpundump
227 rm -f %{buildroot}%{_sbindir}/ovs-vlan-bug-workaround
228 rm -f %{buildroot}%{_mandir}/man1/ovs-benchmark.1
229 rm -f %{buildroot}%{_mandir}/man1/ovs-pcap.1
230 rm -f %{buildroot}%{_mandir}/man1/ovs-tcpundump.1
231 rm -f %{buildroot}%{_mandir}/man8/ovs-vlan-bug-workaround.8
232 rm -f %{buildroot}%{_datadir}/openvswitch/scripts/ovs-save
233
234 %check
235 %if %{with check}
236     if make check TESTSUITEFLAGS='%{_smp_mflags}' ||
237        make check TESTSUITEFLAGS='--recheck'; then :;
238     else
239         cat tests/testsuite.log
240         exit 1
241     fi
242 %endif
243
244 %clean
245 rm -rf $RPM_BUILD_ROOT
246
247 %preun
248 %if 0%{?systemd_preun:1}
249     %systemd_preun %{name}.service
250 %else
251     if [ $1 -eq 0 ] ; then
252     # Package removal, not upgrade
253         /bin/systemctl --no-reload disable %{name}.service >/dev/null 2>&1 || :
254         /bin/systemctl stop %{name}.service >/dev/null 2>&1 || :
255     fi
256 %endif
257
258 %preun ovn-central
259 %if 0%{?systemd_preun:1}
260     %systemd_preun ovn-northd.service
261 %else
262     if [ $1 -eq 0 ] ; then
263         # Package removal, not upgrade
264         /bin/systemctl --no-reload disable ovn-northd.service >/dev/null 2>&1 || :
265         /bin/systemctl stop ovn-northd.service >/dev/null 2>&1 || :
266     fi
267 %endif
268
269 %preun ovn-host
270 %if 0%{?systemd_preun:1}
271     %systemd_preun ovn-controller.service
272 %else
273     if [ $1 -eq 0 ] ; then
274         # Package removal, not upgrade
275         /bin/systemctl --no-reload disable ovn-controller.service >/dev/null 2>&1 || :
276         /bin/systemctl stop ovn-controller.service >/dev/null 2>&1 || :
277     fi
278 %endif
279
280 %preun ovn-vtep
281 %if 0%{?systemd_preun:1}
282     %systemd_preun ovn-controller-vtep.service
283 %else
284     if [ $1 -eq 0 ] ; then
285         # Package removal, not upgrade
286         /bin/systemctl --no-reload disable ovn-controller-vtep.service >/dev/null 2>&1 || :
287         /bin/systemctl stop ovn-controller-vtep.service >/dev/null 2>&1 || :
288     fi
289 %endif
290
291 %post
292 %if 0%{?systemd_post:1}
293     %systemd_post %{name}.service
294 %else
295     # Package install, not upgrade
296     if [ $1 -eq 1 ]; then
297         /bin/systemctl daemon-reload >dev/null || :
298     fi
299 %endif
300
301 %post ovn-central
302 %if 0%{?systemd_post:1}
303     %systemd_post ovn-northd.service
304 %else
305     # Package install, not upgrade
306     if [ $1 -eq 1 ]; then
307         /bin/systemctl daemon-reload >dev/null || :
308     fi
309 %endif
310
311 %post ovn-host
312 %if 0%{?systemd_post:1}
313     %systemd_post ovn-controller.service
314 %else
315     # Package install, not upgrade
316     if [ $1 -eq 1 ]; then
317         /bin/systemctl daemon-reload >dev/null || :
318     fi
319 %endif
320
321 %post ovn-vtep
322 %if 0%{?systemd_post:1}
323     %systemd_post ovn-controller-vtep.service
324 %else
325     # Package install, not upgrade
326     if [ $1 -eq 1 ]; then
327         /bin/systemctl daemon-reload >dev/null || :
328     fi
329 %endif
330
331 %postun
332 %if 0%{?systemd_postun_with_restart:1}
333     %systemd_postun_with_restart %{name}.service
334 %else
335     /bin/systemctl daemon-reload >/dev/null 2>&1 || :
336     if [ "$1" -ge "1" ] ; then
337     # Package upgrade, not uninstall
338         /bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
339     fi
340 %endif
341
342 %postun ovn-central
343 %if 0%{?systemd_postun_with_restart:1}
344     %systemd_postun_with_restart ovn-northd.service
345 %else
346     /bin/systemctl daemon-reload >/dev/null 2>&1 || :
347     if [ "$1" -ge "1" ] ; then
348     # Package upgrade, not uninstall
349         /bin/systemctl try-restart ovn-northd.service >/dev/null 2>&1 || :
350     fi
351 %endif
352
353 %postun ovn-host
354 %if 0%{?systemd_postun_with_restart:1}
355     %systemd_postun_with_restart ovn-controller.service
356 %else
357     /bin/systemctl daemon-reload >/dev/null 2>&1 || :
358     if [ "$1" -ge "1" ] ; then
359         # Package upgrade, not uninstall
360         /bin/systemctl try-restart ovn-controller.service >/dev/null 2>&1 || :
361     fi
362 %endif
363
364 %postun ovn-vtep
365 %if 0%{?systemd_postun_with_restart:1}
366     %systemd_postun_with_restart ovn-controller-vtep.service
367 %else
368     /bin/systemctl daemon-reload >/dev/null 2>&1 || :
369     if [ "$1" -ge "1" ] ; then
370         # Package upgrade, not uninstall
371         /bin/systemctl try-restart ovn-controller-vtep.service >/dev/null 2>&1 || :
372     fi
373 %endif
374
375 %files -n python-openvswitch
376 %{python_sitelib}/ovs
377 %doc COPYING
378
379 %files test
380 %{_bindir}/ovs-test
381 %{_bindir}/ovs-vlan-test
382 %{_bindir}/ovs-l3ping
383 %{_mandir}/man8/ovs-test.8*
384 %{_mandir}/man8/ovs-vlan-test.8*
385 %{_mandir}/man8/ovs-l3ping.8*
386 %{python_sitelib}/ovstest
387
388 %files devel
389 %{_libdir}/*.a
390 %{_libdir}/*.la
391 %{_includedir}/openvswitch/*
392 %{_includedir}/openflow/*
393 %{_libdir}/pkgconfig/*.pc
394
395 %files
396 %defattr(-,root,root)
397 %dir %{_sysconfdir}/openvswitch
398 %config %ghost %{_sysconfdir}/openvswitch/conf.db
399 %config %ghost %{_sysconfdir}/openvswitch/system-id.conf
400 %config(noreplace) %{_sysconfdir}/sysconfig/openvswitch
401 %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch
402 %{_unitdir}/openvswitch.service
403 %{_unitdir}/openvswitch-nonetwork.service
404 %{_datadir}/openvswitch/scripts/openvswitch.init
405 %{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
406 %{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
407 %{_datadir}/openvswitch/bugtool-plugins/
408 %{_datadir}/openvswitch/scripts/ovs-bugtool-*
409 %{_datadir}/openvswitch/scripts/ovs-check-dead-ifs
410 %{_datadir}/openvswitch/scripts/ovs-lib
411 %{_datadir}/openvswitch/scripts/ovs-vtep
412 %{_datadir}/openvswitch/scripts/ovs-ctl
413 %config %{_datadir}/openvswitch/vswitch.ovsschema
414 %config %{_datadir}/openvswitch/vtep.ovsschema
415 %{_sysconfdir}/bash_completion.d/*.bash
416 %{_bindir}/ovs-appctl
417 %{_bindir}/ovs-docker
418 %{_bindir}/ovs-dpctl
419 %{_bindir}/ovs-dpctl-top
420 %{_bindir}/ovs-ofctl
421 %{_bindir}/ovs-vsctl
422 %{_bindir}/ovsdb-client
423 %{_bindir}/ovsdb-tool
424 %{_bindir}/ovs-testcontroller
425 %{_bindir}/ovs-pki
426 %{_bindir}/vtep-ctl
427 %{_sbindir}/ovs-bugtool
428 %{_sbindir}/ovs-vswitchd
429 %{_sbindir}/ovsdb-server
430 %{_mandir}/man1/ovsdb-client.1*
431 %{_mandir}/man1/ovsdb-server.1*
432 %{_mandir}/man1/ovsdb-tool.1*
433 %{_mandir}/man5/ovs-vswitchd.conf.db.5*
434 %{_mandir}/man5/vtep.5*
435 %{_mandir}/man8/vtep-ctl.8*
436 %{_mandir}/man8/ovs-appctl.8*
437 %{_mandir}/man8/ovs-bugtool.8*
438 %{_mandir}/man8/ovs-ctl.8*
439 %{_mandir}/man8/ovs-dpctl.8*
440 %{_mandir}/man8/ovs-dpctl-top.8*
441 %{_mandir}/man8/ovs-ofctl.8*
442 %{_mandir}/man8/ovs-pki.8*
443 %{_mandir}/man8/ovs-vsctl.8*
444 %{_mandir}/man8/ovs-vswitchd.8*
445 %{_mandir}/man8/ovs-parse-backtrace.8*
446 %{_mandir}/man8/ovs-testcontroller.8*
447 %doc COPYING DESIGN.md INSTALL.SSL.md NOTICE README.md WHY-OVS.md
448 %doc FAQ.md NEWS INSTALL.DPDK.md rhel/README.RHEL
449 /var/lib/openvswitch
450 /var/log/openvswitch
451 %ghost %attr(755,root,root) %{_rundir}/openvswitch
452
453 %files ovn-docker
454 %{_bindir}/ovn-docker-overlay-driver
455 %{_bindir}/ovn-docker-underlay-driver
456
457 %files ovn-common
458 %{_bindir}/ovn-nbctl
459 %{_bindir}/ovn-sbctl
460 %{_datadir}/openvswitch/scripts/ovn-ctl
461 %{_datadir}/openvswitch/scripts/ovn-bugtool-nbctl-show
462 %{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-lflow-list
463 %{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-show
464 %{_mandir}/man8/ovn-ctl.8*
465 %{_mandir}/man8/ovn-nbctl.8*
466 %{_mandir}/man7/ovn-architecture.7*
467 %{_mandir}/man8/ovn-sbctl.8*
468 %{_mandir}/man5/ovn-nb.5*
469 %{_mandir}/man5/ovn-sb.5*
470
471 %files ovn-central
472 %{_bindir}/ovn-northd
473 %{_mandir}/man8/ovn-northd.8*
474 %config %{_datadir}/openvswitch/ovn-nb.ovsschema
475 %config %{_datadir}/openvswitch/ovn-sb.ovsschema
476 %{_unitdir}/ovn-northd.service
477
478 %files ovn-host
479 %{_bindir}/ovn-controller
480 %{_mandir}/man8/ovn-controller.8*
481 %{_unitdir}/ovn-controller.service
482
483 %files ovn-vtep
484 %{_bindir}/ovn-controller-vtep
485 %{_mandir}/man8/ovn-controller-vtep.8*
486 %{_unitdir}/ovn-controller-vtep.service
487
488 %changelog
489 * Mon Apr 04 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.90-0.11974.gitc4623bb8.1
490 - New snapshot
491
492 * Tue Mar 29 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.90-0.11929.git1cef5fff.1
493 - new snapshot
494 - sync up ovn packaging with upstream (split to many pieces)
495 - remove trigger for ancient ovs versions
496
497 * Wed Mar 23 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.90-0.11888.git8d679ccd.1
498 - New snapshot
499
500 * Mon Mar 14 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.90-0.11842.git0bac7164.1
501 - New snapshot
502
503 * Fri Mar 11 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.90-0.11838.git5fec03b1.1
504 - New snapshot
505
506 * Thu Mar 10 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.90-0.11831.gitb00b4a81.1
507 - New snapshot
508
509 * Mon Mar 07 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.90-0.11810.git6019cb63.1
510 - New snapshot
511
512 * Wed Feb 24 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.90-0.11762.git1589ee5a.1
513 - New snapshot
514
515 * Mon Feb 22 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.90-0.11731.gitc6bd5e91.1
516 - New snapshot
517
518 * Thu Feb 11 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.90-0.11686.git7b383a56.1
519 - New snapshot
520
521 * Tue Feb 02 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.90-0.11590.gitfa47c114.1
522 - New snapshot
523 - Buildrequires python-six
524
525 * Mon Feb 01 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.90-0.11587.git9167fc1a.1
526 - New 2.5.90 based snapshot
527
528 * Fri Jan 29 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.0-0.11397.git46a88d99.1
529 - New snapshot, vhost-user multiqueue support upstreamed
530
531 * Tue Jan 26 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.0-0.11389.git23121bb7.1
532 - New snapshot
533
534 * Wed Jan 13 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.0-0.11375.git976b4413.1
535 - New snapshot
536
537 * Mon Jan 04 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.0-0.11351.git98b94d1e.1
538 - New year, new snapshot
539 - Drop upstreamed dpdk ports patch
540
541 * Wed Dec 16 2015 Panu Matilainen <pmatilai@redhat.com> - 2.5.0-0.11316.gitfe10b446.1
542 - New snapshot
543
544 * Mon Dec 14 2015 Panu Matilainen <pmatilai@redhat.com> - 2.5.0-0.11312.git4bcb548d.1
545 - New snapshot
546
547 * Fri Dec 11 2015 Panu Matilainen <pmatilai@redhat.com> - 2.5.0-0.11304.git176752aa.1
548 - New snapshot
549
550 * Mon Dec 07 2015 Panu Matilainen <pmatilai@redhat.com> - 2.5.0-0.11284.git3e8cc1b4.1
551 - New snapshot, switch to 2.5 branch
552 - Buildrequire dpdk >= 2.2 for multiqueue
553
554 * Mon Nov 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.4.90-11222.gite696de79.1
555 - New snapshot
556
557 * Thu Nov 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.4.90-11201.gitff882f96.1
558 - New snapshot
559
560 * Wed Nov 25 2015 Panu Matilainen <pmatilai@redhat.com> - 2.4.90-11162.gitefee3309.1
561 - New snapshot
562 - Remove unpackaged files from buildroot instead of %exclude'ing,
563   the latter leaves artifacts into -debuginfo packages (#1281913)
564
565 * Fri Nov 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.4.90-11141.git89108874.1
566 - New snapshot
567
568 * Fri Nov 13 2015 Panu Matilainen <pmatilai@redhat.com> - 2.4.90-11130.git3e2493e1.3
569 - Except that on RHEL-7 and older Fedoras -Wl,--as-needed causes build
570   failures :( Back to local linker script, without all the pmds.
571
572 * Fri Nov 13 2015 Panu Matilainen <pmatilai@redhat.com> - 2.4.90-11130.git3e2493e1.2
573 - Erm, no patches are needed for linkage sanity, just use -Wl,--as-needed
574
575 * Fri Nov 13 2015 Panu Matilainen <pmatilai@redhat.com> - 2.4.90-11130.git3e2493e1.1
576 - New snapshot
577 - Drop no longer needed build hacks now that DPDK can automatically load drivers
578
579 * Thu Nov 05 2015 Panu Matilainen <pmatilai@redhat.com> - 2.4.90-11104.git994fcc5a.2
580 - Rebuild against dpdk 2.2.0-rc1
581
582 * Thu Nov 05 2015 Panu Matilainen <pmatilai@redhat.com> - 2.4.90-11104.git994fcc5a.1
583 - New snapshot
584
585 * Tue Oct 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.4.90-11080.git2a33a3c2.1
586 - New snapshot
587 - Add vhost-user multiqueue support (rfc patch v2)
588
589 * Thu Oct 22 2015 Panu Matilainen <pmatilai@redhat.com> - 2.4.90-11065.gite2229be9.1
590 - New snapshot
591 - Update (and sort) drivers list to match current upstream
592
593 * Mon Sep 28 2015 Panu Matilainen <pmatilai@redhat.com> - 2.4.90-10916.gita2cf7524.1
594 - New snapshot
595 - Rename internal linker script to libdpdk.so to match upstream dpdk naming
596
597 * Wed Aug 12 2015 Panu Matilainen <pmatilai@redhat.com> - 2.4.90-10701.gitb883db24.1
598 - New snapshot
599
600 * Fri Jun 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.4.90-10461.gite3a4416a.1
601 - New snapshot
602
603 * Tue Jun 23 2015 Panu Matilainen <pmatilai@redhat.com> - 2.4.90-10415.git0eb48fe1.1
604 - Update 2.4.90 based snapshot
605 - New -ovn subpackage (copy-pasted from upstream spec)
606 - Adjust linker script for librte_pmd_virtio_uio -> librte_pmd_virtio change
607
608 * Mon Jun 15 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10260.git7d1ced01.1
609 - New snapshot, vhost-user upstreamed now
610
611 * Fri Jun 05 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10215.git3bcc10c0.2
612 - Update to vhost-user patch v8
613
614 * Thu Jun 04 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10215.git3bcc10c0.1
615 - New snapshot
616
617 * Mon May 25 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10151.git8f19f0a7.1
618 - New snapshot
619 - Update/rebase to vhost-user patch v7
620
621 * Fri May 22 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10140.git048963aa.1
622 - New snapshot
623 - Update to vhost-user patch v6
624
625 * Wed May 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10130.git8aaa125d.2
626 - Use DPDK NIC defaults (should improve performance)
627
628 * Tue May 19 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10130.git8aaa125d.1
629 - New snapshot
630 - Update to vhost-user patch v5 which is likely to be upstreamed
631 - Drop vhost-cuse support from spec
632
633 * Wed May 13 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10120.git9899125a.2
634 - vhost-user patch v4, defaulting to OVS rundir for sockets
635
636 * Wed May 13 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10120.git9899125a.1
637 - New snapshot
638 - Drop perf patch option, too many patches to carry about
639 - Drop rx burst size patch, its now upstreamed
640
641 * Fri May 08 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10098.git543342a4.4
642 - Include virtio driver in linker script to support OVS in a VM guest
643
644 * Thu May 07 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10098.git543342a4.3
645 - Add build option for userspace datapath performance improvement patch series
646
647 * Tue May 05 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10098.git543342a4.2
648 - DPDK port configuration via network-scripts, take I
649
650 * Thu Apr 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10098.git543342a4.1
651 - Update to new snapshot with official DPDK 2.0 support
652 - Update to vhost-user RFC v3 with socket directory specification support
653
654 * Fri Apr 24 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10031.gitf097013a.4
655 - Update DPDK 2.0 patch to what has been submitted upstream
656 - Update vhost-user patch to current public RFC patch
657
658 * Tue Apr 21 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10031.gitf097013a.3
659 - Handle vhost-user/cuse selection automatically based on the copr repo name
660
661 * Fri Apr 17 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10031.gitf097013a.2
662 - Use a custom dpdk linker script to avoid excessive lib dependencies
663
664 * Thu Apr 16 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-10031.gitf097013a.1
665 - New snapshot, including pmd statistics
666 2
667 * Thu Apr 09 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-9961.gitb3cceba0.2
668 - Use smaller rx burst size to supposedly improve vhost performance
669
670 * Thu Apr 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-9961.gitb3cceba0.1
671 - New snapshot
672 - Switch to vhost-user now that it actually works (with updated patch)
673 - Only buildrequire fuse-devel with vhost-cuse
674
675 * Wed Apr 01 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-9960.git508624b6.1
676 - New snapshot
677
678 * Thu Mar 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-9950.git4e5e44e3.1
679 - New snapshot
680 - Add dependency for dpdk vhost-user/cuse support
681
682 * Thu Mar 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-9928.gitda79ce2b.3
683 - Rebuild for dropped IVSHMEM in dpdk
684
685 * Wed Mar 25 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-9928.gitda79ce2b.2
686 - Make vhost-user conditional, disabled by default for now 
687
688 * Wed Mar 25 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-9928.gitda79ce2b.1
689 - New snapshot, 1GB hugepages no longer required
690 - Rebase vhost-user patch again
691
692 * Tue Mar 24 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-9908.git2c9907cd.3
693 - Yesterdays vhost-user patch was very broken...
694
695 * Mon Mar 23 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-9908.git2c9907cd.2
696 - Add vhost-user support (disables vhost-cuse)
697
698 * Mon Mar 23 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-9908.git2c9907cd.1
699 - New snapshot
700
701 * Fri Mar 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-9902.git58397e6c
702 - New snapshot
703 - Vhost-cuse upstreamed, drop patch
704 - Drop problematic kernel require entirely
705
706 * Thu Mar 19 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.90-9900.gitb6b0e049
707 - New snapshot
708 - Fixup kernel dependency version on EL7
709
710 * Tue Mar 10 2015 Panu Matilainen 2.3.90-9868.git973edd6e.1
711 - New snapshot
712 - Include snapshot script in src.rpm
713
714 * Thu Mar 05 2015 Panu Matilainen 2.3.90-9862.git7cc398cb.2
715 - New snapshot style requires automake and libtool on build
716 - Add explicit -msse4.1 to get it to build on rhel-7
717
718 * Thu Mar 05 2015 Panu Matilainen 2.3.90-9862.git7cc398cb.1
719 - Change snapshot style for easier automation
720 - New snapshot with DPDK >= 1.8 support upstream
721 - New version of vhost-cuse patch, rebase to match current upstream
722
723 * Wed Mar 04 2015 Panu Matilainen 2.3.90-9.git20150218
724 - Fix build with recent DPDK snapshots
725
726 * Fri Feb 20 2015 Panu Matilainen 2.3.90-8.git20150218
727 - Support passing arbitrary DPDK options via /etc/sysconfig/openvswitch
728
729 * Thu Feb 19 2015 Panu Matilainen 2.3.90-7.git20150218
730 - Build-require automake + autoconf due to vhost-cuse touching makefiles
731
732 * Thu Feb 19 2015 Panu Matilainen 2.3.90-6.git20150218
733 - Add vhost-cuse patch 
734 - Comment patch origins
735
736 * Wed Feb 18 2015 Panu Matilainen 2.3.90-5.git20150218
737 - OVS snapshot of the day
738
739 * Wed Feb 18 2015 2015 Panu Matilainen 2.3.90-4.git20150202
740 - Update to latest (hopefully final) dpdk-support patch fron Intel
741
742 * Thu Feb 5 2015 Panu Matilainen 2.3.90-3.git20150202
743 - Another rebuild for versioning change
744
745 * Tue Feb 3 2015 Panu Matilainen 2.3.90-2.git20150202
746 - Rebuild with library versioned dpdk 
747
748 * Tue Feb 3 2015 Panu Matilainen 2.3.90-1.git20150202
749 - OVS snapshot of the day
750 - Add patch to make it build with DPDK 1.8
751
752 * Mon Jan 12 2015 Panu Matilainen 2.3.90-1.git20150112
753 - Update to 2.3.90-git0f3358ea
754 - Build with dpdk 1.7.1
755
756 * Fri Dec 19 2014 Panu Matilainen 2.3.90-0.git20141219.1
757 - Update to 2.3.90-git5af43325
758 - Build with DPDK
759
760 * Fri Nov 07 2014 Flavio Leitner - 2.3.0-3.git20141107
761 - updated to 2.3.0-git39ebb203
762
763 * Thu Oct 23 2014 Flavio Leitner - 2.3.0-2
764 - fixed to own conf.db and system-id.conf in /etc/openvswitch.
765   (#1132707)
766
767 * Tue Aug 19 2014 Flavio Leitner - 2.3.0-1
768 - updated to 2.3.0
769
770 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-5
771 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
772
773 * Thu Jun 12 2014 Flavio Leitner - 2.1.2-4
774 - moved README.RHEL to be in the standard doc dir.
775 - added FAQ and NEWS files to the doc list.
776 - excluded PPC arch
777
778 * Thu Jun 12 2014 Flavio Leitner - 2.1.2-3
779 - removed ovsdbmonitor packaging
780
781 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-2
782 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
783
784 * Tue Mar 25 2014 Flavio Leitner - 2.1.2-1
785 - updated to 2.1.2
786
787 * Tue Mar 25 2014 Flavio Leitner - 2.1.0-1
788 - updated to 2.1.0
789 - obsoleted openvswitch-controller package
790 - requires kernel 3.15.0-0 or newer
791   (kernel commit 4f647e0a3c37b8d5086214128614a136064110c3
792    openvswitch: fix a possible deadlock and lockdep warning)
793 - ovs-lib: allow non-root users to check service status
794   (upstream commit 691e47554dd03dd6492e00bab5bd6d215f5cbd4f)
795 - rhel: Add Patch Port support to initscripts
796   (upstream commit e2bcc8ef49f5e51f48983b87ab1010f0f9ab1454)
797
798 * Mon Jan 27 2014 Flavio Leitner - 2.0.1-1
799 - updated to 2.0.1
800
801 * Mon Jan 27 2014 Flavio Leitner - 2.0.0-6
802 - create a -devel package
803   (from Chris Wright <chrisw@redhat.com>)
804
805 * Wed Jan 15 2014 Flavio Leitner <fbl@redhat.com> - 2.0.0-5
806 - Enable DHCP support for internal ports
807   (upstream commit 490db96efaf89c63656b192d5ca287b0908a6c77)
808
809 * Wed Jan 15 2014 Flavio Leitner <fbl@redhat.com> - 2.0.0-4
810 - disabled ovsdbmonitor packaging
811   (upstream has removed the component)
812
813 * Wed Jan 15 2014 Flavio Leitner <fbl@redhat.com> - 2.0.0-3
814 - fedora package: fix systemd ordering and deps.
815   (upstream commit b49c106ef00438b1c59876dad90d00e8d6e7b627)
816
817 * Wed Jan 15 2014 Flavio Leitner <fbl@redhat.com> - 2.0.0-2
818 - util: use gcc builtins to better check array sizes
819   (upstream commit 878f1972909b33f27b32ad2ded208eb465b98a9b)
820
821 * Mon Oct 28 2013 Flavio Leitner <fbl@redhat.com> - 2.0.0-1
822 - updated to 2.0.0 (#1023184)
823
824 * Mon Oct 28 2013 Flavio Leitner <fbl@redhat.com> - 1.11.0-8
825 - applied upstream commit 7b75828bf5654c494a53fa57be90713c625085e2
826   rhel: Option to create tunnel through ifcfg scripts.
827
828 * Mon Oct 28 2013 Flavio Leitner <fbl@redhat.com> - 1.11.0-7
829 - applied upstream commit 32aa46891af5e173144d672e15fec7c305f9a4f3
830   rhel: Set STP of a bridge during bridge creation.
831
832 * Mon Oct 28 2013 Flavio Leitner <fbl@redhat.com> - 1.11.0-6
833 - applied upstream commit 5b56f96aaad4a55a26576e0610fb49bde448dabe
834   rhel: Prevent duplicate ifup calls.
835
836 * Mon Oct 28 2013 Flavio Leitner <fbl@redhat.com> - 1.11.0-5
837 - applied upstream commit 79416011612541d103a1d396d888bb8c84eb1da4
838   rhel: Return an exit value of 0 for ifup-ovs.
839
840 * Mon Oct 28 2013 Flavio Leitner <fbl@redhat.com> - 1.11.0-4
841 - applied upstream commit 2517bad92eec7e5625bc8b248db22fdeaa5fcde9
842   Added RHEL ovs-ifup STP option handling
843
844 * Tue Oct 1 2013 Flavio Leitner <fbl@redhat.com> - 1.11.0-3
845 - don't use /var/lock/subsys with systemd (#1006412)
846
847 * Thu Sep 19 2013 Flavio Leitner <fbl@redhat.com> - 1.11.0-2
848 - ovsdbmonitor package is optional
849
850 * Thu Aug 29 2013 Thomas Graf <tgraf@redhat.com> - 1.11.0-1
851 - Update to 1.11.0
852
853 * Tue Aug 13 2013 Flavio Leitner <fbl@redhat.com> - 1.10.0-7
854 - Fixed openvswitch-nonetwork to start openvswitch.service (#996804)
855
856 * Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 1.10.0-6
857 - Perl 5.18 rebuild
858
859 * Tue Jul 23 2013 Thomas Graf <tgraf@redhat.com> - 1.10.0-5
860 - Typo
861
862 * Tue Jul 23 2013 Thomas Graf <tgraf@redhat.com> - 1.10.0-4
863 - Spec file fixes
864 - Maintain local copy of sysconfig.template
865
866 * Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.10.0-3
867 - Perl 5.18 rebuild
868
869 * Mon Jul 01 2013 Thomas Graf <tgraf@redhat.com> - 1.10.0-2
870 - Enable PIE (#955181)
871 - Provide native systemd unit files (#818754)
872
873 * Thu May 02 2013 Thomas Graf <tgraf@redhat.com> - 1.10.0-1
874 - Update to 1.10.0 (#958814)
875
876 * Thu Feb 28 2013 Thomas Graf <tgraf@redhat.com> - 1.9.0-1
877 - Update to 1.9.0 (#916537)
878
879 * Tue Feb 12 2013 Thomas Graf <tgraf@redhat.com> - 1.7.3-8
880 - Fix systemd service dependency loop (#818754)
881
882 * Fri Jan 25 2013 Thomas Graf <tgraf@redhat.com> - 1.7.3-7
883 - Auto-start openvswitch service on ifup/ifdown (#818754)
884 - Add OVSREQUIRES to allow defining OpenFlow interface dependencies
885
886 * Thu Jan 24 2013 Thomas Graf <tgraf@redhat.com> - 1.7.3-6
887 - Update to Open vSwitch 1.7.3
888
889 * Tue Nov 20 2012 Thomas Graf <tgraf@redhat.com> - 1.7.1-6
890 - Increase max fd limit to support 256 bridges (#873072)
891
892 * Thu Nov  1 2012 Thomas Graf <tgraf@redhat.com> - 1.7.1-5
893 - Don't create world writable pki/*/incomming directory (#845351)
894
895 * Thu Oct 25 2012 Thomas Graf <tgraf@redhat.com> - 1.7.1-4
896 - Don't add iptables accept rule for -p GRE as GRE tunneling is unsupported
897
898 * Tue Oct 16 2012 Thomas Graf <tgraf@redhat.com> - 1.7.1-3
899 - require systemd instead of systemd-units to use macro helpers (#850258)
900
901 * Tue Oct  9 2012 Thomas Graf <tgraf@redhat.com> - 1.7.1-2
902 - make ovs-vsctl timeout if daemon is not running (#858722)
903
904 * Mon Sep 10 2012 Thomas Graf <tgraf@redhat.com> - 1.7.1.-1
905 - Update to 1.7.1
906
907 * Fri Sep  7 2012 Thomas Graf <tgraf@redhat.com> - 1.7.0.-3
908 - add controller package containing ovs-controller
909
910 * Thu Aug 23 2012 Tomas Hozza <thozza@redhat.com> - 1.7.0-2
911 - fixed SPEC file so it comply with new systemd-rpm macros guidelines (#850258)
912
913 * Fri Aug 17 2012 Tomas Hozza <thozza@redhat.com> - 1.7.0-1
914 - Update to 1.7.0
915 - Fixed openvswitch-configure-ovskmod-var-autoconfd.patch because
916   openvswitch kernel module name changed in 1.7.0
917 - Removed Source8: ovsdbmonitor-move-to-its-own-data-directory.patch
918 - Patches merged:
919   - ovsdbmonitor-move-to-its-own-data-directory-automaked.patch
920   - openvswitch-rhel-initscripts-resync.patch
921
922 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-6
923 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
924
925 * Thu Mar 15 2012 Chris Wright <chrisw@redhat.com> - 1.4.0-5
926 - fix ovs network initscripts DHCP address acquisition (#803843)
927
928 * Tue Mar  6 2012 Chris Wright <chrisw@redhat.com> - 1.4.0-4
929 - make BuildRequires openssl explicit (needed on f18/rawhide now)
930
931 * Tue Mar  6 2012 Chris Wright <chrisw@redhat.com> - 1.4.0-3
932 - use glob to catch compressed manpages
933
934 * Thu Mar  1 2012 Chris Wright <chrisw@redhat.com> - 1.4.0-2
935 - Update License comment, use consitent macros as per review comments bz799171
936
937 * Wed Feb 29 2012 Chris Wright <chrisw@redhat.com> - 1.4.0-1
938 - Initial package for Fedora