From owner-svn-ports-all@FreeBSD.ORG Fri Jan 9 15:12:11 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DFB05D3C; Fri, 9 Jan 2015 15:12:10 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C189319C; Fri, 9 Jan 2015 15:12:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t09FCAsI014752; Fri, 9 Jan 2015 15:12:10 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t09FCAbB014749; Fri, 9 Jan 2015 15:12:10 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201501091512.t09FCAbB014749@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Fri, 9 Jan 2015 15:12:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376613 - in head/net/ortp: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2015 15:12:11 -0000 Author: tijl Date: Fri Jan 9 15:12:09 2015 New Revision: 376613 URL: https://svnweb.freebsd.org/changeset/ports/376613 QAT: https://qat.redports.org/buildarchive/r376613/ Log: - Add SRTP and ZRTP support - Fix MASTER_SITES PR: 196249 Approved by: maintainer timeout (16 days) Added: head/net/ortp/files/ head/net/ortp/files/patch-configure (contents, props changed) head/net/ortp/files/patch-ortp.pc.in (contents, props changed) Modified: head/net/ortp/Makefile Modified: head/net/ortp/Makefile ============================================================================== --- head/net/ortp/Makefile Fri Jan 9 15:07:43 2015 (r376612) +++ head/net/ortp/Makefile Fri Jan 9 15:12:09 2015 (r376613) @@ -3,8 +3,9 @@ PORTNAME= ortp PORTVERSION= 0.23.0 +PORTREVISION= 1 CATEGORIES= net -MASTER_SITES= SAVANNAH/linphone/ortp +MASTER_SITES= SAVANNAH/linphone/ortp/sources MAINTAINER= sobomax@FreeBSD.org COMMENT= Real-time Transport Protocol (RTP) library @@ -12,11 +13,14 @@ COMMENT= Real-time Transport Protocol (R LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING +LIB_DEPENDS= libsrtp.so:${PORTSDIR}/net/libsrtp \ + libzrtpcppcore.so:${PORTSDIR}/security/libzrtpcppcore + CONFLICTS_INSTALL= linphone-base-[0-9]* GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-silent-rules --disable-strict -CPPFLAGS+= -DHAVE_DEV_RANDOM +CONFIGURE_ARGS= --disable-silent-rules --disable-strict \ + --enable-zrtp --with-srtp INSTALL_TARGET= install-strip USES= libtool pathfix pkgconfig USE_LDCONFIG= yes Added: head/net/ortp/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/ortp/files/patch-configure Fri Jan 9 15:12:09 2015 (r376613) @@ -0,0 +1,20 @@ +--- configure.orig 2014-02-19 14:31:33 UTC ++++ configure +@@ -12021,7 +12021,6 @@ $as_echo "#define NOCONNECT 1" >>confdef + + $as_echo "#define NOCONNECT 1" >>confdefs.h + +- PTHREAD_LDFLAGS="-pthread" + ;; + *mingw32ce) + CFLAGS="$CFLAGS -D_WIN32_WCE -D_WIN32_WINNT=0x0501 -DORTP_STATIC" +@@ -12211,7 +12210,8 @@ if test "${srtp_prefix}" != "none" ; the + SRTP_CFLAGS="-I${srtp_prefix}/include -I${srtp_prefix}/include/srtp" + SRTP_LIBS="-L${srtp_prefix}/lib" + fi +- SRTP_LIBS="$SRTP_LIBS -lsrtp" ++ SRTP_CFLAGS="$(pkg-config --cflags libsrtp)" ++ SRTP_LIBS="$(pkg-config --libs libsrtp)" + + have_srtp=no + CPPFLAGS_save=$CPPFLAGS Added: head/net/ortp/files/patch-ortp.pc.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/ortp/files/patch-ortp.pc.in Fri Jan 9 15:12:09 2015 (r376613) @@ -0,0 +1,10 @@ +--- ortp.pc.in.orig 2010-02-08 14:38:31 UTC ++++ ortp.pc.in +@@ -6,5 +6,6 @@ includedir=@includedir@ + Name: oRTP + Description: Implement the RFC3550 (RTP) with a easy to use API with high and low level access. + Version: @ORTP_PKGCONFIG_VERSION@ +-Libs: -L@libdir@ -lortp @ORTPDEPS_LIBS@ ++Libs: -L@libdir@ -lortp ++Libs.private: @ORTPDEPS_LIBS@ + Cflags: -I@includedir@ @ORTPDEPS_CFLAGS@