Skip to content

Commit

Permalink
- Add LICENSE
Browse files Browse the repository at this point in the history
- Regenerate patches
- Update WWW


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@450575 35697150-7ecd-e111-bb59-0022644237b5
  • Loading branch information
amdmi3 committed Sep 25, 2017
1 parent b763d75 commit 8a624e8
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
3 changes: 3 additions & 0 deletions ftp/cftp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions ftp/cftp/files/patch-ftp.c
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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");
Expand All @@ -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)
{
Expand All @@ -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);
Expand Down
Original file line number Diff line number Diff line change
@@ -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)
{
Expand Down
6 changes: 3 additions & 3 deletions ftp/cftp/files/patch-readrc.c
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion ftp/cftp/pkg-descr
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit 8a624e8

Please sign in to comment.