summaryrefslogtreecommitdiff
path: root/net/ccrtp
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2013-04-17 00:54:16 +0000
committerrodent <rodent@pkgsrc.org>2013-04-17 00:54:16 +0000
commit288f11332704d8b1372c7f41de1cadfc6a55f17c (patch)
tree5ccb43a2c524de2012517a06874acdc9d461dcc6 /net/ccrtp
parent1b67f42b58655b573e7f9e1be8f83528592e84a9 (diff)
downloadpkgsrc-288f11332704d8b1372c7f41de1cadfc6a55f17c.tar.gz
Import ccrtp-2.0.5 as net/ccrtp from pkgsrc-wip, originally packaged
by pancake ;) <poppnk@users.sourceforge.net>. Welcome to GNU ccRTP, the RTP protocol stack of GNU Common C++ and the GNU project. GNU ccRTP was created as a "generic" and high performance RTP stack and uses queued packet lists for both sending and receiving of realtime data. A single scheduler thread both schedules delivery of timestamped outgoing packets, and processes incoming packets into the receive queue. A seperate thread or process can then feed data into the stack for delivery and process pending requests without interfering with the stack service thread itself.
Diffstat (limited to 'net/ccrtp')
-rw-r--r--net/ccrtp/DESCR8
-rw-r--r--net/ccrtp/Makefile30
-rw-r--r--net/ccrtp/PLIST20
-rw-r--r--net/ccrtp/buildlink3.mk20
-rw-r--r--net/ccrtp/distinfo5
-rw-r--r--net/ccrtp/options.mk11
6 files changed, 94 insertions, 0 deletions
diff --git a/net/ccrtp/DESCR b/net/ccrtp/DESCR
new file mode 100644
index 00000000000..974b523bcc0
--- /dev/null
+++ b/net/ccrtp/DESCR
@@ -0,0 +1,8 @@
+Welcome to GNU ccRTP, the RTP protocol stack of GNU Common C++ and the
+GNU project. GNU ccRTP was created as a "generic" and high performance
+RTP stack and uses queued packet lists for both sending and receiving of
+realtime data. A single scheduler thread both schedules delivery of
+timestamped outgoing packets, and processes incoming packets into the
+receive queue. A seperate thread or process can then feed data into the
+stack for delivery and process pending requests without interfering with
+the stack service thread itself.
diff --git a/net/ccrtp/Makefile b/net/ccrtp/Makefile
new file mode 100644
index 00000000000..3d8cb62a92e
--- /dev/null
+++ b/net/ccrtp/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2013/04/17 00:54:16 rodent Exp $
+#
+
+DISTNAME= ccrtp-2.0.5
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GNU:=ccrtp/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.gnu.org/software/ccrtp/
+COMMENT= RTP and RTSP protocol implementation using GNU CommonCpp
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES+= c c++
+USE_TOOLS+= pkg-config
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/libccrtp1.pc.in
+INFO_FILES= yes
+
+.include "options.mk"
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../security/libgpg-error/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../devel/ucommon/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/ccrtp/PLIST b/net/ccrtp/PLIST
new file mode 100644
index 00000000000..176aeba25d3
--- /dev/null
+++ b/net/ccrtp/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2013/04/17 00:54:16 rodent Exp $
+include/ccrtp/CryptoContext.h
+include/ccrtp/CryptoContextCtrl.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/ccrtp.info
+lib/libccrtp.la
+lib/pkgconfig/libccrtp.pc
diff --git a/net/ccrtp/buildlink3.mk b/net/ccrtp/buildlink3.mk
new file mode 100644
index 00000000000..32dfe3d7c4d
--- /dev/null
+++ b/net/ccrtp/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/04/17 00:54:16 rodent Exp $
+
+BUILDLINK_TREE+= ccrtp
+
+.if !defined(CCRTP_BUILDLINK3_MK)
+CCRTP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ccrtp+= ccrtp>=2.0.0
+BUILDLINK_PKGSRCDIR.ccrtp?= ../../net/ccrtp
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../security/libgpg-error/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../devel/ucommon/buildlink3.mk"
+.endif # CCRTP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ccrtp
diff --git a/net/ccrtp/distinfo b/net/ccrtp/distinfo
new file mode 100644
index 00000000000..b4f089cc729
--- /dev/null
+++ b/net/ccrtp/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/04/17 00:54:16 rodent Exp $
+
+SHA1 (ccrtp-2.0.5.tar.gz) = 8576cb12f440cea4b665f9abb26ec89b354bc454
+RMD160 (ccrtp-2.0.5.tar.gz) = 4ee3da0438e219a6f841188b7ff3d5259159b1da
+Size (ccrtp-2.0.5.tar.gz) = 735488 bytes
diff --git a/net/ccrtp/options.mk b/net/ccrtp/options.mk
new file mode 100644
index 00000000000..fa0db1f2a26
--- /dev/null
+++ b/net/ccrtp/options.mk
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1 2013/04/17 00:54:16 rodent Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.ccrtp
+PKG_SUPPORTED_OPTIONS= debug
+PKG_SUGGESTED_OPTIONS+= # blank
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+= --enable-debug
+.endif