aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2004-05-10 22:45:50 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2004-05-10 22:45:50 +0000
commitdf8066cafcfa16f6e9a481684991c64cb6d0ee35 (patch)
treeae19724a601bf0e16e947368ea7673476f5738ed /ftp
parent99c4aa0fb6f3eb470862265b58c943fafc5867ea (diff)
downloadports-df8066cafcfa16f6e9a481684991c64cb6d0ee35.tar.gz
ports-df8066cafcfa16f6e9a481684991c64cb6d0ee35.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/yafc/Makefile2
-rw-r--r--ftp/yafc/files/patch-src::get.c11
-rw-r--r--ftp/yafc/files/patch-src::put.c11
-rw-r--r--ftp/yafc/pkg-plist3
4 files changed, 24 insertions, 3 deletions
diff --git a/ftp/yafc/Makefile b/ftp/yafc/Makefile
index fbfff482dabc..e055fa8a361d 100644
--- a/ftp/yafc/Makefile
+++ b/ftp/yafc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= yafc
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= ftp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -19,5 +20,6 @@ GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= yafc.1
+INFO= yafc
.include <bsd.port.mk>
diff --git a/ftp/yafc/files/patch-src::get.c b/ftp/yafc/files/patch-src::get.c
new file mode 100644
index 000000000000..7015a58c4796
--- /dev/null
+++ b/ftp/yafc/files/patch-src::get.c
@@ -0,0 +1,11 @@
+--- src/get.c.orig Mon May 10 17:24:10 2004
++++ src/get.c Mon May 10 17:25:04 2004
+@@ -279,7 +279,7 @@
+ e = xstrdup(ctime(&sb.st_mtime));
+ a = ask(ASKYES|ASKNO|ASKUNIQUE|ASKCANCEL|ASKALL|ASKRESUME,
+ ASKRESUME,
+- _("Local file '%s' exists\nLocal: %ld bytes, %sRemote: %ld bytes, %sOverwrite?"),
++ _("Local file '%s' exists\nLocal: %lld bytes, %sRemote: %ld bytes, %sOverwrite?"),
+ shortpath(dest, 42, gvLocalHomeDir),
+ sb.st_size, e ? e : "unknown date",
+ ftp_filesize(fi->path), ctime(&ft));
diff --git a/ftp/yafc/files/patch-src::put.c b/ftp/yafc/files/patch-src::put.c
new file mode 100644
index 000000000000..ab99f5f22c92
--- /dev/null
+++ b/ftp/yafc/files/patch-src::put.c
@@ -0,0 +1,11 @@
+--- src/put.c.orig Mon May 10 17:25:01 2004
++++ src/put.c Mon May 10 17:25:36 2004
+@@ -217,7 +217,7 @@
+ e = xstrdup(ctime(&sb->st_mtime));
+ a = ask(ASKYES|ASKNO|ASKUNIQUE|ASKCANCEL|ASKALL|ASKRESUME,
+ ASKRESUME,
+- _("Remote file '%s' exists\nLocal: %ld bytes, %sRemote: %ld bytes, %sOverwrite?"),
++ _("Remote file '%s' exists\nLocal: %lld bytes, %sRemote: %ld bytes, %sOverwrite?"),
+ shortpath(dest, 42, ftp->homedir),
+ sb->st_size, e ? e : "unknown date",
+ ftp_filesize(f->path), ctime(&ft));
diff --git a/ftp/yafc/pkg-plist b/ftp/yafc/pkg-plist
index b6c2a9676e5e..f0dd7c2cca1f 100644
--- a/ftp/yafc/pkg-plist
+++ b/ftp/yafc/pkg-plist
@@ -1,4 +1 @@
bin/yafc
-@unexec install-info --delete %D/info/yafc.info %D/info/dir
-info/yafc.info
-@exec install-info %D/info/yafc.info %D/info/dir