aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-09-25 17:01:58 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-09-25 17:01:58 +0800
commite41f088c7e129bf214a57bf151a832da42d3caba (patch)
treebe2c1d0ba25d48c8b5e432686aa64c0090575a13 /ftp
parent4b3acd33d668e773fb152d59d2248ec02d56b3bb (diff)
downloadfreebsd-ports-gnome-e41f088c7e129bf214a57bf151a832da42d3caba.tar.gz
freebsd-ports-gnome-e41f088c7e129bf214a57bf151a832da42d3caba.tar.zst
freebsd-ports-gnome-e41f088c7e129bf214a57bf151a832da42d3caba.zip
- Add LICENSE
- Regenerate patches - Update WWW
Diffstat (limited to 'ftp')
-rw-r--r--ftp/cftp/Makefile3
-rw-r--r--ftp/cftp/files/patch-ftp.c12
-rw-r--r--ftp/cftp/files/patch-mkbind.c (renamed from ftp/cftp/files/patch-mkbind_c)4
-rw-r--r--ftp/cftp/files/patch-readrc.c6
-rw-r--r--ftp/cftp/pkg-descr2
5 files changed, 15 insertions, 12 deletions
diff --git a/ftp/cftp/Makefile b/ftp/cftp/Makefile
index 0888f850936e..fa8ad75f2eff 100644
--- a/ftp/cftp/Makefile
+++ b/ftp/cftp/Makefile
@@ -11,6 +11,9 @@ MASTER_SITES= ftp://ftp.giga.or.at/pub/nih/cftp/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Comfortable FTP, a full screen ftp client
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USES= ncurses
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-sftp
diff --git a/ftp/cftp/files/patch-ftp.c b/ftp/cftp/files/patch-ftp.c
index 886f4bdd519d..50ea56189aa7 100644
--- a/ftp/cftp/files/patch-ftp.c
+++ b/ftp/cftp/files/patch-ftp.c
@@ -1,6 +1,6 @@
---- ftp.c.orig Tue Sep 17 16:58:18 2002
-+++ ftp.c Sat Sep 28 15:49:05 2002
-@@ -311,7 +311,7 @@
+--- ftp.c.orig 2002-09-17 14:58:18 UTC
++++ ftp.c
+@@ -311,7 +311,7 @@ directory *
rftp_list(char *path)
{
directory *dir;
@@ -9,7 +9,7 @@
FILE *f;
if (ftp_mode('a') == -1 || ftp_cwd(path) == -1)
-@@ -321,7 +321,7 @@
+@@ -321,7 +321,7 @@ rftp_list(char *path)
return NULL;
ftp_put("list");
@@ -18,7 +18,7 @@
close(fd);
dir = (directory *)malloc(sizeof(directory));
dir->line = (direntry *)malloc(sizeof(direntry));
-@@ -379,7 +379,7 @@
+@@ -379,7 +379,7 @@ ftp_cd(char *wd, int force)
void *
rftp_retr(char *file, int mode, long *startp, long *sizep)
{
@@ -27,7 +27,7 @@
char *dir, *name, *can, *p;
FILE *fin;
-@@ -400,7 +400,7 @@
+@@ -400,7 +400,7 @@ rftp_retr(char *file, int mode, long *st
}
ftp_put("retr %s", name);
diff --git a/ftp/cftp/files/patch-mkbind_c b/ftp/cftp/files/patch-mkbind.c
index 94979ef9a468..77376a1908a1 100644
--- a/ftp/cftp/files/patch-mkbind_c
+++ b/ftp/cftp/files/patch-mkbind.c
@@ -1,6 +1,6 @@
$OpenBSD: patch-mkbind_c,v 1.1 2003/04/15 15:50:11 avsm Exp $
---- mkbind.c.orig Tue Apr 15 16:47:09 2003
-+++ mkbind.c Tue Apr 15 16:47:24 2003
+--- mkbind.c.orig 2002-09-17 11:46:23 UTC
++++ mkbind.c
@@ -86,7 +86,7 @@ int
main(int argc, char **argv)
{
diff --git a/ftp/cftp/files/patch-readrc.c b/ftp/cftp/files/patch-readrc.c
index 7aa461963c7a..d1a2577fac46 100644
--- a/ftp/cftp/files/patch-readrc.c
+++ b/ftp/cftp/files/patch-readrc.c
@@ -1,6 +1,6 @@
---- readrc.c.orig 2010-01-09 23:30:28.000000000 -0800
-+++ readrc.c 2010-01-09 23:31:10.000000000 -0800
-@@ -46,7 +46,7 @@
+--- 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;
diff --git a/ftp/cftp/pkg-descr b/ftp/cftp/pkg-descr
index 3c54aac1d1e9..59697498b4b1 100644
--- a/ftp/cftp/pkg-descr
+++ b/ftp/cftp/pkg-descr
@@ -4,4 +4,4 @@ your local computer via the FTP protocol.
fullscreen representation of the remote directory so you
can easily choose what to get or where to go.
-WWW: http://nih.at/cftp/
+WWW: https://nih.at/cftp/