Compare commits

..

No commits in common. 'cs10' and 'c9' have entirely different histories.
cs10 ... c9

@ -2,14 +2,13 @@
Name: libsrtp Name: libsrtp
Version: 2.3.0 Version: 2.3.0
Release: 16%{?dist} Release: 8%{?dist}
Summary: An implementation of the Secure Real-time Transport Protocol (SRTP) Summary: An implementation of the Secure Real-time Transport Protocol (SRTP)
License: BSD-3-Clause License: BSD
URL: https://github.com/cisco/libsrtp URL: https://github.com/cisco/libsrtp
Source0: https://github.com/cisco/libsrtp/archive/v%{version}.tar.gz Source0: https://github.com/cisco/libsrtp/archive/v%{version}.tar.gz
BuildRequires: gcc, nss-devel, libpcap-devel BuildRequires: gcc, nss-devel, libpcap-devel
BuildRequires: make BuildRequires: make
BuildRequires: procps-ng
# Fix shared lib so ldconfig doesn't complain # Fix shared lib so ldconfig doesn't complain
Patch0: libsrtp-2.3.0-shared-fix.patch Patch0: libsrtp-2.3.0-shared-fix.patch
# Fix namespace issue in test/util.c # Fix namespace issue in test/util.c
@ -18,7 +17,7 @@ Patch1: libsrtp-2.3.0-test-util.patch
Patch2: libsrtp-2.3.0-shared-test-fix.patch Patch2: libsrtp-2.3.0-shared-test-fix.patch
# Fix issue with NSS 3.63 incompatibility # Fix issue with NSS 3.63 incompatibility
# credit to George Joseph # credit to George Joseph
Patch3: libsrtp-2.3.0-nss-3.63-fix.patch Patch3: libsrtp-2.3.0-nss-3.63-fix.patch
%description %description
This package provides an implementation of the Secure Real-time This package provides an implementation of the Secure Real-time
@ -43,10 +42,10 @@ Tools for testing and decoding SRTP
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
%patch 0 -p1 -b .sharedfix %patch0 -p1 -b .sharedfix
%patch 1 -p1 -b .utilfix %patch1 -p1 -b .utilfix
%patch 2 -p1 -b .test-shared-fix %patch2 -p1 -b .test-shared-fix
%patch 3 -p1 -b .nssfix %patch3 -p1 -b .nssfix
%if 0%{?rhel} > 0 %if 0%{?rhel} > 0
%ifarch ppc64 %ifarch ppc64
@ -75,13 +74,6 @@ install -D -p -m 0755 test/test_srtp %{buildroot}%{_bindir}/test_srtp
%ldconfig_scriptlets %ldconfig_scriptlets
%check
# the test code does by default not use the libsrtp we built here, but the one installed on the system
# force LD_LIBRARY_PATH to use the one built in this spec
export LD_LIBRARY_PATH="%{_builddir}/%{name}-%{version}"
sed -i -e 's#LD_LIBRARY_PATH=.*#LD_LIBRARY_PATH=\"%{_builddir}/%{name}-%{version}\"#' test/rtpw_test.sh test/rtpw_test_gcm.sh
make runtest
%files %files
%license LICENSE %license LICENSE
%doc CHANGES README.md %doc CHANGES README.md
@ -96,39 +88,16 @@ make runtest
%{_bindir}/* %{_bindir}/*
%changelog %changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.3.0-16 * Thu Jul 06 2023 Wim Taymans <wtaymans@redhat.com> - 2.3.0-8
- Bump release for October 2024 mass rebuild: - fix NSS incompatibility, thanks to George Joseph
Resolves: RHEL-64018 Resolves: rhbz#2211526
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.3.0-15
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jul 07 2023 Wim Taymans <wtaymans@redhat.com> - 2.3.0-11
- add %check (thanks to Gerd v. Egidy) Related: rhbz#2163492
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-7 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Apr 15 2021 Tom Callaway <spot@fedoraproject.org> - 2.3.0-6 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.0-6
- fix NSS incompatibility, thanks to George Joseph - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-5 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save