Ticket #1135: netpipe.patch

Datei netpipe.patch, 3.1 KB (hinzugefügt von sf3978, vor 7 Jahren)
  • make/NetPIPE

    diff -Naur '--exclude=.*' make/NetPIPE.orig/Config.in make/NetPIPE/Config.in
    old new  
     1config FREETZ_PACKAGE_NETPIPE 
     2    bool "NetPIPE 3.7.1 (binary only)" 
     3    default n 
     4    help 
     5        NetPIPE is a protocol independent performance tool that visually 
     6            represents the network performance under a variety of conditions. It 
     7            performs simple ping-pong tests, bouncing messages of increasing size 
     8            between two processes, whether across a network or within an SMP 
     9            system. Message sizes are chosen at regular intervals, and with slight 
     10            perturbations, to provide a complete test of the communication system. 
     11            Each data point involves many ping-pong tests to provide an accurate 
     12            timing. Latencies are calculated by dividing the round trip time in 
     13            half for small messages ( < 64 Bytes ). 
     14        WWW: http://www.scl.ameslab.gov/netpipe/ 
  • external.files

    diff -Naur '--exclude=.*' make/NetPIPE.orig/external.files make/NetPIPE/external.files
    old new  
     1[ "$EXTERNAL_FREETZ_PACKAGE_NETPIPE" == "y" ] && EXTERNAL_FILES+=" /usr/bin/NPtcp" 
  • external.in

    diff -Naur '--exclude=.*' make/NetPIPE.orig/external.in make/NetPIPE/external.in
    old new  
     1config EXTERNAL_FREETZ_PACKAGE_NETPIPE 
     2    depends on EXTERNAL_ENABLED && FREETZ_PACKAGE_NETPIPE 
     3    bool "NetPIPE" 
     4    default n 
     5    help 
     6        externals these file(s): 
     7         /usr/bin/NPtcp 
  • Makefile.in

    diff -Naur '--exclude=.*' make/NetPIPE.orig/Makefile.in make/NetPIPE/Makefile.in
    old new  
     1ifeq ($(strip $(FREETZ_PACKAGE_NETPIPE)),y) 
     2PACKAGES+=NetPIPE 
     3endif 
  • make/NetPIPE

    diff -Naur '--exclude=.*' make/NetPIPE.orig/NetPIPE.mk make/NetPIPE/NetPIPE.mk
    old new  
     1$(call PKG_INIT_BIN, 3.7.1) 
     2$(PKG)_SOURCE:=$(pkg)-$($(PKG)_VERSION).tar.gz 
     3$(PKG)_SOURCE_MD5:=cc458a9154f6b8c6da9fae16627beec4 
     4$(PKG)_SITE:=http://www.scl.ameslab.gov/netpipe/code 
     5 
     6$(PKG)_BINARIES:=NPtcp 
     7$(PKG)_BINARIES_BUILD_DIR:=$($(PKG)_BINARIES:%=$($(PKG)_DIR)/%) 
     8$(PKG)_BINARIES_TARGET_DIR:=$($(PKG)_BINARIES:%=$($(PKG)_DEST_DIR)/usr/bin/%) 
     9 
     10$(PKG_SOURCE_DOWNLOAD) 
     11$(PKG_UNPACKED) 
     12$(PKG_CONFIGURED_NOP) 
     13 
     14$($(PKG)_BINARIES_BUILD_DIR): $($(PKG)_DIR)/.configured 
     15    $(SUBMAKE) -C $(NETPIPE_DIR) \ 
     16        CC="$(TARGET_CC)" \ 
     17        CFLAGS="$(TARGET_CFLAGS)" 
     18 
     19$($(PKG)_BINARIES_TARGET_DIR): $($(PKG)_DEST_DIR)/usr/bin/%: $($(PKG)_DIR)/% 
     20    $(INSTALL_BINARY_STRIP) 
     21 
     22$(pkg): 
     23 
     24$(pkg)-precompiled: $($(PKG)_BINARIES_TARGET_DIR) 
     25 
     26$(pkg)-clean: 
     27    -$(SUBMAKE) -C $(NETPIPE_DIR) clean 
     28    $(RM) $(NETPIPE_DIR)/.configured 
     29 
     30$(pkg)-uninstall: 
     31    $(RM) $(NETPIPE_BINARIES_TARGET_DIR) 
     32 
     33$(PKG_FINISH)