Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
The Multicast Dissemination Protocol (MDP) is a protocol framework and
software toolkit for reliable multicasting data objects. A primary
design goal of MDP is to provide a reliable multicast protocol approach
which is suitable for reliable dissemination of data over both wireless
and wired networks.
MDP software has been demonstrated across a range of network architecture
and heterogeneous conditions including; the worldwide Internet MBone,
bandwidth and routing asymmetric network connections, high delay satellite
networks, and mobile, radio networks. MDP version 2, the latest software
release and ongoing work, integrates numerous multicast protocol advances
including highly robust, packet-based erasure correction techniques and
adaptive group timing mechanisms.
The present MDPv2 software release has a defined API library and several
example working applications including a multicast file transfer applications
and a very basic multicast chat application. To learn more and/or download
the software see the following sections.
+34
View File
@@ -0,0 +1,34 @@
# $NetBSD: Makefile,v 1.20 2012/10/08 09:25:50 asau Exp $
#
# XXX: Shouldn't this package be simply called mdp, without the "src-"?
DISTNAME= src-mdp-1.9a5
PKGREVISION= 1
CATEGORIES= mbone
MASTER_SITES= http://downloads.pf.itd.nrl.navy.mil/mdp/ \
http://downloads.pf.itd.nrl.navy.mil/protolib/
DISTFILES= src-mdp-1.9a5.tgz src-protolib-1.0a3d.tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cs.itd.nrl.navy.mil/work/mdp/
COMMENT= Multicast file transfer
WRKSRC= ${WRKDIR}/mdp
BUILD_DIRS= unix
USE_LANGUAGES= c++
USE_TOOLS+= gmake
BUILD_TARGET= mdp
INSTALLATION_DIRS= bin
post-extract:
rm ${WRKSRC}/protolib
mv ${WRKDIR}/protolib-1.0 ${WRKSRC}/protolib
do-configure:
cd ${WRKSRC}/unix && rm -f Makefile && ln -s Makefile.netbsd Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unix/mdp ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
+2
View File
@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/26 12:17:04 manu Exp $
bin/mdp
+11
View File
@@ -0,0 +1,11 @@
$NetBSD: distinfo,v 1.5 2007/12/01 13:55:11 rillig Exp $
SHA1 (src-mdp-1.9a5.tgz) = 62d688cc7f570d4492d6e0839026b6a72a5c7163
RMD160 (src-mdp-1.9a5.tgz) = ba9a614466995eff42ea14d2afdb442fff780284
Size (src-mdp-1.9a5.tgz) = 439296 bytes
SHA1 (src-protolib-1.0a3d.tgz) = 4532de7a4bce6e7190ab3afa5dbf82f31f1775a8
RMD160 (src-protolib-1.0a3d.tgz) = 53946fbdd298f0ea1d039531f57fe2d6460d8505
Size (src-protolib-1.0a3d.tgz) = 59402 bytes
SHA1 (patch-ab) = 6a958d89aa42c636e67a9989d8a94eba1d3816e6
SHA1 (patch-ac) = 72ccea437882074279c887635deb1ad3acbcb3ed
SHA1 (patch-ad) = b6ec185f71ee4bac3986739969f12395de591328
+49
View File
@@ -0,0 +1,49 @@
$NetBSD: patch-ab,v 1.4 2007/12/01 13:55:12 rillig Exp $
--- unix/Makefile.netbsd.orig 2002-01-08 06:18:57.000000000 +1100
+++ unix/Makefile.netbsd 2003-10-10 13:25:32.000000000 +1000
@@ -10,26 +10,26 @@
# 1) Where to find the Tcl standard library scripts
# (e.g. init.tcl, ...)
-TCL_SCRIPT_PATH = /usr/local/lib/tcl8.0
+TCL_SCRIPT_PATH = ${PREFIX}/lib/tcl8.0
# 2) Where to find the Tk standard library scripts
# (e.g. button.tcl, entry.tcl, ...)
-TK_SCRIPT_PATH = /usr/local/lib/tk8.0
+TK_SCRIPT_PATH = ${PREFIX}/lib/tk8.0
# 3) Where to find Tcl/Tk header files
# (e.g. tcl.h, tk.h, ...)
-TCL_INCL_PATH = -I/usr/local/include
+TCL_INCL_PATH = -I${PREFIX}/include
# 4) Point to specific libtcl.a and libtk.a to use
-TCL_LIB = /usr/local/lib/libtcl80.a
-TK_LIB = /usr/local/lib/libtk80.a
+TCL_LIB = ${PREFIX}/lib/libtcl80.a
+TK_LIB = ${PREFIX}/lib/libtk80.a
# 5) System specific additional libraries, include paths, etc
# (Where to find X11 libraries, etc)
#
-SYSTEM_INCLUDES = -I/usr/X11R6/include
-SYSTEM_LDFLAGS = -L/usr/X11R6/lib
+SYSTEM_INCLUDES = -I${X11BASE}/include
+SYSTEM_LDFLAGS = -L${X11BASE}/lib -Wl,-R${X11BASE}/lib
SYSTEM_LIBS =
# 6) System specific capabilities
@@ -62,8 +62,8 @@ SYSTEM_LIBS =
# (We export these for other Makefiles as needed)
#
-export SYSTEM_HAVES = -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD $(DNETSEC)
+export SYSTEM_HAVES = -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD $(DNETSEC) -D__socklen_t_defined=1
-export CC = gcc
+export CC = g++
include Makefile.common
+18
View File
@@ -0,0 +1,18 @@
$NetBSD: patch-ac,v 1.1 2007/12/01 13:55:12 rillig Exp $
Friend declarations are not class definitions.
--- common/mdpObject.h.orig 2002-01-07 19:18:57.000000000 +0000
+++ common/mdpObject.h 2007-12-01 13:42:33.000000000 +0000
@@ -419,6 +419,11 @@ enum MdpNackingMode
MDP_NACKING_NORMAL
};
+class MdpSession;
+class MdpServerNode;
+class MdpObjectList;
+class MdpObjectListIterator;
+
class MdpObject
#ifdef USE_INHERITANCE
: public ProtocolTimerOwner
+29
View File
@@ -0,0 +1,29 @@
$NetBSD: patch-ad,v 1.1 2007/12/01 13:55:12 rillig Exp $
--- protolib/common/eventDispatcher.h.orig 2002-01-14 17:29:05.000000000 +0000
+++ protolib/common/eventDispatcher.h 2007-12-01 13:41:07.000000000 +0000
@@ -121,13 +121,13 @@ class EventDispatcher
// If this optional socket installer is used instead of
// explicit calls to "AddSocketInput()", the UdpSocket "installData"
// should be inited to a pointer to the EventDispatcher instance.
- static bool EventDispatcher::SocketInstaller(UdpSocketCmd cmd,
+ static bool SocketInstaller(UdpSocketCmd cmd,
UdpSocket* theSocket,
const void* installData);
// (TBD) Provide a static TimerInstaller so EventDispatcher
// users can use their own ProtocolTimerMgrs if desired
- static bool EventDispatcher::TimerInstaller(
+ static bool TimerInstaller(
ProtocolTimerInstallCmd cmd,
double delay,
ProtocolTimerMgr* timerMgr,
@@ -162,7 +162,7 @@ class EventDispatcher
bool InstallTimerMgr(ProtocolTimerMgr* timerMgr, double delay);
bool ModifyTimerMgr(ProtocolTimerMgr* timerMgr, double delay);
bool RemoveTimerMgr(ProtocolTimerMgr* timerMgr);
- static bool EventDispatcher::PrivateTimerInstaller(ProtocolTimerInstallCmd cmd,
+ static bool PrivateTimerInstaller(ProtocolTimerInstallCmd cmd,
double theDelay,
ProtocolTimerMgr* timerMgr,
const void* installData);