1
0
forked from pool/libzrtpcpp

Accepting request 201072 from network:telephony

- Update to new upstream release 3.2.2.2 (forwarded request 200844 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/201072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libzrtpcpp?expand=0&rev=26
This commit is contained in:
Stephan Kulow 2013-09-27 15:42:05 +00:00 committed by Git OBS Bridge
commit 122ff919b6
5 changed files with 36 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6fe700603104d080692f3df8cbec14647eadaa8248ed584f26260749161e11dd
size 256971

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:813bdb432b73552c9922e0474c129c00ad36e4f2d1f66c0f53ff37b5f56193e3
size 1272388

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jul 3 23:35:48 UTC 2013 - jengelh@inai.de
- Update to new upstream release 3.2.2.2
* Re-structure ZRTP cache and add SQlite3 as optional storage backend
* Fixes CVE-2013-2221 CVE-2013-2222 CVE-2013-2223 (bnc#828028)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 13 20:01:04 UTC 2013 - jengelh@inai.de Thu Jun 13 20:01:04 UTC 2013 - jengelh@inai.de

View File

@ -17,23 +17,32 @@
Name: libzrtpcpp Name: libzrtpcpp
%define lname libzrtpcpp2 %define lname libzrtpcpp3
Version: 2.3.3 Version: 3.2.2.2
Release: 0 Release: 0
# git describe: V3.2.2_2
Summary: A ccrtp extension for ZRTP support Summary: A ccrtp extension for ZRTP support
License: GPL-3.0+ License: GPL-3.0+
Group: Development/Libraries/Other Group: Development/Libraries/C and C++
Url: http://www.gnutelephony.org/index.php/GNU_ZRTP Url: http://www.gnutelephony.org/index.php/GNU_ZRTP
#Freecode-URL: http://freecode.com/projects/libzrtpcpp #Freecode-URL: http://freecode.com/projects/libzrtpcpp
Source: ftp://ftp.gnu.org/pub/gnu/ccrtp/%name-%version.tar.gz #Git-Clone: git://github.com/wernerd/ZRTPCPP
Source2: ftp://ftp.gnu.org/pub/gnu/ccrtp/%name-%version.tar.gz.sig # No longer produces release tarballs since 3.x.
Source3: %name.keyring Source: %name-%version.tar.xz
BuildRequires: ccrtp-devel >= 2.0.0
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libopenssl-devel >= 0.9.8
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: xz
%if 0%{?suse_version} >= 1130
BuildRequires: pkgconfig(libccrtp) >= 2
BuildRequires: pkgconfig(libcrypto) >= 0.9.8
BuildRequires: pkgconfig(sqlite3) >= 3.7
%else
BuildRequires: ccrtp-devel >= 2
BuildRequires: libopenssl-devel >= 0.9.8
BuildRequires: sqlite3-devel >= 3.7
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -44,7 +53,7 @@ applications.
%package -n %lname %package -n %lname
Summary: A ccrtp extension for ZRTP support Summary: A ccrtp extension for ZRTP support
Group: Development/Libraries/Other Group: System/Libraries
%description -n %lname %description -n %lname
This library is a GPL licensed extension to the GNU RTP Stack, ccrtp, This library is a GPL licensed extension to the GNU RTP Stack, ccrtp,
@ -54,7 +63,7 @@ applications.
%package devel %package devel
Summary: Headers and link library for libzrtpcpp Summary: Headers and link library for libzrtpcpp
Group: Development/Libraries/Other Group: Development/Libraries/C and C++
Requires: %{lname} = %{version} Requires: %{lname} = %{version}
Requires: ccrtp-devel >= 2.0.0 Requires: ccrtp-devel >= 2.0.0
@ -63,25 +72,23 @@ This package provides the header files, link libraries, and
documentation for building applications that use libzrtpcpp. documentation for building applications that use libzrtpcpp.
%prep %prep
%{?gpg_verify: %gpg_verify %{S:2}} %setup -qn ZRTPCPP
%setup -q
%build %build
mkdir build mkdir build
cd build cd build
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DSYSCONFDIR=%{_sysconfdir} \ -DCMAKE_C_FLAGS:STRING="%{optflags}" \
-DMANDIR=%{_mandir} \ -DCMAKE_CXX_FLAGS:STRING="%{optflags}" \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \ -DCRYPTO_STANDALONE:BOOL=false \
-DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags}" \
%if "%{_lib}" == "lib64" %if "%{_lib}" == "lib64"
-DLIB_SUFFIX=64 \ -DLIB_SUFFIX=64 \
%endif %endif
.. ..
make %{?_smp_mflags} V=1 #perl -i -pe 's{@zrtplib@}{-lzrtpcpp}g' *.pc.cmake
make %{?_smp_mflags} VERBOSE=1
%install %install
cd build cd build
@ -93,7 +100,7 @@ make install DESTDIR="%buildroot"
%files -n %lname %files -n %lname
%defattr(-,root,root,0755) %defattr(-,root,root,0755)
%doc AUTHORS COPYING README.md %doc AUTHORS COPYING README.md
%{_libdir}/libzrtpcpp.so.2* %{_libdir}/libzrtpcpp.so.3*
%files devel %files devel
%defattr(-,root,root,0755) %defattr(-,root,root,0755)