diff options
-rw-r--r-- | net/udpcast/DESCR | 6 | ||||
-rw-r--r-- | net/udpcast/Makefile | 20 | ||||
-rw-r--r-- | net/udpcast/PLIST | 5 | ||||
-rw-r--r-- | net/udpcast/distinfo | 6 | ||||
-rw-r--r-- | net/udpcast/patches/patch-aa | 13 |
5 files changed, 50 insertions, 0 deletions
diff --git a/net/udpcast/DESCR b/net/udpcast/DESCR new file mode 100644 index 00000000000..c8273b7f7bc --- /dev/null +++ b/net/udpcast/DESCR @@ -0,0 +1,6 @@ +UDPcast is a file transfer tool that can send data simultaneously +to many destinations on a LAN. This can for instance be used to +install entire classrooms of PC's at once. The advantage of UDPcast +over using other methods (nfs, ftp, whatever) is that UDPcast uses +Ethernet's multicast abilities: it won't take longer to install 15 +machines than it would to install just 2. diff --git a/net/udpcast/Makefile b/net/udpcast/Makefile new file mode 100644 index 00000000000..85ce623252f --- /dev/null +++ b/net/udpcast/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/08/09 10:04:12 wiz Exp $ +# + +DISTNAME= udpcast-20060619 +CATEGORIES= net +MASTER_SITES= http://udpcast.linux.lu/download/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://udpcast.linux.lu/ +COMMENT= Send data simultaneously to many destinations on a LAN + +USE_TOOLS+= gmake perl + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/udp-receiver ${PREFIX}/sbin + ${INSTALL_PROGRAM} ${WRKSRC}/udp-sender ${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/udp-receiver.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/udp-sender.1 ${PREFIX}/${PKGMANDIR}/man1 + +.include "../../mk/bsd.pkg.mk" diff --git a/net/udpcast/PLIST b/net/udpcast/PLIST new file mode 100644 index 00000000000..24803d5cc1c --- /dev/null +++ b/net/udpcast/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/09 10:04:12 wiz Exp $ +sbin/udp-receiver +sbin/udp-sender +man/man1/udp-receiver.1 +man/man1/udp-sender.1 diff --git a/net/udpcast/distinfo b/net/udpcast/distinfo new file mode 100644 index 00000000000..e546e716fc2 --- /dev/null +++ b/net/udpcast/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/08/09 10:04:12 wiz Exp $ + +SHA1 (udpcast-20060619.tar.gz) = ae95820c746fc6d6dc2c4c97d24d52105983e15c +RMD160 (udpcast-20060619.tar.gz) = 1f8ffefc5f5a412f1b8bb371895987734f6159b1 +Size (udpcast-20060619.tar.gz) = 76311 bytes +SHA1 (patch-aa) = 71af13c0bede7748e8b9d32f920488d263d3348f diff --git a/net/udpcast/patches/patch-aa b/net/udpcast/patches/patch-aa new file mode 100644 index 00000000000..02affd0d478 --- /dev/null +++ b/net/udpcast/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/08/09 10:04:12 wiz Exp $ + +--- statistics.c.orig 2005-12-22 22:59:18.000000000 +0000 ++++ statistics.c +@@ -37,7 +37,7 @@ void receiverStatsStartTimer(receiver_st + static void printFilePosition(int fd) { + #ifndef WINDOWS + if(fd != -1) { +- loff_t offset = lseek64(fd, 0, SEEK_CUR); ++ off_t offset = lseek(fd, 0, SEEK_CUR); + printLongNum(offset); + } + #endif |