[packages/sipp] Version: 3.3

jajcus jajcus at pld-linux.org
Fri May 17 12:16:05 CEST 2013


commit aaa207f12f5d5127a9201d0c8905c73806863c42
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Fri May 17 12:15:58 2013 +0200

    Version: 3.3

 sipp-sprintf.patch | 12 ++++++++++++
 sipp.spec          | 12 +++++++-----
 2 files changed, 19 insertions(+), 5 deletions(-)
---
diff --git a/sipp.spec b/sipp.spec
index 9d32968..e580d06 100644
--- a/sipp.spec
+++ b/sipp.spec
@@ -1,13 +1,14 @@
 #
 Summary:	SIPp - a performance testing tool for the SIP protocol
 Name:		sipp
-Version:	3.0
-Release:	5
+Version:	3.3
+Release:	1
 License:	GPL v2+ except two files under BSD
 Group:		Applications
-Source0:	http://dl.sourceforge.net/sipp/%{name}-%{version}.src.tar.gz
-# Source0-md5:	31906c63eb5efa09e0b148c27435cdac
+Source0:	http://dl.sourceforge.net/sipp/%{name}-%{version}.tar.xz
+# Source0-md5:	f0c4f472fa86de8a528cb91616323617
 Patch0:		%{name}-headers.patch
+Patch1:		%{name}-sprintf.patch
 URL:		http://sipp.sourceforge.net/
 BuildRequires:	libpcap-devel
 BuildRequires:	libstdc++-devel
@@ -32,8 +33,9 @@ very useful to emulate thousands of user agents calling your SIP
 system.
 
 %prep
-%setup -q -n %{name}-%{version}.src
+%setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 
diff --git a/sipp-sprintf.patch b/sipp-sprintf.patch
new file mode 100644
index 0000000..176065a
--- /dev/null
+++ b/sipp-sprintf.patch
@@ -0,0 +1,12 @@
+diff -dur sipp-3.3.orig/stat.cpp sipp-3.3/stat.cpp
+--- sipp-3.3.orig/stat.cpp	2012-12-22 02:50:15.000000000 +0100
++++ sipp-3.3/stat.cpp	2013-05-17 12:11:26.000000000 +0200
+@@ -1148,7 +1148,7 @@
+     {
+       // if a repartition is present, this field match the repartition name
+       repartitionInfo = (char *)realloc(repartitionInfo, dlen + 1);
+-      sprintf(repartitionInfo, stat_delimiter);
++      strcpy(stat_delimiter, repartitionInfo);
+       for(int i=0; i<(sizeOfTab-1); i++)
+         {   
+           sprintf(buffer, "%lu%s", tabRepartition[i].nbInThisBorder, stat_delimiter);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sipp.git/commitdiff/aaa207f12f5d5127a9201d0c8905c73806863c42



More information about the pld-cvs-commit mailing list