summaryrefslogtreecommitdiff
path: root/net/ortp
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2009-10-02 19:09:29 +0000
committermarkd <markd@pkgsrc.org>2009-10-02 19:09:29 +0000
commit86ba3edeeed6fcee8f129ef498d6317f7b4f9532 (patch)
tree0d295aa852bc021936f95c15fb3c094f85a0b2a2 /net/ortp
parent7730182b2c08550627afaf45c16581ac6ded820a (diff)
downloadpkgsrc-86ba3edeeed6fcee8f129ef498d6317f7b4f9532.tar.gz
Import ortp 0.16.0 from wip
oRTP - a Real-time Transport Protocol (RFC3550) stack under LGPL Features: * Written in C, works under Linux (and probably any Unix) and Windows. * Implement the RFC3550 (RTP) with a easy to use API with high and low level access. * Includes support for multiples profiles, AV profile (RFC3551) being the one by default. * Includes a packet scheduler for to send and recv packet "on time", according to their timestamp. Scheduling is optional, rtp sessions can remain not scheduled. * Supports mutiplexing IO, so that hundreds of RTP sessions can be scheduled by a single thread. * Features an adaptive jitter algorithm for a receiver to adapt to the clockrate of the sender. * Supports part of RFC2833 for telephone events over RTP. * The API is well documented using gtk-doc. * Licensed under the Lesser Gnu Public License. * RTCP messages sent periodically since 0.7.0 (compound packet including sender report or receiver report + SDES) * Includes an API to parse incoming RTCP packets. OKed during freeze by wiz and agc.
Diffstat (limited to 'net/ortp')
-rw-r--r--net/ortp/DESCR20
-rw-r--r--net/ortp/Makefile25
-rw-r--r--net/ortp/PLIST18
-rw-r--r--net/ortp/buildlink3.mk12
-rw-r--r--net/ortp/distinfo5
-rw-r--r--net/ortp/options.mk11
6 files changed, 91 insertions, 0 deletions
diff --git a/net/ortp/DESCR b/net/ortp/DESCR
new file mode 100644
index 00000000000..8b06ff741e8
--- /dev/null
+++ b/net/ortp/DESCR
@@ -0,0 +1,20 @@
+oRTP - a Real-time Transport Protocol (RFC3550) stack under LGPL
+Features:
+* Written in C, works under Linux (and probably any Unix) and Windows.
+* Implement the RFC3550 (RTP) with a easy to use API with high and low level
+ access.
+* Includes support for multiples profiles, AV profile (RFC3551) being the
+ one by default.
+* Includes a packet scheduler for to send and recv packet "on time",
+ according to their timestamp. Scheduling is optional, rtp sessions can
+ remain not scheduled.
+* Supports mutiplexing IO, so that hundreds of RTP sessions can be scheduled
+ by a single thread.
+* Features an adaptive jitter algorithm for a receiver to adapt to the
+ clockrate of the sender.
+* Supports part of RFC2833 for telephone events over RTP.
+* The API is well documented using gtk-doc.
+* Licensed under the Lesser Gnu Public License.
+* RTCP messages sent periodically since 0.7.0 (compound packet including
+ sender report or receiver report + SDES)
+* Includes an API to parse incoming RTCP packets.
diff --git a/net/ortp/Makefile b/net/ortp/Makefile
new file mode 100644
index 00000000000..2d7171fa48d
--- /dev/null
+++ b/net/ortp/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/10/02 19:09:29 markd Exp $
+#
+
+DISTNAME= ortp-0.16.0
+CATEGORIES= net
+MASTER_SITES= http://download.savannah.nongnu.org/releases/linphone/ortp/sources/
+
+MAINTAINER= zul@netbsd-fr.org
+HOMEPAGE= http://www.linphone.org/index.php/eng/code_review/ortp
+COMMENT= Real-time Transport Protocol stack
+LICENSE= gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+
+CONFIGURE_ENV+= ac_cv_path_DOXYGEN=false
+PKGCONFIG_OVERRIDE+= ortp.pc.in
+
+.include "options.mk"
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/ortp/PLIST b/net/ortp/PLIST
new file mode 100644
index 00000000000..8113d51ee89
--- /dev/null
+++ b/net/ortp/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/10/02 19:09:29 markd Exp $
+include/ortp/b64.h
+include/ortp/event.h
+include/ortp/ortp.h
+include/ortp/payloadtype.h
+include/ortp/port.h
+include/ortp/rtcp.h
+include/ortp/rtp.h
+include/ortp/rtpsession.h
+include/ortp/rtpsignaltable.h
+include/ortp/sessionset.h
+include/ortp/srtp.h
+include/ortp/str_utils.h
+include/ortp/stun.h
+include/ortp/stun_udp.h
+include/ortp/telephonyevents.h
+lib/libortp.la
+lib/pkgconfig/ortp.pc
diff --git a/net/ortp/buildlink3.mk b/net/ortp/buildlink3.mk
new file mode 100644
index 00000000000..310bcc930c9
--- /dev/null
+++ b/net/ortp/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/10/02 19:09:29 markd Exp $
+
+BUILDLINK_TREE+= ortp
+
+.if !defined(ORTP_BUILDLINK3_MK)
+ORTP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ortp+= ortp>=0.13.1
+BUILDLINK_PKGSRCDIR.ortp?= ../../net/ortp
+.endif # ORTP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ortp
diff --git a/net/ortp/distinfo b/net/ortp/distinfo
new file mode 100644
index 00000000000..d3c0fcd3d42
--- /dev/null
+++ b/net/ortp/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/10/02 19:09:29 markd Exp $
+
+SHA1 (ortp-0.16.0.tar.gz) = 6ceae2decadc440fe5f87de5c996fb5eecf00325
+RMD160 (ortp-0.16.0.tar.gz) = b878ef6891176aa1254c45ec1368797be9d0e894
+Size (ortp-0.16.0.tar.gz) = 453568 bytes
diff --git a/net/ortp/options.mk b/net/ortp/options.mk
new file mode 100644
index 00000000000..ba43d036e49
--- /dev/null
+++ b/net/ortp/options.mk
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1.1.1 2009/10/02 19:09:29 markd Exp $
+#
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.ortp
+PKG_SUPPORTED_OPTIONS= inet6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif