7ab757 import lksctp-tools-1.0.19-2.el9

Authored and Committed by centosrcm 2 years ago
    import lksctp-tools-1.0.19-2.el9
    
        
SOURCES/lksctp-tools-1.0.19-libdir.patch ADDED
@@ -0,0 +1,10 @@
1
+ --- lksctp-tools-1.0.16/src/withsctp/withsctp.in.orig 2014-02-18 10:42:49.000000000 +0000
2
+ +++ lksctp-tools-1.0.16/src/withsctp/withsctp.in 2014-05-06 12:24:12.931873787 +0100
3
+ @@ -1,6 +1,6 @@
4
+ #!/bin/sh
5
+ # -*- sh -*-
6
+ -LIBDIR=@libdir@/@PACKAGE@
7
+ +LIBDIR=`rpm --eval "%{_libdir}"`/@PACKAGE@
8
+ BINDIR=@bindir@
9
+ LIBVER=@LIBWITHSCTP_CURRENT@.@LIBWITHSCTP_AGE@.@LIBWITHSCTP_REVISION@
10
+ export LD_PRELOAD=${LIBDIR}/libwithsctp.so.${LIBVER}
file modified
+11 -5
SPECS/lksctp-tools.spec CHANGED
@@ -1,17 +1,18 @@
1
1
Name: lksctp-tools
2
2
Summary: User-space access to Linux Kernel SCTP
3
3
Version: 1.0.19
4
- Release: 1%{?dist}
4
+ Release: 2%{?dist}
5
5
# src/apps/bindx_test.C is GPLv2, I've asked upstream for clarification
6
6
License: GPLv2 and GPLv2+ and LGPLv2 and MIT
7
7
Group: System Environment/Libraries
8
8
URL: http://lksctp.sourceforge.net
9
9
10
10
Source0: https://github.com/sctp/lksctp-tools/archive/%{name}-%{version}.tar.gz
11
- Patch0: myftp-replace-use-of-deprecated-gethostbyname-with-g.patch
12
- Patch1: sctp_xconnect-replace-use-of-deprecated-gethostbynam.patch
13
- Patch2: sctp_test-replace-use-of-deprecated-gethostbyname-wi.patch
14
- Patch3: sctp_darn-replace-use-of-deprecated-gethostbyname-wi.patch
11
+ Patch0: lksctp-tools-1.0.19-libdir.patch
12
+ Patch1: myftp-replace-use-of-deprecated-gethostbyname-with-g.patch
13
+ Patch2: sctp_xconnect-replace-use-of-deprecated-gethostbynam.patch
14
+ Patch3: sctp_test-replace-use-of-deprecated-gethostbyname-wi.patch
15
+ Patch4: sctp_darn-replace-use-of-deprecated-gethostbyname-wi.patch
15
16
BuildRequires: libtool, automake, autoconf, make
16
17
17
18
%description
@@ -50,6 +51,7 @@ Drafts).
50
51
%patch1 -p1
51
52
%patch2 -p1
52
53
%patch3 -p1
54
+ %patch4 -p1
53
55
54
56
%build
55
57
[ ! -x ./configure ] && sh bootstrap
@@ -86,6 +88,10 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -delete
86
88
%doc doc/*.txt
87
89
88
90
%changelog
91
+ * Tue Apr 12 2022 Xin Long <lxin@redhat.com> - 1.0.19-2
92
+ - Bring back one RHEL specific patch to fix the installation issue.
93
+ Related: rhbz#2031786
94
+
89
95
* Wed Nov 17 2021 Xin Long <lxin@redhat.com> - 1.0.19-1
90
96
- Rebase to 1.0.19 and append the fixes for gethostbyname.
91
97
Related: rhbz#1982820