aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ncftp1/files
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2015-06-13 05:25:41 +0800
committererwin <erwin@FreeBSD.org>2015-06-13 05:25:41 +0800
commitb755417107be5030e5ab3547e513310ad4a4784a (patch)
treed38eca850093b706019b29b431c0664e0fa90978 /ftp/ncftp1/files
parent2f5578ee41f1c6132a4b727406907ce26cd3aa4c (diff)
downloadfreebsd-ports-gnome-b755417107be5030e5ab3547e513310ad4a4784a.tar.gz
freebsd-ports-gnome-b755417107be5030e5ab3547e513310ad4a4784a.tar.zst
freebsd-ports-gnome-b755417107be5030e5ab3547e513310ad4a4784a.zip
Remove ftp/ncftp1, has been unfetchable for some time.
Diffstat (limited to 'ftp/ncftp1/files')
-rw-r--r--ftp/ncftp1/files/patch-Makefile35
-rw-r--r--ftp/ncftp1/files/patch-cmds.c24
-rw-r--r--ftp/ncftp1/files/patch-ftp.c34
-rw-r--r--ftp/ncftp1/files/patch-main.c29
-rw-r--r--ftp/ncftp1/files/patch-set.c29
-rw-r--r--ftp/ncftp1/files/patch-sys.h10
6 files changed, 0 insertions, 161 deletions
diff --git a/ftp/ncftp1/files/patch-Makefile b/ftp/ncftp1/files/patch-Makefile
deleted file mode 100644
index 7b5e57335254..000000000000
--- a/ftp/ncftp1/files/patch-Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
---- Makefile.orig Sun Oct 1 17:50:58 1995
-+++ Makefile Sun Oct 19 02:18:45 2003
-@@ -13,7 +13,7 @@
-
- # Program definitions. See the README, part C.
- #--------------------------------------------------------------------------
--PDEFS =
-+PDEFS = -DREADLINE
- #PDEFS = -DGETLINE
- #PDEFS = -DREADLINE -DCURSES
- #PDEFS = -DSOCKS
-@@ -24,11 +24,12 @@
- # Choose your compiler and flags below. Make sure you use an ANSI compiler
- # that handles new style function declarations and prototypes (gcc should).
- #--------------------------------------------------------------------------
--CC = cc
-+CC ?= cc
- #CC = gcc
-
-+CFLAGS ?= -O -pipe
- #CFLAGS = $(TERM_INC) -O
--CFLAGS = $(TERM_INC) -O2
-+CFLAGS += $(TERM_INC)
- #CFLAGS = $(TERM_INC) -g
-
- LFLAGS = -s
-@@ -53,7 +54,7 @@
- # You'll need to know where the Rconnect.o object file is if you want
- # to use Socks.
- #--------------------------------------------------------------------------
--LIBS =
-+LIBS = -lreadline
- #LIBS = -ldbmalloc
- #LIBS = -lgetline
- #LIBS = -lreadline -lcurses
diff --git a/ftp/ncftp1/files/patch-cmds.c b/ftp/ncftp1/files/patch-cmds.c
deleted file mode 100644
index 1a9cca078f50..000000000000
--- a/ftp/ncftp1/files/patch-cmds.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- cmds.c.orig 2014-08-06 20:08:22.000000000 -0400
-+++ cmds.c 2014-08-06 20:09:04.000000000 -0400
-@@ -90,7 +90,7 @@
- extern struct servent serv;
- extern struct cmd cmdtab[];
- extern struct userinfo uinfo;
--extern FILE *cin, *cout, *logf;
-+extern FILE *cin, *cout, *logfile;
- extern int Optind;
- extern char *Optarg;
- extern int Optind;
-@@ -1352,9 +1352,9 @@
- if (connected)
- (void) disconnect(0, NULL);
- rcode = WriteRecentSitesFile();
-- if (logf != NULL) {
-- (void) fclose(logf);
-- logf = NULL;
-+ if (logfile != NULL) {
-+ (void) fclose(logfile);
-+ logfile = NULL;
- }
- return rcode;
- } /* close_up_shop */
diff --git a/ftp/ncftp1/files/patch-ftp.c b/ftp/ncftp1/files/patch-ftp.c
deleted file mode 100644
index 2f1b3559decb..000000000000
--- a/ftp/ncftp1/files/patch-ftp.c
+++ /dev/null
@@ -1,34 +0,0 @@
---- ftp.c.orig 2014-08-06 20:08:32.000000000 -0400
-+++ ftp.c 2014-08-06 20:09:24.000000000 -0400
-@@ -89,7 +89,7 @@
- */
-
- /* ftp.c externs */
--extern FILE *logf;
-+extern FILE *logfile;
- extern string anon_password;
- extern longstring cwd, lcwd;
- extern Hostname hostname;
-@@ -365,9 +365,9 @@
- #endif
-
- /* Save which sites we opened to the user's logfile. */
-- if (logf != NULL) {
-+ if (logfile != NULL) {
- (void) time(&now);
-- (void) fprintf(logf, "%s opened at %s",
-+ (void) fprintf(logfile, "%s opened at %s",
- hostname,
- ctime(&now));
- }
-@@ -887,8 +887,8 @@
- } else
- (void) Strncpy(fullRemote, remote);
-
-- if (logf != NULL) {
-- (void) fprintf(logf, "\t-> \"%s\" %s, %s\n",
-+ if (logfile != NULL) {
-+ (void) fprintf(logfile, "\t-> \"%s\" %s, %s\n",
- fullRemote, direction, bsstr);
- }
- #ifdef SYSLOG
diff --git a/ftp/ncftp1/files/patch-main.c b/ftp/ncftp1/files/patch-main.c
deleted file mode 100644
index f69b6b125c81..000000000000
--- a/ftp/ncftp1/files/patch-main.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- main.c.orig 1995-10-29 22:17:55.000000000 -0500
-+++ main.c 2014-08-06 20:07:56.000000000 -0400
-@@ -69,7 +69,7 @@
- string pager; /* program to browse text files */
- string version = FTP_VERSION;
- long eventnumber; /* number of commands we've done */
--FILE *logf = NULL; /* log user activity */
-+FILE *logfile = NULL; /* log user activity */
- longstring logfname; /* name of the logfile */
- long logsize = 4096L; /* max log size. 0 == no limit */
- int percent_flags; /* "%" in prompt string? */
-@@ -200,7 +200,7 @@
- ansi_escapes = 0;
- if ((cp = getenv("TERM")) != NULL) {
- if ((*cp == 'v' && cp[1] == 't') /* vt100, vt102, ... */
-- || (strcmp(cp, "xterm") == 0))
-+ || (strncmp(cp, "xterm", 5) == 0))
- ansi_escapes = 1;
- }
- #endif
-@@ -334,7 +334,7 @@
- cpend = 0; /* no pending replies */
-
- if (*logfname)
-- logf = fopen (logfname, "a");
-+ logfile = fopen (logfname, "a");
-
-
- /* The user specified a host, maybe in 'colon-mode', on the command
diff --git a/ftp/ncftp1/files/patch-set.c b/ftp/ncftp1/files/patch-set.c
deleted file mode 100644
index be0a0b1295ee..000000000000
--- a/ftp/ncftp1/files/patch-set.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- set.c.orig 2014-08-06 20:08:41.000000000 -0400
-+++ set.c 2014-08-06 20:09:47.000000000 -0400
-@@ -43,7 +43,7 @@
- extern string pager, anon_password, prompt;
- extern str32 curtypename;
- extern long logsize;
--extern FILE *logf;
-+extern FILE *logfile;
- extern longstring rcname, logfname, lcwd;
- extern int auto_binary, ansi_escapes, debug;
- extern int mprompt, remote_is_unix, verbose;
-@@ -131,13 +131,13 @@
-
- void set_log(char *fname, int unset)
- {
-- if (logf) {
-- (void) fclose(logf);
-- logf = NULL;
-+ if (logfile) {
-+ (void) fclose(logfile);
-+ logfile = NULL;
- }
- if (!unset && fname) {
- (void) Strncpy(logfname, fname);
-- logf = fopen (LocalDotPath(logfname), "a");
-+ logfile = fopen (LocalDotPath(logfname), "a");
- }
- } /* set_log */
-
diff --git a/ftp/ncftp1/files/patch-sys.h b/ftp/ncftp1/files/patch-sys.h
deleted file mode 100644
index 8d65c5ddc96c..000000000000
--- a/ftp/ncftp1/files/patch-sys.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- sys.h.orig Tue Jun 4 21:12:36 2002
-+++ sys.h Tue Jun 4 21:12:44 2002
-@@ -423,7 +423,6 @@
- # define HERROR 1
- # define TERMIOS 1
- # define HAS_GETCWD 1
--# define U_WAIT 1
- # define NO_CONST 1 /* avoid prototype conflict */
- #endif
-