Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2004 14:32:26 +0100 (CET)
From:      Janos Mohacsi <mohacsi@niif.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62688: New port: net/mad_fcl version 0.5
Message-ID:  <200402111332.i1BDWQOb000881@norfolk.ki.iif.hu>
Resent-Message-ID: <200402111330.i1BDUDc6096768@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         62688
>Category:       ports
>Synopsis:       New port: net/mad_fcl version 0.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 11 05:30:12 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
NIIF
>Environment:
System: FreeBSD norfolk.ki.iif.hu 5.2-CURRENT FreeBSD 5.2-CURRENT #7: Mon Feb 9 12:12:13 CET 2004 root@norfolk.ki.iif.hu:/usr/obj/usr/src/sys/NORFOLK i386

>Description:
	MAD/Flute reliable unicast/multicast sending/receiving tool version 0.5.
        It is an implementation of the RFC3450 Asynchronous Layered Coding
        (ALC).
>How-To-Repeat:
	Apply this shar.
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mad_fcl/
#	mad_fcl/Makefile
#	mad_fcl/distinfo
#	mad_fcl/pkg-descr
#	mad_fcl/pkg-plist
#	mad_fcl/files
#	mad_fcl/files/patch-Makefile
#	mad_fcl/files/patch-sdplib::port_misc.c
#	mad_fcl/files/patch-flute::Makefile
#	mad_fcl/files/patch-alclib::Makefile
#	mad_fcl/files/patch-sdplib::Makefile
#
echo c - mad_fcl/
mkdir -p mad_fcl/ > /dev/null 2>&1
echo x - mad_fcl/Makefile
sed 's/^X//' >mad_fcl/Makefile << 'END-of-mad_fcl/Makefile'
X# New ports collection makefile for:	mad_fcl
X# Date created:				03.02.2003
X# Whom:					Janos.Mohacsi@bsd.hu
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mad_fcl
XPORTVERSION=	0.5
XCATEGORIES=	net ipv6
XMASTER_SITES=	http://www.atm.tut.fi/mad/download/
XDISTNAME=	${PORTNAME}_v${PORTVERSION}_src
X
XMAINTAINER=	Janos.Mohacsi@bsd.hu
XCOMMENT=	FLUTE - File Delivery over Unidirectional Transport implementation
X
XLIB_DEPENDS=	expat.4:${PORTSDIR}/textproc/expat2
X
XUSE_GMAKE=	yes
X
XDOC_FILES=	fdt-example.xml flute-sdp-example.sdp
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/bin/flute ${PREFIX}/bin
X.ifndef(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for file in ${DOC_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
X.endfor
X	${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-mad_fcl/Makefile
echo x - mad_fcl/distinfo
sed 's/^X//' >mad_fcl/distinfo << 'END-of-mad_fcl/distinfo'
XMD5 (mad_fcl_v0.5_src.tar.gz) = 02fd60b5d60aa3fd41dd85bd443ec1f9
XSIZE (mad_fcl_v0.5_src.tar.gz) = 96072
END-of-mad_fcl/distinfo
echo x - mad_fcl/pkg-descr
sed 's/^X//' >mad_fcl/pkg-descr << 'END-of-mad_fcl/pkg-descr'
XMAD-FLUTE is an implementation of FLUTE - File Delivery over
XUnidirectional Transport (IETF draft). FLUTE is a protocol for the
Xunidirectional delivery of files over the Internet, which is particularly
Xsuited to multicast networks. FLUTE builds on Asyncronous Layered Coding
X(ALC), the base protocol designed for massively scalable multicast
Xdistribution (RFC 3450). ALC is a protocol instantiation of Layered Coding
XTransport building block (LCT) (RFC 3451). MAD-ALC is an implementation of
Xthe ALC/LCT protocols. The MAD/TUT project is going on at Tampere
XUniversity of Technology (TUT).
X
XWWW: http://www.atm.tut.fi/mad/
X
XJanos Mohacsi <janos.mohacsi@bsd.hu>
END-of-mad_fcl/pkg-descr
echo x - mad_fcl/pkg-plist
sed 's/^X//' >mad_fcl/pkg-plist << 'END-of-mad_fcl/pkg-plist'
Xbin/flute
X%%PORTDOCS%%%%DOCSDIR%%/fdt-example.xml
X%%PORTDOCS%%%%DOCSDIR%%/flute-sdp-example.sdp
X%%PORTDOCS%%%%DOCSDIR%%/README.TXT
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-mad_fcl/pkg-plist
echo c - mad_fcl/files
mkdir -p mad_fcl/files > /dev/null 2>&1
echo x - mad_fcl/files/patch-Makefile
sed 's/^X//' >mad_fcl/files/patch-Makefile << 'END-of-mad_fcl/files/patch-Makefile'
X--- Makefile.orig	Mon Feb  9 17:21:45 2004
X+++ Makefile	Mon Feb  9 17:23:16 2004
X@@ -4,21 +4,21 @@
X 	@echo "-------------------"
X 	@echo "*** ALC library ***"
X 	@echo "-------------------"
X-	mkdir lib; cd alclib; make clean; make                   
X+	mkdir lib; cd alclib; gmake clean; gmake                   
X 	@echo "done"
X 
X sdplib ::
X 	@echo "-------------------"
X 	@echo "*** SDP library ***"
X 	@echo "-------------------"
X-	mkdir lib; cd sdplib; make clean; make                   
X+	mkdir lib; cd sdplib; gmake clean; gmake                   
X 	@echo "done"
X 
X flute ::
X 	@echo "-------------------------"
X 	@echo "*** flute application ***"
X 	@echo "-------------------------"
X-	mkdir bin; cd flute; make clean; make
X+	mkdir bin; cd flute; gmake clean; gmake
X 	@echo "done"
X 
X clean :
END-of-mad_fcl/files/patch-Makefile
echo x - mad_fcl/files/patch-sdplib::port_misc.c
sed 's/^X//' >mad_fcl/files/patch-sdplib::port_misc.c << 'END-of-mad_fcl/files/patch-sdplib::port_misc.c'
X--- sdplib/port_misc.c.orig	Mon Feb  9 17:25:03 2004
X+++ sdplib/port_misc.c	Tue Feb 10 09:25:15 2004
X@@ -55,6 +55,7 @@
X #  include <syslog.h>
X #endif
X 
X+#define HAVE_SYS_SELECT_H
X #if defined (HAVE_SYS_SELECT_H)
X #  include <sys/select.h>
X #endif
END-of-mad_fcl/files/patch-sdplib::port_misc.c
echo x - mad_fcl/files/patch-flute::Makefile
sed 's/^X//' >mad_fcl/files/patch-flute::Makefile << 'END-of-mad_fcl/files/patch-flute::Makefile'
X--- flute/Makefile.orig	Mon Feb  2 15:08:56 2004
X+++ flute/Makefile	Tue Feb 10 11:29:33 2004
X@@ -1,9 +1,9 @@
X #CC = ccmalloc gcc-2.95
X #CC = g++
X CC = gcc
X-CFLAGS += -Wall -g -I/usr/local/expat-1.95.6/lib/ -I/usr/local/ssl/include/ -I/usr/java/j2sdk1.4.2/include/ \
X-	 -I/usr/java/j2sdk1.4.2/include/linux/ -DLINUX -D__VXWORKS_OS__
X-LFLAGS += -DLINUX -D__VXWORKS_OS__ -L../lib -L/usr/local/expat-1.95.6/.libs/ -L/usr/local/ssl/lib/ \
X+CFLAGS += -Wall -g -O -I/usr/local/include/ \
X+	 -DLINUX -D__VXWORKS_OS__
X+LFLAGS += -DLINUX -L../lib -L/usr/local/lib \
X 	-lalc -lsdp -lexpat -lpthread -lm -lssl -lcrypto #-lmpatrol -lelf
X 
X SOURCES = main.c flute.c sender.c receiver.c fdt.c fdt_gen.c mad_md5.c uri.c getdnsname.c
END-of-mad_fcl/files/patch-flute::Makefile
echo x - mad_fcl/files/patch-alclib::Makefile
sed 's/^X//' >mad_fcl/files/patch-alclib::Makefile << 'END-of-mad_fcl/files/patch-alclib::Makefile'
X--- alclib/Makefile.orig	Tue Feb 10 11:32:17 2004
X+++ alclib/Makefile	Tue Feb 10 11:32:32 2004
X@@ -1,7 +1,7 @@
X #CC = ccmalloc gcc-2.95
X #CC = g++
X CC = gcc
X-CFLAGS += -Wall -g -fPIC -DLINUX
X+CFLAGS += -Wall -g -fPIC -O -DLINUX
X 
X SOURCES = alc_channel.c alc_hdr.c alc_rx.c alc_session.c alc_socket.c alc_tx.c \
X 	lct_hdr.c mad.c mad_cc.c transport.c blocking_alg.c fec.c null_fec.c rs_fec.c
END-of-mad_fcl/files/patch-alclib::Makefile
echo x - mad_fcl/files/patch-sdplib::Makefile
sed 's/^X//' >mad_fcl/files/patch-sdplib::Makefile << 'END-of-mad_fcl/files/patch-sdplib::Makefile'
X--- sdplib/Makefile.orig	Tue Feb 10 11:33:24 2004
X+++ sdplib/Makefile	Tue Feb 10 11:33:38 2004
X@@ -1,6 +1,6 @@
X #CC = ccmalloc gcc-2.95
X CC = gcc
X-CFLAGS += -Wall -g -fPIC -DLINUX -D__VXWORKS_OS__
X+CFLAGS += -Wall -g -fPIC -DLINUX -O -D__VXWORKS_OS__
X 
X SOURCES = port_list.c port_misc.c sdp_accessor.c sdp_rfc2327.c sdplib.c
X 
END-of-mad_fcl/files/patch-sdplib::Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402111332.i1BDWQOb000881>