X.org updated to 7.5.
- New packages: librsync, lmbench, squid
+ New packages: librsync, lmbench, netperf, squid
Updated/fixed packages: busybox, dosfstools, e2fsprogs,
freetype, iperf, less, libglib2, libpng, mdadm, memstat,
#661: lmbench: new package
#800: [PATCH] iperf update to 2.0.4
#805: [PATCH] mdadm - version update
+ #1105: Add new netperf package
#1111: Bump wget to 1.12 and migrate to Makefile.autotools.in
#1117: Bump nano to 2.2.3 and migrate to Makefile.autotools.in
#1123: Bump less to 436 and migrate to Makefile.autotools.in
source "package/netkitbase/Config.in"
source "package/netkittelnet/Config.in"
endif
+source "package/netperf/Config.in"
source "package/netplug/Config.in"
source "package/netsnmp/Config.in"
source "package/netstat-nat/Config.in"
--- /dev/null
+config BR2_PACKAGE_NETPERF
+ bool "netperf"
+ help
+ Network performance benchmark tool
+
+ http://www.netperf.org/
--- /dev/null
+#############################################################
+#
+# netperf
+#
+#############################################################
+
+NETPERF_VERSION = 2.4.5
+NETPERF_SITE = ftp://ftp.netperf.org/netperf
+NETPERF_CONF_ENV = ac_cv_func_setpgrp_void=set
+
+$(eval $(call AUTOTARGETS,package,netperf))
+
+$(NETPERF_TARGET_INSTALL_TARGET):
+ $(call MESSAGE,"Installing to target")
+ $(INSTALL) -m 0755 $(NETPERF_DIR)/src/netperf \
+ $(TARGET_DIR)/usr/bin/netperf
+ $(INSTALL) -m 0755 $(NETPERF_DIR)/src/netserver \
+ $(TARGET_DIR)/usr/bin/netserver
+ touch $@
+
+$(NETPERF_TARGET_UNINSTALL):
+ $(call MESSAGE,"Uninstalling")
+ rm -f $(TARGET_DIR)/usr/bin/netperf
+ rm -f $(TARGET_DIR)/usr/bin/netserver
+ rm -f $(NETPERF_TARGET_INSTALL_TARGET) $(NETPERF_HOOK_POST_INSTALL)