aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
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
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')
-rw-r--r--benchmarks/sipp/Makefile21
-rw-r--r--benchmarks/sipp/distinfo4
-rw-r--r--benchmarks/sipp/files/patch-Makefile28
-rw-r--r--benchmarks/sipp/files/patch-sipp.cpp22
4 files changed, 49 insertions, 26 deletions
diff --git a/benchmarks/sipp/Makefile b/benchmarks/sipp/Makefile
index 12c7c8eb8a24..bd65692d5474 100644
--- a/benchmarks/sipp/Makefile
+++ b/benchmarks/sipp/Makefile
@@ -6,14 +6,14 @@
#
PORTNAME= sipp
-PORTVERSION= 3.1.20090729
-PORTREVISION= 1
+PORTVERSION= 3.3
CATEGORIES= benchmarks net
-MASTER_SITES= http://sipp.sourceforge.net/snapshots/
-DISTNAME= ${PORTNAME}.2009-07-29
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= sipp/sipp/${PORTVERSION}
+DISTNAME= ${PORTNAME}-3.3beta2
MAINTAINER= tut@nhamon.com.ua
-COMMENT= SIP testing tool
+COMMENT= SIP benchmarking and testing tool
LICENSE= GPLv2
@@ -24,7 +24,7 @@ USE_GMAKE= yes
CPP= ${CXX}
MAKE_ENV+= CCLINK="${CXX}"
CPPFLAGS+= ${CXXFLAGS}
-WRKSRC= ${WRKDIR}/sipp.svn
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS= OPENSSL "OpenSSL support (for digest auth and SIP over TLS)" on \
GSL "GSL support (for statistical distributed pauses)" off \
@@ -41,10 +41,11 @@ MAKE_ENV+= EXTRACPPFLAGS=-DHAVE_GSL \
.endif #defined(WITH_GSL)
.if defined(WITH_PCAPPLAY)
-PCAP_FILES= dtmf_2833_1.pcap dtmf_2833_2.pcap dtmf_2833_3.pcap \
- dtmf_2833_4.pcap dtmf_2833_5.pcap dtmf_2833_6.pcap \
- dtmf_2833_7.pcap dtmf_2833_8.pcap dtmf_2833_9.pcap \
- dtmf_2833_pound.pcap dtmf_2833_star.pcap g711a.pcap
+PCAP_FILES= dtmf_2833_0.pcap dtmf_2833_1.pcap dtmf_2833_2.pcap \
+ dtmf_2833_3.pcap dtmf_2833_4.pcap dtmf_2833_5.pcap \
+ dtmf_2833_6.pcap dtmf_2833_7.pcap dtmf_2833_8.pcap \
+ dtmf_2833_9.pcap dtmf_2833_pound.pcap dtmf_2833_star.pcap \
+ g711a.pcap
PLIST_DIRS= %%DATADIR%%/pcap \
%%DATADIR%%
diff --git a/benchmarks/sipp/distinfo b/benchmarks/sipp/distinfo
index d0a5af688b27..1424c26e99c5 100644
--- a/benchmarks/sipp/distinfo
+++ b/benchmarks/sipp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (sipp.2009-07-29.tar.gz) = 25624e6c3108df0acb8aaaed1cf36696721cd4017ce97cc678857a7e47d41822
-SIZE (sipp.2009-07-29.tar.gz) = 225486
+SHA256 (sipp-3.3beta2.tar.gz) = 998fbffa84107a6c7113dc1f801c449648f415fabb3fb3cf0f6620afeef6dd9a
+SIZE (sipp-3.3beta2.tar.gz) = 240886
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"