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:
commit
122ff919b6
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6fe700603104d080692f3df8cbec14647eadaa8248ed584f26260749161e11dd
|
||||
size 256971
|
Binary file not shown.
3
libzrtpcpp-3.2.2.2.tar.xz
Normal file
3
libzrtpcpp-3.2.2.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:813bdb432b73552c9922e0474c129c00ad36e4f2d1f66c0f53ff37b5f56193e3
|
||||
size 1272388
|
@ -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
|
||||
|
||||
|
@ -17,23 +17,32 @@
|
||||
|
||||
|
||||
Name: libzrtpcpp
|
||||
%define lname libzrtpcpp2
|
||||
Version: 2.3.3
|
||||
%define lname libzrtpcpp3
|
||||
Version: 3.2.2.2
|
||||
Release: 0
|
||||
# git describe: V3.2.2_2
|
||||
Summary: A ccrtp extension for ZRTP support
|
||||
License: GPL-3.0+
|
||||
Group: Development/Libraries/Other
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://www.gnutelephony.org/index.php/GNU_ZRTP
|
||||
|
||||
#Freecode-URL: http://freecode.com/projects/libzrtpcpp
|
||||
Source: ftp://ftp.gnu.org/pub/gnu/ccrtp/%name-%version.tar.gz
|
||||
Source2: ftp://ftp.gnu.org/pub/gnu/ccrtp/%name-%version.tar.gz.sig
|
||||
Source3: %name.keyring
|
||||
BuildRequires: ccrtp-devel >= 2.0.0
|
||||
#Git-Clone: git://github.com/wernerd/ZRTPCPP
|
||||
# No longer produces release tarballs since 3.x.
|
||||
Source: %name-%version.tar.xz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libopenssl-devel >= 0.9.8
|
||||
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
|
||||
|
||||
%description
|
||||
@ -44,7 +53,7 @@ applications.
|
||||
|
||||
%package -n %lname
|
||||
Summary: A ccrtp extension for ZRTP support
|
||||
Group: Development/Libraries/Other
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
This library is a GPL licensed extension to the GNU RTP Stack, ccrtp,
|
||||
@ -54,7 +63,7 @@ applications.
|
||||
|
||||
%package devel
|
||||
Summary: Headers and link library for libzrtpcpp
|
||||
Group: Development/Libraries/Other
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{lname} = %{version}
|
||||
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.
|
||||
|
||||
%prep
|
||||
%{?gpg_verify: %gpg_verify %{S:2}}
|
||||
%setup -q
|
||||
%setup -qn ZRTPCPP
|
||||
|
||||
%build
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-DSYSCONFDIR=%{_sysconfdir} \
|
||||
-DMANDIR=%{_mandir} \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
|
||||
-DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \
|
||||
-DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags}" \
|
||||
-DCMAKE_C_FLAGS:STRING="%{optflags}" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="%{optflags}" \
|
||||
-DCRYPTO_STANDALONE:BOOL=false \
|
||||
%if "%{_lib}" == "lib64"
|
||||
-DLIB_SUFFIX=64 \
|
||||
%endif
|
||||
..
|
||||
|
||||
make %{?_smp_mflags} V=1
|
||||
#perl -i -pe 's{@zrtplib@}{-lzrtpcpp}g' *.pc.cmake
|
||||
make %{?_smp_mflags} VERBOSE=1
|
||||
|
||||
%install
|
||||
cd build
|
||||
@ -93,7 +100,7 @@ make install DESTDIR="%buildroot"
|
||||
%files -n %lname
|
||||
%defattr(-,root,root,0755)
|
||||
%doc AUTHORS COPYING README.md
|
||||
%{_libdir}/libzrtpcpp.so.2*
|
||||
%{_libdir}/libzrtpcpp.so.3*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,0755)
|
||||
|
Loading…
x
Reference in New Issue
Block a user