Index: head/net/libsrtp/Makefile =================================================================== --- head/net/libsrtp/Makefile (revision 376716) +++ head/net/libsrtp/Makefile (revision 376717) @@ -1,47 +1,48 @@ # Created by: Alexander Brovikov # $FreeBSD$ PORTNAME= libsrtp DISTVERSIONPREFIX= v DISTVERSION= 1.5.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= GHR MAINTAINER= alexander@brovikov.ru COMMENT= Secure RTP (SRTP) Reference Implementation LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= cisco WRKSRC= ${WRKDIR}/${GH_PROJECT}-${DISTVERSION} GNU_CONFIGURE= yes 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 Index: head/net/libsrtp/files/patch-crypto-include-sha1.h =================================================================== --- head/net/libsrtp/files/patch-crypto-include-sha1.h (nonexistent) +++ head/net/libsrtp/files/patch-crypto-include-sha1.h (revision 376717) @@ -0,0 +1,23 @@ +--- crypto/include/sha1.h.orig 2014-10-13 14:35:33 UTC ++++ crypto/include/sha1.h +@@ -68,17 +68,20 @@ typedef EVP_MD_CTX sha1_ctx_t; + * + */ + ++static + void inline sha1_init (sha1_ctx_t *ctx) + { + EVP_MD_CTX_init(ctx); + EVP_DigestInit(ctx, EVP_sha1()); + } + ++static + void inline sha1_update (sha1_ctx_t *ctx, const uint8_t *M, int octets_in_msg) + { + EVP_DigestUpdate(ctx, M, octets_in_msg); + } + ++static + void inline sha1_final (sha1_ctx_t *ctx, uint32_t *output) + { + unsigned int len = 0; Property changes on: head/net/libsrtp/files/patch-crypto-include-sha1.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property