aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-10-02 21:33:37 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-10-02 21:33:37 +0000
commit58af86f3f42baa6b8226608127b4d8a595b566be (patch)
tree8fb4048e1d754f17424c5f382726ce3a94c4d9f7 /ftp
parent8347912df88c7bcd0678afeb92538cd31752ad41 (diff)
downloadports-58af86f3f42baa6b8226608127b4d8a595b566be.tar.gz
ports-58af86f3f42baa6b8226608127b4d8a595b566be.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/Makefile1
-rw-r--r--ftp/ncftp2/Makefile54
-rw-r--r--ftp/ncftp2/distinfo2
-rw-r--r--ftp/ncftp2/files/patch-Complete.c14
-rw-r--r--ftp/ncftp2/files/patch-Main.c28
-rw-r--r--ftp/ncftp2/files/patch-Main.h10
-rw-r--r--ftp/ncftp2/pkg-descr5
7 files changed, 0 insertions, 114 deletions
diff --git a/ftp/Makefile b/ftp/Makefile
index fd266ebc5cf7..87070c25f858 100644
--- a/ftp/Makefile
+++ b/ftp/Makefile
@@ -48,7 +48,6 @@
SUBDIR += mirror
SUBDIR += multiget
SUBDIR += ncftp1
- SUBDIR += ncftp2
SUBDIR += ncftp3
SUBDIR += ncftpd
SUBDIR += net2ftp
diff --git a/ftp/ncftp2/Makefile b/ftp/ncftp2/Makefile
deleted file mode 100644
index f8b98e332b4a..000000000000
--- a/ftp/ncftp2/Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
-# Created by: ache
-# $FreeBSD$
-
-PORTNAME= ncftp
-PORTVERSION= 2.4.3
-PORTREVISION= 2
-CATEGORIES= ftp
-MASTER_SITES= ftp://ftp.ncftp.com/ncftp/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= FTP replacement with advanced user interface
-
-LICENSE= GPLv2
-
-OPTIONS_DEFINE= READLINE
-OPTIONS_DEFAULT=READLINE
-READLINE_DESC= Enable readline support
-
-USES= ncurses
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= ac_cv_func_getmaxyx=yes
-
-MAN1= ncftp2.1
-PLIST_FILES= bin/${LATEST_LINK}
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MREADLINE}
-USES+= readline
-.else
-CONFIGURE_ARGS+=--disable-readline
-.endif
-
-.if defined(INSTALL_AS_NCFTP)
-LATEST_LINK= ncftp
-.else
-LATEST_LINK= ncftp2
-.endif
-
-pre-everything::
- @${ECHO_MSG} ""
- @${ECHO_MSG} "Use INSTALL_AS_NCFTP=yes to install ncftp2 as ${PREFIX}/bin/ncftp"
- @${ECHO_MSG} ""
-
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|^exdirs=.*|exdirs=""|' ${WRKSRC}/configure
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ncftp ${PREFIX}/bin/${LATEST_LINK}
- ${INSTALL_MAN} ${WRKSRC}/ncftp.1 ${MANPREFIX}/man/man1/ncftp2.1
-
-.include <bsd.port.mk>
diff --git a/ftp/ncftp2/distinfo b/ftp/ncftp2/distinfo
deleted file mode 100644
index a55439caf68b..000000000000
--- a/ftp/ncftp2/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (ncftp-2.4.3.tar.gz) = cefaccc48e07e08115d18ce9a26f6655bcf2572befb0d2975bd8cfe41892aa16
-SIZE (ncftp-2.4.3.tar.gz) = 192937
diff --git a/ftp/ncftp2/files/patch-Complete.c b/ftp/ncftp2/files/patch-Complete.c
deleted file mode 100644
index a5a9694a59c7..000000000000
--- a/ftp/ncftp2/files/patch-Complete.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- Complete.c.orig 1996-10-18 13:10:31.000000000 +0800
-+++ Complete.c 2011-12-22 00:11:03.000000000 +0800
-@@ -241,7 +241,11 @@ FileListAdd(FileList *f, char *s)
- static int
- CompareStrings(char **a, char **b)
- {
-+#ifdef __FreeBSD__
-+ return strcoll(*a, *b);
-+#else
- return strcmp(*a, *b);
-+#endif
- }
-
- static void
diff --git a/ftp/ncftp2/files/patch-Main.c b/ftp/ncftp2/files/patch-Main.c
deleted file mode 100644
index ab49d540b72f..000000000000
--- a/ftp/ncftp2/files/patch-Main.c
+++ /dev/null
@@ -1,28 +0,0 @@
---- Main.c.orig 1998-03-20 11:21:09.000000000 +0800
-+++ Main.c 2011-12-22 00:11:54.000000000 +0800
-@@ -19,6 +19,9 @@
- #include <pwd.h>
- #include <errno.h>
- #include <ctype.h>
-+#ifdef __FreeBSD__
-+#include <locale.h>
-+#endif
- #include <signal.h>
- #include <setjmp.h>
- #include <stdlib.h>
-@@ -872,11 +875,14 @@ SigIntMain(/* int sigNum */ void)
-
-
-
--void main(int argc, char **argv)
-+int main(int argc, char **argv)
- {
- int opt, result;
- OpenOptions openopt;
-
-+#ifdef __FreeBSD__
-+ setlocale(LC_ALL, "");
-+#endif
- Init();
- RunStartupScript();
-
diff --git a/ftp/ncftp2/files/patch-Main.h b/ftp/ncftp2/files/patch-Main.h
deleted file mode 100644
index 0b1c57e24a9d..000000000000
--- a/ftp/ncftp2/files/patch-Main.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- Main.h.orig 2011-12-22 00:11:25.000000000 +0800
-+++ Main.h 2011-12-22 00:11:41.000000000 +0800
-@@ -45,6 +45,6 @@ void CloseTraceLog(void);
- void CloseLogs(void);
- void StartupMsgs(void);
- void Startup(void);
--void main(int, char **);
-+int main(int, char **);
- void SaveHistory(void);
- void LoadHistory(void);
diff --git a/ftp/ncftp2/pkg-descr b/ftp/ncftp2/pkg-descr
deleted file mode 100644
index f57dd5cbd429..000000000000
--- a/ftp/ncftp2/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
- NcFTP is a user interface to the Internet standard File
- Transfer Protocol. This program allows a user to transfer
- files to and from a remote network site, and offers addi-
- tional features that are not found in the standard inter-
- face, ftp.