Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f86f88bfc |
6 changed files with 1 additions and 107 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,2 +0,0 @@
|
|||
/virtio-forwarder-1.1.99.24-1.tar.bz2
|
||||
/virtio-forwarder-1.1.99.51-1.tar.bz2
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# virtio-forwarder
|
||||
|
||||
The virtio-forwarder package
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Orphaned for 6+ weeks
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
diff -ru virtio-forwarder-1.1.99.51-orig/Makefile virtio-forwarder-1.1.99.51/Makefile
|
||||
--- virtio-forwarder-1.1.99.51-orig/Makefile 2019-02-18 12:27:48.468871687 +0000
|
||||
+++ virtio-forwarder-1.1.99.51/Makefile 2019-02-18 12:28:23.361434611 +0000
|
||||
@@ -87,6 +87,7 @@
|
||||
#CFLAGS += -DVIRTIO_ECHO -Wno-error=unused-but-set-variable -Wno-error=unused-parameter -Wno-error=unused-function
|
||||
CFLAGS += $(WERROR_FLAGS)
|
||||
CFLAGS += -Ipb2
|
||||
+CFLAGS += -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
|
||||
|
||||
LDLIBS += -lprotobuf-c -lzmq
|
||||
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
SHA512 (virtio-forwarder-1.1.99.51-1.tar.bz2) = 42bc063ae80c327200dec92d793cc81a6b32b357112796ae2fa490ed2c501f0373314c71135806d1032e3a10706134f6dbc99becd2f467a25220c143d7e14ed1
|
||||
|
|
@ -1,90 +0,0 @@
|
|||
Name: virtio-forwarder
|
||||
Version: 1.1.99.51
|
||||
Release: 3%{?dist}
|
||||
Summary: SR-IOV virtual function to virtio packet forwarder
|
||||
|
||||
License: BSD
|
||||
URL: http://netronome.com
|
||||
Source0: https://rpm.netronome.com/archives/virtio-forwarder/virtio-forwarder-1.1.99.51-1.tar.bz2
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||
Requires: protobuf-python
|
||||
Requires: python-zmq
|
||||
%else
|
||||
Requires: python2-protobuf
|
||||
Requires: python2-zmq
|
||||
%endif
|
||||
BuildRequires: make gcc dpdk-devel
|
||||
BuildRequires: protobuf-c-compiler protobuf-c-devel protobuf-compiler
|
||||
BuildRequires: zeromq-devel
|
||||
BuildRequires: python2-devel python2-sphinx
|
||||
%if 0%{?rhel}
|
||||
BuildRequires: python-sphinx_rtd_theme
|
||||
%else
|
||||
BuildRequires: python2-sphinx_rtd_theme
|
||||
%endif
|
||||
BuildRequires: numactl-devel
|
||||
%{?systemd_requires}
|
||||
BuildRequires: systemd
|
||||
|
||||
# Track DPDK's architectures
|
||||
ExclusiveArch: x86_64 aarch64 ppc64le %ix86
|
||||
|
||||
Patch0: harden_cflags.patch
|
||||
|
||||
%description
|
||||
virtio-forwarder is a userspace networking application that forwards
|
||||
bi-directional traffic between SR-IOV virtual functions and virtio networking
|
||||
devices in QEMU virtual machines. virtio-forwarder implements a virtio backend
|
||||
driver using the DPDK’s vhost-user library and services designated VFs by means
|
||||
of the DPDK poll mode driver (PMD) mechanism.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
# We need to clean the variables that may have been set from a previous
|
||||
# invocation of make, e.g. if rpmbuild is called from a Makefile.
|
||||
env -i PATH=$PATH ${RTE_SDK:+RTE_SDK=$RTE_SDK} \
|
||||
${RTE_TARGET:+RTE_TARGET=$RTE_TARGET} \
|
||||
${CFLAGS:+CFLAGS="$CFLAGS"} ${V:+V="$V"} \
|
||||
%make_build
|
||||
|
||||
%install
|
||||
env -i PATH=$PATH ${RTE_SDK:+RTE_SDK=$RTE_SDK} \
|
||||
${RTE_TARGET:+RTE_TARGET=$RTE_TARGET} \
|
||||
${CFLAGS:+CFLAGS="$CFLAGS"} ${V:+V="$V"} \
|
||||
%{make_install} prefix=%{_prefix} unitdir=%{_unitdir} \
|
||||
libexecdir=%{_libdir}/virtio-forwarder
|
||||
|
||||
%post
|
||||
%systemd_post virtio-forwarder.service
|
||||
%systemd_post vio4wd_core_scheduler.service
|
||||
|
||||
%preun
|
||||
%systemd_preun virtio-forwarder.service
|
||||
%systemd_preun vio4wd_core_scheduler.service
|
||||
|
||||
%postun
|
||||
%systemd_postun virtio-forwarder.service
|
||||
%systemd_postun_with_restart vio4wd_core_scheduler.service
|
||||
|
||||
%files
|
||||
%{_bindir}/virtio-forwarder
|
||||
%{_mandir}/man8/virtio-forwarder.8.*
|
||||
%{_libdir}/virtio-forwarder
|
||||
%config(noreplace) %{_sysconfdir}/default/virtioforwarder
|
||||
%{_unitdir}/virtio-forwarder.service
|
||||
%{_unitdir}/vio4wd_core_scheduler.service
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.99.51-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Mon Feb 18 2019 Frik Botha <frik.botha@netronome.com> - 1.1.99.51-2
|
||||
- Add hardening cflags (1676193)
|
||||
|
||||
* Mon Feb 18 2019 Frik Botha <frik.botha@netronome.com> - 1.1.99.51-1
|
||||
- Initial release
|
||||
Loading…
Add table
Add a link
Reference in a new issue