diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d4ba1aa..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/virtio-forwarder-1.1.99.24-1.tar.bz2 -/virtio-forwarder-1.1.99.51-1.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index d99dc0f..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# virtio-forwarder - -The virtio-forwarder package \ No newline at end of file diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/harden_cflags.patch b/harden_cflags.patch deleted file mode 100644 index 4dd9a93..0000000 --- a/harden_cflags.patch +++ /dev/null @@ -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 - diff --git a/sources b/sources deleted file mode 100644 index 83b57e3..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (virtio-forwarder-1.1.99.51-1.tar.bz2) = 42bc063ae80c327200dec92d793cc81a6b32b357112796ae2fa490ed2c501f0373314c71135806d1032e3a10706134f6dbc99becd2f467a25220c143d7e14ed1 diff --git a/virtio-forwarder.spec b/virtio-forwarder.spec deleted file mode 100644 index 9be8186..0000000 --- a/virtio-forwarder.spec +++ /dev/null @@ -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 - 1.1.99.51-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Mon Feb 18 2019 Frik Botha - 1.1.99.51-2 -- Add hardening cflags (1676193) - -* Mon Feb 18 2019 Frik Botha - 1.1.99.51-1 -- Initial release