import ccrtp

GNU ccRTP is an implementation of RTP, the real-time transport protocol
from the IETF (see RFC 3550, RFC 3551 and RFC 3555). ccRTP is a C++
library based on GNU Common C++ which provides a high performance,
flexible and extensible standards-compliant RTP stack with full RTCP
support. The design and implementation of ccRTP make it suitable for
high capacity servers and gateways as well as personal client
applications.

from brad@

ok ajacoutot@
This commit is contained in:
jakemsr 2007-12-08 05:23:20 +00:00
parent b5de437bf0
commit bb28c7befb
7 changed files with 94 additions and 0 deletions

33
devel/ccrtp/Makefile Normal file
View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/12/08 05:23:20 jakemsr Exp $
COMMENT= implementation of the Real-time Transport Protocol
DISTNAME= ccrtp-1.5.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=ccrtp/}
SHARED_LIBS= ccrtp1 0.0 # 1.0
HOMEPAGE= http://wiki.gnutelephony.org/index.php/GNU_ccRTP
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= crypto
LIB_DEPENDS= ccgnu2::devel/commoncpp
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURED_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
ac_cv_path_DOXYGEN=no \
ac_cv_lib_gcrypt_gcry_cipher_open=no
NO_REGRESS= Yes
.include <bsd.port.mk>

5
devel/ccrtp/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (ccrtp-1.5.1.tar.gz) = 728c41edd62be2871eac50be287f97ee
RMD160 (ccrtp-1.5.1.tar.gz) = f9dd29bdf4e0c8dea2f20c892036fb2074c0a839
SHA1 (ccrtp-1.5.1.tar.gz) = 9b04bcdfc5fe3b28dcfe9e0815710a6c656b78a4
SHA256 (ccrtp-1.5.1.tar.gz) = 97c1e5d8a690db25918d5c9ab864ddc781f90aac25ea86fb7951814c9f5478fe
SIZE (ccrtp-1.5.1.tar.gz) = 609361

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2007/12/08 05:23:20 jakemsr Exp $
--- src/Makefile.in.orig Sun Dec 31 08:24:19 2006
+++ src/Makefile.in Sat Jul 21 22:40:18 2007
@@ -254,7 +254,7 @@ libccrtp1_la_SOURCES = rtppkt.cpp rtcppkt.cpp source.c
outqueue.cpp queue.cpp control.cpp members.cpp socket.cpp duplex.cpp pool.cpp \
CryptoContext.cxx $(srtp_src_g) $(srtp_src_o)
-libccrtp1_la_LDFLAGS = $(RELEASE)
+libccrtp1_la_LDFLAGS = $(LT_VERSION) @GNULIBS@
noinst_HEADERS = private.h
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_ccrtp_crypto_openssl_AesSrtp_cxx,v 1.1.1.1 2007/12/08 05:23:20 jakemsr Exp $
--- src/ccrtp/crypto/openssl/AesSrtp.cxx.orig Sat Jun 9 16:16:18 2007
+++ src/ccrtp/crypto/openssl/AesSrtp.cxx Sat Jun 9 16:16:26 2007
@@ -37,7 +37,7 @@
extern void initializeOpenSSL();
-#include <malloc.h>
+#include <stdlib.h>
#include <openssl/aes.h> // the include of openSSL
#include <ccrtp/crypto/AesSrtp.h>
#include <string.h>

7
devel/ccrtp/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
GNU ccRTP is an implementation of RTP, the real-time transport protocol
from the IETF (see RFC 3550, RFC 3551 and RFC 3555). ccRTP is a C++
library based on GNU Common C++ which provides a high performance,
flexible and extensible standards-compliant RTP stack with full RTCP
support. The design and implementation of ccRTP make it suitable for
high capacity servers and gateways as well as personal client
applications.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/12/08 05:23:20 jakemsr Exp $
@lib lib/libccrtp1.so.${LIBccrtp1_VERSION}

23
devel/ccrtp/pkg/PLIST Normal file
View File

@ -0,0 +1,23 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/12/08 05:23:20 jakemsr Exp $
%%SHARED%%
include/ccrtp/
include/ccrtp/CryptoContext.h
include/ccrtp/base.h
include/ccrtp/channel.h
include/ccrtp/cqueue.h
include/ccrtp/ext.h
include/ccrtp/formats.h
include/ccrtp/ioqueue.h
include/ccrtp/iqueue.h
include/ccrtp/oqueue.h
include/ccrtp/pool.h
include/ccrtp/queuebase.h
include/ccrtp/rtcppkt.h
include/ccrtp/rtp.h
include/ccrtp/rtppkt.h
include/ccrtp/sources.h
@info info/ccrtp.info
lib/libccrtp1.a
lib/libccrtp1.la
lib/pkgconfig/
lib/pkgconfig/libccrtp1.pc