From f24b6092d9bf2919cc0c80b575a48f83c453cf78 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 20 Feb 1998 13:08:31 +0000 Subject: Initial import of FreeBSD's "ncftp2" port. --- net/ncftp2/Makefile | 23 +++++++++++++++++++++++ net/ncftp2/files/md5 | 1 + net/ncftp2/patches/patch-aa | 19 +++++++++++++++++++ net/ncftp2/patches/patch-ab | 42 ++++++++++++++++++++++++++++++++++++++++++ net/ncftp2/pkg/COMMENT | 1 + net/ncftp2/pkg/DESCR | 5 +++++ net/ncftp2/pkg/PLIST | 2 ++ 7 files changed, 93 insertions(+) create mode 100644 net/ncftp2/Makefile create mode 100644 net/ncftp2/files/md5 create mode 100644 net/ncftp2/patches/patch-aa create mode 100644 net/ncftp2/patches/patch-ab create mode 100644 net/ncftp2/pkg/COMMENT create mode 100644 net/ncftp2/pkg/DESCR create mode 100644 net/ncftp2/pkg/PLIST (limited to 'net') 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 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 + #include + #include ++ #ifdef __FreeBSD__ ++ #include ++ #endif + #include + #include + #include +*************** +*** 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 -- cgit v1.2.3