cf5772
Name:    lksctp-tools
cf5772
Summary: User-space access to Linux Kernel SCTP
cf5772
Version: 1.0.19
3262c5
Release: 2%{?dist}
cf5772
# src/apps/bindx_test.C is GPLv2, I've asked upstream for clarification
cf5772
License: GPLv2 and GPLv2+ and LGPLv2 and MIT
cf5772
Group:   System Environment/Libraries
cf5772
URL:     http://lksctp.sourceforge.net
cf5772
cf5772
Source0: https://github.com/sctp/lksctp-tools/archive/%{name}-%{version}.tar.gz
3262c5
Patch0: lksctp-tools-1.0.19-libdir.patch
3262c5
Patch1: myftp-replace-use-of-deprecated-gethostbyname-with-g.patch
3262c5
Patch2: sctp_xconnect-replace-use-of-deprecated-gethostbynam.patch
3262c5
Patch3: sctp_test-replace-use-of-deprecated-gethostbyname-wi.patch
3262c5
Patch4: sctp_darn-replace-use-of-deprecated-gethostbyname-wi.patch
cf5772
BuildRequires: libtool, automake, autoconf, make
cf5772
cf5772
%description
cf5772
This is the lksctp-tools package for Linux Kernel SCTP (Stream Control
cf5772
Transmission Protocol) Reference Implementation.
cf5772
cf5772
This package is intended to supplement the Linux Kernel SCTP Reference
cf5772
Implementation now available in the Linux kernel source tree in
cf5772
versions 2.5.36 and following.  For more information on LKSCTP see the
cf5772
package documentation README file, section titled "LKSCTP - Linux
cf5772
Kernel SCTP."
cf5772
cf5772
This package contains the base run-time library and command-line tools.
cf5772
cf5772
%package devel
cf5772
Summary: Development files for lksctp-tools
cf5772
Group: Development/Libraries
cf5772
Requires: %{name}%{?_isa} = %{version}-%{release}
cf5772
cf5772
%description devel
cf5772
Development files for lksctp-tools which include man pages, header files,
cf5772
static libraries, symlinks to dynamic libraries and some tutorial source code.
cf5772
cf5772
%package doc
cf5772
Summary: Documents pertaining to SCTP
cf5772
Group: System Environment/Libraries
cf5772
Requires: %{name}%{?_isa} = %{version}-%{release}
cf5772
cf5772
%description doc
cf5772
Documents pertaining to LKSCTP & SCTP in general (IETF RFC's & Internet
cf5772
Drafts).
cf5772
cf5772
%prep
cf5772
%setup -q -n %{name}-%{name}-%{version}
cf5772
%patch0 -p1
cf5772
%patch1 -p1
cf5772
%patch2 -p1
cf5772
%patch3 -p1
3262c5
%patch4 -p1
cf5772
cf5772
%build
cf5772
[ ! -x ./configure ] && sh bootstrap
cf5772
%configure --disable-static
cf5772
# remove rpath from libtool
cf5772
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
cf5772
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
cf5772
cf5772
%make_build
cf5772
cf5772
%install
cf5772
rm -f doc/rfc2960.txt doc/states.txt
cf5772
%make_install
cf5772
cf5772
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
cf5772
cf5772
%files
cf5772
%doc AUTHORS ChangeLog COPYING* README
cf5772
%{_bindir}/*
cf5772
%{_libdir}/libsctp.so.1*
cf5772
%dir %{_libdir}/lksctp-tools/
cf5772
%{_libdir}/lksctp-tools/libwithsctp.so.1*
cf5772
%{_mandir}/man7/*
cf5772
cf5772
%files devel
cf5772
%{_includedir}/*
cf5772
%{_libdir}/libsctp.so
cf5772
%{_libdir}/pkgconfig/libsctp.pc
cf5772
%{_libdir}/lksctp-tools/libwithsctp.so
cf5772
%{_datadir}/lksctp-tools/
cf5772
%{_mandir}/man3/*
cf5772
cf5772
%files doc
cf5772
%doc doc/*.txt
cf5772
cf5772
%changelog
3262c5
* Tue Apr 12 2022 Xin Long <lxin@redhat.com> - 1.0.19-2
3262c5
- Bring back one RHEL specific patch to fix the installation issue.
3262c5
  Related: rhbz#2031786
3262c5
cf5772
* Wed Nov 17 2021 Xin Long <lxin@redhat.com> - 1.0.19-1
cf5772
- Rebase to 1.0.19 and append the fixes for gethostbyname.
cf5772
  Related: rhbz#1982820
cf5772
cf5772
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.18-11
cf5772
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
cf5772
  Related: rhbz#1991688
cf5772
cf5772
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.18-10
cf5772
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
cf5772
cf5772
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-9
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
cf5772
cf5772
* Wed Sep 09 2020 Jeff Law <law@redhat.com> - 1.0.18-8
cf5772
- Use symver attribute for symbol versioning.  Re-enable LTO
cf5772
cf5772
* Wed Aug 19 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.0.18-7
cf5772
- Drop useless ldconfig scriptlets
cf5772
cf5772
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-6
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
cf5772
cf5772
* Wed Jul 01 2020 Jeff Law <law@redhat.com> - 1.0.18-5
cf5772
- Disable LTO
cf5772
cf5772
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-4
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
cf5772
cf5772
* Fri Oct 18 2019 Vit Mojzis <vmojzis@redhat.com> - 1.0.18-3
cf5772
- Added a patch to fix netinet/sctp.h not to be installed.
cf5772
- Added some fixes for kernel feature detection.
cf5772
- Updated to 1.0.18. [1568622]
cf5772
cf5772
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-12
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
cf5772
cf5772
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-11
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
cf5772
cf5772
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-10
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
cf5772
cf5772
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-9
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cf5772
cf5772
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-8
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
cf5772
cf5772
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-7
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
cf5772
cf5772
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-6
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cf5772
cf5772
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-5
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cf5772
cf5772
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.16-4
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
cf5772
cf5772
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.16-3
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
cf5772
cf5772
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.16-2
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
cf5772
cf5772
* Tue May  6 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.16-1
cf5772
- Update to 1.0.16
cf5772
- Spec cleanups
cf5772
cf5772
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.15-2
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
cf5772
cf5772
* Sun May 12 2013 Daniel Borkmann <dborkman@redhat.com> - 1.0.15-1
cf5772
- Update to 1.0.15
cf5772
cf5772
* Tue Apr 09 2013 Daniel Borkmann <dborkman@redhat.com> - 1.0.14-1
cf5772
- Update to 1.0.14
cf5772
cf5772
* Fri Jan 25 2013 Daniel Borkmann <dborkman@redhat.com> - 1.0.13-1
cf5772
- Update to 1.0.13
cf5772
cf5772
* Mon Jan 21 2013 Jan Safranek <jsafrane@redhat.com> - 1.0.12-1
cf5772
- Update to 1.0.12
cf5772
cf5772
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.11-5
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cf5772
cf5772
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.11-4
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cf5772
cf5772
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.11-3
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
cf5772
cf5772
* Tue Oct 05 2010 Parag Nemade <paragn AT fedoraproject.org> - 1.0.11-2
cf5772
- Merge-review cleanup (#226100)
cf5772
cf5772
* Tue Dec  1 2009 Jan Safranek <jsafrane@redhat.com> 1.0.11-1
cf5772
- Update to 1.0.11
cf5772
- Remove rpath from compiled binaries
cf5772
- Remove static libraries
cf5772
cf5772
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-2
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cf5772
cf5772
* Tue Apr 14 2009 Zdenek Prikryl <zprikryl@redhat.com> 1.0.10-1
cf5772
- added release tag to Requires of devel and doc packages (#492531)
cf5772
- Update to 1.0.10
cf5772
cf5772
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-2
cf5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
cf5772
cf5772
* Wed Aug 06 2008 Zdenek Prikryl <zprikryl@redhat.com> 1.0.9-1
cf5772
- Update to 1.0.9
cf5772
cf5772
* Wed Jul 16 2008 Zdenek Prikryl <zprikryl@redhat.com> 1.0.8-1
cf5772
- Update to 1.0.8
cf5772
cf5772
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.7-3
cf5772
- Autorebuild for GCC 4.3
cf5772
cf5772
* Wed Aug 29 2007 Karsten Hopp <karsten@redhat.com> 1.0.7-2
cf5772
- rebuild for buildid
cf5772
cf5772
* Wed Aug 08 2007 Karsten Hopp <karsten@redhat.com> 1.0.7-1
cf5772
- update to 1.0.7
cf5772
- update license tag
cf5772
cf5772
* Wed Feb 21 2007 Karsten Hopp <karsten@redhat.com> 1.0.6-3
cf5772
- add post/postun requirements
cf5772
- review fixes
cf5772
cf5772
* Tue Sep 19 2006 Karsten Hopp <karsten@redhat.de> 1.0.6-2
cf5772
- fix fileconflict (#205225)
cf5772
cf5772
* Tue Jul 25 2006 Karsten Hopp <karsten@redhat.de> 1.0.6-1
cf5772
- update to 1.0.6
cf5772
cf5772
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.fc5.2.1
cf5772
- rebuild
cf5772
cf5772
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.fc5.2
cf5772
- bump again for double-long bug on ppc(64)
cf5772
cf5772
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.fc5.1
cf5772
- rebuilt for new gcc4.1 snapshot and glibc changes
cf5772
cf5772
* Tue Jan 24 2006 Warren Togami <wtogami@redhat.com> 1.0.5-1
cf5772
- 1.0.5
cf5772
cf5772
* Fri Nov 11 2005 Matthias Saou <http://freshrpms.net/> 1.0.4-1
cf5772
- Update to 1.0.4.
cf5772
- Update syntax patch.
cf5772
- Execute bootstrap if no configure script is found.
cf5772
- Don't own entire man? directories.
cf5772
- Own data and lib lksctp-tools directories.
cf5772
- Move devel libs in _libdir/lksctp-tools/ to devel package.
cf5772
- Exclude .la files.
cf5772
- Minor spec file cleanups.
cf5772
cf5772
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-5
cf5772
- build with gcc-4
cf5772
cf5772
* Mon Feb 07 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-4
cf5772
- initialize variable before use
cf5772
- fix subscript out of range bug (#147286)
cf5772
cf5772
* Mon Jan 24 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-3
cf5772
- build for FC
cf5772
cf5772
* Mon Jan 24 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-2.40E.1
cf5772
- initial RH version based on sourceforge rpm
cf5772
cf5772
* Thu Dec 30 2004 Sridhar Samudrala <sri@us.ibm.com> 1.0.2-1
cf5772
- 1.0.2 Release
cf5772
cf5772
* Tue May 11 2004 Sridhar Samudrala <sri@us.ibm.com> 1.0.1-1
cf5772
- 1.0.1 Release
cf5772
cf5772
* Thu Feb 26 2004 Sridhar Samudrala <sri@us.ibm.com> 1.0.0-1
cf5772
- 1.0.0 Release
cf5772
cf5772
* Fri Feb  6 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 0.9.0-1
cf5772
- package only .txt doc files
cf5772
cf5772
* Wed Feb  4 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 0.7.5-1
cf5772
- badly placed & undelivered files
cf5772
- simplified delivery list
cf5772
cf5772
* Tue Jan 27 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 0.7.5-1
cf5772
- Integrate comment from project team
cf5772
cf5772
* Sat Jan 10 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 2.6.0_test7_0.7.4-1
cf5772
- Creation