From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 15 10:10:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1C3B106566C for ; Thu, 15 Jul 2010 10:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 741DD8FC1E for ; Thu, 15 Jul 2010 10:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o6FAA2Vv029365 for ; Thu, 15 Jul 2010 10:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o6FAA2pk029364; Thu, 15 Jul 2010 10:10:02 GMT (envelope-from gnats) Resent-Date: Thu, 15 Jul 2010 10:10:02 GMT Resent-Message-Id: <201007151010.o6FAA2pk029364@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrey Zonov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8572E1065674 for ; Thu, 15 Jul 2010 10:05:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7378B8FC0A for ; Thu, 15 Jul 2010 10:05:21 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o6FA5Kod035932 for ; Thu, 15 Jul 2010 10:05:20 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o6FA5KEf035931; Thu, 15 Jul 2010 10:05:20 GMT (envelope-from nobody) Message-Id: <201007151005.o6FA5KEf035931@www.freebsd.org> Date: Thu, 15 Jul 2010 10:05:20 GMT From: Andrey Zonov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/148628: [new port] ftp/uftp3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2010 10:10:02 -0000 >Number: 148628 >Category: ports >Synopsis: [new port] ftp/uftp3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 15 10:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Andrey Zonov >Release: >Organization: >Environment: >Description: UFTP3 is a multicast file transfer program. It is a new version of "ftp/uftp" that does not compatible with previos version. >How-To-Repeat: >Fix: Patch attached with submission follows: # 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: # # . # ./pkg-descr # ./distinfo # ./Makefile # ./files # ./files/patch-Makefile # ./files/patch-uftp.h # ./files/uftpd3.sh.in # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5' XUFTP is an encrypted multicast file transfer program, designed to Xsecurely, reliably, and efficiently transfer files to multiple Xreceivers simultaneously. This is useful for distributing large Xfiles to a large number of receivers, and is especially useful for Xdata distribution over a satellite link (with two way communication), Xwhere the inherent delay makes any TCP based communication highly Xinefficient. The multicast encryption scheme is based on TLS with Xextensions to allow multiple receivers to share a common key. UFTP Xalso has the capability to communicate over disjoint networks Xseparated by one or more firewalls (NAT traversal) and without full Xend-to-end multicast capability (multicast tunneling) through the Xuse of a UFTP proxy server. These proxies also provide scalability Xby aggregating responses from a group of receivers. UFTP has been Xused in the production process of The Wall Street Journal to send XWSJ pages over satellite to their remote printing plants, and other Xusers have used it to send to over 1000 receivers. X XWWW: http://www.tcnj.edu/~bush/uftp.html 0e313719ff012ceaf97a028d51caa8f5 echo x - ./distinfo sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2' XMD5 (uftp-3.2.1.tar) = 7ebbf999e8ce92a1ec9c058e2f75f573 XSHA256 (uftp-3.2.1.tar) = 160dbdc21feb0dcaf044ae7b48c3a2cfe92324d2b20d04873a100d7f8c36fb2c XSIZE (uftp-3.2.1.tar) = 757760 aec8793adfd5b7c3f00e62ae41a09ac2 echo x - ./Makefile sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19' X# New ports collection makefile for: uftp3 X# Date created: 1 July 2010 X# Whom: Andrey Zonov X# X# $FreeBSD$ X# X XPORTNAME= uftp3 XPORTVERSION= 3.2.1 XCATEGORIES= ftp XMASTER_SITES= http://www.tcnj.edu/~bush/ XDISTNAME= uftp-${PORTVERSION} XEXTRACT_SUFX= .tar XWRKSRC= ${WRKDIR}/${DISTNAME} X XMAINTAINER= andrey.zonov@gmail.com XCOMMENT= Encrypted UDP based FTP with multicast X XUSE_RC_SUBR= uftpd3.sh X XPLIST_FILES= bin/uftp3 \ X bin/uftp_keymgt3 \ X sbin/uftpd3 \ X sbin/uftpproxyd3 X XMAN1= uftp3.1 \ X uftp_keymgt3.1 \ X uftpd3.1 \ X uftpproxyd3.1 X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/uftp ${PREFIX}/bin/uftp3 X ${INSTALL_PROGRAM} ${WRKSRC}/uftp_keymgt ${PREFIX}/bin/uftp_keymgt3 X ${INSTALL_PROGRAM} ${WRKSRC}/uftpd ${PREFIX}/sbin/uftpd3 X ${INSTALL_PROGRAM} ${WRKSRC}/uftpproxyd ${PREFIX}/sbin/uftpproxyd3 X ${INSTALL_MAN} ${WRKSRC}/uftp.1 ${MANPREFIX}/man/man1/uftp3.1 X ${INSTALL_MAN} ${WRKSRC}/uftp_keymgt.1 ${MANPREFIX}/man/man1/uftp_keymgt3.1 X ${INSTALL_MAN} ${WRKSRC}/uftpd.1 ${MANPREFIX}/man/man1/uftpd3.1 X ${INSTALL_MAN} ${WRKSRC}/uftpproxyd.1 ${MANPREFIX}/man/man1/uftpproxyd3.1 X X.include 464ef7c6571951809b23e262cbe26e19 echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/patch-Makefile sed 's/^X//' >./files/patch-Makefile << '3802d65bae4517a361f36e1d3a4f890a' X--- /dev/null 2010-07-02 03:44:00.000000000 +0400 X+++ Makefile 2010-07-02 03:47:58.000000000 +0400 X@@ -0,0 +1,86 @@ X+# X+ X+CC = cc X+CFLAGS=-g -Wall -DHAS_GETIFADDRS X+LDLIBS=-lc -lm -lcrypto X+ X+all: uftp uftpd uftpproxyd uftp_keymgt X+ X+clean: X+ rm -f uftp uftpd uftpproxyd uftp_keymgt *.o X+ X+client_announce.o: client_announce.c client.h uftp_common.h uftp.h \ X+ encryption.h uftp2.h client_common.h client_announce.h X+client_common.o: client_common.c client.h uftp_common.h uftp.h \ X+ encryption.h uftp2.h client_common.h X+client_config.o: client_config.c client.h uftp_common.h uftp.h \ X+ encryption.h uftp2.h client_config.h X+client_init.o: client_init.c client.h uftp_common.h uftp.h encryption.h \ X+ uftp2.h client_init.h client_config.h client_common.h X+client_loop.o: client_loop.c client.h uftp_common.h uftp.h encryption.h \ X+ uftp2.h client_common.h client_loop.h client_announce.h \ X+ client_transfer.h X+client_main.o: client_main.c client_config.h client_init.h client_loop.h X+client_transfer.o: client_transfer.c client.h uftp_common.h uftp.h \ X+ encryption.h uftp2.h client_common.h client_transfer.h X+ X+server_announce.o: server_announce.c server.h uftp_common.h uftp.h \ X+ encryption.h server_common.h server_announce.h X+server_common.o: server_common.c server.h uftp_common.h uftp.h \ X+ encryption.h server_common.h X+server_config.o: server_config.c server.h uftp_common.h uftp.h \ X+ encryption.h server_config.h X+server_init.o: server_init.c server.h uftp_common.h uftp.h encryption.h \ X+ server_config.h server_init.h X+server_main.o: server_main.c server_config.h uftp.h server_init.h \ X+ server_send.h X+server_phase.o: server_phase.c server.h uftp_common.h uftp.h encryption.h \ X+ server_common.h server_announce.h server_transfer.h X+server_send.o: server_send.c server.h uftp_common.h uftp.h encryption.h \ X+ server_send.h server_phase.h X+server_transfer.o: server_transfer.c server.h uftp_common.h uftp.h \ X+ encryption.h server_common.h server_transfer.h X+ X+proxy_common.o: proxy_common.c proxy.h uftp_common.h uftp.h encryption.h \ X+ proxy_common.h proxy_upstream.h X+proxy_config.o: proxy_config.c proxy.h uftp_common.h uftp.h encryption.h \ X+ proxy_config.h X+proxy_downstream.o: proxy_downstream.c proxy.h uftp_common.h uftp.h \ X+ encryption.h proxy_common.h proxy_downstream.h X+proxy_init.o: proxy_init.c proxy.h uftp_common.h uftp.h encryption.h \ X+ proxy_init.h proxy_config.h proxy_common.h X+proxy_loop.o: proxy_loop.c proxy.h uftp_common.h uftp.h encryption.h \ X+ proxy_common.h proxy_loop.h proxy_upstream.h proxy_downstream.h X+proxy_main.o: proxy_main.c proxy_config.h proxy_init.h proxy_loop.h X+proxy_upstream.o: proxy_upstream.c proxy.h uftp_common.h uftp.h \ X+ encryption.h proxy_common.h proxy_upstream.h proxy_downstream.h X+ X+uftp_keymgt.o: uftp_keymgt.c uftp_common.h uftp.h encryption.h X+encrypt_openssl.o: encrypt_openssl.c uftp_common.h uftp.h encryption.h X+uftp_common.o: uftp_common.c uftp.h uftp2.h uftp_common.h encryption.h X+ X+UFTP_OBJS=uftp_common.o encrypt_openssl.o \ X+ server_announce.o server_transfer.o server_send.o server_phase.o \ X+ server_common.o server_config.o server_init.o server_main.o X+ X+UFTPD_OBJS=uftp_common.o encrypt_openssl.o \ X+ client_loop.o client_announce.o client_transfer.o \ X+ client_common.o client_config.o client_init.o client_main.o X+ X+UFTPPROXYD_OBJS=uftp_common.o encrypt_openssl.o \ X+ proxy_loop.o proxy_upstream.o proxy_downstream.o \ X+ proxy_common.o proxy_config.o proxy_init.o proxy_main.o \ X+ X+UFTP_KEYMGT_OBJS=uftp_keymgt.o uftp_common.o encrypt_openssl.o X+ X+uftp: $(UFTP_OBJS) X+ $(CC) $(CFLAGS) $(LIB) -o $@ $(UFTP_OBJS) $(LDLIBS) X+ X+uftpd: $(UFTPD_OBJS) X+ $(CC) $(CFLAGS) $(LIB) -o $@ $(UFTPD_OBJS) $(LDLIBS) X+ X+uftpproxyd: $(UFTPPROXYD_OBJS) X+ $(CC) $(CFLAGS) $(LIB) -o $@ $(UFTPPROXYD_OBJS) $(LDLIBS) X+ X+uftp_keymgt: $(UFTP_KEYMGT_OBJS) X+ $(CC) $(CFLAGS) $(LIB) -o $@ $(UFTP_KEYMGT_OBJS) $(LDLIBS) 3802d65bae4517a361f36e1d3a4f890a echo x - ./files/patch-uftp.h sed 's/^X//' >./files/patch-uftp.h << 'c98f22e472e5346859231b6f56d07fbe' X--- uftp.h.orig 2010-07-03 17:24:59.000000000 +0400 X+++ uftp.h 2010-07-03 17:25:07.000000000 +0400 X@@ -144,7 +144,7 @@ X #define DESTNAME_LEN 100 X #define MAXFILES 500 X #define IFNAME_LEN 25 X-#define MAX_INTERFACES 20 X+#define MAX_INTERFACES 1024 X #define IPSTR_LEN 16 X X #define FTYPE_REG 0 c98f22e472e5346859231b6f56d07fbe echo x - ./files/uftpd3.sh.in sed 's/^X//' >./files/uftpd3.sh.in << 'b5e14ec550ec054cdde92718c402c272' X#!/bin/sh X# $FreeBSD$ X X# PROVIDE: uftpd3 X# REQUIRE: LOGIN X# KEYWORD: shutdown X X# X# Add the following lines to /etc/rc.conf to enable uftpd3: X# uftpd3_enable (bool): Set to "NO" by default. X# Set it to "YES" to enable uftpd3 X# uftpd3_flags (str): Set to "" by default. X# See uftpd3(1) for uftpd3_flags X# X X. %%RC_SUBR%% X Xname="uftpd3" Xrcvar=`set_rcvar` X Xcommand="%%PREFIX%%/sbin/uftpd3" X X: ${uftpd3_enable="NO"} X: ${uftpd3_flags=""} X Xload_rc_config "$name" X Xrun_rc_command "$1" b5e14ec550ec054cdde92718c402c272 exit >Release-Note: >Audit-Trail: >Unformatted: