mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
Update net/libsrtp to 1.5.0.
PR: 196248 Approved by: maintainer timeout (16 days)
This commit is contained in:
parent
9281940ef3
commit
90bc3acc62
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376611
@ -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 <bsd.port.mk>
|
||||
|
@ -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
|
||||
|
10
net/libsrtp/files/patch-libsrtp.pc.in
Normal file
10
net/libsrtp/files/patch-libsrtp.pc.in
Normal file
@ -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}
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user