[arch-commits] Commit in ortp/trunk (PKGBUILD libzrtpcpp2.patch)

Andrea Scarpino andrea at archlinux.org
Wed May 16 20:07:38 UTC 2012


    Date: Wednesday, May 16, 2012 @ 16:07:38
  Author: andrea
Revision: 159149

upgpkg: ortp 0.20.0-2

Add zrtpcpp encryption support (FS#29846)

Added:
  ortp/trunk/libzrtpcpp2.patch
Modified:
  ortp/trunk/PKGBUILD

-------------------+
 PKGBUILD          |   23 +++++++++++------
 libzrtpcpp2.patch |   69 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-05-16 20:04:05 UTC (rev 159148)
+++ PKGBUILD	2012-05-16 20:07:38 UTC (rev 159149)
@@ -6,24 +6,31 @@
 
 pkgname=ortp
 pkgver=0.20.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A Real-time Transport Protocol (RTP) library"
 arch=('i686' 'x86_64')
 url="http://www.linphone.org/index.php/eng/code_review/ortp"
 license=('LGPL')
-depends=('glibc')
+depends=('libzrtpcpp' 'libsrtp')
 options=('!libtool')
-source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/sources/${pkgname}-${pkgver}.tar.gz"{,.sig})
+source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/sources/${pkgname}-${pkgver}.tar.gz"{,.sig}
+        'libzrtpcpp2.patch')
 md5sums=('b3f2f02fc5b7ba7e294806c81d419f3c'
-         'c5d39f9ad14fe252db9a96f616308b0b')
+         'c5d39f9ad14fe252db9a96f616308b0b'
+         'a37392fd9889711ac2f0fed2e388fbd8')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  patch -p1 -i "${srcdir}"/libzrtpcpp2.patch
+
+  ./configure --prefix=/usr \
+    --enable-zrtp \
+    --disable-strict
   make
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
 }

Added: libzrtpcpp2.patch
===================================================================
--- libzrtpcpp2.patch	                        (rev 0)
+++ libzrtpcpp2.patch	2012-05-16 20:07:38 UTC (rev 159149)
@@ -0,0 +1,69 @@
+Only in ortp-0.20.0.my/build: Makefile
+Only in ortp-0.20.0.my/build/win32native: Makefile
+Only in ortp-0.20.0.my/build/wince: Makefile
+Only in ortp-0.20.0.my/build/winmob: Makefile
+Only in ortp-0.20.0.my: config.log
+Only in ortp-0.20.0.my: config.status
+Only in ortp-0.20.0.my: doc
+Only in ortp-0.20.0.my/include: Makefile
+Only in ortp-0.20.0.my/include/ortp: Makefile
+Only in ortp-0.20.0.my: libtool
+Only in ortp-0.20.0.my: Makefile
+Only in ortp-0.20.0.my: ortp-config.h
+Only in ortp-0.20.0.my: ortp.defs
+Only in ortp-0.20.0.my: ortp.pc
+Only in ortp-0.20.0.my/src: avprofile.lo
+Only in ortp-0.20.0.my/src: b64.lo
+Only in ortp-0.20.0.my/src: .deps
+Only in ortp-0.20.0.my/src: event.lo
+Only in ortp-0.20.0.my/src: jitterctl.lo
+Only in ortp-0.20.0.my/src: libortp.la
+Only in ortp-0.20.0.my/src: .libs
+Only in ortp-0.20.0.my/src: Makefile
+Only in ortp-0.20.0.my/src: netsim.lo
+Only in ortp-0.20.0.my/src: ortp.lo
+Only in ortp-0.20.0.my/src: ortp_srtp.lo
+Only in ortp-0.20.0.my/src: payloadtype.lo
+Only in ortp-0.20.0.my/src: port.lo
+Only in ortp-0.20.0.my/src: posixtimer.lo
+Only in ortp-0.20.0.my/src: rtcp.lo
+Only in ortp-0.20.0.my/src: rtcpparse.lo
+Only in ortp-0.20.0.my/src: rtpparse.lo
+Only in ortp-0.20.0.my/src: rtpsession_inet.lo
+Only in ortp-0.20.0.my/src: rtpsession.lo
+Only in ortp-0.20.0.my/src: rtpsignaltable.lo
+Only in ortp-0.20.0.my/src: rtptimer.lo
+Only in ortp-0.20.0.my/src: scheduler.lo
+Only in ortp-0.20.0.my/src: sessionset.lo
+Only in ortp-0.20.0.my/src: str_utils.lo
+Only in ortp-0.20.0.my/src: stun.lo
+Only in ortp-0.20.0.my/src: stun_udp.lo
+Only in ortp-0.20.0.my/src: telephonyevents.lo
+Only in ortp-0.20.0.my/src/tests: .deps
+Only in ortp-0.20.0.my/src/tests: Makefile
+Only in ortp-0.20.0.my/src/tests/win_receiver: Makefile
+Only in ortp-0.20.0.my/src/tests/win_sender: Makefile
+Only in ortp-0.20.0.my/src: utils.lo
+diff -wbBur ortp-0.20.0/src/zrtp.c ortp-0.20.0.my/src/zrtp.c
+--- ortp-0.20.0/src/zrtp.c	2012-02-22 20:19:51.000000000 +0400
++++ ortp-0.20.0.my/src/zrtp.c	2012-05-16 19:11:25.000000000 +0400
+@@ -837,7 +837,7 @@
+ 	userData->session=s;
+ 	ortp_zrtp_configure(context);
+ 	ortp_message("Initialized ZRTP context");
+-	zrtp_initializeZrtpEngine(context, &userData->zrtp_cb, userAgentStr, params->zid_file, userData, 0);
++	zrtp_initializeZrtpEngine(context, &userData->zrtp_cb, userAgentStr, params->zid_file, userData);
+ 	return ortp_zrtp_configure_context(userData,s,params);
+ }
+ 
+@@ -867,7 +867,7 @@
+ 	userData->session=s;
+ 	ortp_zrtp_configure(context);
+ 	
+-	zrtp_initializeZrtpEngine(context, &userData->zrtp_cb, userAgentStr, params->zid_file, userData, 0);
++	zrtp_initializeZrtpEngine(context, &userData->zrtp_cb, userAgentStr, params->zid_file, userData);
+ 
+ 	ortp_message("setting zrtp_setMultiStrParams");
+ 	zrtp_setMultiStrParams(context,multiparams,length);
+Only in ortp-0.20.0.my/src: zrtp.lo
+Only in ortp-0.20.0.my: stamp-h1




More information about the arch-commits mailing list