Sync from SUSE:ALP:Source:Standard:1.0 libsrtp revision ebced5ab4d4495e19f9ba199afc49f49
This commit is contained in:
parent
27f269a43f
commit
3215d28252
23
.gitattributes
vendored
23
.gitattributes
vendored
@ -1,23 +0,0 @@
|
|||||||
## Default LFS
|
|
||||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.png filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
|
@ -1 +0,0 @@
|
|||||||
libsrtp1
|
|
BIN
libsrtp-1.6.0.tar.gz
(Stored with Git LFS)
BIN
libsrtp-1.6.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
143
libsrtp.changes
143
libsrtp.changes
@ -1,143 +0,0 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Oct 11 14:39:40 UTC 2017 - vcizek@suse.com
|
|
||||||
|
|
||||||
- remove openssl 1.1 incompatible headers from the -devel package
|
|
||||||
(bsc#1055277#c8)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Oct 9 14:50:42 UTC 2017 - vcizek@suse.com
|
|
||||||
|
|
||||||
- Drop option --enable-openssl which doesn't work with OpenSSL 1.1
|
|
||||||
(bsc#1055277)
|
|
||||||
* this drops GCM support
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Aug 1 12:28:27 UTC 2017 - jengelh@inai.de
|
|
||||||
|
|
||||||
- Update to new upstream release 1.6.0
|
|
||||||
* Fix incorrect result of rdb_increment on overflow
|
|
||||||
* Cipher type cleanup for AES.
|
|
||||||
When libSRTP is compiled with OpenSSL and the AES 256 ICM
|
|
||||||
cipher is used with RTCP, an incorrect initialization vector
|
|
||||||
is formed. This change will break backwards compatibility
|
|
||||||
with older versions (1.5, 2.0) of libSRTP when using the AES
|
|
||||||
256 ICM cipher with OpenSSL for RTCP.
|
|
||||||
* Sequence number incorrectly masked for AES GCM IV.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Nov 21 23:10:26 UTC 2016 - jengelh@inai.de
|
|
||||||
|
|
||||||
- Update descriptions
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Mar 4 07:46:25 UTC 2016 - sor.alexei@meowr.ru
|
|
||||||
|
|
||||||
- Update to 1.5.4:
|
|
||||||
* Use BE byte ordering of RTCP trailer.
|
|
||||||
* Allow zero length payload on unprotect.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Jan 22 18:36:01 UTC 2016 - jengelh@inai.de
|
|
||||||
|
|
||||||
- Update to new upstream release 1.5.3
|
|
||||||
* Maintenance release, including fix for CVE-2015-6360.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jul 29 09:49:32 UTC 2015 - dimstar@opensuse.org
|
|
||||||
|
|
||||||
- Add baselibs.conf: build libsrtp1-32bit, as needed by
|
|
||||||
libmediastreamer_voip4-32bit.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Mar 15 16:35:32 UTC 2015 - sor.alexei@meowr.ru
|
|
||||||
|
|
||||||
- Update to 1.5.2.
|
|
||||||
- Remove srtp-soname.diff as upstream now defines ABI in filenames
|
|
||||||
correctly.
|
|
||||||
- Spec cleanup.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Jan 3 18:49:15 UTC 2015 - jengelh@inai.de
|
|
||||||
|
|
||||||
- Update to new upstream release 1.5.0
|
|
||||||
* Add support for OpenSSL crypto
|
|
||||||
* Add support for AES-GCM crypto suites.
|
|
||||||
* Add user data API to allow user to associate additional data
|
|
||||||
with a SRTP context.
|
|
||||||
- Replace libsrtp-automake.patch by simpler srtp-soname.diff
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Aug 28 06:03:05 UTC 2014 - jengelh@inai.de
|
|
||||||
|
|
||||||
- Relax build restrictions for SLE11 (needs BuildRequires xz to
|
|
||||||
even start, and we can drop dist-xz from the suggestive patch
|
|
||||||
so that automake ~1.10)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Aug 26 21:16:21 UTC 2014 - jengelh@inai.de
|
|
||||||
|
|
||||||
- Update project metadata, and patch description
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Sep 18 18:46:49 CEST 2013 - sbrabec@suse.cz
|
|
||||||
|
|
||||||
- Upgrade to the latest git snapshot of the version 1.4.5 from the
|
|
||||||
new Cisco GIT repository:
|
|
||||||
* support for Encrypted Key Transport (EKT)
|
|
||||||
* AES-256 support
|
|
||||||
* support for packet retransmission
|
|
||||||
* API and ABI changes to support new features
|
|
||||||
* many bug, crash and memory corruption fixes
|
|
||||||
* several security fixes (CVE-2013-2139, bnc#828009)
|
|
||||||
- Increment shared library version, there are incompatible API and
|
|
||||||
ABI changes.
|
|
||||||
- Rename the package to libsrtp, as did the upstream
|
|
||||||
- Port and rename srtp-automake.diff to libsrtp-automake.patch.
|
|
||||||
- Fix headers to not point to private not installed files
|
|
||||||
(bnc#839475).
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Oct 31 20:11:34 UTC 2012 - jengelh@inai.de
|
|
||||||
|
|
||||||
- Fold the pkgconfig file into srtp-automake.diff
|
|
||||||
- Have libsrtp-devel depend on library package
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Oct 31 13:18:09 UTC 2012 - mailaender@opensuse.org
|
|
||||||
|
|
||||||
- Have the package provide a pkg-config file, and run ldconfig
|
|
||||||
for the library package
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Oct 25 15:45:56 UTC 2011 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- Remove redundant %clean section
|
|
||||||
- Add automake patch so as to properly create shared libraries
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Mar 8 16:01:11 UTC 2011 - chris@computersalat.de
|
|
||||||
|
|
||||||
- spec-cleaner
|
|
||||||
- remove author from description
|
|
||||||
- rpmlint: wrong-file-end-of-line-encoding
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Aug 8 12:45:35 UTC 2009 - alexandre@exatati.com.br
|
|
||||||
|
|
||||||
- Version update to 1.4.4 and bzipped source.
|
|
||||||
o sorry but CHANGES file is outdated
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jan 28 16:05:24 CET 2008 - sbrabec@suse.cz
|
|
||||||
|
|
||||||
- Generate package named srtp-devel.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jun 6 01:27:06 CEST 2007 - ro@suse.de
|
|
||||||
|
|
||||||
- suppress devel file warnings, we only have a static lib here
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jun 28 17:30:46 CEST 2006 - sbrabec@suse.cz
|
|
||||||
|
|
||||||
- New SuSE package, version 1.4.2.
|
|
129
libsrtp.spec
129
libsrtp.spec
@ -1,129 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package libsrtp
|
|
||||||
#
|
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
||||||
#
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
|
||||||
# upon. The license for this file, and modifications and additions to the
|
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
|
||||||
# license for the pristine package is not an Open Source License, in which
|
|
||||||
# case the license is the MIT License). An "Open Source License" is a
|
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
|
||||||
# published by the Open Source Initiative.
|
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
%define soname 1
|
|
||||||
Name: libsrtp
|
|
||||||
Version: 1.6.0
|
|
||||||
Release: 0
|
|
||||||
Summary: Secure Real-Time Transport Protocol (SRTP) library
|
|
||||||
License: BSD-3-Clause
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Url: https://github.com/cisco/libsrtp
|
|
||||||
#Git-Clone: git://github.com/cisco/libsrtp.git
|
|
||||||
Source: https://github.com/cisco/libsrtp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
||||||
Source99: baselibs.conf
|
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: pkg-config
|
|
||||||
# srtp was last used in openSUSE 13.1.
|
|
||||||
Provides: srtp = %{version}
|
|
||||||
Obsoletes: srtp < %{version}
|
|
||||||
|
|
||||||
%description
|
|
||||||
libsrtp is an implementation of the Secure Real-time Transport
|
|
||||||
Protocol (SRTP) originally authored by Cisco Systems, Inc.
|
|
||||||
|
|
||||||
%package -n %{name}%{soname}
|
|
||||||
Summary: Secure Real-Time Transport Protocol (SRTP) library
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n %{name}%{soname}
|
|
||||||
libsrtp is an implementation of the Secure Real-time Transport
|
|
||||||
Protocol (SRTP) originally authored by Cisco Systems, Inc.
|
|
||||||
|
|
||||||
SRTP is a security profile for RTP that adds confidentiality, message
|
|
||||||
authentication, and replay protection to that protocol. It is
|
|
||||||
specified in RFC 3711. More information about the SRTP protocol
|
|
||||||
itself can be found on the Secure RTP page.
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: Development files for the Secure Real-Time Transport Protocol (SRTP) library
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: %{name}%{soname} = %{version}
|
|
||||||
# srtp-devel was last used in openSUSE 13.1.
|
|
||||||
Provides: srtp-devel = %{version}
|
|
||||||
Obsoletes: srtp-devel < %{version}
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
libsrtp is an implementation of the Secure Real-time Transport
|
|
||||||
Protocol (SRTP) originally authored by Cisco Systems, Inc.
|
|
||||||
|
|
||||||
This subpackage contains the development headers.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q
|
|
||||||
|
|
||||||
%build
|
|
||||||
%configure \
|
|
||||||
--enable-generic-aesicm \
|
|
||||||
--enable-syslog
|
|
||||||
# Doesn't work with OpenSSL 1.1
|
|
||||||
# --enable-openssl
|
|
||||||
# --enable-gdoi
|
|
||||||
# FIXME: Does not work:
|
|
||||||
# --enable-kernel-linux
|
|
||||||
|
|
||||||
make shared_library %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
|
||||||
%make_install
|
|
||||||
|
|
||||||
# Make libsrtp.so a symlink.
|
|
||||||
ln -sf %{name}.so.%{soname} %{buildroot}%{_libdir}/%{name}.so
|
|
||||||
|
|
||||||
# Including of files with generic names and quotes is unsafe and can cause include clashes.
|
|
||||||
# Do it in install phase, because rewriting of the source code before building would require deeper changes.
|
|
||||||
# /usr/include is included automatically, so we don't modify .pc file. (bnc#839475#c2)
|
|
||||||
echo "Rewriting #include \"{foo}.h\" to #include <srtp/{foo}.h>..."
|
|
||||||
sed -i 's|\( *# *include *\)"\([^"]*\.h\)"|\1 <srtp/\2>|' %{buildroot}%{_includedir}/srtp/*.h
|
|
||||||
|
|
||||||
# Rewrite FOO_H just to make things consistent and prevent name clashes.
|
|
||||||
echo "Rewriting header include check tags from {FOO_H} to SRTP_{FOO_H}..."
|
|
||||||
sed -i 's|\(# *\(ifdef\|ifndef\|define\|endif */\*\) *\)\([A-Z0-9_]*_H\)\($\| *\*/\)|\1SRTP_\3\4|' %{buildroot}%{_includedir}/srtp/*.h
|
|
||||||
sed -i 's|\(# *\(ifdef\|ifndef\|define\|endif */\*\) *\)\(CRYPTO_KERNEL\|RAND_SOURCE\)\($\| *\*/\)|\1SRTP_\3_H\4|' %{buildroot}%{_includedir}/srtp/*.h
|
|
||||||
|
|
||||||
# And finally, prevent all potential clashes in autoconf based variables in config.h.
|
|
||||||
for SYMBOL in \
|
|
||||||
$(sed -n '
|
|
||||||
# Everything below const is a definition of the compiler and hopefully undefined.
|
|
||||||
/const/,$d
|
|
||||||
# Search and print autoconf generated defines.
|
|
||||||
s|\(^# *define\|/\* # *undef\) \([A-Z0-9_]*\).*$|\2|p
|
|
||||||
' < %{buildroot}%{_includedir}/srtp/config.h
|
|
||||||
); do
|
|
||||||
echo "Rewriting symbol $SYMBOL to SRTP_$SYMBOL..."
|
|
||||||
sed -i 's|\([^A-Z0-9_]\)\('$SYMBOL'\)\([^A-Z0-9_]\|$\)|\1SRTP_\2\3|g' %{buildroot}%{_includedir}/srtp/*.h
|
|
||||||
done
|
|
||||||
|
|
||||||
# remove openssl header files incompatible with OpenSSL 1.1
|
|
||||||
rm %{buildroot}%{_includedir}/srtp/aes_{g,i}cm_ossl.h
|
|
||||||
|
|
||||||
%post -n %{name}%{soname} -p /sbin/ldconfig
|
|
||||||
%postun -n %{name}%{soname} -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n %{name}%{soname}
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libsrtp.so.*
|
|
||||||
|
|
||||||
%files devel
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc CHANGES LICENSE README TODO VERSION doc/*.pdf doc/*.txt
|
|
||||||
%{_includedir}/srtp/
|
|
||||||
%{_libdir}/libsrtp.so
|
|
||||||
%{_libdir}/pkgconfig/libsrtp.pc
|
|
||||||
|
|
||||||
%changelog
|
|
Loading…
Reference in New Issue
Block a user