SHA256
1
0
forked from pool/ccrtp

Accepting request 177985 from network:telephony

- Update to new upstream release 2.0.6
* Fixes to the build procedure
- Remove ccrtp-ppc64.patch (no longer applies) (forwarded request 177838 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/177985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ccrtp?expand=0&rev=8
This commit is contained in:
Stephan Kulow 2013-06-09 14:33:04 +00:00 committed by Git OBS Bridge
commit 84fc6383ce
8 changed files with 213 additions and 41 deletions

View File

@ -0,0 +1,122 @@
From e060ed1f4ce7d54d092dee5dc02a90361e78392c Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Thu, 6 Jun 2013 00:23:09 +0200
X-Upstream-Status: submitted, waiting for merge
Subject: [PATCH] build: properly use autotools
---
Makefile.am | 1 -
configure.ac | 5 +++--
demo/Makefile.am | 18 +++++++++---------
src/Makefile.am | 5 +++--
4 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index eec516b..046d815 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,7 +9,6 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-AUTOMAKE_OPTIONS = no-dependencies dist-shar dist-zip
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = autogen.sh ccrtp.spec ccrtp.spec.in COPYING.addendum \
ccrtp.list ccrtp.list.in libccrtp.pc libccrtp.pc.in autoconf/* \
diff --git a/configure.ac b/configure.ac
index b5d8a10..5108a20 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,8 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-AC_INIT(src/ccrtp/rtp.h)
+AC_INIT([ccrtp], [2.0.3])
+AC_CONFIG_SRCDIR([src/ccrtp/rtp.h])
cfg_options=""
if test -z "$*" ; then
@@ -42,7 +43,7 @@ AC_PROG_CXXCPP
AC_PROG_CXX
# OST_PROG_CC_POSIX
AM_PROG_LIBTOOL
-AM_INIT_AUTOMAKE(ccrtp,[$VERSION])
+AM_INIT_AUTOMAKE([no-dependencies dist-shar dist-zip])
AM_CONFIG_HEADER(ccrtp-config.h)
AC_C_RESTRICT
diff --git a/demo/Makefile.am b/demo/Makefile.am
index 5e6e3a0..5a11837 100644
--- a/demo/Makefile.am
+++ b/demo/Makefile.am
@@ -19,35 +19,35 @@ ccxxincludedir=$(includedir)/cc++
if SRTP_GCRYPT
srtp_src = ccsrtptest
ccsrtptest_SOURCES = ccsrtptest.cpp
-ccsrtptest_LDFLAGS = ../src/libccrtp.la @GNULIBS@
+ccsrtptest_LDADD = ../src/libccrtp.la @GNULIBS@
endif
if SRTP_OPENSSL
srtp_src = ccsrtptest
ccsrtptest_SOURCES = ccsrtptest.cpp
-ccsrtptest_LDFLAGS = ../src/libccrtp.la @GNULIBS@
+ccsrtptest_LDADD = ../src/libccrtp.la @GNULIBS@
endif
noinst_PROGRAMS = rtpsend rtplisten rtphello rtpduphello audiorx audiotx \
ccrtptest $(srtp_src)
rtpsend_SOURCES = rtpsend.cpp
-rtpsend_LDFLAGS = ../src/libccrtp.la @GNULIBS@
+rtpsend_LDADD = ../src/libccrtp.la @GNULIBS@
rtplisten_SOURCES = rtplisten.cpp
-rtplisten_LDFLAGS = ../src/libccrtp.la @GNULIBS@
+rtplisten_LDADD = ../src/libccrtp.la @GNULIBS@
rtphello_SOURCES = rtphello.cpp
-rtphello_LDFLAGS = ../src/libccrtp.la @GNULIBS@
+rtphello_LDADD = ../src/libccrtp.la @GNULIBS@
rtpduphello_SOURCES = rtpduphello.cpp
-rtpduphello_LDFLAGS = ../src/libccrtp.la @GNULIBS@
+rtpduphello_LDADD = ../src/libccrtp.la @GNULIBS@
audiorx_SOURCES = audiorx.cpp audio.h
-audiorx_LDFLAGS = ../src/libccrtp.la @GNULIBS@
+audiorx_LDADD = ../src/libccrtp.la @GNULIBS@
audiotx_SOURCES = audiotx.cpp
-audiotx_LDFLAGS = ../src/libccrtp.la @GNULIBS@
+audiotx_LDADD = ../src/libccrtp.la @GNULIBS@
ccrtptest_SOURCES = ccrtptest.cpp
-ccrtptest_LDFLAGS = ../src/libccrtp.la @GNULIBS@
+ccrtptest_LDADD = ../src/libccrtp.la @GNULIBS@
diff --git a/src/Makefile.am b/src/Makefile.am
index 58cf4c1..1683a2d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -16,7 +16,7 @@ AM_CXXFLAGS= @WARN_FLAGS@ -I$(top_srcdir)/src/ccrtp
AM_CPPFLAGS= @WARN_FLAGS@ -I$(top_srcdir)/src/ccrtp
# RELEASE = $(LT_VERSION) -release $(LT_RELEASE)
-RELEASE = --version-info $(LT_VERSION)
+RELEASE = -version-info $(LT_VERSION)
lib_LTLIBRARIES = libccrtp.la
@@ -43,6 +43,7 @@ libccrtp_la_SOURCES = rtppkt.cpp rtcppkt.cpp source.cpp data.cpp incqueue.cpp \
outqueue.cpp queue.cpp control.cpp members.cpp socket.cpp duplex.cpp pool.cpp \
CryptoContext.cpp CryptoContextCtrl.cpp $(srtp_src_g) $(srtp_src_o) $(skein_srcs)
-libccrtp_la_LDFLAGS = $(RELEASE) @GNULIBS@
+libccrtp_la_LDFLAGS = $(RELEASE)
+libccrtp_la_LIBADD = @GNULIBS@
noinst_HEADERS = private.h
--
1.8.2

View File

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

3
ccrtp-2.0.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:39fe4cd98635f710800b1d3f4090cae7110cbfee97ad42c77233eac2c5e4381b
size 735455

BIN
ccrtp-2.0.6.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,13 +0,0 @@
Index: ccrtp-2.0.1/CMakeLists.txt
===================================================================
--- ccrtp-2.0.1.orig/CMakeLists.txt
+++ ccrtp-2.0.1/CMakeLists.txt
@@ -32,7 +32,7 @@ set (PACKAGE ccrtp)
# this caused problems in debian where it has to always be lib....
set(LIB64 "")
if (NOT EXISTS /etc/debian_version)
- if ( "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" )
+ if ( "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" OR "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "ppc64" OR "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "aarch64")
set(LIB64 "64")
endif()
endif()

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jun 5 22:17:02 UTC 2013 - jengelh@inai.de
- Update to new upstream release 2.0.6
* Fixes to the build procedure
- Remove ccrtp-ppc64.patch (no longer applies)
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 23 08:51:28 UTC 2013 - schwab@suse.de Sat Mar 23 08:51:28 UTC 2013 - schwab@suse.de

55
ccrtp.keyring Normal file
View File

@ -0,0 +1,55 @@
pub 4096R/B37C87BA 2012-05-22
uid David Sugar <dyfet@gnu.org>
sub 4096R/C8F039C8 2012-05-22
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.19 (GNU/Linux)
mQINBE+7lIQBEADLCqIS2RGM0W8RHVnQ+czFkDbJuqT/v/oNzuneCwkmVrTcHJZ+
zIxkV5E45gs08RHvntMvsAX4wjRfZM93Ngr9dHgS2vXWqi3MZI6FEzRtmY6Ow9RG
2HeXouF13UKVvG+0WUSvH8V1Bo6v+34bUaITsZWRAwEAHu13Z6gURzIr7LV1EB70
3by4g0agzden4XAEH4COa/oNlrNiqnVraAJHT8g2cmiJYVt5m1JJFogGg9ltOgPU
ArICG1Fv9XHnGU1Yi4+RI07sicQDo6xdRdqP/zKOHJeZhPBQcCFpX72aweTzQFEb
Nwb0FVg3RXR5m+5qfg3mHXYF8F0ecyK3Q2o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5JRelR/cE5MdNCindN3d1U6YRP30OmFgaPXprbkKcIslKCS1EBR
fYAfAE2mR9WKDUqI+bZXRf8MaLoyisqYBYfhZyWVCQP/DFfrrp5808hTLJhTz+Kj
xCSu2d30+tsC0prMiatBTtgTscLpQPTVLbnJEt3YhabGcka8lb67l5AtJisEbBGG
WYCKyTYsbVaA5XgTgPVIZfVoXkD4U0B/5ZsuqcqCYRGv6cZzysjvr/kAAP48LGrU
ZFteBTJlBW/yB6IgBHeBXn1/WJAnrxS5hO2ZitGDAZs4BlkAfYpWi+KVO4eVANHU
buX7d/fnUtqIv25eQOVM6JmdfVSlWwWA/jUxp77T3ixIW0RUgostx3OfDHN6IS7D
iGfPl8X6xH8uDtp+Jmi3BO1MuFr9y4r7xBHjoXxx6OJ3kvWYBf9wIfYo0bmjKm1U
wrqOQRUZbiqFvrkXHxksuVamEaBpV73JfgYXCyCpsPFAWwJsiYVo/5zo
=wI7T
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -18,20 +18,30 @@
Name: ccrtp Name: ccrtp
%define lname libccrtp2 %define lname libccrtp2
Version: 2.0.1 Version: 2.0.6
Release: 0 Release: 0
Summary: A Common C++ Class Framework for RTP Packets Summary: A Common C++ Class Framework for RTP Packets
License: SUSE-GPL-2.0+-with-openssl-exception License: SUSE-GPL-2.0+-with-openssl-exception
Group: System/Libraries Group: System/Libraries
Url: http://www.gnu.org/software/ccrtp/ Url: http://gnu.org/software/ccrtp/
Source0: %{name}-%{version}.tar.bz2
Patch1: ccrtp-ppc64.patch #Freecode-URL: http://freecode.com/projects/ccrtp
BuildRequires: cmake #Git-Clone: git://git.sv.gnu.org/ccrtp
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
Patch1: 0001-build-properly-use-autotools.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libgcrypt-devel BuildRequires: libgcrypt-devel
BuildRequires: libstdc++-devel BuildRequires: libstdc++-devel
BuildRequires: libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: ucommon-devel >= 5.0.0 BuildRequires: ucommon-devel >= 5.0.0
%if 0%{?suse_version} >= 1230
BuildRequires: gpg-offline
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -61,31 +71,22 @@ Obsoletes: libccrtp-devel < %version
%description devel %description devel
This package contains files needed when developing applications using This package contains files needed when developing applications using
ccrtp ccrtp.
%prep %prep
%setup -q -n ccrtp-%{version} %{?gpg_verify: %gpg_verify %{S:2}}
%patch1 -p1 %setup -q
%patch -P 1 -p1
%build %build
mkdir build # Got patches to .am
cd build autoreconf -fi;
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ %configure --disable-static
-DSYSCONFDIR=%{_sysconfdir} \ make %{?_smp_mflags} V=1;
-DMANDIR=%{_mandir} \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags}" \
..
make %{?_smp_mflags} VERBOSE=1
%install %install
cd build make install DESTDIR="%buildroot";
%make_install rm -f "%buildroot/%_libdir"/*.la;
%clean
rm -rf %{buildroot};
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
@ -93,7 +94,7 @@ rm -rf %{buildroot};
%files -n %lname %files -n %lname
%defattr(-,root,root,0755) %defattr(-,root,root,0755)
%{_libdir}/libccrtp*.so.* %{_libdir}/libccrtp*.so.2*
%files devel %files devel
%defattr(-,root,root,0755) %defattr(-,root,root,0755)