]> git.pld-linux.org Git - packages/sipp.git/commitdiff
Version: 3.3
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 17 May 2013 10:15:58 +0000 (12:15 +0200)
committerJacek Konieczny <jajcus@jajcus.net>
Fri, 17 May 2013 10:15:58 +0000 (12:15 +0200)
sipp-sprintf.patch [new file with mode: 0644]
sipp.spec

diff --git a/sipp-sprintf.patch b/sipp-sprintf.patch
new file mode 100644 (file)
index 0000000..176065a
--- /dev/null
@@ -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);
index 9d329687ab9f961cec6b59b7087104f5b1714240..e580d0643eb59fa1096fb1ead3ba7e26df71cbd9 100644 (file)
--- 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
 
This page took 0.090117 seconds and 4 git commands to generate.