diff options
author | tron <tron> | 1998-02-20 13:08:31 +0000 |
---|---|---|
committer | tron <tron> | 1998-02-20 13:08:31 +0000 |
commit | de88f3b2edd327e961e7b37375d28e383c1d4960 (patch) | |
tree | e64e744065c6746cb3a1ef1b5629983149be7456 /net/ncftp2 | |
parent | 767d536c6692899f1c220e48ccb525156ed9b73a (diff) | |
download | pkgsrc-de88f3b2edd327e961e7b37375d28e383c1d4960.tar.gz |
Initial import of FreeBSD's "ncftp2" port.
Diffstat (limited to 'net/ncftp2')
-rw-r--r-- | net/ncftp2/Makefile | 23 | ||||
-rw-r--r-- | net/ncftp2/files/md5 | 1 | ||||
-rw-r--r-- | net/ncftp2/patches/patch-aa | 19 | ||||
-rw-r--r-- | net/ncftp2/patches/patch-ab | 42 | ||||
-rw-r--r-- | net/ncftp2/pkg/COMMENT | 1 | ||||
-rw-r--r-- | net/ncftp2/pkg/DESCR | 5 | ||||
-rw-r--r-- | net/ncftp2/pkg/PLIST | 2 |
7 files changed, 93 insertions, 0 deletions
diff --git a/net/ncftp2/Makefile b/net/ncftp2/Makefile new file mode 100644 index 00000000000..b175f9f778c --- /dev/null +++ b/net/ncftp2/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: ncftp2 +# Version required: 2.4.2 +# Date created: 4 Nov 1994 +# Whom: ache +# +# $FreeBSD Id: Makefile,v 1.39 1998/01/31 17:49:48 jseger Exp +# + +DISTNAME= ncftp-2.4.2 +CATEGORIES= net +MASTER_SITES= ftp://ftp.ncftp.com/ncftp/ + +MAINTAINER= ache@FreeBSD.ORG + +GNU_CONFIGURE= yes +CONFIGURE_ENV= ac_cv_func_getmaxyx=yes ac_cv_lib_readline=yes +MAN1= ncftp2.1 + +do-install: + $(INSTALL_PROGRAM) $(WRKSRC)/ncftp $(PREFIX)/bin/ncftp2 + $(INSTALL_MAN) $(WRKSRC)/ncftp.1 $(PREFIX)/man/man1/ncftp2.1 + +.include <bsd.port.mk> diff --git a/net/ncftp2/files/md5 b/net/ncftp2/files/md5 new file mode 100644 index 00000000000..081e9fc1a51 --- /dev/null +++ b/net/ncftp2/files/md5 @@ -0,0 +1 @@ +MD5 (ncftp-2.4.2.tar.gz) = 7ca452f7932820c4bad98cfb78d8bba8 diff --git a/net/ncftp2/patches/patch-aa b/net/ncftp2/patches/patch-aa new file mode 100644 index 00000000000..c5dfa7bceac --- /dev/null +++ b/net/ncftp2/patches/patch-aa @@ -0,0 +1,19 @@ +*** Makefile.in.orig Thu Oct 17 04:37:03 1996 +--- Makefile.in Fri Oct 18 02:12:57 1996 +*************** +*** 34,40 **** + VPATH=@srcdir@ + CPPFLAGS=-I. -I@srcdir@ @CPPFLAGS@ + +! LIBS=@LIBS@ + SHARED_LDFLAGS=@LDFLAGS@ + STATIC_LDFLAGS=@LDFLAGS@ @SLDFLAGS@ + +--- 34,40 ---- + VPATH=@srcdir@ + CPPFLAGS=-I. -I@srcdir@ @CPPFLAGS@ + +! LIBS= -lreadline -lncurses -lmytinfo + SHARED_LDFLAGS=@LDFLAGS@ + STATIC_LDFLAGS=@LDFLAGS@ @SLDFLAGS@ + diff --git a/net/ncftp2/patches/patch-ab b/net/ncftp2/patches/patch-ab new file mode 100644 index 00000000000..cf312ee7193 --- /dev/null +++ b/net/ncftp2/patches/patch-ab @@ -0,0 +1,42 @@ +*** Complete.c.bak Fri Oct 18 09:10:31 1996 +--- Complete.c Thu Jan 9 15:17:48 1997 +*************** +*** 241,247 **** +--- 241,251 ---- + static int + CompareStrings(char **a, char **b) + { ++ #ifdef __FreeBSD__ ++ return strcoll(*a, *b); ++ #else + return strcmp(*a, *b); ++ #endif + } + + static void +*** Main.c.bak Fri Oct 18 09:01:58 1996 +--- Main.c Thu Jan 9 15:24:22 1997 +*************** +*** 22,27 **** +--- 22,30 ---- + #include <pwd.h> + #include <errno.h> + #include <ctype.h> ++ #ifdef __FreeBSD__ ++ #include <locale.h> ++ #endif + #include <signal.h> + #include <setjmp.h> + #include <stdlib.h> +*************** +*** 866,871 **** +--- 869,877 ---- + int opt, result; + OpenOptions openopt; + ++ #ifdef __FreeBSD__ ++ setlocale(LC_ALL, ""); ++ #endif + Init(); + RunStartupScript(); + diff --git a/net/ncftp2/pkg/COMMENT b/net/ncftp2/pkg/COMMENT new file mode 100644 index 00000000000..b1a6171a064 --- /dev/null +++ b/net/ncftp2/pkg/COMMENT @@ -0,0 +1 @@ +FTP replacement with advanced user interface. diff --git a/net/ncftp2/pkg/DESCR b/net/ncftp2/pkg/DESCR new file mode 100644 index 00000000000..f57dd5cbd42 --- /dev/null +++ b/net/ncftp2/pkg/DESCR @@ -0,0 +1,5 @@ + NcFTP is a user interface to the Internet standard File + Transfer Protocol. This program allows a user to transfer + files to and from a remote network site, and offers addi- + tional features that are not found in the standard inter- + face, ftp. diff --git a/net/ncftp2/pkg/PLIST b/net/ncftp2/pkg/PLIST new file mode 100644 index 00000000000..1852fd433af --- /dev/null +++ b/net/ncftp2/pkg/PLIST @@ -0,0 +1,2 @@ +bin/ncftp2 +man/man1/ncftp2.1.gz |