aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/sipp/files
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-02-10 15:58:28 +0800
committermiwi <miwi@FreeBSD.org>2013-02-10 15:58:28 +0800
commit67603c6845c51b82a6c21bd49542184d706c832b (patch)
tree516f01bf0892c7ebd2381b56b9c0f9f2f2813788 /benchmarks/sipp/files
parent30feb45a65fd6f586fd96cbb563b14884592bec1 (diff)
downloadfreebsd-ports-gnome-67603c6845c51b82a6c21bd49542184d706c832b.tar.gz
freebsd-ports-gnome-67603c6845c51b82a6c21bd49542184d706c832b.tar.zst
freebsd-ports-gnome-67603c6845c51b82a6c21bd49542184d706c832b.zip
- Update to 3.3
PR: 175992 Submitted by: Artem Naluzhnyy <tut@nhamon.com.ua> (maintainer)
Diffstat (limited to 'benchmarks/sipp/files')
-rw-r--r--benchmarks/sipp/files/patch-Makefile28
-rw-r--r--benchmarks/sipp/files/patch-sipp.cpp22
2 files changed, 36 insertions, 14 deletions
diff --git a/benchmarks/sipp/files/patch-Makefile b/benchmarks/sipp/files/patch-Makefile
index 1eb0712eaf44..cd642263d995 100644
--- a/benchmarks/sipp/files/patch-Makefile
+++ b/benchmarks/sipp/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2008-04-11 15:26:37.000000000 +0300
-+++ Makefile 2008-05-06 20:11:59.000000000 +0300
+--- Makefile.orig 2013-01-10 22:58:10.000000000 +0000
++++ Makefile 2013-02-09 19:53:19.000000000 +0000
@@ -18,10 +18,6 @@
# From Hewlett Packard Company.
#
@@ -11,7 +11,7 @@
# Output binary to be built
OUTPUT=sipp
-@@ -71,7 +67,7 @@
+@@ -73,7 +69,7 @@
CC_SunOS=gcc
CC_Cygwin=cc
CC_Darwin=cc
@@ -20,7 +20,7 @@
# C++ compiler mapping
CPP_hpux=aCC
-@@ -81,7 +77,7 @@
+@@ -83,7 +79,7 @@
CPP_SunOS=g++
CPP_Cygwin=g++
CPP_Darwin=g++
@@ -29,25 +29,25 @@
#Model specific flags
MFLAGS_ia64=+DD64
-@@ -104,7 +100,7 @@
+@@ -106,7 +102,7 @@
CFLAGS_SunOS=${DEBUG_FLAGS} -D__SUNOS
CFLAGS_Cygwin=-D__CYGWIN -Dsocklen_t=int
CFLAGS_Darwin=-D__DARWIN
--CFLAGS=$(CFLAGS_$(SYSTEM)) $(VERINFO) $(TLS) $(PCAPPLAY) $(EXTRACFLAGS)
-+CFLAGS+=$(CFLAGS_$(SYSTEM)) $(VERINFO) $(TLS) $(PCAPPLAY) $(EXTRACFLAGS)
+-CFLAGS=$(CFLAGS_$(SYSTEM)) $(VERINFO) $(TLS) $(SCTP) $(PCAPPLAY) $(EXTRACFLAGS) $(UNITTEST)
++CFLAGS+=$(CFLAGS_$(SYSTEM)) $(VERINFO) $(TLS) $(SCTP) $(PCAPPLAY) $(EXTRACFLAGS) $(UNITTEST)
#C++ Compiler Flags
CPPFLAGS_hpux=-AA -mt -D__HPUX -D_INCLUDE_LONGLONG -DNOMACROS +W829
-@@ -114,7 +110,7 @@
+@@ -116,7 +112,7 @@
CPPFLAGS_SunOS=${DEBUG_FLAGS} -D__SUNOS
CPPFLAGS_Cygwin=-D__CYGWIN -Dsocklen_t=int
CPPFLAGS_Darwin=-D__DARWIN
--CPPFLAGS=$(CPPFLAGS_$(SYSTEM)) $(VERINFO) $(TLS) $(PCAPPLAY) $(EXTRACPPFLAGS)
-+CPPFLAGS+=$(CPPFLAGS_$(SYSTEM)) $(VERINFO) $(TLS) $(PCAPPLAY) $(EXTRACPPFLAGS)
+-CPPFLAGS=$(CPPFLAGS_$(SYSTEM)) $(VERINFO) $(TLS) $(SCTP) $(PCAPPLAY) $(EXTRACPPFLAGS) $(UNITTEST)
++CPPFLAGS+=$(CPPFLAGS_$(SYSTEM)) $(VERINFO) $(TLS) $(SCTP) $(PCAPPLAY) $(EXTRACPPFLAGS) $(UNITTEST)
#Linker mapping
CCLINK_hpux=aCC
-@@ -124,7 +120,7 @@
+@@ -126,7 +122,7 @@
CCLINK_SunOS=gcc
CCLINK_Cygwin=g++
CCLINK_Darwin=g++
@@ -56,12 +56,12 @@
#Linker Flags
LFLAGS_hpux=-AA -mt
-@@ -156,8 +152,6 @@
+@@ -158,8 +154,6 @@
INCDIR_Darwin=-I. -I/usr/local/ssl/include
INCDIR=$(INCDIR_$(SYSTEM))
--include local.mk
-
- # Building without TLS and authentication (no openssl pre-requisite)
+ # Building without TLS (no openssl pre-requisite)
all:
- make OSNAME=`uname|sed -e "s/CYGWIN.*/CYGWIN/"` MODELNAME=`uname -m|sed "s/Power Macintosh/ppc/"` $(OUTPUT)
+ $(MAKE) OSNAME=`uname|sed -e "s/CYGWIN.*/CYGWIN/"` MODELNAME=`uname -m|sed "s/Power Macintosh/ppc/"` $(OUTPUT)
diff --git a/benchmarks/sipp/files/patch-sipp.cpp b/benchmarks/sipp/files/patch-sipp.cpp
new file mode 100644
index 000000000000..a12b0481b589
--- /dev/null
+++ b/benchmarks/sipp/files/patch-sipp.cpp
@@ -0,0 +1,22 @@
+--- sipp.cpp.orig 2013-02-09 20:03:03.000000000 +0000
++++ sipp.cpp 2013-02-09 20:10:27.000000000 +0000
+@@ -4622,7 +4622,7 @@
+ }
+ exit(EXIT_OTHER);
+ case SIPP_OPTION_VERSION:
+- printf("\n SIPp v3.3-beta2"
++ printf("\n SIPp v3.3"
+ #ifdef _USE_OPENSSL
+ "-TLS"
+ #endif
+@@ -4632,8 +4632,8 @@
+ #ifdef PCAPPLAY
+ "-PCAP"
+ #endif
+- ", version %s, built %s, %s.\n\n",
+- SIPP_VERSION, __DATE__, __TIME__);
++ ", built %s, %s.\n\n",
++ __DATE__, __TIME__);
+
+ printf
+ (" This program is free software; you can redistribute it and/or\n"