aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2008-06-05 09:53:43 +0800
committerwxs <wxs@FreeBSD.org>2008-06-05 09:53:43 +0800
commitc3cbe0cf2977620618d96a4511682d83ca473b7c (patch)
tree46924e2d96a3254d8fa1a133a825f0cbe7a39522 /ftp
parent53896c6f5b1f52259fab56fef6517e0b9aad4046 (diff)
downloadfreebsd-ports-gnome-c3cbe0cf2977620618d96a4511682d83ca473b7c.tar.gz
freebsd-ports-gnome-c3cbe0cf2977620618d96a4511682d83ca473b7c.tar.zst
freebsd-ports-gnome-c3cbe0cf2977620618d96a4511682d83ca473b7c.zip
UFTP is a multicast file transfer program, utilizing a protocol
based on Starburst MFTP. It is designed to reliably and efficiently transfer files to multiple receivers simultaneously, where either the intended receivers can be specified beforehand, or receivers can join the transfer when it is initiated. This is useful for distributing large files to a large number of receivers, and is especially useful for data distribution over a satellite link (with two way communication), where the inherent delay makes any TCP based communication terribly inefficient. http://www.tcnj.edu/~bush/uftp.html Submitted by: gnn (private email/IRC) Approved by: garga (mentor)
Diffstat (limited to 'ftp')
-rw-r--r--ftp/Makefile1
-rw-r--r--ftp/uftp/Makefile31
-rw-r--r--ftp/uftp/distinfo3
-rw-r--r--ftp/uftp/files/patch-Makefile15
-rw-r--r--ftp/uftp/files/patch-uftpd.c23
-rw-r--r--ftp/uftp/pkg-descr11
6 files changed, 84 insertions, 0 deletions
diff --git a/ftp/Makefile b/ftp/Makefile
index 100ca49c8c3f..595bb800dad8 100644
--- a/ftp/Makefile
+++ b/ftp/Makefile
@@ -101,6 +101,7 @@
SUBDIR += tnftp
SUBDIR += tnftpd
SUBDIR += twoftpd
+ SUBDIR += uftp
SUBDIR += urlgfe
SUBDIR += vsftpd
SUBDIR += waiho
diff --git a/ftp/uftp/Makefile b/ftp/uftp/Makefile
new file mode 100644
index 000000000000..6f4b057c83e2
--- /dev/null
+++ b/ftp/uftp/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: uftp
+# Date created: 4 June 2008
+# Whom: George V. Neville-Neil <gnn@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= uftp
+PORTVERSION= 2.6.1
+CATEGORIES= ftp
+MASTER_SITES= http://www.tcnj.edu/~bush/
+DISTNAME= uftp
+EXTRACT_SUFX= .tar
+
+MAINTAINER= gnn@FreeBSD.org
+COMMENT= A multicast capable FTP client and server
+
+WRKSRC= ${WRKDIR}
+
+PLIST_FILES= bin/uftp bin/uftpd
+
+MAN1= uftp.1 uftpd.1
+MANCOMPRESSED= no
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/uftp ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/uftpd ${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/uftp.1 ${MANPREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/uftpd.1 ${MANPREFIX}/man/man1/
+
+.include <bsd.port.mk>
diff --git a/ftp/uftp/distinfo b/ftp/uftp/distinfo
new file mode 100644
index 000000000000..4ee51413b09a
--- /dev/null
+++ b/ftp/uftp/distinfo
@@ -0,0 +1,3 @@
+MD5 (uftp.tar) = ffc5f5e1fa3ed4899419b0979239032f
+SHA256 (uftp.tar) = 8d54e7d6d417e0a5bdbfcec916cb2f4f6e682a3d534f48cf58a58a97c0883b99
+SIZE (uftp.tar) = 122880
diff --git a/ftp/uftp/files/patch-Makefile b/ftp/uftp/files/patch-Makefile
new file mode 100644
index 000000000000..b695973f8ca6
--- /dev/null
+++ b/ftp/uftp/files/patch-Makefile
@@ -0,0 +1,15 @@
+*** /dev/null Wed Jun 4 14:07:15 2008
+--- Makefile Wed Jun 4 14:07:49 2008
+***************
+*** 0 ****
+--- 1,10 ----
++ #
++ # Makefile for uftp client and server
++ #
++ all: uftp uftpd
++
++ uftp: uftp.c
++ ${CC} ${CFLAGS} -o $@ $< -lm
++
++ uftpd: uftpd.c
++ ${CC} ${CFLAGS} -o $@ $< -lm
diff --git a/ftp/uftp/files/patch-uftpd.c b/ftp/uftp/files/patch-uftpd.c
new file mode 100644
index 000000000000..54fcfcf9a83b
--- /dev/null
+++ b/ftp/uftp/files/patch-uftpd.c
@@ -0,0 +1,23 @@
+*** uftpd.c Sun Feb 25 16:55:42 2007
+--- uftpd.c Wed Jun 4 14:05:20 2008
+***************
+*** 853,861 ****
+ applog=stderr;
+ nice(-20);
+ for (c=1;c<=17;c++)
+! sigset(c,gotsig);
+! sigset(SIGPIPE,gotpipe);
+! sigset(SIGCHLD,SIG_IGN);
+ #endif
+ for (c=0;c<MAXLIST;c++)
+ id_list[c].txID=0;
+--- 853,861 ----
+ applog=stderr;
+ nice(-20);
+ for (c=1;c<=17;c++)
+! signal(c,gotsig);
+! signal(SIGPIPE,gotpipe);
+! signal(SIGCHLD,SIG_IGN);
+ #endif
+ for (c=0;c<MAXLIST;c++)
+ id_list[c].txID=0;
diff --git a/ftp/uftp/pkg-descr b/ftp/uftp/pkg-descr
new file mode 100644
index 000000000000..80c38ad1f2f8
--- /dev/null
+++ b/ftp/uftp/pkg-descr
@@ -0,0 +1,11 @@
+UFTP is a multicast file transfer program, utilizing a protocol
+based on Starburst MFTP. It is designed to reliably and efficiently
+transfer files to multiple receivers simultaneously, where either
+the intended receivers can be specified beforehand, or receivers
+can join the transfer when it is initiated. This is useful for
+distributing large files to a large number of receivers, and is
+especially useful for data distribution over a satellite link (with
+two way communication), where the inherent delay makes any TCP based
+communication terribly inefficient.
+
+WWW: http://www.tcnj.edu/~bush/uftp.html