summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2021-07-28 11:05:03 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-07-28 14:47:52 +0200
commitf66babf1fe32832a5e0b7a0ddde078cb066d6e09 (patch)
tree87fb5d5bc6fa5a79de51b97ebc4384d15750c684
parentedd0f9c1bcc8302405f276fb9acc6fe202c4c826 (diff)
downloadptxdist-f66babf1fe32832a5e0b7a0ddde078cb066d6e09.tar.gz
ptxdist-f66babf1fe32832a5e0b7a0ddde078cb066d6e09.tar.xz
netperf: remove old package
It has been in staging for more than one year. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--patches/netperf-2.7.0/0001-fix-inlining.patch46
-rw-r--r--patches/netperf-2.7.0/series4
-rw-r--r--rules/netperf.in14
-rw-r--r--rules/netperf.make74
4 files changed, 0 insertions, 138 deletions
diff --git a/patches/netperf-2.7.0/0001-fix-inlining.patch b/patches/netperf-2.7.0/0001-fix-inlining.patch
deleted file mode 100644
index 1e6689da7..000000000
--- a/patches/netperf-2.7.0/0001-fix-inlining.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 68cfbafb9f239950065e6a0ed7ca60c12668740f Mon Sep 17 00:00:00 2001
-From: Clemens Gruber <clemens.gruber@pqgruber.com>
-Date: Thu, 15 Dec 2016 16:14:01 +0100
-Subject: [PATCH] fix inlining
-
-Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
----
- src/netlib.c | 14 +-------------
- 1 file changed, 1 insertion(+), 13 deletions(-)
-
-diff --git a/src/netlib.c b/src/netlib.c
-index f3a3fe5e00ab..4465d0f1b5f3 100644
---- a/src/netlib.c
-+++ b/src/netlib.c
-@@ -3997,11 +3997,7 @@ void demo_stream_setup(uint32_t a, uint32_t b) {
- }
- }
-
--#ifdef WIN32
--__forceinline void demo_interval_display(double actual_interval)
--#else
-- inline void demo_interval_display(double actual_interval)
--#endif
-+void demo_interval_display(double actual_interval)
- {
- static int count = 0;
- struct timeval now;
-@@ -4060,15 +4056,7 @@ __forceinline void demo_interval_display(double actual_interval)
- important compilers have supported such a construct so it should
- not be a big deal. raj 2012-01-23 */
-
--#ifdef WIN32
--/* It would seem that the Microsoft compiler will not inline across
-- source files. So there is little point in having an inline
-- directive in that situation. Of course that makes me wonder if an
-- inline directive has to appear in netlib.h... */
- void demo_interval_tick(uint32_t units)
--#else
-- inline void demo_interval_tick(uint32_t units)
--#endif
- {
- double actual_interval = 0.0;
-
---
-2.10.2
-
diff --git a/patches/netperf-2.7.0/series b/patches/netperf-2.7.0/series
deleted file mode 100644
index 54488afdf..000000000
--- a/patches/netperf-2.7.0/series
+++ /dev/null
@@ -1,4 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-fix-inlining.patch
-# ce464498af68ff457cdb324c32f1c72b - git-ptx-patches magic
diff --git a/rules/netperf.in b/rules/netperf.in
deleted file mode 100644
index 61a7a3935..000000000
--- a/rules/netperf.in
+++ /dev/null
@@ -1,14 +0,0 @@
-## SECTION=staging
-## old section:
-### SECTION=networking
-
-config NETPERF
- tristate
- prompt "netperf"
- select LIBC_M
- help
- netperf is a benchmark that can be used to measure the
- performance of many different types of networking.
-
- STAGING: remove in ptxdist-2021.06.0
- Upstream seems to be dead and fails to build with gcc 10.
diff --git a/rules/netperf.make b/rules/netperf.make
deleted file mode 100644
index dc9042445..000000000
--- a/rules/netperf.make
+++ /dev/null
@@ -1,74 +0,0 @@
-# -*-makefile-*-
-#
-# Copyright (C) 2016 by Clemens Gruber <clemens.gruber@pqgruber.com>
-#
-# For further information about the PTXdist project and license conditions
-# see the README file.
-#
-
-#
-# We provide this package
-#
-PACKAGES-$(PTXCONF_NETPERF) += netperf
-
-#
-# Paths and names
-#
-NETPERF_VERSION := 2.7.0
-NETPERF_MD5 := e0d45b5bca1eee2aef0155de82366202
-NETPERF := netperf-$(NETPERF_VERSION)
-NETPERF_SUFFIX := tar.gz
-NETPERF_URL := \
- https://github.com/HewlettPackard/netperf/archive/$(NETPERF).$(NETPERF_SUFFIX)
-NETPERF_SOURCE := $(SRCDIR)/$(NETPERF).$(NETPERF_SUFFIX)
-NETPERF_DIR := $(BUILDDIR)/$(NETPERF)
-NETPERF_LICENSE := HP
-
-# ----------------------------------------------------------------------------
-# Prepare
-# ----------------------------------------------------------------------------
-
-#
-# autoconf
-#
-NETPERF_CONF_TOOL := autoconf
-NETPERF_CONF_OPT := \
- $(CROSS_AUTOCONF_USR) \
- $(GLOBAL_LARGE_FILE_OPTION) \
- --disable-histogram \
- --disable-dirty \
- --enable-demo \
- --disable-unixdomain \
- --disable-dlpi \
- --disable-dccp \
- --enable-omni \
- --disable-xti \
- --disable-sdp \
- --disable-exs \
- --disable-sctp \
- --disable-intervals \
- --disable-spin \
- --enable-burst \
- --enable-cpuutil=procstat
-
-# ----------------------------------------------------------------------------
-# Target-Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/netperf.targetinstall:
- @$(call targetinfo)
-
- @$(call install_init, netperf)
- @$(call install_fixup, netperf, PRIORITY, optional)
- @$(call install_fixup, netperf, SECTION, base)
- @$(call install_fixup, netperf, AUTHOR, "Clemens Gruber <clemens.gruber@pqgruber.com>")
- @$(call install_fixup, netperf, DESCRIPTION, missing)
-
- @$(call install_alternative, netperf, 0, 0, 0755, /usr/bin/netperf)
- @$(call install_alternative, netperf, 0, 0, 0755, /usr/bin/netserver)
-
- @$(call install_finish, netperf)
-
- @$(call touch)
-
-# vim: syntax=make