From owner-svn-ports-all@FreeBSD.ORG Fri Jan 9 15:06:17 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A2DF99F1; Fri, 9 Jan 2015 15:06:17 +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 841BD9B; Fri, 9 Jan 2015 15:06:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t09F6Hki010347; Fri, 9 Jan 2015 15:06:17 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t09F6Ge1010339; Fri, 9 Jan 2015 15:06:16 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201501091506.t09F6Ge1010339@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:06:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376611 - in head/net/libsrtp: . 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:06:17 -0000 Author: tijl Date: Fri Jan 9 15:06:15 2015 New Revision: 376611 URL: https://svnweb.freebsd.org/changeset/ports/376611 QAT: https://qat.redports.org/buildarchive/r376611/ Log: Update net/libsrtp to 1.5.0. PR: 196248 Approved by: maintainer timeout (16 days) Added: head/net/libsrtp/files/ head/net/libsrtp/files/patch-libsrtp.pc.in (contents, props changed) Modified: head/net/libsrtp/Makefile head/net/libsrtp/distinfo head/net/libsrtp/pkg-descr head/net/libsrtp/pkg-plist Modified: head/net/libsrtp/Makefile ============================================================================== --- head/net/libsrtp/Makefile Fri Jan 9 14:37:52 2015 (r376610) +++ head/net/libsrtp/Makefile Fri Jan 9 15:06:15 2015 (r376611) @@ -2,21 +2,46 @@ # $FreeBSD$ PORTNAME= libsrtp -PORTVERSION= 1.4.4 -PORTREVISION= 1 +DISTVERSIONPREFIX= v +DISTVERSION= 1.5.0 CATEGORIES= net -MASTER_SITES= SF/${ORIGNAME}/${ORIGNAME}/${PORTVERSION} -DISTNAME= ${ORIGNAME}-${PORTVERSION} +MASTER_SITES= GHR MAINTAINER= alexander@brovikov.ru -COMMENT= Library implementing Secure RTP +COMMENT= Secure RTP (SRTP) Reference Implementation -WRKSRC= ${WRKDIR}/${ORIGNAME} -ORIGNAME= srtp +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= cisco +WRKSRC= ${WRKDIR}/${GH_PROJECT}-${DISTVERSION} GNU_CONFIGURE= yes -USES= gmake tar:tgz -USE_CSTD= gnu89 -CFLAGS+= -fPIC +CONFIGURE_ARGS= --enable-openssl +CFLAGS+= -fPIC # Taken from configure script +USES= gmake pathfix pkgconfig +USE_LDCONFIG= yes +USE_OPENSSL= yes +WITH_OPENSSL_PORT= yes + +.if ! defined(WITH_DEBUG) +CONFIGURE_ARGS+=--disable-debug +.endif + +post-patch: + @${REINPLACE_CMD} \ + -e 's/@LDFLAGS@ -L\./-L. @LDFLAGS@/' \ + -e 's/libsrtp.so/&.0/g' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} '/pkg-config/s/openssl/libcrypto/' \ + ${WRKSRC}/configure + +post-build: + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ + ${MAKEFILE} ${MAKE_ARGS} libsrtp.so.0) + +post-install: + ${LN} -s libsrtp.so.0 ${STAGEDIR}${PREFIX}/lib/libsrtp.so .include Modified: head/net/libsrtp/distinfo ============================================================================== --- head/net/libsrtp/distinfo Fri Jan 9 14:37:52 2015 (r376610) +++ head/net/libsrtp/distinfo Fri Jan 9 15:06:15 2015 (r376611) @@ -1,2 +1,2 @@ -SHA256 (srtp-1.4.4.tgz) = d9c2cbb1c95172ed2dc963eff0d6ce1072326dc81cb1dd38414e9f0e430af314 -SIZE (srtp-1.4.4.tgz) = 502890 +SHA256 (libsrtp-v1.5.0.tar.gz) = ecf5e9be5a6ec3c73841977dc2e059c69209849f2e500269fa133d4c654f1b47 +SIZE (libsrtp-v1.5.0.tar.gz) = 1687709 Added: head/net/libsrtp/files/patch-libsrtp.pc.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libsrtp/files/patch-libsrtp.pc.in Fri Jan 9 15:06:15 2015 (r376611) @@ -0,0 +1,10 @@ +--- libsrtp.pc.in.orig 2014-12-30 16:27:06 UTC ++++ libsrtp.pc.in +@@ -7,5 +7,6 @@ Name: @PACKAGE_NAME@ + Version: @PACKAGE_VERSION@ + Description: Library for SRTP (Secure Realtime Transport Protocol) + +-Libs: -L${libdir} -lsrtp @LIBS@ ++Libs: -L${libdir} -lsrtp ++Requires.private: libcrypto + Cflags: -I${includedir} Modified: head/net/libsrtp/pkg-descr ============================================================================== --- head/net/libsrtp/pkg-descr Fri Jan 9 14:37:52 2015 (r376610) +++ head/net/libsrtp/pkg-descr Fri Jan 9 15:06:15 2015 (r376611) @@ -1,4 +1,5 @@ -libsrtp is a library implementing Secure RTP. -RTP is used for Voice over IP (VoIP) as well as audio and video streaming; +This package provides an implementation of the Secure Real-time +Transport Protocol (SRTP), the Universal Security Transform (UST), +and a supporting cryptographic kernel. -WWW: http://sourceforge.net/projects/srtp/ +WWW: https://github.com/cisco/libsrtp Modified: head/net/libsrtp/pkg-plist ============================================================================== --- head/net/libsrtp/pkg-plist Fri Jan 9 14:37:52 2015 (r376610) +++ head/net/libsrtp/pkg-plist Fri Jan 9 15:06:15 2015 (r376611) @@ -1,7 +1,8 @@ -lib/libsrtp.a include/srtp/aes.h include/srtp/aes_cbc.h +include/srtp/aes_gcm_ossl.h include/srtp/aes_icm.h +include/srtp/aes_icm_ossl.h include/srtp/alloc.h include/srtp/auth.h include/srtp/cipher.h @@ -12,6 +13,7 @@ include/srtp/crypto_math.h include/srtp/crypto_types.h include/srtp/cryptoalg.h include/srtp/datatypes.h +include/srtp/ekt.h include/srtp/err.h include/srtp/getopt_s.h include/srtp/gf2_8.h @@ -33,3 +35,7 @@ include/srtp/srtp_priv.h include/srtp/stat.h include/srtp/ut_sim.h include/srtp/xfm.h +lib/libsrtp.a +lib/libsrtp.so +lib/libsrtp.so.0 +libdata/pkgconfig/libsrtp.pc