pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/mad-flute Initial import of mad-flute-1.7 into t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5fff747717bc
branches:  trunk
changeset: 603245:5fff747717bc
user:      agc <agc%pkgsrc.org@localhost>
date:      Wed May 02 04:43:11 2012 +0000

description:
Initial import of mad-flute-1.7 into the packages collection

        MAD project implemented two protocols designed for reliable content
        delivery.  File Delivery over Unidirectional Transport (FLUTE) is a
        protocol for the unidirectional delivery of files over the Internet,
        which is particularly suited to multicast networks.  FLUTE builds on
        Asyncronous Layered Coding (ALC), the base protocol designed for
        massively scalable multicast distribution.  Asynchronous Layered
        Coding combines the Layered Coding Transport (LCT) building block, a
        multiple rate congestion control building block and the Forward Error
        Correction (FEC) building block to provide congestion controlled
        reliable asynchronous delivery of content to an unlimited number of
        concurrent receivers from a single sender.

        MAD-ALCLIB library is an implementation of the ALC/LCT protocol, along
        with the RLC congestion control protocol and Compact No-Code, Simple
        XOR and Reed-Solomon FEC schemes.  Session Description Protocol (SDP)
        can be used to describe FLUTE sessions.  MAD-SDPLIB library is an
        implementation of "SDP Descriptors for FLUTE" Internet-Draft.
        MAD-FLUTELIB is an implementation of the FLUTE protocol, and it builds
        on MAD-ALCLIB and MAD-SDPLIB libraries.  MAD-FLUTE is a multicast file
        transfer tool build on the above mentioned libraries.

diffstat:

 devel/mad-flute/DESCR            |   20 +++++
 devel/mad-flute/Makefile         |   26 ++++++
 devel/mad-flute/PLIST            |    3 +
 devel/mad-flute/distinfo         |   18 ++++
 devel/mad-flute/patches/patch-aa |  150 +++++++++++++++++++++++++++++++++++++++
 devel/mad-flute/patches/patch-ab |   23 +++++
 devel/mad-flute/patches/patch-ac |   61 +++++++++++++++
 devel/mad-flute/patches/patch-ad |   15 +++
 devel/mad-flute/patches/patch-ae |   16 ++++
 devel/mad-flute/patches/patch-af |   15 +++
 devel/mad-flute/patches/patch-ag |   42 ++++++++++
 devel/mad-flute/patches/patch-ah |  146 +++++++++++++++++++++++++++++++++++++
 devel/mad-flute/patches/patch-ai |   43 +++++++++++
 devel/mad-flute/patches/patch-aj |   50 +++++++++++++
 devel/mad-flute/patches/patch-ak |   59 +++++++++++++++
 devel/mad-flute/patches/patch-al |   33 ++++++++
 devel/mad-flute/patches/patch-am |   28 +++++++
 17 files changed, 748 insertions(+), 0 deletions(-)

diffs (truncated from 816 to 300 lines):

diff -r 98744bea3be4 -r 5fff747717bc devel/mad-flute/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mad-flute/DESCR     Wed May 02 04:43:11 2012 +0000
@@ -0,0 +1,20 @@
+MAD project implemented two protocols designed for reliable content
+delivery.  File Delivery over Unidirectional Transport (FLUTE) is a
+protocol for the unidirectional delivery of files over the Internet,
+which is particularly suited to multicast networks.  FLUTE builds on
+Asyncronous Layered Coding (ALC), the base protocol designed for
+massively scalable multicast distribution.  Asynchronous Layered
+Coding combines the Layered Coding Transport (LCT) building block, a
+multiple rate congestion control building block and the Forward Error
+Correction (FEC) building block to provide congestion controlled
+reliable asynchronous delivery of content to an unlimited number of
+concurrent receivers from a single sender.
+
+MAD-ALCLIB library is an implementation of the ALC/LCT protocol, along
+with the RLC congestion control protocol and Compact No-Code, Simple
+XOR and Reed-Solomon FEC schemes.  Session Description Protocol (SDP)
+can be used to describe FLUTE sessions.  MAD-SDPLIB library is an
+implementation of "SDP Descriptors for FLUTE" Internet-Draft.
+MAD-FLUTELIB is an implementation of the FLUTE protocol, and it builds
+on MAD-ALCLIB and MAD-SDPLIB libraries.  MAD-FLUTE is a multicast file
+transfer tool build on the above mentioned libraries.
diff -r 98744bea3be4 -r 5fff747717bc devel/mad-flute/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mad-flute/Makefile  Wed May 02 04:43:11 2012 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/05/02 04:43:11 agc Exp $
+
+DISTNAME=              mad_fcl_v1.7_src
+PKGNAME=               mad-flute-1.7
+CATEGORIES=            devel
+MASTER_SITES=          http://mad.cs.tut.fi/download/
+
+MAINTAINER=            agc%NetBSD.org@localhost
+HOMEPAGE=              http://mad.cs.tut.fi/
+COMMENT=               Reliable Multicast Layering
+LICENSE=               gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_TOOLS+=            gmake
+
+INSTALLATION_DIRS+=    bin
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/bin/flute ${DESTDIR}${PREFIX}/bin/flute
+       ${INSTALL_PROGRAM} ${WRKSRC}/bin/multis_flute ${DESTDIR}${PREFIX}/bin/multis_flute
+
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 98744bea3be4 -r 5fff747717bc devel/mad-flute/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mad-flute/PLIST     Wed May 02 04:43:11 2012 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/05/02 04:43:11 agc Exp $
+bin/flute
+bin/multis_flute
diff -r 98744bea3be4 -r 5fff747717bc devel/mad-flute/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mad-flute/distinfo  Wed May 02 04:43:11 2012 +0000
@@ -0,0 +1,18 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/05/02 04:43:11 agc Exp $
+
+SHA1 (mad_fcl_v1.7_src.tar.gz) = e2157b42e1006167224fbaea7bec46d438e6a41c
+RMD160 (mad_fcl_v1.7_src.tar.gz) = 6aeaf046f16818fc591702371feeab11c02d4ce7
+Size (mad_fcl_v1.7_src.tar.gz) = 208408 bytes
+SHA1 (patch-aa) = 6aed24b852f6bdb39f51f71ce8d504aff4a5d958
+SHA1 (patch-ab) = 4cfd145d94d3009929a1a466779725b1be5eb1cc
+SHA1 (patch-ac) = f0a7f04b539cdae439d4ebd82d4a65a9c645d88b
+SHA1 (patch-ad) = fad10b4db89122ec9e78590237215eea55ecc7a9
+SHA1 (patch-ae) = ccc0c001ce736d4334ecd973ee812513c52de986
+SHA1 (patch-af) = 184b7525b8b6a5fc502e30617e997bbb6e237d4e
+SHA1 (patch-ag) = f58f72293758372de7851c090c2886e5f1c6f945
+SHA1 (patch-ah) = 118390da353bca29e6b21c31b68bfbad440692de
+SHA1 (patch-ai) = aab30f8acf1e6766c08812405e5469b1e512f6d7
+SHA1 (patch-aj) = ba74bc1ab51c19449953c5a4e4837223d3859054
+SHA1 (patch-ak) = 845bcf4cad65fbb73b8ad847f7fccbd385858a16
+SHA1 (patch-al) = 757ff7f015b9b60edae79d1372227553621590f3
+SHA1 (patch-am) = 198d7ec12fcbe1328408d8928d13710cb380dff2
diff -r 98744bea3be4 -r 5fff747717bc devel/mad-flute/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mad-flute/patches/patch-aa  Wed May 02 04:43:11 2012 +0000
@@ -0,0 +1,150 @@
+$NetBSD: patch-aa,v 1.1.1.1 2012/05/02 04:43:11 agc Exp $
+
+Use gmake
+get rid of dos line endings
+
+--- Makefile   2011/12/21 16:28:33     1.1
++++ Makefile   2011/12/21 16:29:27
+@@ -1,71 +1,71 @@
+-all : alclib sdplib flutelib flute multis_flute flute_unittest
+-
+-alclib ::
+-      @echo "-------------------"
+-      @echo "*** ALC library ***"
+-      @echo "-------------------"
+-      mkdir lib; cd alclib; make clean; make                   
+-      @echo "done"
+-
+-sdplib ::
+-      @echo "-------------------"
+-      @echo "*** SDP library ***"
+-      @echo "-------------------"
+-      mkdir lib; cd sdplib; make clean; make                   
+-      @echo "done"
+-
+-flutelib ::
+-      @echo "---------------------"
+-      @echo "*** FLUTE library ***"
+-      @echo "---------------------"
+-      mkdir lib; cd flutelib; make clean; make
+-      @echo "done"
+-
+-flute ::
+-      @echo "-------------------------"
+-      @echo "*** FLUTE application ***"
+-      @echo "-------------------------"
+-      mkdir bin; cd flute; make clean; make
+-      @echo "done"
+-
+-multis_flute ::
+-      @echo "----------------------------------------------"
+-      @echo "*** Example multisession FLUTE application ***"
+-      @echo "----------------------------------------------"
+-      mkdir bin; cd multis_flute; make clean; make
+-      @echo "done"
+-
+-flute_unittest ::
+-      @echo "------------------------"
+-      @echo "*** FLUTE unit test ***"
+-      @echo "------------------------"
+-      mkdir bin; cd UnitTest; make clean; make
+-      @echo "done"
+-
+-clean :
+-      @echo "----------------------------"
+-      @echo "*** Cleaning ALC library ***"
+-      @echo "----------------------------"
+-      cd alclib; make clean
+-      @echo "----------------------------"
+-      @echo "*** Cleaning SDP library ***"
+-      @echo "----------------------------"
+-      cd sdplib; make clean
+-      @echo "------------------------------"
+-      @echo "*** Cleaning FLUTE library ***"
+-      @echo "------------------------------"
+-      cd flutelib; make clean
+-      @echo "----------------------------------"
+-      @echo "*** Cleaning FLUTE application ***"
+-      @echo "----------------------------------"
+-      cd flute; make clean
+-      @echo "-------------------------------------------------------"
+-      @echo "*** Cleaning example multisession FLUTE application ***"
+-      @echo "-------------------------------------------------------"
+-      cd multis_flute; make clean
+-      @echo "--------------------------------"
+-      @echo "*** Cleaning FLUTE unit test ***"
+-      @echo "--------------------------------"
+-      cd UnitTest; make clean
+-      @echo "done"
+-
++all : alclib sdplib flutelib flute multis_flute
++
++alclib ::
++      @echo "-------------------"
++      @echo "*** ALC library ***"
++      @echo "-------------------"
++      mkdir lib; cd alclib; ${MAKE} clean; ${MAKE}                   
++      @echo "done"
++
++sdplib ::
++      @echo "-------------------"
++      @echo "*** SDP library ***"
++      @echo "-------------------"
++      mkdir lib; cd sdplib; ${MAKE} clean; ${MAKE}                   
++      @echo "done"
++
++flutelib ::
++      @echo "---------------------"
++      @echo "*** FLUTE library ***"
++      @echo "---------------------"
++      mkdir lib; cd flutelib; ${MAKE} clean; ${MAKE}
++      @echo "done"
++
++flute ::
++      @echo "-------------------------"
++      @echo "*** FLUTE application ***"
++      @echo "-------------------------"
++      mkdir bin; cd flute; ${MAKE} clean; ${MAKE}
++      @echo "done"
++
++multis_flute ::
++      @echo "----------------------------------------------"
++      @echo "*** Example multisession FLUTE application ***"
++      @echo "----------------------------------------------"
++      mkdir bin; cd multis_flute; ${MAKE} clean; ${MAKE}
++      @echo "done"
++
++flute_unittest ::
++      @echo "------------------------"
++      @echo "*** FLUTE unit test ***"
++      @echo "------------------------"
++      mkdir bin; cd UnitTest; ${MAKE} clean; ${MAKE}
++      @echo "done"
++
++clean :
++      @echo "----------------------------"
++      @echo "*** Cleaning ALC library ***"
++      @echo "----------------------------"
++      cd alclib; ${MAKE} clean
++      @echo "----------------------------"
++      @echo "*** Cleaning SDP library ***"
++      @echo "----------------------------"
++      cd sdplib; ${MAKE} clean
++      @echo "------------------------------"
++      @echo "*** Cleaning FLUTE library ***"
++      @echo "------------------------------"
++      cd flutelib; ${MAKE} clean
++      @echo "----------------------------------"
++      @echo "*** Cleaning FLUTE application ***"
++      @echo "----------------------------------"
++      cd flute; ${MAKE} clean
++      @echo "-------------------------------------------------------"
++      @echo "*** Cleaning example multisession FLUTE application ***"
++      @echo "-------------------------------------------------------"
++      cd multis_flute; ${MAKE} clean
++      @echo "--------------------------------"
++      @echo "*** Cleaning FLUTE unit test ***"
++      @echo "--------------------------------"
++      cd UnitTest; ${MAKE} clean
++      @echo "done"
++
diff -r 98744bea3be4 -r 5fff747717bc devel/mad-flute/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mad-flute/patches/patch-ab  Wed May 02 04:43:11 2012 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.1.1.1 2012/05/02 04:43:11 agc Exp $
+
+portability fixes
+
+--- alclib/transport.h 2011/12/21 16:31:23     1.1
++++ alclib/transport.h 2011/12/21 16:33:10
+@@ -35,6 +35,7 @@
+ #define _TRANSPORT_H_
+ 
+ #include <sys/types.h>
++#include <sys/param.h>
+ 
+ #ifdef LINUX
+ #include <unistd.h>
+@@ -63,6 +64,8 @@
+   
+ #ifdef _MSC_VER
+   __int64 offset;                     /**< data symbol offset in the temporary file */
++#elif (defined(BSD) && BSD >= 199506)
++  off_t       offset;                 /**< data symbol offset in the temporaryfile */
+ #else
+   off64_t offset;                     /**< data symbol offset in the temporaryfile */
+ #endif
diff -r 98744bea3be4 -r 5fff747717bc devel/mad-flute/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mad-flute/patches/patch-ac  Wed May 02 04:43:11 2012 +0000
@@ -0,0 +1,61 @@
+$NetBSD: patch-ac,v 1.1.1.1 2012/05/02 04:43:11 agc Exp $
+
+get rid of some lunixisms
+
+--- alclib/alc_rx.c    2011/12/21 16:34:42     1.1
++++ alclib/alc_rx.c    2011/12/21 17:02:30
+@@ -39,6 +39,7 @@
+ #include <fcntl.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#include <sys/param.h>
+ #include <math.h>
+ #include <assert.h>
+ 
+@@ -690,6 +691,9 @@
+ #ifdef _MSC_VER
+                                               if((trans_obj->fd = open((const char*)trans_obj->tmp_filename,
+                                                       _O_WRONLY | _O_CREAT | _O_BINARY | _O_TRUNC , _S_IWRITE)) < 0) {
++#elif (defined(BSD) && BSD >= 199506)
++                                              if((trans_obj->fd = open((const char*)trans_obj->tmp_filename,
++                                                      O_WRONLY | O_CREAT | O_TRUNC , S_IRWXU)) < 0) {
+ #else
+                                               if((trans_obj->fd = open64(trans_obj->tmp_filename,
+                                                       O_WRONLY | O_CREAT | O_TRUNC , S_IRWXU)) < 0) {
+@@ -720,6 +724,9 @@
+ #ifdef _MSC_VER
+                                               if((trans_obj->fd_st = open((const char*)trans_obj->tmp_st_filename,
+                                                       _O_RDWR | _O_CREAT | _O_BINARY | _O_TRUNC , _S_IREAD | _S_IWRITE)) < 0) {
++#elif (defined(BSD) && BSD >= 199506)
++                                              if((trans_obj->fd_st = open(trans_obj->tmp_st_filename,
++                                                      O_RDWR | O_CREAT | O_TRUNC , S_IRWXU)) < 0) {
+ #else



Home | Main Index | Thread Index | Old Index