aboutsummaryrefslogtreecommitdiff
path: root/ftp/cftp
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/cftp')
-rw-r--r--ftp/cftp/Makefile28
-rw-r--r--ftp/cftp/distinfo2
-rw-r--r--ftp/cftp/files/patch-ftp.c38
-rw-r--r--ftp/cftp/files/patch-mkbind.c12
-rw-r--r--ftp/cftp/files/patch-readrc.c11
-rw-r--r--ftp/cftp/pkg-descr7
6 files changed, 0 insertions, 98 deletions
diff --git a/ftp/cftp/Makefile b/ftp/cftp/Makefile
deleted file mode 100644
index dc12756898fc..000000000000
--- a/ftp/cftp/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# Created by: Andrey Zakhvatov
-# $FreeBSD$
-
-PORTNAME= cftp
-PORTVERSION= 0.12
-PORTREVISION= 4
-CATEGORIES= ftp
-MASTER_SITES= ftp://ftp.giga.or.at/pub/nih/cftp/ \
- ftp://sunsite.univie.ac.at/pub/nih/cftp/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Comfortable, full screen (S)FTP client
-
-LICENSE= GPLv2+
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-USES= ncurses
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-sftp
-
-PLIST_FILES= bin/cftp
-INFO= cftp
-
-.include <bsd.port.mk>
diff --git a/ftp/cftp/distinfo b/ftp/cftp/distinfo
deleted file mode 100644
index a8dd3963827b..000000000000
--- a/ftp/cftp/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (cftp-0.12.tar.gz) = 70a353cfd5a912350405e2ea8c1c1925931c07e58103ae64c589b05b642b8881
-SIZE (cftp-0.12.tar.gz) = 182043
diff --git a/ftp/cftp/files/patch-ftp.c b/ftp/cftp/files/patch-ftp.c
deleted file mode 100644
index 50ea56189aa7..000000000000
--- a/ftp/cftp/files/patch-ftp.c
+++ /dev/null
@@ -1,38 +0,0 @@
---- ftp.c.orig 2002-09-17 14:58:18 UTC
-+++ ftp.c
-@@ -311,7 +311,7 @@ directory *
- rftp_list(char *path)
- {
- directory *dir;
-- int fd;
-+ int fd, resp;
- FILE *f;
-
- if (ftp_mode('a') == -1 || ftp_cwd(path) == -1)
-@@ -321,7 +321,7 @@ rftp_list(char *path)
- return NULL;
-
- ftp_put("list");
-- if (ftp_resp() != 150) {
-+ if ((resp=ftp_resp()) != 150 && resp != 125) {
- close(fd);
- dir = (directory *)malloc(sizeof(directory));
- dir->line = (direntry *)malloc(sizeof(direntry));
-@@ -379,7 +379,7 @@ ftp_cd(char *wd, int force)
- void *
- rftp_retr(char *file, int mode, long *startp, long *sizep)
- {
-- int fd;
-+ int fd, resp;
- char *dir, *name, *can, *p;
- FILE *fin;
-
-@@ -400,7 +400,7 @@ rftp_retr(char *file, int mode, long *st
- }
-
- ftp_put("retr %s", name);
-- if (ftp_resp() != 150) {
-+ if ((resp=ftp_resp()) != 150 && resp != 125) {
- close(fd);
- return NULL;
- }
diff --git a/ftp/cftp/files/patch-mkbind.c b/ftp/cftp/files/patch-mkbind.c
deleted file mode 100644
index 77376a1908a1..000000000000
--- a/ftp/cftp/files/patch-mkbind.c
+++ /dev/null
@@ -1,12 +0,0 @@
-$OpenBSD: patch-mkbind_c,v 1.1 2003/04/15 15:50:11 avsm Exp $
---- mkbind.c.orig 2002-09-17 11:46:23 UTC
-+++ mkbind.c
-@@ -86,7 +86,7 @@ int
- main(int argc, char **argv)
- {
- FILE *fin, *fout;
-- char line[4069], *p, *tok, **args;
-+ char line[4096], *p, *tok, **args;
- char tmp[128];
- struct binding *b;
- int i, j, off, argoff, len;
diff --git a/ftp/cftp/files/patch-readrc.c b/ftp/cftp/files/patch-readrc.c
deleted file mode 100644
index d1a2577fac46..000000000000
--- a/ftp/cftp/files/patch-readrc.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- readrc.c.orig 2002-09-16 12:42:41 UTC
-+++ readrc.c
-@@ -46,7 +46,7 @@ readrc(char **userp, char **passp, char
- char b[8192], *p, *tok, *q, *home;
- char *user, *pass, *host, *port, *wdir;
-
-- if ((home=getenv("HOME")) == NULL)
-+ if ((home=getenv("HOME")) == NULL || strlen(home) > sizeof(b)-9)
- home = "";
- sprintf(b, "%s/.cftprc", home);
-
diff --git a/ftp/cftp/pkg-descr b/ftp/cftp/pkg-descr
deleted file mode 100644
index 59697498b4b1..000000000000
--- a/ftp/cftp/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
- CFTP is used to transfer files from a remote computer to
-your local computer via the FTP protocol.
- Its advantages over most standard ftp-clients is its
-fullscreen representation of the remote directory so you
-can easily choose what to get or where to go.
-
-WWW: https://nih.at/cftp/