SHA256
1
0
forked from pool/lksctp-tools

Accepting request 150002 from home:msmeissn:branches:network:utilities

- upgraded to 1.0.13 (bugfixes)
  T:BUILD Use silent rules
  T:BUILD Fix build warnings all over the place
  T:APP Fix memory leak in sctp_xconnect
  T:TEST Fix deprecated values in test cases
- lskctp-fixes.patch: implicit warning fix

OBS-URL: https://build.opensuse.org/request/show/150002
OBS-URL: https://build.opensuse.org/package/show/network:utilities/lksctp-tools?expand=0&rev=14
This commit is contained in:
Marcus Meissner 2013-01-28 12:06:11 +00:00 committed by Git OBS Bridge
parent f74cdabdc5
commit 83e531690d
5 changed files with 29 additions and 5 deletions

12
lksctp-fixes.patch Normal file
View File

@ -0,0 +1,12 @@
Index: lksctp-tools-1.0.13/src/withsctp/checksctp.c
===================================================================
--- lksctp-tools-1.0.13.orig/src/withsctp/checksctp.c
+++ lksctp-tools-1.0.13/src/withsctp/checksctp.c
@@ -30,6 +30,7 @@
*/
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a33ba8ea714b0c1bd159b2f8fa78629a103e925c0fa50d5c8b91bef3c3a5987
size 564316

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c681868a95afc420f941d2f7dc6bfe07658de109aba6969c407ddf213c2f2a5
size 564530

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Jan 26 11:01:29 UTC 2013 - meissner@suse.com
- upgraded to 1.0.13 (bugfixes)
T:BUILD Use silent rules
T:BUILD Fix build warnings all over the place
T:APP Fix memory leak in sctp_xconnect
T:TEST Fix deprecated values in test cases
- lskctp-fixes.patch: implicit warning fix
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 21 10:38:43 UTC 2013 - meissner@suse.com Mon Jan 21 10:38:43 UTC 2013 - meissner@suse.com

View File

@ -20,10 +20,11 @@ Name: lksctp-tools
Summary: Utilities for SCTP (Stream Control Transmission Protocol) Summary: Utilities for SCTP (Stream Control Transmission Protocol)
License: LGPL-2.1+ License: LGPL-2.1+
Group: Productivity/Networking/Other Group: Productivity/Networking/Other
Version: 1.0.12 Version: 1.0.13
Release: 0 Release: 0
Url: http://lksctp.sourceforge.net Url: http://lksctp.sourceforge.net
Source0: http://downloads.sourceforge.net/project/lksctp/lksctp-tools/%{name}-%{version}.tar.gz Source0: http://downloads.sourceforge.net/project/lksctp/lksctp-tools/%{name}-%{version}.tar.gz
Patch0: lksctp-fixes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libtool BuildRequires: libtool
@ -51,6 +52,7 @@ transparent multi-homing, and multiple ordered streams of messages.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
autoreconf --force --install autoreconf --force --install
@ -58,7 +60,7 @@ CPPFLAGS="-I`pwd`/include" \
%configure --prefix=/usr \ %configure --prefix=/usr \
--enable-shared \ --enable-shared \
--disable-static --disable-static
make %{?_smp_mflags} make %{?_smp_mflags} V=1
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT