summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrh <rh>2002-04-21 10:47:31 +0000
committerrh <rh>2002-04-21 10:47:31 +0000
commit2441356a83ac2478fbfa1d1f6e5b8ac668505cbc (patch)
tree86771f13d0f0f1955598744c264099a37b542976
parenta3e11f825d91948fece2b50ae2c033be19f4a3d0 (diff)
downloadpkgsrc-2441356a83ac2478fbfa1d1f6e5b8ac668505cbc.tar.gz
Initial import of xmftp, an X/Motif FTP client provided in pkg/16372 by
Rui-Xiang Guo <rxg@netbsd.org>
-rw-r--r--net/xmftp/DESCR17
-rw-r--r--net/xmftp/Makefile27
-rw-r--r--net/xmftp/PLIST6
-rw-r--r--net/xmftp/distinfo7
-rw-r--r--net/xmftp/patches/patch-aa31
-rw-r--r--net/xmftp/patches/patch-ab13
-rw-r--r--net/xmftp/patches/patch-ac35
7 files changed, 136 insertions, 0 deletions
diff --git a/net/xmftp/DESCR b/net/xmftp/DESCR
new file mode 100644
index 00000000000..b6752bdda16
--- /dev/null
+++ b/net/xmftp/DESCR
@@ -0,0 +1,17 @@
+xmftp has these features:
+
+- Extensive transfer information when downloading/uploading
+ - Current file AND total transfer information (when
+ transferring multiple files) given in real-time including:
+ - status bar
+ - textual file/total position indicators
+ - file AND total ETA (estimated time of arrival)
+ - speed/throughput of transfer information
+
+- Provides easy retrieval of directories
+ - Just select a directory and select download; directories
+ are processed recursively
+ - Can select the './' directory to download everything in
+ the current directory.
+
+- Automatic resuming of downloads
diff --git a/net/xmftp/Makefile b/net/xmftp/Makefile
new file mode 100644
index 00000000000..d84883e4475
--- /dev/null
+++ b/net/xmftp/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/21 10:47:31 rh Exp $
+#
+
+DISTNAME= xmftp-1.0.4
+CATEGORIES= net
+MASTER_SITES= http://www.cse.fau.edu/~valankar/old/xmftp/
+
+MAINTAINER= rxg@netbsd.org
+HOMEPAGE= http://www.cse.fau.edu/~valankar/old/xmftp/
+COMMENT= X/Motif FTP client
+
+USE_X11BASE= yes
+USE_GMAKE= yes
+
+WRKSRC= ${WRKDIR}/xmftp/source
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xmftp ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xmftp
+ ${INSTALL_DATA} ${WRKSRC}/../BUGS ${PREFIX}/share/doc/xmftp
+ ${INSTALL_DATA} ${WRKSRC}/../CHANGES ${PREFIX}/share/doc/xmftp
+ ${INSTALL_DATA} ${WRKSRC}/../FAQ ${PREFIX}/share/doc/xmftp
+
+.include "../../graphics/xpm/buildlink.mk"
+.include "../../mk/motif.buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/xmftp/PLIST b/net/xmftp/PLIST
new file mode 100644
index 00000000000..97992b31b5d
--- /dev/null
+++ b/net/xmftp/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/21 10:47:31 rh Exp $
+bin/xmftp
+share/doc/xmftp/BUGS
+share/doc/xmftp/CHANGES
+share/doc/xmftp/FAQ
+@dirrm share/doc/xmftp
diff --git a/net/xmftp/distinfo b/net/xmftp/distinfo
new file mode 100644
index 00000000000..e58c7c4cbf0
--- /dev/null
+++ b/net/xmftp/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/21 10:47:31 rh Exp $
+
+SHA1 (xmftp-1.0.4.tar.gz) = c39b14cabced594a045def93e363a9a6eb069b0b
+Size (xmftp-1.0.4.tar.gz) = 152614 bytes
+SHA1 (patch-aa) = 455222cbb7396d87844f44acbc2203c36b580952
+SHA1 (patch-ab) = c6f54a9ba8b3af66b6da0f04618f6a0d41828245
+SHA1 (patch-ac) = c060df8258065fb8b045a8648aa0de0fd1d9082a
diff --git a/net/xmftp/patches/patch-aa b/net/xmftp/patches/patch-aa
new file mode 100644
index 00000000000..a5ff7d1ad9e
--- /dev/null
+++ b/net/xmftp/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/04/21 10:47:31 rh Exp $
+
+--- Makefile.orig Thu Aug 21 03:29:58 1997
++++ Makefile
+@@ -1,14 +1,13 @@
+ # Where to install the xmftp binary
+-INSTALL_BIN_DIR=/usr/local/bin
++INSTALL_BIN_DIR=$(PREFIX)/bin
+
+ # If your libraries (see LIBS below) are located somewhere else, change this
+-LFLAGS=-L/usr/X11R6/lib
++LFLAGS=$(LDFLAGS)
+
+ # Shouldn't have to edit anything below this line
+ ##########################################################################
+
+-CC=gcc
+-CFLAGS=-Wall
++CFLAGS+=-Wall
+ OBJ= ui/xmftp.o ui/build_menu.o ui/menu_creation.o ui/operations.o \
+ ui/layout.o ui/setup_cbs.o program/misc.o \
+ program/unix/implementation.o program/ftp.o \
+@@ -33,7 +32,7 @@
+ echo "All done! You may do 'make install' now if you like."; \
+ echo ""
+
+-xmftp: doobj
++xmftp: $(OBJ)
+ $(CC) $(CFLAGS) $(LFLAGS) -o xmftp $(OBJ) $(LIBS)
+ @echo ""; \
+ echo "All done! You may do 'make install' now if you like."; \
diff --git a/net/xmftp/patches/patch-ab b/net/xmftp/patches/patch-ab
new file mode 100644
index 00000000000..6bbfdddb699
--- /dev/null
+++ b/net/xmftp/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/04/21 10:47:31 rh Exp $
+
+--- ftplib/ftplib.h.orig Tue Apr 16 19:56:15 2002
++++ ftplib/ftplib.h
+@@ -29,7 +29,7 @@
+ #include <sys/types.h>
+ #include <signal.h>
+
+-#if defined(__unix__) || defined(VMS)
++#if defined(__unix__) || defined(VMS) || defined(__NetBSD__)
+ #define GLOBALDEF
+ #define GLOBALREF extern
+ #elif defined(_WIN32)
diff --git a/net/xmftp/patches/patch-ac b/net/xmftp/patches/patch-ac
new file mode 100644
index 00000000000..ab92bd27bb5
--- /dev/null
+++ b/net/xmftp/patches/patch-ac
@@ -0,0 +1,35 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/04/21 10:47:32 rh Exp $
+
+--- ftplib/ftplib.c.orig Tue Apr 16 20:13:05 2002
++++ ftplib/ftplib.c
+@@ -25,10 +25,10 @@
+ #include "../ui/xmftp.h"
+ #include "../ui/operations.h"
+
+-#if defined(__unix__)
++#if defined(__unix__) || defined(__NetBSD__)
+ #include <unistd.h>
+ #endif
+-#if defined(__unix__) || defined(VMS)
++#if defined(__unix__) || defined(VMS) || defined(__NetBSD__)
+ #define GLOBALDEF
+ #define GLOBALREF extern
+ #elif defined(_WIN32)
+@@ -40,7 +40,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <ctype.h>
+-#if defined(__unix__)
++#if defined(__unix__) || defined(__NetBSD__)
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+@@ -93,7 +93,7 @@
+
+ GLOBALDEF int ftplib_debug = 0;
+
+-#if defined(__unix__) || defined(VMS)
++#if defined(__unix__) || defined(VMS) || defined(__NetBSD__)
+ #define net_read read
+ #define net_write write
+ #define net_close close