mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- replace post-patch munging with proper SYSCONFDIR handling (also
submitted to Mike Gleason) - improve DESCR and add home page Submitted by: Christian Weisgerber <naddy@mips.inka.de>
This commit is contained in:
parent
f192ad9ee6
commit
5414730c2a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42546
7 changed files with 85 additions and 11 deletions
|
@ -29,11 +29,6 @@ MAN3= Strn.3
|
|||
LIBNCFTP= libncftp.so.2
|
||||
LIBSTRN= libStrn.so.1
|
||||
|
||||
post-patch:
|
||||
@${MV} ${WRKSRC}/ncftp/pref.h ${WRKSRC}/ncftp/pref.h.in
|
||||
@${SED} -e 's:/etc/ncftp.firewall:${PREFIX}/etc/ncftp.firewall:' \
|
||||
${WRKSRC}/ncftp/pref.h.in > ${WRKSRC}/ncftp/pref.h
|
||||
|
||||
pre-build:
|
||||
cd ${WRKSRC}/Strn ; make so
|
||||
cd ${WRKSRC}/libncftp ; make so
|
||||
|
|
19
ftp/ncftp3/files/patch-ncftp-Makefile.in
Normal file
19
ftp/ncftp3/files/patch-ncftp-Makefile.in
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- ncftp/Makefile.in.orig Fri Dec 8 23:11:08 2000
|
||||
+++ ncftp/Makefile.in Tue May 8 13:42:15 2001
|
||||
@@ -13,6 +13,7 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
BINDIR=@bindir@
|
||||
+SYSCONFDIR=@sysconfdir@
|
||||
|
||||
LIBS=@LIBS@
|
||||
STRIP=strip
|
||||
@@ -20,7 +21,7 @@
|
||||
|
||||
# Any -D definitions:
|
||||
BETA=# -DBETA=20
|
||||
-DEFS=-Dncftp $(BETA) -DBINDIR=\"$(BINDIR)\" @DEFS@
|
||||
+DEFS=-Dncftp $(BETA) -DBINDIR=\"$(BINDIR)\" -DSYSCONFDIR=\"$(SYSCONFDIR)\" @DEFS@
|
||||
|
||||
OBJS=cmds.@OBJEXT@ cmdlist.@OBJEXT@ getopt.@OBJEXT@ ls.@OBJEXT@ main.@OBJEXT@ version.@OBJEXT@ shell.@OBJEXT@ util.@OBJEXT@ readln.@OBJEXT@ progress.@OBJEXT@ bookmark.@OBJEXT@ pref.@OBJEXT@ preffw.@OBJEXT@ trace.@OBJEXT@ spool.@OBJEXT@ log.@OBJEXT@ getline.@OBJEXT@
|
||||
|
17
ftp/ncftp3/files/patch-pref.h
Normal file
17
ftp/ncftp3/files/patch-pref.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
--- ncftp/pref.h.orig Sun Apr 15 19:36:00 2001
|
||||
+++ ncftp/pref.h Tue May 8 13:42:15 2001
|
||||
@@ -16,10 +16,10 @@
|
||||
# define kFirstFileName "init_v3.txt"
|
||||
#else
|
||||
# define kFirewallPrefFileName "firewall"
|
||||
-# define kGlobalFirewallPrefFileName "/etc/ncftp.firewall"
|
||||
-# define kGlobalFixedFirewallPrefFileName "/etc/ncftp.firewall.fixed"
|
||||
-# define kGlobalPrefFileName "/etc/ncftp.prefs_v3"
|
||||
-# define kGlobalFixedPrefFileName "/etc/ncftp.prefs_v3.fixed"
|
||||
+# define kGlobalFirewallPrefFileName SYSCONFDIR "/ncftp.firewall"
|
||||
+# define kGlobalFixedFirewallPrefFileName SYSCONFDIR "/ncftp.firewall.fixed"
|
||||
+# define kGlobalPrefFileName SYSCONFDIR "/ncftp.prefs_v3"
|
||||
+# define kGlobalFixedPrefFileName SYSCONFDIR "/ncftp.prefs_v3.fixed"
|
||||
# define kPrefFileName "prefs_v3"
|
||||
# define kPrefFileNameV2 "prefs"
|
||||
# define kFirstFileName "init_v3"
|
18
ftp/ncftp3/files/patch-sh_util-Makefile.in
Normal file
18
ftp/ncftp3/files/patch-sh_util-Makefile.in
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- sh_util/Makefile.in.orig Fri Dec 8 23:11:25 2000
|
||||
+++ sh_util/Makefile.in Tue May 8 13:42:15 2001
|
||||
@@ -11,13 +11,14 @@
|
||||
VPATH=@srcdir@
|
||||
CPPFLAGS=@CPPFLAGS@ -I. -I../libncftp -I../Strn -I../sio
|
||||
prefix=@prefix@
|
||||
+SYSCONFDIR=@sysconfdir@
|
||||
|
||||
LIBS=@LIBS@
|
||||
STRIP=strip
|
||||
LDFLAGS=-L../libncftp -L../Strn -L../sio @LDFLAGS@
|
||||
|
||||
# Any -D definitions:
|
||||
-DEFS=-Dsh_util @DEFS@
|
||||
+DEFS=-Dsh_util -DSYSCONFDIR=\"$(SYSCONFDIR)\" @DEFS@
|
||||
|
||||
DPROGS=../bin/ncftpget@EXEEXT@ ../bin/ncftpput@EXEEXT@ ../bin/ncftpbatch@EXEEXT@ ../bin/ncftpls@EXEEXT@
|
||||
|
19
ftp/ncftp3/files/patch-vis-Makefile.in
Normal file
19
ftp/ncftp3/files/patch-vis-Makefile.in
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- vis/Makefile.in.orig Wed Apr 11 17:30:13 2001
|
||||
+++ vis/Makefile.in Tue May 8 13:42:15 2001
|
||||
@@ -13,6 +13,7 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
BINDIR=@bindir@
|
||||
+SYSCONFDIR=@sysconfdir@
|
||||
|
||||
CURSESLIBS=@LIBCURSES@
|
||||
LIBS=$(CURSESLIBS) @LIBS@
|
||||
@@ -20,7 +21,7 @@
|
||||
LDFLAGS=-L../libncftp -L../Strn -L../sio @LDFLAGS@
|
||||
|
||||
# Any -D definitions:
|
||||
-DEFS=-Dvis -DNCFTPPATH=\"$(BINDIR)/ncftp\" @DEFS@
|
||||
+DEFS=-Dvis -DNCFTPPATH=\"$(BINDIR)/ncftp\" -DSYSCONFDIR=\"$(SYSCONFDIR)\" @DEFS@
|
||||
|
||||
DPROGS=@VIS_DPROGS@
|
||||
|
|
@ -1 +1 @@
|
|||
FTP replacement with advanced user interface
|
||||
ftp replacement with advanced user interface
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
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.
|
||||
NcFTP is a free set of programs that use the File Transfer Protocol.
|
||||
The main program is simply called "ncftp". There are also separate
|
||||
utility programs for one-shot FTP operations (i.e. for shell scripts
|
||||
and command line junkies); these include "ncftpget", "ncftpput",
|
||||
and "ncftpls". Also included is a batch processing daemon,
|
||||
"ncftpbatch", which is invoked by the "bgget" command from "ncftp"
|
||||
and also the "-b" flag of "ncftpput" and "ncftpget". Lastly, the
|
||||
"ncftpbookmarks" program is a full-screen utility program to
|
||||
manipulate user's FTP bookmarks.
|
||||
|
||||
WWW: http://www.ncftp.com/ncftp/
|
||||
|
|
Loading…
Add table
Reference in a new issue